TO UNSUBSCRIBE: email "unsubscribe issforum" in the body of your message to [EMAIL PROTECTED] Contact [EMAIL PROTECTED] for help with any problems! ---------------------------------------------------------------------------- Internet Security Systems Security Alert August 6, 2001 Resurgence of "Code Red" Worm Derivatives Synopsis: Internet Security Systems, Inc. (ISS) X-Force has been tracking a new Internet worm called "Code Red II". This worm is similar to the first "Code Red" worm and its immediate variations in its propagation method. This class of worms exploits a vulnerability in unpatched versions of Microsoft IIS (Internet Information Server). This vulnerability was previously discussed in an ISS X-Force Security Alert dated June 19, 2001 (http://xforce.iss.net/alerts/advise79.php). ISS X-Force discussed the Code Red worm itself in another alert available at the following address: http://xforce.iss.net/alerts/advise89.php. The Code Red II worm is more advanced than its predecessors because of two important changes. The Code Red II worm does not deface Web sites, as the original version of the worm did, but it carries a more serious threat -- it contains a Trojan Horse payload, which could allow any remote attacker to further compromise infected systems. The Code Red II worm also has the ability to scan for vulnerable hosts much faster than previous versions, which has already been reported to cause failures in certain network components by overloading them with network traffic. Description: Code Red II is a malicious worm similar to previous versions of the Code Red worm. Code Red II is a heavily optimized worm, which uses the same exploitation method as the previous versions of Code Red. Administrators that applied the Microsoft patch for the IIS Index Server ISAPI extension overflow vulnerability are not vulnerable to compromise by this worm. Microsoft has reported that the IIS Index Server patch was downloaded over one million times since June 18, 2001. Many IIS servers have been patched, and a smaller pool of vulnerable hosts has limited the speed and scope of the outbreak. An additional threat associated with this worm is in the amount of network traffic it generates. It has been reported that many transparent proxy servers are affected by the massive amount of traffic this worm generates. Other pieces of network hardware may also be affected. Another core difference between this worm and the first Code Red is that this worm does not launch a distributed denial of service (DDoS) attack against the former whitehouse.gov IP address, or any other IP address. Instead, the worm configures a backdoor on the infected system, which allows any remote attacker to further compromise the system and execute arbitrary commands. The backdoor makes the computer accessible to remote attackers using a URL. A feature may be added to malicious Web and CGI scanning tools in the future to look for Code Red II infections. This worm is unique in that it is highly optimized to scan and propagate very quickly; however, it uses a relatively old exploit to spread. This may be an indication that the Code Red II worm is being used primarily as a test of the enhanced propagation methods, and that the worm may actually be designed to exploit future Web server vulnerabilities as they are discovered. The Code Red II worm does not include the same date logic as the original Code Red worm, which triggered its phases based on the day of the month. The Code Red II worm checks the system clock, and it will continue to propagate as long as the month is prior to the 10th month, and the year is prior to 2002. This schedule may vary if the date is set incorrectly on infected systems. The Code Red II worm also is different in how it generates IP addresses to scan. The original versions of Code Red would scan a pseudo-random list of IP addresses, and the first variants of the Code Red worm added completely random IP address scanning. However, in the Code Red II worm, random scanning of IP addresses was abandoned, because is not the best solution due to the way IP addresses are assigned and used. In most cases, random IP addresses are not accessible to other random points on the Internet. This is true because many of the available IP addresses are in sets that may not be assigned or used, or they may be non-routable IP addresses. A majority of "working" IP addresses on the Internet are grouped close to each other in the available IP space. This worm contains logic to first scan IP addresses that are in the same range as the already infected system. This increases the chances of an infected Web server spreading the worm to other systems on the same network, including internal systems that are behind the corporate firewall. Affected Versions: Microsoft Internet Information Server 4.0 and 5.0 without the patch for the "Unchecked Buffer in Index Server ISAPI Extension" vulnerability Cisco products that run affected versions of Microsoft IIS (See the Cisco advisory for details.) Recommendations: Due to the continued threat of this worm, ISS X-Force strongly urges all administrators to download and apply the following patches made available by Microsoft. ISS X-Force cannot stress enough the importance of installing patches for all vulnerable servers, particularly externally facing servers. If barriers exist that prevent timely patch installation, these barriers must be removed. The trend of integrating high-profile vulnerabilities into worms has been developing for some time. The threat from these worms is escalating, because they have demonstrated that they can successfully scan and identify vulnerable servers from huge portions of the Internet. System administrators must now assume that all serious Web server vulnerabilities will be integrated into powerful worms and must act accordingly to protect vulnerable systems. For Microsoft Windows NT version 4.0: http://www.microsoft.com/Downloads/Release.asp?ReleaseID=30833 For Microsoft Windows 2000 Professional, Server and Advanced Server: http://www.microsoft.com/Downloads/Release.asp?ReleaseID=30800 For Microsoft Windows 2000 Datacenter Server: Patches for Windows 2000 Datacenter Server are hardware-specific and available from the original equipment manufacturer. For information on the IIS ISAPI Extension buffer overflow, please refer to the Microsoft Security Bulletin at: http://www.microsoft.com/technet/security/bulletin/MS01-033.asp For information on how Cisco products are affected by the Code Red worm, please refer to the Cisco Security Advisory at: http://www.cisco.com/warp/public/707/cisco-code-red-worm-pub.shtml ISS Internet Scanner X-Press Update version 4.10 provides assessment capability for the ISAPI extension vulnerability. The check included in XPU 4.10 requires the user running Internet Scanner to have administrative rights on the systems being scanned to properly detect this vulnerability. To supplement the existing check, Internet Scanner users who do not have administrator rights may use the following Flex Check to detect vulnerable IIS installations. The Flex Check is available at the following URL: https://www.iss.net/cgi-bin/download/customer/download_product.cgi ISS System Scanner XPU 3.01 provides a check (MS01-033) for this vulnerability. ISS RealSecure Network Sensor XPU 3.1 includes a signature (HTTP_IIS_Index_Server_Overflow) to detect this vulnerability. ISS RealSecure intrusion detection customers may use the following user-defined signature to detect access attempts by the Code Red worm. Follow the instructions below to apply the user-defined signature to your policy. 1. Choose a policy you want to use, and click 'Customize'. 2. Select the 'User Defined Events' tab. 3. Click 'Add' on the right hand side of the dialog box. 4. Create a User Defined Event. 5. Type in a name of the event, such as 'Code Red access attempt'. 6. In the 'Context' field for each event, select 'URL_Data'. In the 'String' field, type the following string: default\.ida$ 7. Save your changes, and close the window. 8. Click 'Apply to Sensor'. If ISS RealSecure customers would like to see all .ida access attempts, replace the 'String' field in the above user-defined signature with: \.ida$ ISS RealSecure can also be configured with a user-defined signature to detect access attempts to the Code Red II backdoor. Follow the instructions below to apply the user-defined signature to your policy. 1. Choose a policy you want to use, and click 'Customize'. 2. Select the 'User Defined Events' tab. 3. Click 'Add' on the right hand side of the dialog box. 4. Create a User Defined Event. 5. Type in a name of the event, such as 'Code Red II backdoor access attempt'. 6. In the 'Context' field for each event, select 'URL_Data'. In the 'String' field, type the following string: root\.exe$ 7. Save your changes, and close the window. 8. Click 'Apply to Sensor'. ISS RealSecure customers should also enable an additional user-defined signature to detect access attempts to cmd.exe. This will detect the Code Red II backdoor, as well as other backdoors and similiar exploits. This signature should be left in the policy, even after the threat from the Code Red II worm has passed to detect these additional attacks. Follow the steps above to create a user-defined event named "Cmd.exe access attempt" and replace the 'String' field with: cmd\.exe$ NetworkICE provides an update for BlackICE products to detect the ISAPI Extension Overflow vulnerability (issue ID 2002608). Refer to the following URL for information regarding the detection and auto-blocking capabilities for this attack: http://www.networkice.com/downloads/agent_detection_update.html ______ About Internet Security Systems (ISS) Internet Security Systems is a leading global provider of security management solutions for the Internet, protecting digital assets and ensuring safe and uninterrupted e-business. With its industry-leading intrusion detection and vulnerability assessment, remote managed security services, and strategic consulting and education offerings, ISS is a trusted security provider to more than 8,000 customers worldwide including 21 of the 25 largest U.S. commercial banks and the top 10 U.S. telecommunications companies. Founded in 1994, ISS is headquartered in Atlanta, GA, with additional offices throughout North America and international operations in Asia, Australia, Europe, Latin America and the Middle East. For more information, visit the Internet Security Systems web site at www.iss.net or call 888-901-7477. Copyright (c) 2001 Internet Security Systems, Inc. Permission is hereby granted for the redistribution of this Alert electronically. It is not to be edited in any way without express consent of the X-Force. If you wish to reprint the whole or any part of this Alert in any other medium excluding electronic medium, please e-mail [EMAIL PROTECTED] for permission. Disclaimer The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties with regard to this information. In no event shall the author be liable for any damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk. X-Force PGP Key available at: http://xforce.iss.net/sensitive.php as well as on MIT's PGP key server and PGP.com's key server. Please send suggestions, updates, and comments to: X-Force [EMAIL PROTECTED] of Internet Security Systems, Inc.
