Are your sure they don’t move? If you hit it with a blast from a turkey Baster- do they come off?
photos looks to me looks like flat worms. But if they dont move them maybe not.
if it is flat worms- I have had some that were similar, and they were resistant to flat worm exit. The rocks and corals needed regular dipping in coralRX or something similar to eventually rid them from the tank.
good luck my friend - I hope it’s coraline.