So where do viruses hide? DLL.
Viruses hide in all kinds of ways, but many of them, especially those that are not rootkitting, are simply running on your system in
plain view, trying to not be detected.
What I mean is, you may have a process (a program running) in taskmanager called
Svchosts.exe. Now that may seem legitimate, but the actual windows process that is really from windows is called Svchost.exe. Just by adding that
s to the end of the program name, you have hidden yourself from a large number of user's.
Also, it is possible for programs to open all types of handles and hooks into other programs, which makes them difficult to delete (if running the OS or in SafeMode). Handles are data structures that represent open instances of basic operating system objects applications interact with, such as files, registry keys, synchronization primitives, and shared memory ( see
Pushing the Limits of Windows: Handles - Mark's Blog - Site Home - TechNet Blogs ). Your anti virus product may or may not be able to close the handle. In cases where it can't, it will likely tell you to restart. But at that point, a virus can detect that a restart is imminent. It can also detect if it has been scheduled to be moved (aka deleted). It can detect if a change was made to the registry, meaning a change to its registry entries, and will respond by just renaming itself and/or moving itself somewhere else--and the infection will just continue.
There are ways to find out what a virus is doing, including where it is hiding, what resources it is hooking into, how it is regenerating, etc.
Sys Internals tools and a solid understanding of Windows Internals ( see
here is where you would want to start.
With A Live Boot CD, because the OS is not running, the program is also not running, and therefore you can delete a virus and the virus will not be aware of what is going on. This is often the best way to go about getting rid of a virus. However, there are even limitations to this. Namely that, if your Anti Virus may not be aware of (have a signature for ) the virus that infected you. And if that is the case, then it will simply skip by the file.
And of course, the best thing to do is to re-format your PC, if this is not too much of an inconvenience. It is not always necessary, but it almost works
