3 ms·
A DNS PKI would also be controlled by a handful of unaccountable companies (you can't generally get signed name directly off the root), with the fun additional
by tptacek 4y ago
A DNS PKI would also be controlled by a handful of unaccountable companies (you can't generally get signed name directly off the root), with the fun additional wrinkle of the most important of those companies being de jure controlled by state actors. It's hard to think of a worse option than DANE.
What's more, browsers have no real influence with DNS registries. They can kill misbehaving CAs, and have done so, to some of the largest CAs. But they can't kill a DNS registry; they can't even move their own names off a registry they don't trust (customers are going to keep hitting Google.com no matter what Google says).
That's important because browser influence over CAs has drastically modernized the WebPKI, most notably by creating an append-only cryptographic ledger (CT) that tracks every certificate issuance. That system doesn't exist for DANE and will never exist for DANE, because the browser vendors can't force the issue.
That's not why browsers don't use DANE; they don't use DANE because it doesn't work (for instance: large numbers of middleboxes won't pass DANE queries). But it's the reason nobody should support DANE.
You don't have to like the WebPKI or support it (I respect it more than I like it). By all means propose alternatives. Just don't make those alternatives a DNS PKI.
- topranks 4y agoI think the central thing here is you need to trust the DNS anyway. If you control a domains DNS records you can get a Cert issued for that name under the existing WebPKI. Given that scenario the current CA setup just adds many more entities that need to be trusted on top of that. > (you can't generally get signed name directly off the root) Yea you can (unfortunately IMO.) Just stump up the money. Most people have no need for that though. > browsers have no real influence with DNS registries. I’m not sure why the browser vendors being in control of this is so much better than ICANN. Google has undue influence here IMO. > They can kill misbehaving CAs, and have done so, to some of the largest CAs. But they can't kill a DNS registry; I think the difference is that the DNS hierarchy means only one set of published records exist for a domain. It’s not like the Web PKI where other certs can be issued I parallel by other CAs. > they can't even move their own names off a registry they don't trust (customers are going to keep hitting Google.com no matter what Google says). I’m not that familiar with all the processes here, but this seems like an abuse of a registrars power. Surely the gtld servers can stop delegating zones to bad actors? Have there been historical examples of something like google getting hijacked by their DNS registrar? > append-only cryptographic ledger (CT) that tracks every certificate issuance. That system doesn't exist for DANE As conflicting records can’t exist it’s trivial for an entity to monitor the published records for their domain, and alert on changes. > it doesn't work (for instance: large numbers of middleboxes won't pass DANE queries). That is true for many things. I don’t find it a good argument against protocols themselves.
- pierrebai 4y agoNo. What is needed is less centralization, not more. I'll take the US society as an example: having congress, senate, president, courts, military, police, states, free press (with multiple participants), university etc means that to compromise democracy, you need to subvert many elements simultaneously. Likewise, having DNS and PKI separate is a plus, as the cert is linked to DNS and finding a web server is done through DNS. To completely fool an attentive user, you would need to both fool their DNS and their pool of trusted certificate (or a single CA). To increase security, we need more cross-linked layers that each require the other. We need to have more steps and more elements that a crooked player needs to control simultaneously in order to achieve an exploit. For example, we could require multiple certs, so that you'd need to compromise multiple CA. Although, if you can add one CA to the trusted pool, then you can add 3, so this does not protect against actors that have access to the user's OS. But, on that front, if you got root access to a user's OS, you can do anything. Once you MITM them, you can make a user divulge their credentials. Only a physical fob with its own certs, DNS resolver and hardware-level private key can protect against that.
- deleted 4y ago[deleted]
- jesprenj 4y ago> What is needed is less centralization, not more. I don't think depending on more CAs counts as constructive decentralization. Since every CA is ultimately trusted, the security of our PKI depends on the weakest link in the chain. A single exploited CA is enough to completely invalidate PKI security, whereas separating CAs based on DNS hierarchy means that a compromised CA for .SI would only affect domains under .SI. > To completely fool an attentive user, you would need to both fool their DNS and their pool of trusted certificate (or a single CA). Currently, due to the way domain ownership is verified, a compromised TLD registry leads not only to DNS compromise, but to TLS compromise as well, since domain ownership is verified via DNS by currently trusted CAs (most notably letsencrypt). > We need to have more steps Less steps that form a reliable security chain that can be easily monitored is IMO better for securing infrastructure than having to trust each and every obscure CA. > we could require multiple certs But this would significantly increase deployment complexity. And the domain registry can still lie about domain ownership so it still must be ultimately trusted.
- disruptiveink 4y agoCan't agree more. We got to a point where state actors control the public names that we use to refer to locations on the Internet. That's fine, and the logical conclusion of divvying up natural monopolies. When you have a namespace, someone needs to be the central authority for it. On a global system, you need to at least have as many namespaces as countries (plus whatever extra corporate fiefdoms you want to spin up, which I assume was what gTLDs were trying to do). Ensuring you are communicating with the resource that you intended is a feature that does not need to be centralised, so it shouldn't be. Requiring a random third party on top of your central entity seemed like a bad idea when DANE was proposed, as CAs seemed like a rent-seeking middleman that offered nothing. In fact, it's actually a feature as you said. Because there are multiple, free and crucially, interchangeable third parties that can do this, the browsers are free to kick any misbehaving party out AND keep raising the bar of admission, like imposing CT requirements. Right now, I don't have to place any trust on the state entity behind the hypothetical .xy domain when talking to a .xy website. They can return whatever DNS records they want to any user at any time, but assuming a TLS connection on top of WebPKI, they cannot silently perform a MitM on their own – while they have the power to fool a CA to give them a domain-validated certificate for any domain they control, doing that would be visible in CT logs for that well-behaved CA, meaning they would get caught. The incentive to do that is much less than if you were both the source of truth for the name system and the PKI infrastructure.