Looks like old goniopora skeleton to me, but im siure its just some kind of coral skeleton. In the second pic, you will need to get a better close up....It kind of looks like a worm and in that case it's probably harmless...But you should get an easier pic to ID.