Microsoft IIS - Nimda Worm Policy
The name of this virus came from the reversed spelling of "admin". The worm sends itself out by email, searches for open network shares, attempts to copy itself to unpatched or already compromised Microsoft IIS web servers, and is a virus infecting both local files and files on remote network shares.
The worm uses the Unicode Web Traversal exploit. A patch for computers running Windows NT 4.0 Service Packs 5 and 6a or Windows 2000 Gold or Service Pack 1 and information regarding this exploit can be found at Microsoft's TechNet website.
When the worm arrives by email, the worm uses a MIME exploit allowing the virus to be executed just by reading or previewing the file. Information and a patch for this exploit can be found at Microsoft's TechNet website.
If you visit a compromised Web server, you will be prompted to download an .eml (Outlook Express) email file, which contains the worm as an attachment. You can disable "File Download" in your Internet Explorer internet security zones to prevent this compromise.
Also, the worm will create open network shares on the infected computer, allowing access to the system. During this process the worm creates the guest account with Administrator privileges.
This policy is a 'Drop and Detect' policy when used with the ITA ISAPI Filter provided in this update.
The policy is available here.
Policy rules include:
- Nimda Detected
This policy detects multiple versions of the Nimda worm propagating via vulnerable version if Microsoft IIS.
Vulnerable CGI Scripts Policy
Most web servers, including Microsoft's IIS, support Common Gateway Interface (CGI) programs to provide interactivity in web pages enabling functions such as data collection and verification. Default installation of most web servers come with sample CGI scripts - in many cases these sample scripts and frequently used scripts contain vulnerabilities that allow a user to execute code on the local system. Below is a list of vulnerable CGI scripts specific to Microsoft's IIS. This policy is a 'Drop and Detect' policy when used with the ITA ISAPI Filter provided in this update This policy detects attempts to access any one of the files below.
The policy is available here.
Policy rules include:
- Agora.cgi Access
Reference: BugTraq ID: 3976; It is possible for a remote attacker to learn the absolute path of the location of this script thus providing information to be used in future attacks.
- Anaconda Directory Access
Reference: CVE-2000-0975; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
- Anyform2 CGI Access
Reference: CVE-1999-0066; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- BNBForm CGI Access
Reference: CVE-1999-0937; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- BNBSurvey CGI Access
Reference: CVE-1999-0936; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Classifieds.cgi Access
Reference: CVE-1999-0934; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- DCForum.cgi Access
Reference: CAN-2000-1132; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- Extropia Webstore CGI Access
Reference: CVE-2000-1005; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
- GBook.cgi Access
Reference: CAN-2000-1131; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Info2www Access
Reference: CVE-1999-0266; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Mailfile.cgi Access
Reference: CVE-2000-0977; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- MultiHTML CGI Access
Reference: CAN-2000-0912; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Net.Data db2www CGI Access
Reference: CVE-2000-0677; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- News.cgi Access
Reference: CVE-2000-0720; This CGI script contains a bug that would allow an attacker to modify the authoring privileges in the program.
- OpenView5 CGI Access
Reference: CVE-2000-1058; This CGI script contains buffer overflow allowing an attacker to execute arbitrary code on the webserver.
- Pollit.cgi Access
Reference: CVE-2000-1068; CVE-2000-1069, CVE-2000-1070; This CGI program contains multiple bugs allowing an attacker to perform virtually any function on the webserver to include arbitrary code executions, administrative changes, and local file reading.
- Sambar cgitest.exe Access
Reference: CVE-1999-0070; This CGI script contains a bug that would allow an attacker to list files on the web server.
- Shop.cgi Access
Reference: CVE-2000-0921; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
- Simplestguest.cgi Access
Reference: CAN-2001-0022; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Simplestmail.cgi Access
Reference: CAN-2001-0024; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Status.cgi Access
Reference: CVE-2000-0056; This CGI script contains a bug that would allow an attacker to cause a Denial of Service to the web server.
- Textcounter CGI Access
Reference: CAN-1999-1479; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Viewsrc.cgi Access
Reference: CVE-1999-0174; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
- WEBGais CGI Access
Reference: CVE-1999-0176; This CGI script contains a bug that would allow an attacker to execute arbitrary commands on the web server.
- WWWBoard Access
Reference: CVE-1999-0953; This CGI script contains a bug that would allow an attacker to read encrypted passwords on the web server.
- Way-Board CGI Access
Reference: CAN-2001-0214; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- WebPALS CGI Access
Reference: CAN-2001-0217; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
- WebSite Uploader.exe
Reference: CVE-1999-0177; This CGI script contains a bug that would allow an attacker to execute arbitrary code on the web server.
- Websendmail Access
Reference: CVE-1999-0196; This CGI script contains a bug that would allow an attacker to access arbitrary files on the web server.
- Wguest/Rguest Access
Reference: CAN-1999-0467; This CGI script contains a bug that would allow an attacker to read arbitrary files on the web server.
- Win-C-Sample Access
Reference: CVE-1999-0178; This CGI script contains a buffer overflow that would allow an attacker to execute arbitrary commands on the web server.
- Zml.cgi Access
Reference: BugTraqID: 3759; This CGI script contains a bug that would allow to read arbitrary files via a '..' (dot dot) Directory Traversal attack.
ITA ISAPI Installation Instructions
In order to use the policies associated with IIS the ITA ISAPI Filter needs to be installed on the web server being monitored by an Intruder Alert agent.
Installation Instructions
Download the ISAPI filter from the Symantec Security Response Web site, unzip the itafilter.dll file, and copy it to the %SYSTEMROOT%\system32\inetsrv folder. Then open the Internet Services Manager and select the Server Icon.
- Right-Click the selected icon and scroll down until Properties has been selected. Click the Properties Menu item.
- Click the Edit button that is next to the Master Properties of the WWW Service.
- Click the ISAPI Filters Tab
- Click Add. Type a name for the ISAPI filter. Click Browse and select the ISAPI filter that you copied (%systemroot%\system32\inetsrv\ITAFilter.dll).
- Click Ok.
- Restart the IIS Service. To do this, return to (1) above and select Restart IIS..., or use the Services applet that is located in Control Panel (in Windows NT 4.0).
- Browse back to the ISAPI Filters tab (by following steps 1-5) and verify that the filter is loaded properly. You should see a green arrow pointing up under the Status column.
NOTE: The destination folder chosen for the ISAPI filter to reside should be accessible only by Administrators of the local machine. This will help to ensure that only authorized individuals can modify/replace/move the filter.
NOTE: It is assumed that all the latest applicable security updates, service packs and patches have been installed for each respective version of IIS.
Configuring External Audit Log Monitoring
To configure Intruder Alert to monitor an external audit log, follow the steps below.
- In the Registered Agents branch, select the Agent on the web server.

- Click NEW
The Audit Log dialog box appears.

- In the Description box, type a description of the log file.
- In the File Name box, type the path and the filename to monitor. In this case the ITAFilter.log file will be found in the system folder where Intruder Alert was installed (i.e. C:\Program Files\Symantec\ITA\system\ITAFilter.log).
- Select Single Line for the single line log file.
- Select OK.
- Select Save from the Agent Configuration view.
Last modified on: Saturday, 06-Dec-03 12:33:02