32 points · by amaccuish · 2y ago · 20 comments
It's really a PKI infrastructure masquerading as a secure DNS system.
There's value in a PKI infrastructure for domain names, but it probably won't look exactly like DNSSEC. And there's value in encrypting DNS, but that is definitely not DNSSEC. I helped invent and deploy DNSCrypt which is strong encrypted DNS, but doesn't provide the PKI components. There are plenty of ways to do that part, however, that would be much lighter in weight than DNSSEC.
I'm not motivated to do it now with my current day job (American Dynamism) but someone out there could.
It's so much worse than this, and I think he must know that. The Tranco list (which is very cool: it's like the Moz500 or other popularity-contest lists like that, but research-oriented, academic, and ostensibly rigorous) is ranked. The first domain on the list is Google, and so on.
He used the Top 1M for a reason. If he wanted to take the top 1000, he could just `head -1000` the list. But the impact on his 9.4% figure would be stark.
Yes, the most likely reason for that being that... it isn't true? The CA ecosystem is fairly resilient against DNS and even BGP hijacks, and simply ignoring innovations like CT is... not persuasive.
> With DANE you can tell the sending mail server that TLS is available
Yeah, or you just refuse to send and receive any email without STARTTLS being in effect. You won't miss much.
In the 2017 Brazilian bank hack [1] Let's Encrypt denied any wrongdoing and clearly stated that DV means nothing more than DV (that is reasonable). These certificates were logged in CT but it was only discovered afterwards.
[1] https://www.wired.com/2017/04/hackers-hijacked-banks-entire-...
I don't think DNSSEC would have helped there either. That's an interesting case study, thanks for posting it.
With password resets your own mail server is not involved. STARTTLS or not. In the absence of DANE, mail servers will not require or validate certificates. So the reset link will get to the attacker in the vast majority of cases.
Prevent ISP from intercepting DNS queries? ISP cannot see the contents of the DNSCrypt encrypted DNS queries.
But person operating DNSCrypt cache where the queries are sent _can_ see the contents of the DNS queries.
DNSCrypt receives encrypted queries but then it sends these queries _unencrypted_ across the internet.
Morever the DNSCrypt cache receives _unencrypted_ DNS responses.
Anyone eavesdropping on the network can read and tamper with the contents of these packets, and impersonate packet senders.
What if ISP sets up a DNSCrypt cache somewhere on the internet? How would a DNSCrypt user know?
What makes it safe to share the contents of DNS queries with operator of DNSCrypt cache but not operator of ISP DNS cache?
What if the computer could send encrypted DNS queries to the authoritative nameserver for a domain name _directly_ instead of sending the queries to a DNSCrypt cache operator? What if the computer user could avoid using a third party intermediary: a DNSCrypt cache operator, an ISP, etc.?
As it happens someone designed a method for doing so, including the underlying cryptography.
That method expects that computer users run their _own_ caches instead of using one operated by third parties, such as an ISPs, DNSCrypt cache operators, OpenDNS, Cloudflare, Google DNS, Quad9, etc.
The creators of DNSCrypt copied that person's work to "invent" DNSCrypt.
Instead of using a local DNS cache bound to the computer owner's loopback that sends and recieves encrypted DNS packets directly to authoritative nameservers, they chose to require computer users to send DNS queries to _third party_ DNSCrypt cache operators as above.
If all packets carrying DNS data on the internet are to be encrypted it will require cooperation from authoritative nameservers.
I have run experiments on home network where I serve an entire zone from an authoritative nameserver fronted by a DNSCurve forwarder.
Others are running authoritative nameservers fronted by DNSCurve forwarder on the internet. AFAIK none of them have had any problems.
There is also a third party DNS service that runs DNSCurve forwarders in front of its nameservers.
Imagine a non-ICANN DNS registry that uses DNSCurve forwarders and only allows encrypted DNS.