I sounds like you or someone else clicked "OK" to one of those web popups that say, "Scanning your system. . . .You're infected! Click here to install"
To be honest, I'd backup any data you can't live without, and format then reinstall. My guess is it used a rootkit or other method of getting...