Discovered: June 17, 2003
Updated: February 13, 2007 12:02:40 PM
Also Known As: PE_NIMDA.L [Trend], I-Worm.Nimda.h [KAV]
Type: Virus
Systems Affected: Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows XP
The following instructions pertain to all current and recent Symantec antivirus products, including the Symantec AntiVirus and Norton AntiVirus product lines.
- Disable System Restore (Windows Me/XP).
- Update the virus definitions.
- Restart the computer.
NOTE: When your computer restarts, it is likely that the infected files will be found. We recommend that you attempt to repair them. Quarantine any files that cannot be repaired.
- Run a full system scan and repair all the files detected as W32.Nimda.R. If the files cannot be repaired, delete them, and if necessary, replace them from a clean backup.
- Restore Riched20.dll from a backup, or from the Microsoft Windows or Office .cab files, if necessary.
- Remove the unnecessary shares and delete the guest account from the Administrators group, if applicable.
For specific details on each of these steps, read the following instructions.
1. Disabling System Restore (Windows Me/XP)
If you are running Windows Me or Windows XP, we recommend that you temporarily turn off System Restore. Windows Me/XP uses this feature, which is enabled by default, to restore the files on your computer in case they become damaged. If a virus, worm, or Trojan infects a computer, System Restore may back up the virus, worm, or Trojan on the computer.
Windows prevents outside programs, including antivirus programs, from modifying System Restore. Therefore, antivirus programs or tools cannot remove threats in the System Restore folder. As a result, System Restore has the potential of restoring an infected file on your computer, even after you have cleaned the infected files from all the other locations.
Also, a virus scan may detect a threat in the System Restore folder even though you have removed the threat.
For instructions on how to turn off System Restore, read your Windows documentation, or one of the following articles:
For additional information, and an alternative to disabling Windows Me System Restore, see the Microsoft Knowledge Base article, "
Antivirus Tools Cannot Clean Infected Files in the _Restore Folder,"
Article ID: Q263455.
2. Updating the virus definitions
Symantec Security Response fully tests all the virus definitions for quality assurance before they are posted to our servers. There are two ways to obtain the most recent virus definitions:
- Running LiveUpdate, which is the easiest way to obtain virus definitions: These virus definitions are posted to the LiveUpdate servers once each week (usually on Wednesdays), unless there is a major virus outbreak. To determine whether definitions for this threat are available by LiveUpdate, refer to the Virus Definitions (LiveUpdate).
- Downloading the definitions using the Intelligent Updater: The Intelligent Updater virus definitions are posted on U.S. business days (Monday through Friday). You should download the definitions from the Symantec Security Response Web site and manually install them. To determine whether definitions for this threat are available by the Intelligent Updater, refer to the Virus Definitions (Intelligent Updater).
The Intelligent Updater virus definitions are available: Read "How to update virus definition files using the Intelligent Updater" for detailed instructions.
3. Restarting the computer
Shut down the computer and turn off the power. Wait 30 seconds, and then normally restart the computer.
4. Scanning for and repairing the infected files
- Start your Symantec antivirus software and make sure that it is configured to scan all the files.
- Run a full system scan.
- If any files are detected as infected with W32.Nimda.R, click Repair. If the files cannot be repaired, delete them, and if necessary, replace them from a clean backup.
5. Restoring Riched20.dll
If you see errors when you start programs such as Microsoft Word, or if the programs do not start, extract the Riched20.dll file. (As an alternative, you can re-install the operating system and the affected programs.)
Refer to the instructions for your operating system.
NOTE: These instructions are provided for your convenience and will work on most computers. For additional information on extracting files, including other Windows files that may have been damaged, read one of the following:
- If you are using Microsoft Outlook 2002 or Microsoft Office 2002, there is an easier way to do this. These programs can replace the Riched20.dll file if you first rename it.
- For instructions on how to do this, read:
Windows 95/98
Use the Extract command at a DOS prompt. Perform the following steps, using the instructions for your operating system.
NOTES:
- You will need a Windows 98/Me startup disk. (If you are using Windows 95, you will still need one that was created on a Windows 98/Me computer). For instructions on how to create one, see the document, "How to create a Windows Startup disk."
- Have available the Windows installation CD.
- When typing the command, substitute the appropriate drive letter for your CD-ROM drive for the letter x. For example, if you are using Windows 98, and the CD-ROM drive is drive D, then you would type:
extract /a d:\win98\win98_28.cab riched20.dll /L c:\windows\system
- If Windows is installed in a folder other than C:\Windows, then substitute the appropriate path or folder name in the last part of the command that refers to the \Windows folder.
- For detailed instructions on using the Extract command, see the Microsoft document, "How to Extract Original Compressed Windows Files," Article ID: Q129605.
- As a somewhat easier alternative to the following procedure, if you are using Windows 98, you can use the System File Checker to restore the file. For information on how to do this, see your Windows documentation.
- Shut down the computer and turn off the power. Once the computer is off, insert the Windows 98/Me Startup disk in the floppy disk drive and restart the computer. At the menu, select Start with CD-ROM support.
- Type the command that applies to your operating system:
- If you are using Windows 98, then type the following and press Enter:
extract /a d:\win98\win98_28.cab riched20.dll /L c:\windows\system
- If you are using Windows 95, then type the following and press Enter:
extract /a win95_10.cab riched20.dll /L c:\windows\system
NOTE: If you see an any error message, then repeat step 2, making sure that you typed the correct command (and exactly as shown) for your operating system. Otherwise, type exit, and then press Enter.
Windows NT 4.0
- Make sure that Windows is configured to show all files.
- Search for, and then delete all the Riched20.dll files.
- Re-apply the most recent service pack. The service pack will replace the file with a new copy.
- If, after replacing the Riched20.dll file, programs such as Microsoft Word or Office no longer run, or you see error messages when they start, you may need to re-install Microsoft Office.
Windows 2000
If you are using Windows 2000, a built-in program will find and replace missing or corrupt system files. To replace the corrupted Riched20.dll, follow these steps:
- Make sure System File Checker is enabled:
- Click Start, and then click Run.
- Type cmd, and then click OK.
- Type the following and then press Enter:
sfc /enable
- Type exit, and then press Enter.
- Make sure that Windows is set to show all files:
- Start Windows Explorer.
- Click the Tools menu, and then click Folder options.
- Click the View tab.
- Uncheck "Hide file extensions for known file types."
- Uncheck "Hide protected operating system files," and under the "Hidden files" folder, click "Show hidden files and folders."
- Click Apply, and then click OK.
- Search for Riched20.dll:
- Click Start, point to Find or Search, and then click Files or Folders.
- Make sure that "Look in" is set to (C) and that Include subfolders is checked.
- In the "Named" or "Search for..." box, type or copy and paste the following filename:
riched20.dll
- Click Find Now or Search Now.
- Delete the displayed files.
- Restart the computer.
- System File Checker will replace any missing Riched20.dll files. If, after replacing the Riched20.dll file, programs such as Microsoft Word or Office no longer run, or you see error messages when they start, you may need to re-install Microsoft Office.
6. Removing shares and accounts
The following is intended for Network Administrators or IT Professionals:
- If the Guest account is unexpectedly in the Administrators group, then remove it.
- If the Guest account is not required, then disable it.
- Delete the shares that are not required.
Writeup By: Robert X Wang