Back to feed
How the Code Red Worm Attacked Microsoft IIS Servers

Code Red Worm Attack on Microsoft IIS Servers

The Code Red worm, which attacked Microsoft IIS servers in July 2001, became one of the fastest internet epidemics. It was discovered by eEye Security specialists when a test server stopped responding to requests.

Despite early detection, the malware managed to infect over 300,000 systems within days. The worm exploited the MS01-33 vulnerability in idq.dll to execute arbitrary code.

The attack mechanism relied on buffer overflow during the processing of long HTTP requests to the default.ida file. The payload was delivered directly in the request body, leading to immediate infection of vulnerable installations.

Worm Behavior and Time Cycles

After infection, Code Red modified website content but restored it after 10 hours. Its logic depended on the date: from the 1st to the 19th, the worm spread by sending requests to random IP addresses.

From the 20th to the 27th of each month, a DDoS attack activated against fixed addresses, including the US government website. From the 28th until the end of the month, the worm ceased activity.

Threat Evolution and Security Takeaways

In August 2001, version Code Red II appeared, capable of infecting already compromised systems. This was followed by Nimda and Blaster epidemics, exploiting similar vulnerabilities.

These events demonstrated the critical importance of timely patch installation. Hackers begin exploiting zero-day vulnerabilities immediately after updates are released, while most users remain unprotected.

5.6K views

More from this channel Social Engineering

Similar in this category Technology