W32/Zafi-B is a peer-to-peer (P2P) and email worm that will copy itself to the Windows system folder as a randomly named EXE file. This worm will test for the presence of an internet connection by attempting to connect to www.google.com or www.microsoft.com.
W32/Zafi-B collects email addresses from files which have the following extensions:
HTM, WAB, TXT, DBX, TBB, ASP, PHP, SHT, ADB, MBX, EML and PMR.
The worm stores the collected email addresses in randomly named files with a DLL extension in the Windows system folder. W32/Zafi-B attempts to include itself as an attachment in email messages sent to addresses collected from the local machine.
The worm will also copy itself into shared P2P folders as either 'WINAMP 7.0 FULL_INSTALL.EXE' or
'TOTAL COMMANDER 7.0 FULL_INSTALL.EXE'.
Stopping the Win32/Zafi.B Worm
Stopping the Win32/Zafi.B Worm from starting up is the best method from being infected.
Process Lock is a program that stops programs from running if they have not been authorized by the management client.
Process Lock monitors all active processes and reports what is running. What's so easy about it, is that they offer a feature called "Kill All Not Acknowledged". This allows you to set what you want to be able to run, and what you do not. Therefore, a process that the virus tries to start will be denied before it has a chance to infect your system.
Process Lock is not just a process blocker, but it is also a computer monitoring solution.
Process Lock has the ability to record computer sessions, block specific programs, watch children and spouse activity and so much more. Check out their site at
http://www.cloudteksoftware.com/software.html
Removing the Win32/Zafi.B Worm
All antivirus vendors had protection for the Zafi.B worm with their latest updates. Symantec has a
removal tool, and you could also use these free online scanners. Trend Micro's free online scanner,
Housecall, McAfee's
Stinger tool, or Panda Software's ActiveScan. F-secure has a removal tool available in several
formats.
Because Zafi.B may disable or overwrite existing antivirus products on infected machines, users may need to use one of the removal utilities or scanners mentioned above. If your antivirus has been overwritten, you will need to reinstall it when your system is free of Zafi.
The main infection is removed by deleting files in the Windows system folder and removing registry entries. If you're not familiar with the Registry editor, you should probably use one of the removal tools mentioned above. While we highly recommend that you back up your registry before editing, you should be aware that the backup you make contains entries associated with Zafi.B. Since the files are deleted, you may get errors if you restore from the backup at a future date. Once your system has been cleaned, and is operating properly, you may want to delete the backup that has Zafi.B entries in it.
1. Turn off System Restore if you're using Windows ME or XP. When you make changes to your system, Windows does a restoration checkpoint. If it does this while the system is infected, it may come back to re-infect later.
2. Restart the computer in Safe Mode. Since the Zafi.B worm creates running processes, and Windows doesn't allow you to delete files connected with running processes, restarting is necessary. Using Safe mode prevents Windows from loading drivers and auto run entries so your system boots relatively clean. In addition, Zafi.B blocks the use of Regedit which is required below.
3. Run a full system scan with an updated antivirus scanner (or one of the online scanners mentioned above). If your scanner does not remove everything, follow the next few steps.
4. Your antivirus software should, during detection, produce a list of files associated with the W32/Zafi.B or W32/Erkez virus (depends on scanner). The files will be copies of the worm stored in the Windows system folder and shared folders mentioned above. You should set your antivirus to delete them. If not, delete them manually.
5. Make a backup of the registry before you edit. Delete the Run entries associated with Zafi.B from the registry. These will be:
- Find HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run and delete the key: "_Hazafibb"="%system%\.exe"
- Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\_Hazafibb and delete the key
6. Exit the registry editor.
7. Re-enable System Restore, reboot machine.
8. Re-scan to be sure all files are clean.