News for hackers. Stuff that matters.
Re:Wikimedia DNS by acdha on Wednesday September 06, 2023 @10:29PM (#37414020)
It’s on the honor system: if you’re worried about the problems encrypted DNS prevents, your ISP is the most likely threat.

With traditional DNS, your ISP can monitor everything you query passively. They also see every host name you connect to using TLS with SNI. Since that’s passive, you don’t know who they share that with except to the extent that you trust your government’s privacy law’s & enforcement.

They can also spoof DNS replies if they want to send you to a different server. This used to be common for Wi-Fi login systems when most of the web ran on HTTPS but TLS breaks it now. This is an active attack which is usually pretty blatant so you won’t see it commonly on residential ISPs.

DNS over TLS/HTTPS breaks all of the passive DNS monitoring & active spoofing. It does not help with TLS SNI monitoring but there’s an Encrypted Client Hello extension being tested now for that.

Re:Wikimedia DNS by guraf on Wednesday September 06, 2023 @10:38PM (#37414077)
I'm convinced that (American) ISPs do passively log unencrypted DNS requests, so replacing their DNS with things like quad9 and not using dot/doh is mostly pointless, but the question was: will the isp hijack the response? I've never heard of one doing that, you?
Re:Wikimedia DNS by acdha on Wednesday September 06, 2023 @11:20PM (#37414368)
When in doubt, rely on Comcast for an example of bad behavior:

https://arstechnica.com/tech-policy/2009/08/comcasts-dns-red...

Re:Wikimedia DNS by briHass on Thursday September 07, 2023 @12:37AM (#37414814)
At the ISP level, does it really matter that they can sniff my queries/SNI? They're just as capable of seeing the IP4/6 I'm connecting to and rDNSing that to know the hostname. SNI gets them past the multiple sites on a single IP, but even encrypted Hello might only hide your activities in the vanishingly rare instances where IPs are actually shared. The obvious analogy is sending postal mail to an address without the recipient's name: it's still pretty obvious who you're communicating with.

Maybe I'm just bitter because I've found DoH (and even DoT) to be slow and occasionally unreliable. Even using Cloudflare, which is my fastest DNS, I see my local caches hitting strange resolve errors or in the minimum, durations 4-10x slower than good old UDP.

Re:Wikimedia DNS by acdha on Thursday September 07, 2023 @07:13AM (#37417274)
> At the ISP level, does it really matter that they can sniff my queries/SNI? They're just as capable of seeing the IP4/6 I'm connecting to and rDNSing that to know the hostname.

Shared hosting breaks that. If I connect to an IP used by AWS, Akamai, Fastly, etc. there are literally millions of things I could be using but the SNI header will tell them which one.

As a practical example, if a school administrator in Texas sees a connection to 104.16.12.208 they only know that someone is connecting to one of the millions of sites behind Cloudflare. SNI tells them it’s Planned Parenthood and they can call the police to report an offense against the church.

Re:Wikimedia DNS by pabs3 on Thursday September 07, 2023 @11:22PM (#37428847)
I can't find it right now, but there was a study about this that concluded shared hosting actually mostly doesn't break IP to domain correlation.