On CNET: Nook back on sale
BNET Business Network:
BNET
TechRepublic
ZDNet

December 30th, 2008

SSL broken! Hackers create rogue CA certificate using MD5 collisions

Posted by Ryan Naraine @ 6:00 am

Categories: Arbitrary Code Execution, Botnets, Browsers, Complex Attacks, Data theft, Exploit code, Firefox, Malware, Microsoft, Mozilla, Phishing, Punditocracy, Research, Responsible disclosure, Spam and Phishing, Spyware and Adware, Zero-day attacks

Tags: Certification Authority, SSL, Web Browser, Computer Associates International Inc., Certificate, Hacker, MD5, Web Browsers, Internet, Ryan Naraine

Alexander SotirovUsing computing power from a cluster of 200 PS3 game consoles and about $700 in test digital certificates, a group of hackers in the U.S. and Europe have found a way to target a known weakness in the MD5 algorithm to create a rogue Certification Authority (CA), a breakthrough that allows the forging of certificates that are fully trusted by all modern Web browsers.

The research, which will be presented today by Alex Sotirov (top left) and Jacob Appelbaum (bottom left) at the 25C3 conference in Germany, effectively defeats the way modern Web browsers trust secure Web sites and provides a way for attackers to conduct phishing attacks that are virtually undetectable. Jacob Appelbaum

The research is significant because there are at least six CAs currently using the weak MD5 cryptographic algorithm in digital signatures and certificates.  The most commonly used Web browsers — including Microsoft’s Internet Explorer and Mozilla’s Firefox — whitelist these CAs, meaning that a fake Certificate Authority can display any site as secure (with the SSL padlock).

“We basically broke SSL,” Sotirov said in an interview ahead of his 25C3 presentation.

Our main result is that we are in possession of a “rogue” Certification Authority (CA) certificate. This certificate will be accepted as valid and trusted by many browsers, as it appears to be based on one of the “root CA certificates” present in the so called “trust list” of the browser. In turn, web site certificates issued by us and based on our rogue CA certificate will be validated and trusted as well. Browsers will display these web sites as “secure”, using common security indicators such as a closed padlock in the browser’s window frame, the web address starting with “https://” instead of “http://”, and displaying reassuring phrases such as “This certificate is OK ” when the user clicks on security related menu items, buttons or links.

Researchers at the Centrum Wiskunde & Informatica (CWI) in the Netherlands, EPFL in Switzerland, and Eindhoven University of Technology (TU/e) in the Netherlands helped in the design and implementation of the attack using an advanced implementation of a known MD5 collision construction and a cluster of more than 200 PlayStation 3 game consoles.

According to Sotirov, a rogue CA in combination with Dan Kaminsky’s DNS attack can have serious consequences:

For example, without being aware of it, users could be redirected to malicious sites that appear exactly the same as the trusted banking or e-commerce websites they believe to be visiting. The web browser could then receive a forged certificate that will be erroneously trusted, and users’ passwords and other private data can fall in the wrong hands. Besides secure websites and email servers, the weakness also affects other commonly used software.

Sotirov said the team was able to secure NDAs in advance of briefing the major browser vendors about the problem but because of issues — some practical and some political — there are no straightforward fixes unless the CAs stop using MD5 and move to the more secure SHA-1 algorithm.

To avoid abuse, the team back-dated its rogue CA (it was set only for August 2004) and will not release the private key.   “We’re also not going to release the special code that we used to do the MD5 collisions until later this year,” Sotirov added.

“We don’t anticipate this attack to be repeatable very easily.  If you do a naive implementation, you would need six months to run it successfully,” he added.

Arjen Lenstra, head of EPFL’s Laboratory for Cryptologic Algorithms, the key objective of the research was to stimulate better Internet security with adequate protocols that provide the necessary security.

The key takeaway, according to Lenstra: “It’s imperative that browsers and CAs stop using MD5, and migrate to more robust alternatives such as SHA-2 and the upcoming SHA-3 standard.”

Further details:

Colliding certificates:

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 75 Talkback(s)
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions
We have identified these work from home a vulnerability in the Internet Public Key Infrastructure (PKI) used to issue digital certificates for secure we... (Read the rest)
Posted by: jessonerik Posted on: 08/23/09 You are currently: a Guest | | Terms of Use
At least they're talking to the vendors first.  Letophoro | 12/30/08
CAs and SSLs Are Irrelevant to Phishing Attacks:  Seamus O'Brog | 12/31/08
WRONG  Timewellwasted | 12/31/08
Wrong My Aunt Fanny:  Seamus O'Brog | 12/31/08
You May Be Stubborn  Timewellwasted | 12/31/08
Who says...  LiquidLearner | 12/31/08
Simple, foolproof, ...  twaynesdomain | 12/31/08
Phishing uses a similarly spelled name  georgeou | 12/31/08
They were not talking to the vendors first....  ian.dell | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  twinbit | 12/30/08
Sitekey is worthless...  mrlinux | 12/30/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  zaza1233 | 12/30/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  zaza1233 | 12/30/08
Test if your certificate has been signed signed with a insecure algorithm  vanbroup | 12/30/08
Thanks for the links. happy (nt)  V@... | 12/30/08
YES!....TYVM!  JCitizen | 12/31/08
SSL not broken... just Cert trust is broken  Chucks_net | 12/30/08
I was just looking at stuff myself  kokuryu | 12/30/08
1f82a5fd55b8a75e47d36d55c72aac77 nt  T1Oracle | 12/31/08
Not that smart then, eh? nt  T1Oracle | 01/01/09
"so what" dept  mike acker | 12/30/08
Well as soon as Microsoft removes the...  mrlinux | 12/30/08
All OSes have some sort of start-up auto-run.  jamesrayg | 08/19/09
Missing the point...  techboy_z | 12/30/08
Absolutely  Chucks_net | 12/30/08
Amen and Hallelujah!!  Seamus O'Brog | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  JelMin | 12/31/08
From the Briefing..  TechBoyZ | 12/31/08
So, should I or should I not issue the order?  ksheppard@... | 12/31/08
Move to another authority...  LiquidLearner | 12/31/08
"Just move to Verisign?"  Alun Jones | 01/02/09
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  tomalak | 12/31/08
What are the "political issues" mentioned  softwareFlunky | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  dreampod | 12/31/08
That is just it...  JCitizen | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  vilppuu@... | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  hammer90 | 12/31/08
Later this year?  rcasha_z | 12/31/08
BACK TO BASICS?  wwwsupport | 12/31/08
criminals  dcdavy | 12/31/08
Yeah, Yeah,...(Snore)  Seamus O'Brog | 12/31/08
'Wine Arbitrage' link  M.W.H. | 12/31/08
yeah... they broke the law doing "research"  aswarm@... | 12/31/08
I Think You Miss The Point Even While Making It  Seamus O'Brog | 12/31/08
SSL, Certs not broken - MD5 is!  SnoBoy | 12/31/08
Found Official Response From Trustico  ian.dell | 12/31/08
Perhaps...  JCitizen | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  raelalt | 12/31/08
Where the hell did they find 200 playstations?  Anonymous Benefactor | 12/31/08
Silicon Valley Day Care Center. Very Common There. (no Msg)  Seamus O'Brog | 12/31/08
Why don't they just...  Spiritusindomit@... | 12/31/08
Are you that simple minded?  flyswat27 | 12/31/08
Misunderstanding the whole concept.  Timewellwasted | 12/31/08
Yep! we need people like that to discover the flaws.  V@... | 12/31/08
When billions of dollars are missing???  psquare11 | 12/31/08
Depends on what security exploitation...  Timewellwasted | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  GavinS | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  MrViklund | 12/31/08
The PS3...  LapDRx | 12/31/08
Sony and hacking  oregonnerd13 | 12/31/08
rootkits were on Music CDs  Timewellwasted | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  Questor333 | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  twaynesdomain | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  twaynesdomain | 12/31/08
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  trm1945 | 12/31/08
This was done as far back as 2005  georgeou | 12/31/08
Hackers aren't limited to 300 PS3s  darkonc | 12/31/08
This Goes Beyond Simple Phishing.  darkonc | 12/31/08
SSL is NOT Broken!  mejohnsn | 01/01/09
200 ps3 vs bit strenght  boredsillyinedu | 01/01/09
PS3 useful  se_lain@... | 01/03/09
Nothing new  Vektor_ | 01/06/09
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  jhamel@... | 01/21/09
RE:  jason12343 | 07/22/09
RE: SSL broken! Hackers create rogue CA certificate using MD5 collisions  jessonerik | 08/23/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here