Changes to Code Red (computer worm)

TechWritereditor · 3 Dec 2026, 05:26 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Code Red (computer worm)

Short description

Removed:  
Added: 2001 worm that attacked Microsoft IIS web servers

Type

Removed:  
Added: event

Summary

Removed:  
Added: Code Red was a computer worm that spread across the Internet in July 2001 by exploiting a flaw in Microsoft's IIS web server software. More than 359,000 computers were infected in less than 14 hours on 19 July 2001.

Fact box

Removed:  
Added: Date: July 2001 (main outbreak 19 July 2001)
Added: Type: Computer worm
Added: Target: Microsoft IIS web servers on Windows NT 4.0 and Windows 2000
Added: Vulnerability: Buffer overflow in Index Server ISAPI extension (MS01-033)
Added: Hosts infected: More than 359,000 (19 July 2001)
Added: Named by: eEye Digital Security

Article

Added: **Code Red** was a computer worm that attacked [[Microsoft]] IIS web servers in July 2001, infecting more than 359,000 computers in less than 14 hours on 19 July.[^1]
 
Added: ## Background
Added:  
Added: In June 2001 Microsoft published a security bulletin about an unchecked buffer in idq.dll, an extension installed with its IIS web server software.[^2] A specially crafted web request could let an attacker run code with full system privileges, giving complete control of the server.[^2] The flaw affected the Indexing Service in Windows 2000 and Index Server 2.0 on Windows NT 4.0, and Microsoft credited eEye Digital Security with reporting it.[^2]
Added:  
Added: Researchers Marc Maiffret and Ryan Permeh of eEye analysed the worm and published their findings on 17 July 2001.[^3] They named it "Code Red" partly because it defaced web pages with the words "Hacked by Chinese", and partly because they were drinking Mountain Dew Code Red while taking the code apart.[^3]
Added:  
Added: ## Spread
Added:  
Added: Each infected server started 100 threads that scanned random [[IP address]]es for other vulnerable servers.[^3] If the server's default language was English, the worm also replaced its web pages with the message "HELLO! Welcome to http://www.worm.com! Hacked By Chinese!"[^4] In the first version, every copy used the same starting value for its random number generator, so infected machines scanned the same list of addresses.[^3] A later version used a random value instead, and began spreading at around 10:00 UTC on 19 July 2001; at its peak, more than 2,000 new hosts were infected every minute.[^1]
Added:  
Added: ## Impact
Added:  
Added: The worm was programmed to stop spreading at midnight UTC and switch to an attack phase, flooding a White House web server with traffic.[^1] The White House webmaster blocked this by changing the server's numeric IP address.[^5] The CERT Coordination Center warned that infected machines could slow down, and that the worm's scanning could cause a denial of service on the networks being scanned.[^4]
Added:  
Added: ## See also
Added:  
Added: - [[Morris worm]]
Added: - [[ILOVEYOU]]
Added: - [[Melissa virus]]
Added: - [[WannaCry ransomware attack]]

Sources

Removed:  
Added: The Spread of the Code-Red Worm (CRv2) | https://www.caida.org/archive/code-red/coderedv2_analysis/ | CAIDA
Added: Microsoft Security Bulletin MS01-033 | https://learn.microsoft.com/en-us/security-updates/securitybulletins/2001/ms01-033 | Microsoft | 2001-06-18
Added: Initial analysis of the .ida "Code Red" Worm | https://seclists.org/bugtraq/2001/Jul/310 | Bugtraq archive (eEye Digital Security post), SecLists.Org | 2001-07-17
Added: CERT Advisory CA-2001-19 "Code Red" Worm Exploiting Buffer Overflow In IIS Indexing Service DLL | https://seclists.org/cert/2001/13 | CERT Coordination Center | 2001-07-19
Added: CAIDA Network Researchers Track the Worldwide Spread of the "Code Red" Worm | https://www.sdsc.edu/news/2001/PR072501.html | San Diego Supercomputer Center | 2001-07-24

Categories

Removed:  
Added: Online security

Other names

Removed:  
Added: Code Red worm
Added: CodeRed