August 10, 2004

referral spam DoS

Filed under: — Chris @ 6:56 pm

Well, my website was down briefly this afternoon. Why? I was effectively DoSed by referral spam. See this and this for details.

I have been referer-spammed before in the past, but nothing on this scale:

In the past it had been a hit or two with the forged referer header. Once a few years ago, I did get some sustained hits from one IP that flooded my link until I firewalled it off.

This was on a different level — straight up DoS. At any given time, around 2-3 different IPs were slamming my website with requests at a rate of 1-2 per second. They were doing a full GET request, meaning the entire page was being pulled down (rather than a HEAD request, which would accomplish the same goal and not pull down the actual content). You don’t have to be a network engineer to realize that this utterly devastated my poor 256Kbps upstream bandwidth.

After about 30 minutes, I eventually got almost all of the requesting IPs blocked at my firewall — around 100 total. It’s quite obvious that these requests were coming from a swarm of zombie compromised windows PCs all over the internet. This is what makes the attack so insidious and difficult to block — each request came from a different IP from a network completely separate from the last, so there’s no single way to block it.

I was lucky in that there were only around 100 PCs being rotated — I guess this shithead could only afford the entry-level DoS zombie swarm. I’d shudder to think what would happen if a few thousand were used. I’d be unable to contain it and have to shut down my website.

After about 45 minutes, I checked my firewall log and they were still furiously running up against the block. A few hours later, now, it appears to have stopped.

Very infuriating.

As a result, I have password-protected my stats pages, effectively taking them off the internet at large. While I doubt this will make much difference, I am doing it on the off-chance that these referer-log spammers try to target websites that actively run stats-gathering tools, rather than just spraying wildly. But I wouldn’t hold out much hope.

RSS feed | Trackback URI

3 Comments »

Comment by underscorebleach
2005-01-15 19:28:23

Sorry to hear about the DDoS problem. I’d be interested to get your feedback on a proposal I’ve written for cutting down on referral spam. I’m interested in using blacklists (Jay Allen’s and others) to combat these spammers.

 
Trackback by jotsheet
2005-01-15 19:35:43

Proposal for a solution to referrer spam: Using MT-Blacklist and other blacklists to filter spamming URLs

Referrer (or referer) spam has become a serious problem in the blogosphere. We need an intelligent way to eliminate this growing nuisance. I’ve thought about this for the past few days, and below I offer a proposal for a technological solution to this …

 
Comment by Josias
 
Name
E-mail
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Please enter 'confront' without the quotes.