Researchers To Release Tool That Silently Hijacks EV SSL Sessions

Black Hat USA session will demonstrate new man-in-the middle attacks on Extended Validation SSL

If you think you're safe from man-in-the-middle (MITM) attacks as long as you're visiting an Extended Validation SSL (EV SSL) site, then think again: Researchers will release a new tool at Black Hat USA later this month that lets an attacker hack into a user's session on an EV SSL-secured site.

Mike Zusman and Alex Sotirov -- who in March first demonstrated possible MITM attacks on EV SSL at CanSecWest -- will release for the first time their proxy tool at the Las Vegas conference, as well as demonstrate variations on the attacks they have discovered. The Python-based tool can launch an attack even with the secure green badge displaying on the screen: "It doesn't alert the user that anything fishy is going on," says Zusman, principal consultant at Intrepidus.

All it takes is an attacker having a non-EV SSL certificate for a Website, and he or she can hijack any SSL session that connects to it. That's because the Web browser treats the EV SSL certificate with the same level of trust as an SSL domain-level certificate. "There's no differentiation between the two certs beyond the green badge," Zusman says. If an attacker has a valid domain-level certificate, he can spoof EV SSL connections and execute an MITM attack, with access and view of all sensitive data in the session -- all while the unsuspecting victim still sees that reassuring green badge displayed by his browser.

EV SSL sites display a green address bar when used with the newest versions of major Web browsers, and the bar bears the name of the Website's organization that owns the certificate, as well as the authority that issued it. The certificate shows the site is legitimate, and that the session is encrypted and secured.

"They're [Zusman and Sotirov] doing some novel and cool stuff to poke at the nonexistent security barrier. But it's not one [security barrier] that exists, because it's not one that can exist," says Dan Kaminsky, director of penetration testing for IOActive.

"The larger issue is why EV doesn't implement exclusive origins, [and] the answer is because such a change would be completely undeployable ... It's already a huge headache to get all of those sources to use SSL at all. If they all had to use EV SSL, there would quite literally be no sites of significance technically able to deploy the green bar -- and, thus, this defense against phishing wouldn't be on the market," he says.

Zusman and independent consultant Sotirov will demonstrate an attack using their Python-based tool against a popular ecommerce Website. "The proxy [tool] shows sensitive data the user wanted protected," Zusman says.

One possible attack scenario could be a bad guy setting up a rogue wireless access point at a caf or in an airport. Or he could target a bank and intercept traffic going to the bank's Website: "The user sees the green glow, but the attacker is a rogue proxy sniffing his credentials," Zusman says.

The attacker is basically downgrading EV SSL to standard SSL without the victim having a clue, the researchers say. These attacks are difficult to detect because the browser basically accepts the certificates the attacker sends it.

Zusman says the Firefox Perspectives plug-in, which basically validates that an SSL certificate was served up from the actual domain, can help. "The only way to detect this is if a user were to look at the certification being served up each time, paying attention to every connection the browser makes," he says.

Zusman is also working on a plug-in of his own that performs SSH-style whitelisting of public keys to ensure users don't get hit with MITM attacks. "[But] it's not ready for public consumption," he says.

Still, EV SSL has not been widely deployed as yet; as of March, more than 11,000 Websites were using EV SSL worldwide, which was about 1 percent of the 1.03 million sites already secured with SSL certificates, according to Netcraft. But one-fourth of all SSL certificates in the world's top 1,000 Websites were using EV SSL.

Calls for EV SSL adoption have intensified of late amid concerns of MITM attacks targeting newly discovered weaknesses in SSL, namely the MD5 encryption algorithm hack, which allows the creation of forged CA and X.509 digital certificates, and the MITM attack demonstrated at Black Hat DC, which basically makes users think they are visiting a secure Website when they are not.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

About the Author(s)

Kelly Jackson Higgins, Editor-in-Chief, Dark Reading

Kelly Jackson Higgins is the Editor-in-Chief of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, Virginia Business magazine, and other major media properties. Jackson Higgins was recently selected as one of the Top 10 Cybersecurity Journalists in the US, and named as one of Folio's 2019 Top Women in Media. She began her career as a sports writer in the Washington, DC metropolitan area, and earned her BA at William & Mary. Follow her on Twitter @kjhiggins.

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