Black Hat: Security Pro Shows How To Bypass SSL

Moxie Marlinspike captured 16 credit card numbers, seven PayPal logins, and 300 other miscellaneous secure login sessions in only 24 hours.

Thomas Claburn, Editor at Large, Enterprise Mobility

February 19, 2009

2 Min Read
Dark Reading logo in a gray background | Dark Reading

To demonstrate the fragility of the Secure Sockets Layer, which is used to protect sensitive transactions online, security researcher Moxie Marlinspike captured 117 e-mail accounts, 16 credit card numbers, seven PayPal logins, and some 300 other miscellaneous secure login sessions in only 24 hours.

On Wednesday at the Black Hat Conference in Washington, D.C., Marlinspike explained that he obtained such data by placing proxy software he'd written, called "sslstrip," on a node of a Tor network, to conduct what's known as a man-in-the-middle attack.

The proxy software intercepts HTTPS traffic, generates and signs security certificates, and mediates data passing between the client and server, capturing everything in the process. And though there are ways to detect the attack, like recognizing that a Web URL begins with HTTP rather than HTTPS, none of the test victims noticed.

The attack can also be augmented with the addition of a lock icon, which would suggest to most users that the session is secure, even if it's not. It can be further enhanced through the addition of a homograph attack, which uses letters from different character sets to spoof well-known Web sites. Security researcher Eric Johanson in 2005 described such an attack using a Cyrillic 'a' in "www.paypal.com" to create a PayPal doppelganger site.

Marlinspike's attack isn't so much technical as it is social engineering. It relies on users failing to recognize the distinction between HTTP and HTTPS sessions and on other insecure habits, like people's penchant for typing, say, "www.wellsfargo.com" without the HTTPS portion of the URL.

Such tendencies allow Marlinspike to bypass SSL entirely. "Lots of times the security of HTTPS comes down to the security of HTTP, and HTTP is not secure," he explains in his presentation slides.

Marlinspike plans to release sslstrip later this week.


Want to hear about security for rich Internet applications? Black Hat is hosting a virtual event on this topic on Thursday, Feb. 26. Find out more (registration required).

About the Author

Thomas Claburn

Editor at Large, Enterprise Mobility

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful master's degree in film production. He wrote the original treatment for 3DO's Killing Time, a short story that appeared in On Spec, and the screenplay for an independent film called The Hanged Man, which he would later direct. He's the author of a science fiction novel, Reflecting Fires, and a sadly neglected blog, Lot 49. His iPhone game, Blocfall, is available through the iTunes App Store. His wife is a talented jazz singer; he does not sing, which is for the best.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights