24 October 2011 | 26,473 views

THC SSL DoS/DDoS Tool Released For Download

Don't let your data go over to the Dark Side!

THC-SSL-DOS is a tool to verify the performance of SSL. Establishing a secure SSL connection requires 15x more processing power on the server than on the client. THC-SSL-DOS exploits this asymmetric property by overloading the server and knocking it off the Internet. This problem affects all SSL implementations today. The vendors are aware of this problem since 2003 and the topic has been widely discussed.

This attack further exploits the SSL secure Renegotiation feature to trigger thousands of renegotiations via single TCP connection.


Comparing flood DDoS vs. SSL-Exhaustion attack

A traditional flood DDoS attack cannot be mounted from a single DSL connection. This is because the bandwidth of a server is far superior to the bandwidth of a DSL connection: A DSL connection is not an equal opponent to challenge the bandwidth of a server.

This is turned upside down for THC-SSL-DOS: The processing capacity for SSL handshakes is far superior at the client side: A laptop on a DSL connection can challenge a server on a 30Gbit link. Traditional DDoS attacks based on flooding are sub optimal: Servers are prepared to handle large amount of traffic and clients are constantly sending requests to the server even when not under attack.

The SSL-handshake is only done at the beginning of a secure session and only if security is required. Servers are _not_ prepared to handle large amount of SSL Handshakes. The worst attack scenario is an SSL-Exhaustion attack mounted from thousands of clients (SSL-DDoS).

Tips & Tricks for Whitehats

  1. The average server can do 300 handshakes per second. This would require 10-25% of your laptops CPU.
  2. Use multiple hosts (SSL-DOS) if an SSL Accelerator is used.
  3. Be smart in target acquisition: The HTTPS Port (443) is not always the best choice. Other SSL enabled ports are more unlikely to use an SSL Accelerator (like the POP3S, SMTPS, … or the secure database port).

Counter measurements

No real solutions exists. The following steps can mitigate (but not solve) the problem:

  1. Disable SSL-Renegotiation
  2. Invest into SSL Accelerator

Either of these countermeasures can be circumventing by modifying THC-SSL-DOS. A better solution is desireable. Somebody should fix this.

You can download THC-SSL-DOS here:

Windows: thc-ssl-dos-1.4-win-bin.zip
Linux: thc-ssl-dos-1.4.tar.gz

Or read more here.


Recent in Exploits/Vulnerabilities:
- PayPal Remote Code Execution Vulnerability Patched
- Fortinet SSH Backdoor Found In Firewalls
- Facebook Disabled Flash For Video Finally

Related Posts:
- sslyze – Fast and Full-Featured SSL Configuration Scanner
- sslsniff v0.7 – SSL Man-In-The-Middle (MITM) Tool
- Agnitio v2.1 Released – Manual Security Code Review Tool

Most Read in Exploits/Vulnerabilities:
- Learn to use Metasploit – Tutorials, Docs & Videos - 233,118 views
- AJAX: Is your application secure enough? - 119,820 views
- eEye Launches 0-Day Exploit Tracker - 85,360 views

Low-cost VPS Hosting

5 Responses to “THC SSL DoS/DDoS Tool Released For Download”

  1. Mayank 25 October 2011 at 9:43 am Permalink

    Thanks, very interesting tool..

  2. Bogwitch 27 October 2011 at 3:19 pm Permalink

    Hmmm… I’m wondering if this is how Xerxes is operating.

    Just thinking out loud…

  3. zakari 2 November 2011 at 8:59 pm Permalink

    im working on my project and i am wondering on how can i use the tool on the iphone device?

  4. CLICK IT 9 December 2011 at 4:22 pm Permalink