Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 04, 2001

Code Red Turns CodeGreen

RSS
Subscribe to Windows IT Pro | See More Antivirus Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A German programmer released source code for a new worm called CodeGreen, which he designed to combat the Code Red worm. The Code Red worm infects unpatched Microsoft IIS systems by exploiting a vulnerability related to index services. Once the worm infectes the IIS systems, the worm spreads rapidly. CodeGreen works by running on a system and waiting for Code Red to attack that system. When CodeGreen detects an attack, it launches a counterattack that removes Code Red and installs a copy of CodeGreen on the attacking system.

Once active on a system, CodeGreen takes several steps to eradicate Code Red. According to the program's author, who goes by the name Herbert HexXer, CodeGreen establishes a signature (called an atom) in the system's memory in the same way Code Red establishes its signature. This signature prevents Code Red from reinfecting the system, because the system appears to be infected already when, in reality, it's not. CodeGreen also attempts to remove the root.exe Trojan horse and drive mappings that Code Red installed. CodeGreen next determines the system's language and attempts to download and install the Microsoft patch (MS01-033). The CodeGreen worm also scans for other systems that Code Red has infected and attempts to patch those systems also. Similar to Code Red, CodeGreen is memory resident only, which means that rebooting the system removes the worm.

HexXer released the CodeGreen code on the Vuln-Dev mailing list over the weekend. HexXer said that although he's successfully tested CodeGreen on German language systems, he's uncertain whether his code works on non-German language systems.

In response to HexXer's post to Vuln-Dev, another German, Markus Kern, also posted source code for a program called CRclean that eradicates the Code Red worm. Kern said that his code is a worm that spreads passively to any system that tries to send Code Red. Once active on a system, Kern's code removes the Code Red worm and waits for further attacks. Kern published the CRclean code with a broken spreading mechanism, which might help ensure that less-experienced programmers won't misuse Kern's code.

End of Article



Reader Comments
the codegreen.zip file is virus infected.kindly check and stop distribution

eknath September 13, 2001


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

WinInfo Short Takes: 4th of July Special Edition

An often irreverent look at some of the week's other news, including a shortened work week thanks to the 4th of July, expensive Windows 7 pricing, Bing's modest monthly gains, IE 8 heading to work, Steve Jobs back at Apple, and so much more ...

How can I stop and start services from the command line?

...


Security Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Related Events Security Summit

Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing