Delphi 2007 Handbook




Essential Pascal




social web book








October 6, 2007

DoS Attacks on marcocantu.com

My primary was site is subject to some unusual activity from time to time, resulting in an actual Denial of Service. This happened again earlier this week...

This had already happened once, and happened again last Monday. All at once, my web site www.marcocantu.com (and all other sites on the same server) slow down and comes to a halt. This is due to dozens of consecutive downloads of some rather large files (ZIP files with book examples, PDF files) from a single IP address, assigned to some remote location. It was Belarus the first time, Algerie this week (according to afrinic.net the IP is assigned to Algerie Telecom FAWRI). Restarting the Apache server is no help, as after a couple of minutes everything is jammed again. I guess I could ban the offending IP, but it seems a temporarily solution. This is an example of the log during an attack (click for big version):

The impression I have is that this is not a volunteer Denial of Service (DoS) attack, but a faulty "web site download/mirroring" program that causes the DoS situation. But I might as well be wrong.

What I've ended up doing both time, it to remove the handful of files subject to the attack, and either rename them or move to a separate download service. In particular, I ended up moving most of the files in the download area of my Marco Cantu Tech World Google Group. This seems a good approach in general (as I save some bandwidth for better use), so I'll keep the files there and probably add a few more... that is, unless people find it inconvenient.

By the way, this is a second log, after I removed the files. Notice the frequency of the requests of the missing files, many times a second (again click for details):

If you know anything about this kind of attacks, and have any other suggestion, let me know.





 

2 Comments

DoS Attacks on marcocantu.com 

This happened dozens of times to the websites I
administer. Generally, it is not a DOS attack if the
request come from a single or few ips. The problem is
that there are a lot of crappy spiders out there.
Anyone can write one. Wannabe spammers often use them
to harvest email addresses. Students may be trying to
write the next Google, etc. If they are stuck in a
loop the webserver is suffering.

41.221.16.69 is an Algerian server used by spammers.
So I expect a malfunctioning email address spider.

http://projecthoneypot.org/i_b4ab7ba38098dffada675456ac0501ee
http://www.spamhaus.org/query/bl?ip=41.221.16.69

The easiest solution is to block the ip in your
server's firewall.
Comment by Jan Derk on October 6, 15:14

DoS Attacks on marcocantu.com 

Use the mod_limitipconn module for Apache, or/and
protect the downloads with a turing-test (i.e.
CAPTCHA) to prevent this kind of attacks.
Comment by quantum on October 6, 15:19


Post Your Comment

Click here for posting your feedback to this blog.

There are currently 0 pending (unapproved) messages.