ArticleslgStudy

computer science

Code Red (computer worm)

Code Red (computer worm) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Code Red (computer worm) rather than just read about it. In short: Code Red was a computer worm observed on the Internet on July 15, 2001. It attacked computers running Microsoft's IIS web server.

Code Red (computer worm) — main illustration
Code Red (computer worm) — illustration

Key takeaways

  • Code Red (computer worm) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Code Red (computer worm) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Code Red (computer worm) from memory before moving on to harder problems.

Reference excerpt

Code Red was a computer worm observed on the Internet on July 15, 2001. It attacked computers running Microsoft's IIS web server. It was the first large-scale, mixed-threat attack to successfully target enterprise networks. The Code Red worm was first discovered and researched by eEye Digital Security employees Marc Maiffret and Ryan Permeh when it exploited a vulnerability discovered by Riley Hassell. They named it "Code Red" because they were drinking Mountain Dew Code Red at the time of discovery. Although the worm had been released on July 13, the largest group of infected computers was seen on July 19, 2001. On that day, the number of infected hosts reached 359,000. The worm spread worldwide, becoming particularly prevalent in North America, Europe, and Asia (including China and India).

Concept

Exploited vulnerability The worm showed a vulnerability in software distributed with IIS, described in Microsoft Security Bulletin MS01-033 (CVE-2001-0500), for which a patch had become available a month earlier. The worm spread itself using a common type of vulnerability known as a buffer overflow. It did this by using a long string of the repeated letter 'N' to overflow a buffer, allowing the worm to execute arbitrary code and infect the machine with the worm. Kenneth D. Eichman was the first to discover how to block it, and was invited to the White House for his discovery.

Worm payload The payload of the worm included:

Defacing the affected web site to display: HELLO! Welcome to http://www.worm.com ! Hacked By Chinese!

Other activities based on the day of the month: Days 1-19: Trying to spread itself by looking for more IIS servers on the Internet. Days 20–27: Launch denial of service attacks on several fixed IP addresses. The IP address of the White House web server was among these. Days 28-end of month: Sleeps, no active attacks. When scanning for vulnerable machines, the worm did not test whether the server running on a remote machine was running a vulnerable version of IIS, or even whether it was running IIS at all. Apache access logs from this time frequently had entries such as these:

GET /default.ida?NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a HTTP/1.0 The worm's payload is the string following the last 'N'. Due to a buffer overflow, a vulnerable host interpreted this string as computer instructions, propagating the worm.

Similar worms

On August 4, 2001, Code Red II appeared. Although it used the same injection vector, it had a completely different payload. It pseudo-randomly chose targets on the same or different subnets as the infected machines according to a fixed probability distribution, favoring targets on its own subnet more often than not. Additionally, it used the pattern of repeating 'X' characters instead of 'N' characters to overflow the buffer. According to the U.S. Federal Computer Incident Response Center (FedCIRC), Code Red II was more dangerous than the original because it opened backdoors on infected servers, allowing remote attackers to run arbitrary commands. eEye believed that the worm originated in Makati, Philippines, the same origin as the VBS/Loveletter (aka "ILOVEYOU") worm.

See also Nimda worm Timeline of computer viruses and worms

References

External links Code Red II analysis, Steve Friedl's Unixwiz.net, last update 22 August 2001 CAIDA Analysis of Code-Red, Cooperative Association for Internet Data Analysis (CAIDA) at the San Diego Supercomputer Center (SDSC), updated November 2008 Animation showing the spread of the Code Red worm on 19 July 2001, by Jeff Brown, UCSD, and David Moore, CAIDA at SDSC

Illustrations

Code Red (computer worm) illustration

Worked examples

Example 1 — a first encounter with Code Red (computer worm)

Start with the simplest possible case. Write down what Code Red (computer worm) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Code Red (computer worm) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Code Red (computer worm) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Code Red (computer worm)

In research
Code Red (computer worm) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Code Red (computer worm) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Code Red (computer worm) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2000s in hacking, 2001 in computing, Cybercrime in India, so understanding it makes those chapters shorter.
In everyday life
Look for Code Red (computer worm) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Code Red (computer worm)” →

How to study Code Red (computer worm) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Code Red (computer worm) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Code Red (computer worm) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Code Red (computer worm) in simple terms?

Code Red was a computer worm observed on the Internet on July 15, 2001. It attacked computers running Microsoft's IIS web server.

Why does Code Red (computer worm) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Code Red (computer worm)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Code Red (computer worm).

Tags

  • 2000s in hacking
  • 2001 in computing
  • Cybercrime in India
  • Exploit-based worms
  • July 2001
  • Windows malware

Keep exploring