Koozali.org: home of the SME Server

Ip's of all those nasty code red infected machines

Alexie

Ip's of all those nasty code red infected machines
« on: August 07, 2001, 04:53:55 PM »
Found this small Tips..

If you are interested in finding out the ip addresses of all the infected IIS machines that are trying to infect your machine with Code red then run this little cmd line from within the /var/log/http directory
cat error_log | grep default.ida |cut -f 3 -d ] |cut -c 10-|sort >> ip.txt
 
This will produce a sorted list of ip addresses that are trying to infect you.

Hsing-Foo

Re: Ip's of all those nasty code red infected machines
« Reply #1 on: August 07, 2001, 11:30:38 PM »
Maybe the location of the error_log is at:

/var/log/htttpd/error_log

By.

Alexie

Re: Ip's of all those nasty code red infected machines
« Reply #2 on: August 08, 2001, 12:01:11 AM »
Ahh, no...:-))

/var/log/httpd/error_log is better..!!

This system has been attacked this month by the Code Red worm a total of : 193 times.

Out of the above number a total of 142 were from unquie ips.


If this was an unpatached IIS server the above numbers show how may times this system would have been affected.

David

Re: Ip's of all those nasty code red infected machines
« Reply #3 on: August 11, 2001, 03:23:47 AM »
Just checking my error.log and it just amazed me as to how many people have loged onto my system attempting to see if I have IIS! Checking my Webalizer logs as well. I've been on average getting 477 hits aday!!!

Kevin Manderson

Re: Ip's of all those nasty code red infected machines
« Reply #4 on: August 14, 2001, 05:30:07 AM »
On my main server which is a full C class (not e-smith based) I have been watching code red attempts. Start of last week it had about 6000 attempts, by last thursday it was over 202,000.......

regards
k

Daniel

Re: Ip's of all those nasty code red infected machines
« Reply #5 on: August 25, 2001, 02:36:44 PM »
For some reason I am not getting an output with this command.  I am running RH 7.1, does that matter?

Does it have to be an e-smith box?

Thanks...