ie8 fix
madison

Networking

Steven J. Vaughan-Nichols

Fake SSL certificates pirate Web sites

By | September 6, 2011, 3:21pm PDT

Summary: It used to be you knew you could trust a Web site when your Web browser securely connects to it with a valid HTTPS connection. Now, that’s trust has been shaken.

There’s never much you could really trust in computer security, but you could usually put your faith in a Hypertext Transfer Protocol Secure (HTTPS) connection being secure. The combination of the Web’s HTTP and security provided by the Transport Layer Security (TLS) or Secure Sockets Layer (SSL) protocols was a gold standard of Internet security. Oh well, it was nice while it lasted. Now we need to be wary of those as well thanks to DigiNotar, a Dutch Certificate Authority (CA), being cracked and then issuing fake SSL certificates.

Here’s how this newest network security fiasco came about. DigiNotar was cracked on August 28th by a Farsi speaking cracker, probably from Iran. Once in, he was able  to issue public key certificates for numerous legitimate sites, such as Google and Microsoft to various malicious ISPs.

So, what did that mean for users? Say you were in Tehran and you wanted to check your Gmail account. If you log into your account, and your ISP has been corrupted or is in on the SSL certificate fraud, it would look like you have a normal secure connection to Gmail. Wrong.

According to Google what actually happened was that you’ve been caught in an SSL man-in-the-middle (MITM) attacks. Armed with the fake SSL certificate, the crackers–perhaps the Iranian government–could watch and read your e-mail traffic go back and forth between your computer and Google, and many other Web sites, services.

It works like this. Web servers and browsers rely on SSL or TLS to create an encrypted channel for private communications over the Internet. Each SSL Certificate consists of a public key and a private key. The public key is used to encrypt information and the private key is used to decipher it. When a Web browser points to a secured domain, an encrypted connection is established based on the type of SSL Certificate; the client Web browser; operating system; and Web server’s capabilities.

Typically a HTTPS connection uses 128 to 256-bit encryption. While that’s breakable, it’s beyond the capabilities of most crackers. If someone gets a fraudulent SSL certificate, though, your traffic will go back and forth, apparently as normal, but actually every byte you send and receive using the fake certificate can be read by the man-in-the-middle cracker.

While some Web browsers, like Chrome, were still able to catch that there was something wrong and warned users that there was something fishy about their connection, others were not so lucky. By early on Sunday, though, Google, Mozilla and Microsoft had all caught on to what was going in and had banned the fake DigiNotar certificates in their browsers.

To make doubly sure, Microsoft today, September 6th, has banned the use of all SSL certificates from DigiNotar. While Microsoft has been able to make that stick with modern versions of Windows, it’s still possible for Windows XP and Windows Server 2003 users to connect through a falsely secured connection. Microsoft states they’ll be issuing a patch soon. In the meantime, if I were you, I’d use Google’s Chrome Web browser and not use Windows Update until this problem is nailed down once and for all.

UPDATE September 7th.: Microsoft has issued its updated CA list for XP and 2003. Update your systems now.

This, let me point out, is not a Windows, Mac OS X, or Linux problem. It’s not even a browser problem per se. It’s a problem with a trusted Internet source being compromised and everyone else potentially paying the price. The problem behind the browser security problem is that it’s now been shown that what had been a heretofore trustworthy CA can be hacked. For those of us who are seriously concerned about security, that means we can no longer assume that even a HTTPS connection is probably secure. Wonderful. Just wonderful.

Related Stories:

Google, Mozilla and Microsoft ban the DigiNotar Certificate Authority in their browsers

Facebook, Google, CIA, MI6 targeted in Dutch government certificate hack

Twitter adds SSL security

Are your search engine queries being hijacked?

We’re a long, long way from securing the Web with SSL/TLS

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system

Disclosure

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols is a freelance writer. He does not own stocks or other investments in any technology company.

Biography

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system; 300bps was a fast Internet connection; WordStar was the state of the art word processor; and we liked it.

His work has been published in everything from highly technical publications (IEEE Computer, ACM NetWorker, Byte) to business publications (eWEEK, InformationWeek, ZDNet) to popular technology (Computer Shopper, PC Magazine, PC World) to the mainstream press (Washington Post, San Francisco Chronicle, BusinessWeek).

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?
45
Comments

Join the conversation!

Just In

RE: Fake SSL certificates pirate Web sites
danbi 11th Sep
There is only one solution to this "new" problem: DNSSEC and DANE certificates.
The CA business is dead, no wonder Verisign sold this asset while it had some value.

Also, the article wrongly assumes that this might affect only "Iranian" Internet users. Such certificates, once available can be used by anyone, anywhere. That guy might have sold the certificates at good price -- which means that many more CAs are in danger.
0 Votes
+ -
The Internet has become the Wild West.
Dietrich T. Schmitz * Your Linux Advocate 6th Sep
Lawlessness is rampant.
Bounty Hunters needed to round up these criminals and bring them into Justice.
0 Votes
+ -
@Dietrich T. Schmitz * Your Linux Advocate Certificates stolen from JMicron and Realtek were used to sign the Stuxnet rootkit drivers. More here:

http://www.securelist.com/en/blog/2236/Stuxnet_signed_certificates_frequently_asked_questions

Is the act of stealing digital certificates for nefarious purposes any more noble than hacking a CA and issuing fake certificates?

When rewriting history, one can become the 'good guy' simply through the judicious choice of time=0. The above link was posted in July, 2010.
@Rabid Howler Monkey You mean is the act of stealing digital certificates to save the world from nuclear armageddon any more noble than hacking a CA and issuing fake certificates? In that case, I'd say heck yes.
0 Votes
+ -
RE: Fake SSL certificates pirate Web sites
Rabid Howler Monkey 7th Sep
@jgm@ Two philosophical principles that have failed the U.S. gov't miserably, time after time (lookup 'blowback'):

1. The end justifies the means
2. The enemy of your enemy is your friend

Guess which one applies to the stolen digital certificates?

P.S. Wrt a potential nuclear catastrophe, *nothing* comes close to Pakistan.
0 Votes
+ -
@Rabid Howler Monkey: Pakistan is a worse threat than Iran? That doesn't mean Iran isn't a threat.

If Stuxnet is the effort of a western nation, maybe its use was an attempt to do an inevitable battle without collateral damage which. Sounds reasonable to me. The other options are to wait for 100% certain evidence that the enemy did attack before we respond (wait till when we are dead), bomb Tehran as if it was London in WWII.
0 Votes
+ -
@Dietrich T. Schmitz * Your Linux Advocate

A lot of good that will do when some of these individuals work for governments, i.e., Iran's, where they are "the law".
Of course for such a scheme to be successfull, more needs to be done than just presenting users with a false certificate. For instance, to lure someone to a fake google or Microsoft site, you need to also present the user with spoofed dns records, to steer them to the fake website in the first place.

Bythe way, the hack occurred already in July, and I am at a loss how chrome would be able to warn the user, especially considering that some of the forged certificates didn't contain any revocation information.
0 Votes
+ -
@sjaak327 Not true. Any link between you and google can insert the fake certificate. For example, your ISP or any other router in between you and the real google can be the man in the middle. They serve up the fake certificate and relay real information between google and you while making a copy for them self. Additionally, they could insert the fake and redirect you to another site at the same time, but it appears that what they are really looking to do is convince you that your connection is a secure one, send you to the site you are going to and snoop all of your data. This is also a way that they can log your username and password for their own use.
@Colorado_AL
How do you determine the authenticity of a certificate/secure connection and what can be done to avoid personal info, such as username and password, getting into the wrong hands?
0 Votes
+ -
RE: Fake SSL certificates pirate Web sites
charlesreese Updated - 7th Sep
I just got a $829.99 iPad2 for only $103.37 and my mom got a $1499.99 HDTV for only $251.92, they are both coming with USPS tomorrow. I would be an idiot to ever pay full retail prices at places like Walmart or Bestbuy. I sold a 37" HDTV to my boss for $600 that I only paid $78.24 for. I use http://bit.ly/grab1002
@charlesreese SPAM
0 Votes
+ -
@Quebec99 - he probably came here to see how he could steal certs for himself!
@charlesreese
@charlesreese
. . . and they are selling fake SSL certificates???
0 Votes
+ -
I used to think Microsoft's advice to shut off your Corporate CA server and "put it in a closet" until you need to create a new cert was overprotective to the point of being paranoid, but these days, that's pretty good advice...
0 Votes
+ -
What is your advice (if any)...
GrizzledGeezer 7th Sep
...for users?
0 Votes
+ -
@GrizzledGeezer Keep your software updated. For Android users with root there are CACertMan:
https://guardianproject.info/2011/09/05/cacertman-app-to-address-diginotar-other-bad-cas/
It will let you remove CA:s that you do not trust. Diginotar and CNNIC (chinese) are often recommended to remove (if they're there). You may want to remove other ones too.
Removing too many will however lead to warnings most of the times you connect to anything over SSL while not making you much more secure.
0 Votes
+ -
@GrizzledGeezer
Steven J. Vaughan-Nichols advice to "not use Windows Update" strikes me as reckless and unfathomable. I personably will choose to Microsoft's advice and install the latest security update that they published for this very issue. Information here: http://support.microsoft.com/kb/2607712
0 Votes
+ -
Why do you say "not use Windows Update"? Microsoft released a patch yesterday. Why are you telling people not to install it?

http://www.microsoft.com/technet/security/advisory/2607712.mspx
0 Votes
+ -
Thanks
PepperdotNet 7th Sep
Thank you for using the correct term for the criminal "cracker" instead of "hacker." Most people don't catch the distinction but there is one.
0 Votes
+ -
@Pepper.dot.Net Not all hackers are crackers, but all crackers are hackers.
0 Votes
+ -
@hayneiii@... not true either.
0 Votes
+ -
@Pepper.dot.Net "cracker" does not either denote criminal behavior. A cracker is a person who cracks codes.
0 Votes
+ -
I have been receiving e-mails, purportedly from Verisign, offering to sell me SSL certificates for 20% off. Is this legitimate? It is still spam,however, as I have no relation with them and don't have a need for the product.
0 Votes
+ -
@WATKINS12@... You should report them for violating the CANSPAM Act
For users - consider removing any certificates issued by DigiNotar.
0 Votes
+ -
Only Half Successful?
jimdandytoo 7th Sep
Wouldn't this attack only be half successful? The man-in-the-middle with the fake website certificate could only decrypt the information sent by a user to the website, right? Isn't the information sent by the website TO the user encrypted with the user's public key? Therefore the man-in-the-middle could not decrypt it. Correct?
@jimdandytoo

Unfortunately, no, the attack is completely successful. The user is essentially communicating unencrypted with the MITM, who then forms a legitimate connection to the other end. Therefore, the MITM is able to read both sides. (Remember, you sent your username and password unencrypted to the MITM)
0 Votes
+ -
Yes and No
jimdandytoo 7th Sep
"Remember, you sent your username and password unencrypted to the MITM"

Actually no. The client would have sent its information to the real server encrypted using the public key for the "fake" certificate. The information sent is still encrypted. It's just that the MITM can decrypt it using the private key for his "fake" certificate.

However, I see now though that the MITM is able to decrypt the information sent from the real server because as you noted the MITM is impersonating the real client. The MITM never actually knows the private key for the real client, but he doesn't need it. He just encrypts the information using the client's public key.
@jimdandytoo

Yep this is why I said "essentially unencrypted" . It IS encrypted, just with a key that the MITM has access to.
0 Votes
+ -
@jimdandytoo but don't you get the username/password that the user sends to the website anyway? In that case, you can just log in yourself.
0 Votes
+ -
@jimdandytoo Unfortunately, it's effectively encrypted with the public key that the "site" (i.e. man in the middle if there's a man in the middle) tells the client to use. (More or less: actually, the public/private key aren't used to encrypt "information" as such, but just the initial negotiation of the encrypted stream, for which another random key and faster encryption scheme such as AES are used.)
Interesting that I receive an error about the site certificate trying to read the article warning about bogus certificates?
What's Up with that? Using IE 8.
0 Votes
+ -
Don't need it
Thor ins Digri 7th Sep
Our corporate firewall OS has scan SSL traffic setting that basically performs a man-in-the-middle attack that co-opts the SSL process so that it can monitor and prevent employees from using SSL encryption to prevent IT from scanning for viruses / unacceptable use / exposure of non public information. Anyone with a similar device / feature could put it anywhere in the middle and do the same thing to anyone. The Internet is the Wild West, but the bullets not measured in caliber but in bytes.
0 Votes
+ -
Why was this reported as spam?
0 Votes
+ -
@rslider@... you might be missing the point. This is not about malware, it's about spying! Not phishing, not worms, not drive-by downloads, but getting your passwords without you noticing!
0 Votes
+ -
Downloading Chrome...
neilcoffey 7th Sep
Of course, if you're going to download Chrome to protect you from issue, you should ideally download it from a non-compromised Internet connection. So at least don't use the same ISP as the one you think is helping the government to spy on you...
informative ~ thank you.
"Typically a HTTPS connection uses 128 to 256-bit encryption. While that?s breakable, it?s beyond the capabilities of most crackers."

Assuming you have millions of years and unlimited access to every computer on Earth, you can break it.

And this has been fixed. So no, I do not think it is right to kill our trust in the system. It's working as designed - the bad certificates have been revoked!

You're blowing this way out of proportion. I don't think we need to stop trusting SSL, and I think this will remain a rare event.
0 Votes
+ -
RE: Fake SSL certificates pirate Web sites
belli_bettens@... 9th Sep
@CobraA1 But a security system is only as strong as its weakest link. In this case the CA already discovered the breach on Juli 19, almost 2 months before they anounced it publicly! On top of that, it didn't took a genius to 'hack' their systems. The admin password was... Pr0d@dm1n. Seriously???
In the months that the certificates where already compromised, nobody knew it. Can you imaging how many data has been stolen meantime?
Of course, we don't need to lose our trust in the SSL system (because it is the best we currently have) but a little control would be welcome, don't you think?
0 Votes
+ -
How does NoScript respond? I thought it out performed Chrome's built-in security. My Firefox always has NoScript enabled so security comparisons are useless to me if Firefox is not paired with NoScript.
0 Votes
+ -
Moxie Marlinspike at Blackhat 2011 USA said that moving to DNSSEC aggravates the problem of trust and does not improve it. Any thoughts? The talk is on Youtube v=Z7Wl2FW2TcA
0 Votes
+ -
What is your advice (if any)... ??
Darryl_Gittins 9th Sep
Steven J. Vaughan-Nichols advice to "not use Windows Update" strikes me as reckless and unfathomable. I personably will choose to take Microsoft's advice and install the latest security update that they published for this very issue. Information here: http://support.microsoft.com/kb/2607712
0 Votes
+ -
RE: Fake SSL certificates pirate Web sites
AxelWiresmith Updated - 9th Sep
charlesreese ' s link could be stealing credentials? has anyone checked this ? >__

I think this Iranian guy was most likely not the first guy to spoof SSL,(Surprise, Surprise) thank-you US crypto policy for restricting the levels of implementation. (128 bit AES is a walk in the park for good hakr with reasonable farmed HW and know-how let alone an army with an agenda) It comes as no surprise to me that the core basis of modern commerce/life in based on such shaky foundations, this IS A HUGE WORRY! Man-in-the-middle is something that should keep us all up at night! (assuming it hasn't been already, if so perhaps u might sleep a little better now that it's finally going public) The excuse of extinction prevention doesn't wash entirely, The problem is without some level(s) of oversight commercial interests and agendas can find there way to doing harm to others, some of them can afford it, others cannot... Just look around. There are some things we need to have a certain level of confidence in, or we cannot move forward. Sometimes the best offence is a good defence. If lazyness leads a locksmith to install lots of easy-to-pick locks to save him a hassle when it comes time to replace someone's lost keys, then perhaps it should be of no-surprise that the very others he was trying to keep out having been letting themselves in to make sandwiches at will....
There is only one solution to this "new" problem: DNSSEC and DANE certificates.
The CA business is dead, no wonder Verisign sold this asset while it had some value.

Also, the article wrongly assumes that this might affect only "Iranian" Internet users. Such certificates, once available can be used by anyone, anywhere. That guy might have sold the certificates at good price -- which means that many more CAs are in danger.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix