There's really nothing new about this sort of depletion attack, and it's easy to launch in dozens of different ways in a line or two of code. (As far as a 'tool' to do it, I think the 'ab' benchmarking utility bundled with Apache suffices.) In response, you block/throttle origin IPs, and decrease timeouts so zombie connections are dropped more quickly, and increase the capacity to serve or shake-off troublesome conne…
I think ab will send a full set of headers and not tie the server connection indefinitely.
Apache HTTP DoS tool released
11–20 of 32 posts
Re: Apache HTTP DoS tool released
#12So... you basically just hold open all the TCP connections at once? How anticlimactic.
Yes, but since it's Apache, anything like this is big news.
Re: Apache HTTP DoS tool released
#13Re: Apache HTTP DoS tool released
#14Earlier quoted context omitted.
Yes, but since it's Apache, anything like this is big news.
It was big news 10 years ago (literally, 2001ish) when these kind of attacks were initially discussed. Nowadays it's more of a big yawn as the script kiddies rediscover old playgrounds.
Re: Apache HTTP DoS tool released
#15Re: Apache HTTP DoS tool released
#16It's a pretty short code written in perl. I'd be scared if it was modified from curl or written in erlang. The author admits being corrected about the type of attack not being new but claims thats the first tool. I don't see how its new though. Whether you keep alive by incomplete requests, by valid requests or by sending post data very slowly, it doesn't seem to make a difference. Just eat up as many connections as…
Re: Apache HTTP DoS tool released
#17And this is news somehow? Color me unimpressed. First time we'd been subjected to this kind of attack was, what, a year ago? Maybe two. It's a trivial next step after the old boring flood of http get requests.
Re: Apache HTTP DoS tool released
#18Earlier quoted context omitted.
It was big news 10 years ago (literally, 2001ish) when these kind of attacks were initially discussed. Nowadays it's more of a big yawn as the script kiddies rediscover old playgrounds.
10 years ago was literally, 1999ish.
Re: Apache HTTP DoS tool released
#19And this is news somehow? Color me unimpressed. First time we'd been subjected to this kind of attack was, what, a year ago? Maybe two. It's a trivial next step after the old boring flood of http get requests.
It's also not that difficult to counter. The easiest way is to just do packet inspection - if something looks wrong (repeated bad/incomplete headers), just blacklist the IP for however many minutes. Repeat ad nauseam. Any IDS worth its salt shouldn't even hiccup at this.
So you just use iptables connlimit match block the clients with more than e.g. 10 connections.
Re: Apache HTTP DoS tool released
#20More info about this attack is available on http://ha.ckers.org/blog/20090617/slowloris-http-dos/
After reading the main article and the link you provided, my interpretation/understanding is: * The idea is to trick the web server into keeping a connection open and waiting for data, e.g. by keeping on sending pointless headers, not sending enough ( * The reason this works is that apache has a limit of one thread or process per active connection, and there is typically an upper bound on * The way to fix this once a…
If you start a thread for each connection, you're doing it wrong.