Sounds like a virus of some variety. I think I had one once that did something similar.