Q. Can your method protect against a rogue antivirus?
A. Usually, but only as long as the user doesn't click any part of the pop-up. A lot of people are used to getting rid of annoying advertisements by clicking the red "X" button in the upper-right-hand corner of the window; what many of them don't realize is that, in a rogue antivirus pop-up, that "X" button is deceptively designed to install the program anyway. And furthermore, modern scareware and ransomware threats have been re-engineered in response to the defensive technologies of Vista SP1, SP2, and Windows 7. Windows XP's successors make it very difficult to access the kernel, so many criminals have been settling for the user profile directories. My advice is to terminate rogue pop-ups with the key combination Alt + F4.