Yes it could be spyware I was having a terrible time with spyware for a while but now I use this program: SUPER Ani Spyware - it is totally free and seemed to fix my computer very quickly after a few scans. I was getting a problem of being redirected to weird other sites instead of my homepage.
A lot of anti spyware software just doesn't do the job sadly it's a bit lame, but the one I'm using now seems good.
I'm not that good with computers so aside from this my only idea is formatting lol. I always format with any problem I can't work out.