4 ms·
Whomever controls DNS controls Web PKI. True or false? Please explain your answer. You may assume "controls DNS" means potential control over delivery or con
by aplorbust 9y ago
Whomever controls DNS controls Web PKI. True or false?
Please explain your answer.
You may assume "controls DNS" means potential control over delivery or content of unencrypted DNS packets, e.g. the operator of a parent nameserver, the operator of an open resolver, a delegated authoritative nameserver (e.g., Cloudflare), someone else intercepting and modifying packets, etc.
Rephrased question: In what ways, if any, is Web PKI dependent on DNS?
- regecks 9y agoDNS, or whois (43/tcp), or the ability to retrieve/fabricate government documents. There are plenty of documented ways that the Web PKI can be subverted.
- bluejekyll 9y ago> control over delivery or content of unencrypted DNS packets And thus we are back to asking for DNSSec. With DNSSec all Records are signed with RRSIGs, and can be validated as being legitimate answers. Your client needs to support validating these of course. Now, there are a lot of people who don't like DNSSec, and I don't blame them. It's a hot mess in terms of deployment, etc. It feels like with CAA, TLSA, and other record types we're getting closer to some of the security people want in DNS. We also now have a pretty decent RFC for DNS over TLS, which provides privacy (where needed) in addition to the signed records. We should be able to come up with a solution to securing DNS by utilizing the existing CA systems out there. Where we could sign zones, and verify them, independent of the chain of DNSKEY to DS records all the way back to the root (this would be different from the current DNSSec validation). I'm not aware of any existing RFCs for something like this.
- aplorbust 9y ago"> control over delivery or content of unencrypted DNS packets And thus we are back to asking for DNSSec." DNSSEC does not encrypt DNS packets. (Nor does TLS encrypt UDP DNS packets per packet. It encrypts a TCP stream.) Not interested in a debate over DNSSEC, but please note I used the word "unencrypted" for a reason. Not only can the contents of unencrypted packets be tampered with, but, if I am not mistaken, djb has suggested DNSSEC signed RRs are still vulnerable to forgery.
- bluejekyll 9y agoDNS does not only operate over UDP, it also uses TCP. > (Nor does TLS encrypt UDP DNS packets per packet. It encrypts a TCP stream.) DNS over TLS is for TCP: https://tools.ietf.org/html/rfc7858 https://tools.ietf.org/html/rfc7858 It is an encrypted private stream. For UDP encryption over DTLS: https://tools.ietf.org/html/rfc8094 https://tools.ietf.org/html/rfc8094 > Not interested in a debate over DNSSEC, but please note I used the word "unencrypted" for a reason. If you want privacy you use DNS over TLS or DNSCrypt. If you want assurance that the records can be trusted, the signatures are required. Because DNS relies on so many intermediary nodes for caching, etc, you need both. You need the RRSIG to validate that the zone actually created and manages that record. If you don't want people snooping on your queries, then you need a secure encrypted connection. You need both. > djb has suggested DNSSEC signed RRs are still vulnerable to forgery. can you find that? I know he's very much against DNSSEC, but I haven't seen comments on forgery specifically.
- aplorbust 9y ago"You need both." Me, personally? I do not use shared caches. I do not use local or remote caches. Wrote own nonrecursive (i.e. no RD bit ever set) stub resolver. As such, I have no use for DNSCrypt. I use trusted sources for lists of authoritative servers I need. I store IP addresses for those servers permanently and track changes in them, if any, over time. I have little interest in what ICANN certifies as a "valid" or "invalid" name. DNSSEC therefore does not appeal to me. IMO, better Web PKI could be focused on IP addresses and user-generated public keys (maybe combined with user-chosen "pet names"), something like SSH. Instead it appears to be solely focused on names issued by a third party and certificates based on those names, also issued by a third party. Probably "You need both" was a figure of speech. If so, pay no mind. "can you find that?" http://cr.yp.to/talks/2016.12.08/slides-djb-20161208-dnssec-a4.pdf http://cr.yp.to/talks/2016.12.08/slides-djb-20161208-dnssec-... and other DNS talks on that page Pages 11, 32.