5 ms·
Just at the entire world is going HTTPS, my faith in the system is seriously waning. When Symantec bought Blue Coat, it made me start to think about how fragile
by criddell 10y ago
Just at the entire world is going HTTPS, my faith in the system is seriously waning. When Symantec bought Blue Coat, it made me start to think about how fragile this is. How long before Symantec gets an NSL demanding an appliance that can mint bogus certs on the fly for dropbox.com, facebook.com, twitter.com, etc...?
How effective is something like certificate pinning against fraudulent certs?
- 5ilv3r 10y agoI don't think they would be considered fraudulent at all, and in fact I'm pretty sure that's the "safety valve" built into the system and why public encryption is now being encouraged. I share your tinfoil hatted feelings wholeheartedly.
- schoen 10y ago> I don't think they would be considered fraudulent at all Er, by whom?
- 5ilv3r 10y agoWell, they would be as technically valid as any other updated cert, and they would not violate any laws since a judge somewhere would have rubber stamped it, so I just don't think that word fraudulent could apply in any actionable sense. Morally wrong, sure, but you know, politicians and law enforcement...
- pfg 10y agoFraudulent is not usually a term that's referring to legal assessments when talking about the CA system. Various browsers and root programs are (to keep the comparison) both the executive and judiciary branch of the CA system, and if certificates are issued in a way that's not allowed in those policies (which would certainly be the case in this scenario), it would be considered fraudulent and could lead to root removal.
- pfg 10y agoIt would certainly be considered fraudulent by all major browser vendors, possibly leading to a death sentence for the CA (i.e. root removal) in cases of deliberate misissuance or massive negligence. Key pinning mechanisms and Certificate Transparency would make it quite likely that this kind of misissuance would be detected as well. My personal opinion on the "nation-state adversary forces CA to misissue" topic boils down to this: It's unsuitable for mass surveillance as it's easy to detect. It would work for targeted attacks, but in all likelihood your adversary will use other means to get in (zero-days, someone on the inside, physical compromise, etc.). Even for a targeted attack, my guess is that these other means would be less likely to be detected and would be significantly cheaper (if you take into account the cost of causing a root CA to get removed).
- 5ilv3r 10y agoHow would it be identified as anything other than a routine cert rotation? You would have to have proof that you were being served different certs for the same endpoint from different devices or locations, AND find someone who cares and is not under some influence. That sounds difficult for you, but easy for a central entity to detect. Ads follow me around between devices and locations, so I am quite sure a certificate could.
- schoen 10y agoThe certificate is presented when fairly little information has been sent by your browser, so it's tough to target it more specifically than source IP address and OS/browser. There are a lot of ideas for catching this and some of them are starting to work, like HPKP pinning and preloads, and in the long run Certificate Transparency (including not accepting certs that haven't been publicly disclosed). If you use HTTPS Everywhere, you have an option to submit certs that you see to the EFF SSL Observatory. I don't mean to minimize the threat; I think there are lots of sites and browsers against which misissued certs can still be successfully used today without detection, and it's important to keep working on making that no longer true.
- pfg 10y agoIf a site uses key pinning (e.g. via HPKP), the site is in control of telling you which keys are acceptable, so there would be no way to pretend it's a routine rotation after your first site visit (unless the site is cooperating, in which case you're screwed anyway). Certificate Transparency would also help here, as it would allow site owners to monitor the logs for any certificates they did not request. This is more about detection as opposed to prevention (though the chilling effect of easier detection would help with prevention, I suppose). Admittedly, this is probably something only a couple of large, security-conscious organizations do (like, for example, Facebook, which detected that someone was issuing certificates against internal policy, though not maliciously in that case).
- agwa 10y ago> How long before Symantec gets an NSL demanding an appliance that can mint bogus certs on the fly for dropbox.com, facebook.com, twitter.com, etc...? If the bogus certs are not logged in Certificate Transparency, they will be rejected by Chrome: https://security.googleblog.com/2015/10/sustaining-digital-certificate-security.html https://security.googleblog.com/2015/10/sustaining-digital-c... If they are logged in Certificate Transparency, then the world will know, the offending certificates will be immediately blacklisted, and Symantec will be booted from root programs. With the ongoing advancements in Certificate Transparency, your faith in the Internet PKI should be growing, not waning.
- criddell 10y agoFrom the link you posted: > However, we were still able to find several more questionable certificates using only the Certificate Transparency logs and a few minutes of work. We shared these results with other root store operators on October 6th, to allow them to independently assess and verify our research. So finding questionable certificates is trivially easy, but nobody ever bothers to look? What good is that?
- agwa 10y ago"Nobody"? Google monitors for their domains. So does Facebook. I'll bet a lot of other high value sites are monitoring too but haven't said so publicly. As for everyone else, give it some time. The ecosystem is still very young and we're still developing tooling.
- criddell 10y agoI'm happy that Google and Facebook are discovering fraudulent certs. When they pop up, hopefully those companies aren't prevented from going public with the information. Are there any end-user tools? When I open twitter.com, I would love for my browser (or my phone if I'm using an app) to tell me that the certificate fingerprint has changed unexpectedly since the last time I visited.
- 10y ago