5 ms·
TLS Certificate Transparency logs let us assess Certificate Authorities
- redwood 5y agoCT is one of those things so many people don't know exists: so many hostnames are therefore public that folks likely don't realize are public, for example
- pornel 5y agoCertificate Transparency is also interesting from technical standpoint: it's a decentralized ledger. It's based on a Merkle tree, so you could even call it a blockchain.
- geofft 5y agoIt doesn't have "blocks" in any meaningful sense, though, largely because it doesn't have mining, because it has no double-spend problem. If two certs get issued for the same site, they're both valid and you want to record them both. CT is my favorite example of why you probably don't need a blockchain for most permissionless distributed-ledger applications. If you're not making a currency, you probably don't have a double-spend problem at all. For instance, the decentralized package integrity system for Go is based on CT, not blockchains. The benefit of not having blocks or mining is that the transaction costs are basically zero in both time and energy. One person is running a CT log in their home, and it works as well as any of the logs run by big companies. This is both a practical operational advantage and a way to avoid complaints about harming the planet. (The big non-currency use case where there is a double-spend problem is timestamping. Here, the two histories of which only one can be true are "This event didn't happen today" and "This event happened today." Blockchains solve this straightforwardly, but you can still address it in a CT-style system - the whole "precertificate" setup is essentially a restricted form of timestamping.)
- tialaramex 5y ago> One person is running a CT log in their home, and it works as well as any of the logs run by big companies But presumably not a publicly trusted CT log as that seems like a recipe for disaster? The public CT logs are obliged to achieve 24 hours MMD (Maximum Merge Delay). If, for any reason, you aren't able to publish a new log incorporating certificates you signed SCTs for within 24 hours, your log is distrusted. Obviously it's trivial to hit 24 hours MMD when everything works. You could probably do it in Visual BASIC for Excel for low volumes, no trouble. But, there are no exceptions, so you need to have epic disaster recovery otherwise when anything goes wrong and you can't fix it until tomorrow it's game over because you missed the 24 hour deadline.
- tialaramex 5y ago> There are some complexities in practice, but they can be solved with work. At least one of these complexities can't realistically be solved but you likely don't care. Certificate Transparency is not a policy requirement. Choosing not to log isn't a mis-issuance or a compliance failure. It would of course annoy most ordinary web customers, who expect the certificate you sold them to work in say, Chrome, which it won't until it is logged and they teach their web server how to prove that (good luck explaining to the average web site owner how to do that). So, this means unavoidably the population statistics from, say, crt.sh are underestimates. But, probably by a small, and even very small fraction. Dozens? Hundreds a year? There are two cases (besides mistakes) where people wouldn't have 100% logged certificates and both are small populations: 1. They know what they're doing and can arrange to log each certificate as needed for production. Some huge tech companies fall into this bracket, it enables them to get a certificate for shiny-product.example and yet know it won't get logged anywhere and cause somebody to pry into what shiny-project is before it's announced. It requires their TLS server operators understand how SCTs work, but if they're a huge tech company they probably employ some people who wrote the specification. 2. They don't care about the Web, and are only part of the Web PKI as a result of some historical happenstance they'd gladly part with at first opportunity. In this case the fact their certificates don't work in Chrome makes no difference to them, the certificates aren't for Chrome or any web browser, some expensive old industrial device needs a certificate and the ones they're using work. Given the choice between buying a brand new $4M industrial device or retro-fitting logging for the six certificates they issue each year, they'd be very torn and likely find a third way, but for now they don't have to. When the device is beyond economic repair their new one won't be part of the Web PKI because in hindsight that was a mistake.
- zinekeller 5y ago> 2. They don't care about the Web, and are only part of the Web PKI as a result of some historical happenstance they'd gladly part with at first opportunity. In this case the fact their certificates don't work in Chrome makes no difference to them, the certificates aren't for Chrome or any web browser, some expensive old industrial device needs a certificate and the ones they're using work. Given the choice between buying a brand new $4M industrial device or retro-fitting logging for the six certificates they issue each year, they'd be very torn and likely find a third way, but for now they don't have to. When the device is beyond economic repair their new one won't be part of the Web PKI because in hindsight that was a mistake. Which CA fits this one? - Mozilla and Apple now requires every CA in its roots to be "alive" (aka still operating) - Microsoft is now actively restricting its public roots in such a way that technically unconstrained certificates that are not actively used for web is coded in Schannel to be denied. - Also, you need to do external audits or else (sans the Oracle Root CA), you will be ejected in all roots. Even the Chinese 360 CA root programme requires active audits. So 2 is only applicable in a very restricted subset that I can safely say that those formerly-public Web CAs are now operating completely privately. That requires a very weird configuration: Windows PC with an application that uses both OpenSSL (or derivative) and the Microsoft root (most OpenSSL installations uses the Mozilla root instead).
- orangepurple 5y agoIf a judge hands down a National Security Letter (NSL) to a CA to turn over its private keys, can the private keys be used to decrypt the communications of all traffic that depends on that CA?
- NovemberWhiskey 5y agoNo; the certificate signing request that a CA uses to construct a certificate doesn't have the private key - that should never leave the control of the site owner.
- hsbauauvhabzb 5y agoAs far as I’m aware no, but it would allow the holder to resign a new keypair and Person in the middle traffic, provided they’re able to intercept and modify traffic
- wolrah 5y agoCorrect, and certificate transparency exists pretty much specifically to counter this threat. By requiring certificates to be publicly logged to be valid it becomes trivial for domain owners to monitor all publicly valid certificates in existence for their domain(s). A CA that has been compromised or is being compelled by a government can still issue a valid certificate, but it becomes impossible to hide both that it was done and who did it.
- OrvalWintermute 5y ago> You might have to ask every CA what their issuance volume was and then compare them all to each other, hoping they weren't presenting figures in creative ways. Today though, we have a very easy way of determining this This is actually not that important a metric The trend is towards increasingly short lived certificates for both commercial/non-commercial, and also government/military applications. Obviously, this mitigates a large number of things, particularly a compromise. It also means you need automated re-issuances of numerous short lived certificates to accompany this. > Before CT, there could be a significant time lag between a certificate being wrongly issued, and a CA doing something about it. [1] This where CT gets it wrong. Today, there is still a huge time lag between the following steps from A to I: A - Device Compromise/Key Exposure B - Compromise Detected C - Detector identifying Owner of System D - Detector notifying Owner of System E - Owner of System successfully receiving the communication F - Owner notifying CA G - CA performing revocation event H - Revocation event promulgating throughout all the CA/VA infrastructure I - End User / Relying Parties receiving revocation events This, because A & B may be unknown for several years, a large amount of device/hardware/software backdoors in everything that are accessible to nation-state attackers, and the emergence of cloud where private keys are accessible to nation-stake attackers. Nation-states can also compel release of private key data. If you think about things like what happened to Diginotar [2], there is no reason to believe the very same thing couldn't happen again. And CT doesn't really solve problems like that. They'd just be able to help with the eventual cleanup and subsequent removals and potentially, determining blast radius [1] https://certificate.transparency.dev/ https://certificate.transparency.dev/ [2] https://www.securityweek.com/hacker-had-total-control-over-diginotar-servers-report https://www.securityweek.com/hacker-had-total-control-over-d...
- zinekeller 5y agoI think that short-lifetime certificates are still the best, but I do see a value with CT, namely dealing with a newly-acquired domain (especially a domain with a history). Without CT, you're in mercy of other holders being honest unless you contact every single CA to revoke any theoretical certificates that they might or might not issue. With CT, you just need to contact specific CAs that there has been a change in ownership and to revoke any previous certificates issued.