Removing Virtumond: Definitive Guide
I recently came across a server, a domain controller no less, which had been infected with Virtumond (sometimes called Virtuamonde), Vundo and Smitfraud. These are particularly nasty pieces of work and if you read many blogs, you’ll see they’re a pain in the but to get rid of. Many people speak of the utter inability to get rid of the thing.
Ok, not to brag, but it’s not as hard as they’re making it. You can actually get rid of it fairly quickly. Here’s how.
Firstly, download a fresh copy of Spybot Search and Destroy, for later on.
1. You need to find where it is and start the removal process. You do this as follows:
- Go to c:\windows\system32.
- Sort by date with the newest files at the top.
- You should see a bunch of {random_string}.dll files.
- Take note of the oldest of these.
- Search the hard disk for files made at the same time and if directories or files have been created that are suspicious – quarantine them.
- Delete as many as you can – many will be in use and not deletable right now.
2. Now we want to stop the virus running so much. You can’t stop it yet but we can slow it down.
- Download a product called Process Explorer.
- Using Process Explorer, stop any processes called x.exe or msddll.exe, then delete the files.
- Noting from which {random_string}.dll files couldn’t be deleted, search the registry for those strings and remove the keys associated with them.
- You’ll find this location full of problems and you may not be able to delete them: HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon\Notify.
- Sub keys in here based on the random string DLLs in c:\windows\system32\ must be deleted.
3. Now we need to get rid of the files that are still running and cannot be deleted. Virtumond is a pain in the butt and pretty clever. You can’t use pendmove and you can’t use safe mode to get rid of it. But you can use a Linux Live CD because Linux doesn’t have to respect Window’s rules.
4. Download a Linux Live CD. Fedora 10 is good because it natively handles your NTFS drives in read write. Boot off it and use it to browse to localdisk/WINDOWS/system32/ and sort by date. Delete those pesky {random_name}.dll files. Now they’re gone.
5. Boot Windows back up in safe mode.
- Remove the remaining registry keys from above.
- Install a fresh copy of Spybot Search and Destroy.
- Run a spyware cleaner, like Spybot Search and Destroy. Twice
- Check the hosts file: c:\windows\system32\drivers\etc\hosts.
6. Boot back up in normal mode and check for the presence of Virtumond. It shouldn’t be running any longer. For peace of mind, run a few more spyware checks, like Spybot, AdAware, Windows Defender and Bit Defender. It should be clean.
7. Get your Windows CD handy. Open the command prompt and run this command:
sfc /scannow
This takes ages but it checks the system files on the computer are genuine Windows files and replaces the ones that are not.
8. Reinstall your antivirus software, after removing it completely, and patch patch patch!