Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
TRENDING TODAY
Home > News > Security > Server related

June 20th, 2009, 11:52 GMT · By

Web Servers in Danger from Low Bandwidth HTTP DoS

SHARE:

Adjust text size:

New easy to use HTTP denial of service method puts web servers at risk
Enlarge picture
A new type of attack launched from a single machine with limited hardware resources and bandwidth can cripple many of the webservers on the Internet today. Instead of flooding the server with more packets than it can handle, this new denial of service condition implies sending only a couple of hundreds of partial HTTP requests.

This new DoS attack method has recently been documented by reputed web security researcher Robert "RSnake" Hansen. The researcher also released a proof-of-concept tool that is able to carry out such attacks. Dubbed Slowloris and coded in Perl, the script can be run from *NIX-based systems only, because Windows limits the number of opened sockets.

This attack is actually the opposite of the classic DoS, as the idea behind it is not to send a huge number of data packets, but rather to trick the destination into waiting for them. In the case of webservers, this is achieved via incomplete HTTP requests.

The attacker opens a full TCP connection to the server and sends it the beginning of an HTTP request. This will force the server to keep the socket opened while expecting for the request to finish. In order to avoid timeouts, more request headers can be subsequently sent at certain intervals, without actually completing it.

Eventually, the webserver's limit of open sockets will be reached and it will become unresponsive to anyone else trying to access it. The attack is rather incremental, because it has to wait for other sockets to be freed before it can consume them, but in the end, it is very efficient and stealthy.

Such an attack targets particular web server instances. For example, if multiple web servers run on a single computer, only the targeted instance will be affected, leaving admins scratching their head as to the cause of the unresponsiveness. Additionally, no errors will be logged until the HTTP requests are completed or canceled.

Web servers like Apache 1.x, Apache 2.x, dhttpd, GoAhead WebServer or Squid have been found to be vulnerable. However, IIS6.0, IIS7.0, lighttpd are not affected. "This is obviously not a complete list, and there may be a number of variations on these web-servers that are or are not vulnerable," the research points out.

Robert Hansen devised the technique based on the previous research of Robet E. Lee and the late Jack C. Louis, who discovered severe vulnerabilities buried deep inside almost all TCP-stack implementations that can be exploited in a similar way.

However, Adrian Ilarion Ciobanu, a Romanian system administrator presented a very similar HTTP DoS concept on the SecurityFocus mailing list back in 2007. "So although there was no tool released at that time he still technically deserves all the credit for this. I apologize for having missed this post," writes RSnake on his blog.


4,138 hits · 2 comments
Link to this article · Print article · Send to friend

MUST-READ RELATED ARTICLES:


DDoS Attack Leaves Five Chinese Provinces Without Internet

Grid Computer Vendor Offers DDoS Testing

Denial of Service Attack Affects Global DNS Service

New Distributed Denial of Service Technique Explained

Patching Process for Major Internet Design Flaws Suffers Blow

READER COMMENTS:


Comment #1 by: adrian ilarion ciobanu on 21 Jun 2009, 10:46 UTC reply to this comment

the original article was written in the winter of 2007 and posted here: http://pub.mud.ro/~cia/computing/apache-httpd-denial-of-service-example.html including the source code as a proof of concept. it was never advertised (until now) for obvious reasons but instead presented on securityfocus as a concept only.


Comment #2 by: muhrizky on 22 Jun 2009, 04:46 UTC reply to this comment

But hey! Why can we just put a request-response for each TCP session and that is possible because HTTP is on TCP stack??

Copyright © 2001-2013 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM