Researchers with a hacker group called The Hackers Choice (THC) yesterday released the so-called THC-SSL-DOS tool that abuses the SSL renegotiation feature, which basically reperforms the encryption handshake.
The tool lets an attacker use a single connection to relentlessly perform the renegotiation with the SSL server, eventually overwhelming it. "It's a constant renegotiation. Instead of forming new connections over and over again ... it increases the overhead of the server," says Tyler Reguly, manager of security research and development with nCircle.
It all comes down to an SSL feature -- SSL renegotiation -- that isn't typically needed for Web servers. "Unless you wanted to change the encryption level, it's not a necessity. Some SSL VPNs make extensive use of it, but it's not needed in the Web browsing world," Reguly says.
The hackers who wrote the tool recommend disabling SSL renegotiation. But even that won't completely prevent such a denial-of-service attack. "It still works if SSL Renegotiation is not supported but requires some modifications and more bots before an effect can be seen," the THC hackers said in a statement.
For the tool to take down server farms with SSL load balancing, it requires using about 20 "average size" laptops and 120 Kbps of traffic, they said.
The new tool is reminiscent of the Slowloris attack tool that keeps connections open by sending partial HTTP requests and sends headers at regular intervals to prevent the sockets from closing, and OWASP's Slow HTTP Post tool. There's also the open-source slowhttptest tool that checks a server's vulnerability to a Slowloris-type attack.
nCircle's Reguly was initially skeptical of the attack, but downloaded the tool and gave it a spin. Much to his surprise, it worked well -- too well. "It definitely took down the server I tested it on. My laptop versus the HTTPS server was a success," he says. "It was kind of scary."
SSL has been under heavy scrutiny during the past couple of years for its vulnerability to man-in-the-middle attacks and for the high volume of SSL-based websites that are improperly configured. Some 80 percent, for example, are vulnerable to a Firesheep or similar attack, according to data from SSL Labs, Qualys' community project. And 70 percent of SSL servers handle credential login in plain text, while 55 percent submit passwords in plain text.
On top of that, there are this year's attacks of certificate authorities Comodo and DigiNotar, for instance. "We warned in 2002 about giving hundreds of commercial companies (so-called Certification Authorities) a master key to ALL SSL traffic," said Fred Mauer, a senior cryptographer at THC, in a post. "Only a real genius can come up with such an idea. And last but not least the immense complexity of SSL Renegotiation strikes again in 2011 with the release of THC-SSL-DOS. It’s time for a new security model that adequately protects the citizens."
THC also dismissed the idea of renegotiating encryption. "Renegotiating Key material is a stupid idea from a cryptography standpoint. If you are not happy with the key material negotiated at the start of the session then the session should be re-established and not re-negotiated," the group said.
The tool is available here for download.
Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.
| To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. |
What's Next for Certificate Technology
A recent rash of certificate authority breaches has left a bad taste in many people's mouths. There is no one reason for the breaches. The compromises were the result of a breakdown in people, processes and technology, but not necessarily the certificates themselves. We take a look at what?s wrong with certificate technology, what can be done to fix it, and what's down the road for certificates and CAs.
Will Smartcards Live Up to Their Name?
Recent compromises of smartcard data have exacerbated concerns about the technology?s privacy, security and standards (or lack thereof). Yet the promise of smartcards is too compelling to ignore. New technologies and applications prompt us to take a fresh look.
Get The Best Of Biometrics
As data volume and sensitivity grow, companies cannot rely on password- and token-based authentication. Biometrics can be used to provide strong access control, but you must weigh added complexity and costs against assurance that users are who they say they are.
Other reports from the Authentication Tech Center:
MORE NEWSFEED >>>