News for hackers. Stuff that matters.
Re:An update on attempted man-in-the-middle attacks by tptacek on Tuesday August 30, 2011 @01:45AM (#2940277)
IE is killing it too, and, as this post points out, so is Mozilla.

Sign a Google Mail certificate for Iran? Fuck you. You're done.

In the medium term, I think a lot of HN people should also take a hard look at CONVERGENCE.IO. For now, though, it's heartening to see the real power behind Internet trust (hint: it's not Verisign and it's not the IETF) taking this seriously.

Re:An update on attempted man-in-the-middle attacks by pilif on Tuesday August 30, 2011 @03:19AM (#2940457)
IMHO, just blacklisting these resellers is worthless as there is obviously not enough oversight over who can be a reselling CA.

This is the third time this year that a Comodo reseller has been breached. Comodo should scrutinize their customers better or THEY should get blacklisted (taking all their other resellers with them) at least until they made sure that their clients have all resolved their security issues

Re:An update on attempted man-in-the-middle attacks by lawnchair_larry on Tuesday August 30, 2011 @07:57AM (#2941036)
This is not a Comodo reseller. This is a root CA. Your browser has its own entry for DigiNotar in it.
Re:An update on attempted man-in-the-middle attacks by stanleydrew on Tuesday August 30, 2011 @02:32AM (#2940370)
It's heartening but it's also not. Surely there have been many other cases of invalid certs being granted for lower profile sites, perhaps by this very same CA, without any of us ever hearing about it. And surely the granter of one of those is still considered valid within many browser/OS configurations. But because this was an invalid Google cert the CA gets shut down.

It kind of highlights the difficult problem of when to decide to blacklist a CA in the current model.

And for clarity, who/what do you think is the real power behind Internet trust? I've been thinking about it for five minutes and can't come up with a good answer.

Re:An update on attempted man-in-the-middle attacks by thurn on Tuesday August 30, 2011 @02:39AM (#2940387)
Browser vendors, perhaps?
Re:An update on attempted man-in-the-middle attacks by wisty on Tuesday August 30, 2011 @05:09AM (#2940658)
And OS vendors. And whoever configures the computer. You buy a computer that was made in China, and it has root certs already in there (thanks to either Microsoft or Apple, or the shop who sold it, or the guys who assembled it - who knows?). Chome / Safari uses the system certs. All good, right?
Re:An update on attempted man-in-the-middle attacks by rhizome on Tuesday August 30, 2011 @04:42AM (#2940610)
who/what do you think is the real power behind Internet trust

Nobody, it's all fiat. Verisign started this scam and we're just seeing the follow-on effects. There has never been anything more than the words and policies supporting the CA industry.

Re:An update on attempted man-in-the-middle attacks by dschobel on Tuesday August 30, 2011 @02:31AM (#2940367)
Was the CA definitely complicit in this attack? I always assume that private companies have little recourse at state scales of force.
Re:An update on attempted man-in-the-middle attacks by jbri on Tuesday August 30, 2011 @02:43AM (#2940402)
Either the CA was complicit, or they weren't secure. Regardless of which it is, the CA's root certificate is not trustworthy.

If they were hacked into, spoofed into giving out a certificate, or raided by special forces and had data physically stolen from their servers, then perhaps they can generate a new key and have that become trusted once they've taken steps to ensure something like this doesn't happen again.

But there's no way anyone can trust their old root key anymore.

Re:An update on attempted man-in-the-middle attacks by tlrobinson on Tuesday August 30, 2011 @02:39AM (#2940383)
Does it matter whether they were complicit or simply compromised? Either way they shouldn't be trusted.
Re:An update on attempted man-in-the-middle attacks by darklajid on Tuesday August 30, 2011 @06:52AM (#2940876)
I wanted to give convergence.io a try, but - they offer a Firefox addon that doesn't install for FF 6.

Nice website, no idea if it works. Sounds cool, but more Beta than a Google Beta I guess.

Re:An update on attempted man-in-the-middle attacks by mike-cardwell on Tuesday August 30, 2011 @07:37AM (#2940976)
I tried convergence.io, but it's incompatible with Certificate Patrol. Certificate Patrol is an addon which alerts you to certificate changes.
Re:An update on attempted man-in-the-middle attacks by mibbit on Tuesday August 30, 2011 @04:42AM (#2940609)
Has IE switched to auto updating or anything?

I love the fact that Google can push changes out to Chrome users immediately. That's a massive win for everyone.

Re:An update on attempted man-in-the-middle attacks by 1amzave on Tuesday August 30, 2011 @04:50AM (#2940623)
Really? If Chrome's had updates pushed to it recently, how do I know that my browser itself, as installed on my filesystem, isn't now innately subverted by the Iranian government? (Note the domain in question in this particular case.)
Re:An update on attempted man-in-the-middle attacks by dchest on Tuesday August 30, 2011 @05:21AM (#2940677)
I don't know about Chrome's update process, but they can simply have their own verification without root certificates (i.e. just like what most Mac software with Sparkle updater do: keep a public key inside the app, and verify the signature of updates).
Re:An update on attempted man-in-the-middle attacks by mibbit on Tuesday August 30, 2011 @07:30AM (#2940951)
The auto-update process should be far more secure than SSL certificates. They'll have keys in the current Chrome which it'll use to check any updates are legitimate before they get unpacked/installed.
Re:An update on attempted man-in-the-middle attacks by waitwhat on Tuesday August 30, 2011 @12:09PM (#2942038)
They do do this? Or they could do this?
Re:An update on attempted man-in-the-middle attacks by sjs382 on Tuesday August 30, 2011 @11:14AM (#2941783)
Is convergence.io available for Chrome?
Re:An update on attempted man-in-the-middle attacks by quadhome on Tuesday August 30, 2011 @03:02AM (#2940430)
I hope, so much, that Convergence.io the future.

But, you said "medium term." What's the long term?

Re:An update on attempted man-in-the-middle attacks by blauwbilgorgel on Tuesday August 30, 2011 @09:24AM (#2941293)
DigiNotar's mother company Vasco finally released a press statement.

http://www.vasco.com/company/press_room/news_archive/2011/ne...

Just incredible: They were hacked and they knew it, then forgot to clean up a certificate the hackers generated.

  On July 19th 2011, DigiNotar detected an intrusion into 
  its Certificate Authority (CA) infrastructure, which 
  resulted in the fraudulent issuance of public key 
  certificate requests for a number of domains, including 
  Google.com.

  Once it detected the intrusion, DigiNotar has acted in 
  accordance with all relevant rules and procedures.
  
  At that time, an external security audit concluded that 
  all fraudulently issued certificates were revoked. 
  
  Recently, it was discovered that at least one fraudulent 
  certificate had not been revoked at the time.  After 
  being notified by Dutch government organization Govcert, 
  DigiNotar took immediate action and revoked the 
  fraudulent certificate.

  The attack was targeted solely at DigiNotar's Certificate 
  Authority infrastructure for issuing SSL and EVSSL 
  certificates. No other certificate types were issued or 
  compromised. DigiNotar stresses the fact that the vast 
  majority of its business, including his Dutch government 
  business (PKIOverheid) was completely unaffected by the 
  attack.
Maybe directly, certainly not indirectly.
Re:An update on attempted man-in-the-middle attacks by joelhaasnoot on Tuesday August 30, 2011 @10:37AM (#2941601)
This (Dutch) article http://tweakers.net/nieuws/76466/hackers-genereerden-zelf-ve... quotes the spokesperson for DigiNotar, and he claims "we hope that by end of the week our certificates will be trusted by Google, Mozilla and Microsoft again"
Re:An update on attempted man-in-the-middle attacks by joelhaasnoot on Tuesday August 30, 2011 @09:38AM (#2941357)
FF nightly builds also block the PKIOverheid CA which signs the certificates for key Dutch government websites and services (DigiD). Mozilla is going to have a fun time with Dutch users/Dutch Government/DigiNotar
Re:An update on attempted man-in-the-middle attacks by khuey on Tuesday August 30, 2011 @12:04PM (#2942004)
My understanding is that what Mozilla is going to ship will not block PKIOverheid. See https://bugzilla.mozilla.org/show_bug.cgi?id=682956#c17
Re:An update on attempted man-in-the-middle attacks by waitwhat on Tuesday August 30, 2011 @12:05PM (#2942007)
a number of domains, including Google.com

But nowhere do they appear to include a list of these domains...

Re:An update on attempted man-in-the-middle attacks by guelo on Tuesday August 30, 2011 @03:18AM (#2940454)
Do we really need all those Certificate Authorities that are trusted by the browser? I remember 10 years ago Verisign would spend time verifying a business digging through legal documents, addresses, company officers, notarized docs, etc. Nowadays I'm supposed to trust a bunch of fly-by-night operations issuing certificates for a dollar and a song.
Re:An update on attempted man-in-the-middle attacks by darklajid on Tuesday August 30, 2011 @05:11AM (#2940659)
There are two sides to that, right?

You're building a new startup in (whatever) Bulgaria. Funds are low, but you want to protect your users by using TLS/SSL. That's easy today, but your 'Think of the good old days' line is kind of killing that option. I know that in my early 'put something on the net' days I didn't pay for a certificate because it was just too expensive.

Nevermind that the process you seem to expect doesn't scale internationally and that I seriously dislike the US centric bias anyway (too much power in one country, without the privacy laws I consider basic standard).

Re:An update on attempted man-in-the-middle attacks by ajb on Tuesday August 30, 2011 @03:40AM (#2940497)
What we need, I think, is for browsers to display the CA as well as the URL. As in, 'DigiNotar certifies that you are connected to gmail'. This won't wholly solve the problem, but it will a) broaden the knowledge that CA's actually exist, and thus the problem of trusting them and b) provide some reputational disincentive to being a bad CA.

Unfortunately chrome seems to be headed in the opposite direction, removing the URL bar.

Re:An update on attempted man-in-the-middle attacks by mibbit on Tuesday August 30, 2011 @04:40AM (#2940606)
Click on the padlock, and it tells you all of that.

eg "The identity of this website has been verified by Thawte SGC CA."

Re:An update on attempted man-in-the-middle attacks by ajb on Tuesday August 30, 2011 @06:06AM (#2940783)
Thanks. However since it didn't even occur to me to do that, it doesn't seem likely that many less technical people will do it.
Re:An update on attempted man-in-the-middle attacks by edanm on Tuesday August 30, 2011 @07:31AM (#2940955)
Less technical people will never understand, much less care, what a CA is. It's hard anything explaining the concept of a URL!
Re:An update on attempted man-in-the-middle attacks by ajb on Tuesday August 30, 2011 @09:55AM (#2941432)
There are lots of people between 'a HN reader' and 'your grandmother'. There will always be people who don't understand what a CA is; but the more people who do, the more pressure there will be for them to do their job correctly.

Also, they don't need to understand the technical details. If every time they go to their bank it says 'connection to your bank certified by verisign', and then one day it says 'certified by <someone else>', then a cautious person will be suspicious, even if they are completely nontechnical.

Re:An update on attempted man-in-the-middle attacks by dpark on Tuesday August 30, 2011 @10:44AM (#2941636)
There are much better ways to notify users than trying to convince them of the value of monitoring their bank's CA. The browser could simply keep track of the cert and notify the user if it changes unexpectedly. This doesn't require the user to understand anything new, and it still works in the case that the fraudulent cert is signed by Verisign.
Re:An update on attempted man-in-the-middle attacks by pilif on Tuesday August 30, 2011 @01:41AM (#2940274)
It's a shame that the only real protection against rogue (or compromised) CAs is still to have a whitelist directly in the browser.

For Google, this was easy as they control both their domains and their browser, but for everybody else who isn't maintaining a browser, they'd have to fall back to solutions like STS which, don't work if the first connection a user sees is already man-in-the-middle'd

Re:An update on attempted man-in-the-middle attacks by Joakal on Tuesday August 30, 2011 @01:50AM (#2940290)
If you want to verify that you no longer support Diginotar CA, this should give you a warning: https://www.diginotar.nl/
Re:An update on attempted man-in-the-middle attacks by dredmorbius on Tuesday August 30, 2011 @04:01AM (#2940530)
I get redirected to http there, but this should show the untrusted CA: https://www.diginotar.com/Products/ExtendedValidationSSL/tab...
Re:An update on attempted man-in-the-middle attacks by the1pato on Tuesday August 30, 2011 @04:29AM (#2940584)
I get redirected to http after clicking on the first link, just like you did, but when I visit the URL you posted in Chrome (on OS X), I'm able to view the encrypted page without a warning.

I changed the settings in Keychain Access hours ago.

Does anyone know what's going on?

Re:An update on attempted man-in-the-middle attacks by dchest on Tuesday August 30, 2011 @08:34AM (#2941135)
I got the same result. For some reason Chrome trusts intermediate certificate even if the root certificate is marked as untrusted. Screenshot: http://i.imgur.com/qW6V3.png (Chrome 14.0.835.109 beta)

Lock with the warning icon is here because "Unable to check whether the certificate has been revoked."

Maybe their intermediate is signed by some other root CA?

Re:An update on attempted man-in-the-middle attacks by dchest on Tuesday August 30, 2011 @05:32PM (#2943359)
Update: filed a bug http://crbug.com/94732
Re:An update on attempted man-in-the-middle attacks by lwat on Tuesday August 30, 2011 @01:56AM (#2940302)
I get redirected to a non-ssl page ( http://www.diginotar.nl/Default.aspx ) instead, no warning? (Chrome)
Re:An update on attempted man-in-the-middle attacks by jonasp on Tuesday August 30, 2011 @10:33AM (#2941586)
Don't just remove the Diginotar root cert, import it to the "Untrusted Certificates" list and it will be blocked stone cold.
Re:An update on attempted man-in-the-middle attacks by ncarroll on Tuesday August 30, 2011 @02:39AM (#2940386)
I got a warning on Firefox, but Opera redirected to http://.
Re:An update on attempted man-in-the-middle attacks by 0x0x0x on Tuesday August 30, 2011 @03:58AM (#2940524)
Safari 5.1 warns.
Re:An update on attempted man-in-the-middle attacks by artursapek on Tuesday August 30, 2011 @01:35AM (#2940257)
Wow, the security features Chrome used to nullify the attack were just implemented in June. I wonder if that was a reaction to another incident like this, or if it was just good foresight?
Re:An update on attempted man-in-the-middle attacks by tptacek on Tuesday August 30, 2011 @01:48AM (#2940285)
They ship one of the Big 4 browsers and run the Internet's most popular mail server (and thus biggest TLS target). They're uniquely poised to do things like this.
Re:An update on attempted man-in-the-middle attacks by waitwhat on Tuesday August 30, 2011 @12:16PM (#2942069)
the Internet's most popular mail server

It is my understanding that gmail is dwarfed by both Hotmail and Yahoo! Mail.

Re:An update on attempted man-in-the-middle attacks by mukyu on Tuesday August 30, 2011 @09:30AM (#2941314)
http://blog.chromium.org/2011/06/new-chromium-security-featu...

> In addition in Chromium 13, only a very small subset of CAs have the authority to vouch for Gmail (and the Google Accounts login page). This can protect against recent incidents[1][2] where a CA has its authority abused, and generally protects against the proliferation of signing authority.

[1] http://googleonlinesecurity.blogspot.com/2011/04/improving-s...

[2] http://www.comodo.com/Comodo-Fraud-Incident-2011-03-23.html

Re:An update on attempted man-in-the-middle attacks by Natsu on Tuesday August 30, 2011 @07:43AM (#2940997)
This isn't the first time something like this has happened. I don't know if they did it in response to any one particular incident, but they have every reason in the world to implement something like that.
Re:An update on attempted man-in-the-middle attacks by willvarfar on Tuesday August 30, 2011 @01:29AM (#2940241)
The amazing thing is that:

1) it doesn't happen more often

2) that anyone noticed

Its clearly early days. If they had impersonated a download server, they could have got users to download a spiked copy of the browser itself

Re:An update on attempted man-in-the-middle attacks by tlrobinson on Tuesday August 30, 2011 @02:41AM (#2940398)
There's also the possibility that it does happen often and no one notices, of course.
Re:An update on attempted man-in-the-middle attacks by dredmorbius on Tuesday August 30, 2011 @10:51AM (#2941679)
Makes me wonder how you'd approach the "how do I find bad certs" problem.

You'd think that an entity which, say, scrapes a large portion of the Web on a regular basis ... might be able to detect such things.

Meanwhile, there's CertWatch http://certwatch.simos.info/ and The Convergence Project http://convergence.io/

Re:An update on attempted man-in-the-middle attacks by jonknee on Tuesday August 30, 2011 @02:57AM (#2940423)
It was easily noticeable thanks to Chrome not trusting it in the first place (which also would have prevented spoofing the download server, though I suspect there's more to protect that than just a key).
Re:An update on attempted man-in-the-middle attacks by lsh123 on Tuesday August 30, 2011 @02:08AM (#2940324)
The (partial) solution to this problem is very well known and is already implemented by SSH and several other packages that rely on public cryptography: 1) When user visits a new site, the certificate is presented to the user for inspection. 2) On subsequent visits, the site's certificate is compared to the one stored in the browser cache. If they are the same, then the connection is made silently. If there is difference, then the new cert is presented to the user for inspection.

The only problem is that this would kill user experience for 99% of the users who don't care about security in the first place. Thus, browsers need to do some clever UI tricks (e.g. color the thingy in url bar in a different color, etc.) to indicate potential problem to the user yet make it less intrusive.

The bottom line is that the fault is not on the SSL/x509. This infrastructure is not perfect but there is nothing better even in the design. The fault is on the browser developers who are not trying to protect users.

Re:An update on attempted man-in-the-middle attacks by stanleydrew on Tuesday August 30, 2011 @02:36AM (#2940377)
See tptacek's comments from this thread on the earlier post to see why this may not be a great idea:

http://news.ycombinator.com/item?id=2938870

Re:An update on attempted man-in-the-middle attacks by marbu on Tuesday August 30, 2011 @05:48AM (#2940741)
There is a Firefox extension 'certificate patrol' using this aproach, see https://addons.mozilla.org/en-US/firefox/addon/certificate-p....
Re:An update on attempted man-in-the-middle attacks by happyfeet on Tuesday August 30, 2011 @01:10AM (#2940201)
Question: This I believe is a serious issue, but what is the best way to 'reach' out to majority of users in a country?

Should/would google display this blog link on top of every google service to alert users in Iran, regardless of browser?

My thought is this blog may not even reach out to majority of users, till they get affected by it unless it is 'broadcasted'.

Re:An update on attempted man-in-the-middle attacks by idlewords on Tuesday August 30, 2011 @02:41AM (#2940393)
Anyone know a way to remove DigiNotar as a system root CA in OS X? I spent a few minutes struggling with Keychain to no avail, and couldn't Google my way to useful help.
Re:An update on attempted man-in-the-middle attacks by AdamGibbins on Tuesday August 30, 2011 @04:05AM (#2940539)
Click "System Roots" on the left, find the CA. Right click then "Get Info". Expand the "Trust" section at the top and select "Never Trust".
Re:An update on attempted man-in-the-middle attacks by gurkendoktor on Tuesday August 30, 2011 @04:59AM (#2940641)
I have un-trusted the Chinese CNNIC two operating system versions ago (10.5), and it is still set to the same setting. This seems less fragile than deleting the cert to me.
Re:An update on attempted man-in-the-middle attacks by thyrsus on Tuesday August 30, 2011 @09:38AM (#2941358)
Thanks! If I were IT support, how could I get this to happen on every Mac in the company?
Re:An update on attempted man-in-the-middle attacks by biafra on Tuesday August 30, 2011 @02:52AM (#2940415)
I am also unable to delete it. Which is strange since there is an option to delete it.

If you cannot delete it, you can edit the trust settings to never trust it.

Re:An update on attempted man-in-the-middle attacks by dekz on Tuesday August 30, 2011 @02:51AM (#2940413)
Keychain -> System Roots -> Search for DigiNotar -> Right click delete.

Assert it has been removed by navigating to https://www.diginotar.nl/

Re:An update on attempted man-in-the-middle attacks by dredmorbius on Tuesday August 30, 2011 @04:04AM (#2940535)
Is that what you really want to do?

What's to keep an OS upgrade from restoring the certificate?

A system or user-maintained blacklist seems like a more tenable solution. You don't want to delete the cert, you want to hang a scarlet letter on it. Oh, and not trust it for anything (or better, use it to blacklist any site that attempts to use it).

Re:An update on attempted man-in-the-middle attacks by eonwe on Tuesday August 30, 2011 @12:55PM (#2942213)
At least for me there's no such choice as delete in the System Roots keychain. The only thing I can do is to set it to "never trust" and still Chrome/Safari show it as trusted: http://imgur.com/NcUYf
Re:An update on attempted man-in-the-middle attacks by biafra on Tuesday August 30, 2011 @02:54AM (#2940420)
Did you try that and it really removed the CA?

Or is it supposed to remove the trust only but keep the entry?

Re:An update on attempted man-in-the-middle attacks by dekz on Tuesday August 30, 2011 @03:08AM (#2940438)
It removed the entry completely from the Keychain, I am on Lion for reference.

Sanity testing by loading the homepage over HTTPS results in a certificate warning on all browsers (Firefox redirected to HTTP).

Re:An update on attempted man-in-the-middle attacks by idlewords on Tuesday August 30, 2011 @04:38AM (#2940602)
Right-click delete is not an option on Snow Leopard, for some reason.
Re:An update on attempted man-in-the-middle attacks by sid0 on Tuesday August 30, 2011 @04:20AM (#2940567)
Firefox uses its own CA store, so you need to remove it there too (or wait for the 6.0.1 update).
Re:An update on attempted man-in-the-middle attacks by fragsworth on Tuesday August 30, 2011 @12:54AM (#2940171)
This seems like a very expensive, targeted, specific attack. The perpetrators will likely succeed (or have already succeeded) at breaking into their intended target.

Someone high-profile in Iran is probably going to get screwed as a result.

Re:An update on attempted man-in-the-middle attacks by gst on Tuesday August 30, 2011 @01:28AM (#2940239)
That does not necessarily need to be the case.

I don't know how the CA in question works, but for many CAs it's sufficient to be able to receive mails at the postmaster address of the domain in order to receive a certificate.

So basically you only need to find a single CA that uses this techniques and which uses a DNS server vulnerable to cache poisoning. Probing all of the CAs may be a little bit of an effort, but it's something even a single individual could manage. I would not find it suprising if this was the technique applied in that case.

Re:An update on attempted man-in-the-middle attacks by dunham on Tuesday August 30, 2011 @01:04PM (#2942261)
I really wish Chrome would warn me when a site jumps to a new CA or even a new certificate. Last I checked, details on the current certificate wasn't made available to plugins, so I can't easily write it myself.
Re:An update on attempted man-in-the-middle attacks by jberryman on Tuesday August 30, 2011 @09:15AM (#2941270)
Any word on whether Iranians are still getting this attack? I would love to see some traceroutes to google.com from affected individuals' machines.
Re:An update on attempted man-in-the-middle attacks by 0003 on Tuesday August 30, 2011 @01:13AM (#2940207)
Nice anti-IE subtext, google.
Re:An update on attempted man-in-the-middle attacks by martindale on Tuesday August 30, 2011 @01:33AM (#2940252)
Yeah, I lol'd.
Re:An update on attempted man-in-the-middle attacks by SoftwarePatent on Tuesday August 30, 2011 @01:34AM (#2940254)
Ouch, DigiNotar is revoked in Chrome? They didn't do anything wrong, someone else pretended to be them.
Re:An update on attempted man-in-the-middle attacks by pilif on Tuesday August 30, 2011 @01:37AM (#2940266)
For somebody else to pretend to be then, in this case, they need their private key. As a CA, you can't have your private key leaked and then still be trusted by a browser.

Or they issued the *.google.com certificate by accident, but if you accidentally issue a certificate as a CA, you can't be trusted by a browser either.

IMHO, this was entirely justified.

Re:An update on attempted man-in-the-middle attacks by tptacek on Tuesday August 30, 2011 @01:46AM (#2940280)
They're being revoked in Firefox and IE too. Their certs are hopefully going to be worthless soon. The ONE THING you ask a CA to do is NOT LET ITS PRIVATE KEY BE USED FOR EVIL. ONE THING.
Re:An update on attempted man-in-the-middle attacks by birken on Tuesday August 30, 2011 @01:38AM (#2940271)
The only way this attack would have worked is if DigiNotar's private key, whose public key is included in the major CA whitelist in major browsers, signed the domain. So either they did it, or somebody stole their private key. Either way it is very much their responsibility.
Re:An update on attempted man-in-the-middle attacks by sid0 on Tuesday August 30, 2011 @02:06AM (#2940319)
And Mozilla products and apparently IE. Serves them right. I hope every time such a thing happens the CA gets kicked out and blacklisted for life.