Scanning my logs, I was shocked to see that Code Red (or variants thereof) continues to hammer my server, attempting to infect it. There are a lot of infected IIS servers out there… debris.com has been hit over 300 times in the past 5 days.
If you’re running a webserver with PHP, you can easily send a warning email to administrators of infected machines. The code goes into your 404 (“document not found”) handler, so unless you do have a file called default.ida, this should work for you.
The source code is here: PHP Code Red Warning Generator