The following post is for the benefit of those who are already familiar with using “The Microsoft Windows 2000/XP Registry Editor”.
In my experience, a truckload of programs (some malicious, some just plain annoying) look for the presence of a certain registry key in either of the following registry directories…
(1) “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run”
(2) “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run”
To my knowledge, almost every worm or virus which has hit Windows in the last 4 years has been programmed to write a new registry key in either of those two directories. And in case you didn’t know, they are the inner sanctums of what gets fired up automatically by default when you (1) turn on the machine, and then (2) log in on your own account.
However, one of the downsides to trying to “temporarily stay on air” if you delete a registry key left behind by a virus/worm is this… the virus/worm often shows up again while you’re doing your “emergency steps” and looks for the presence of it’s “trojan horse” registry key, and if it’s not there, it writes a new one. And then, in effect you’re back to square one.
What I’ve discovered is pretty neat - if you identify a registry key which you’re suspicious about, or if it’s one which you simply don’t want to be activated at bootup time, you can make that registry key inert by EDITING it’s contents so that the program within the key is no longer valid. Hence, when the virus/worm comes along later and looks for the presence of the registry key, it gets an affirmative, but the contens remain inert.
And it doesn’t have to be a virus/worm bit of software either. Some examples of vendor software which do this are AIM by AOL, and Real One Player. It’s infuriating, and arguably not legal, but they do it anyway. So I made their registry keys inert by (for example) changing the content of the key where it says “nkvmon.exe” to “nkvmon.fuckoff” and from there, that key is useless. But it’s not deleted and it won’t get overwritten.
Over the last 24 months, more than a few very professional System Admins have been extremely grateful for my little discovery.