Live data from Hacker News

Improving DNS Privacy with Oblivious DoH

blog.cloudflare.com

291–300 of 367 posts

Re: Improving DNS Privacy with Oblivious DoH

#291
post #154

In a nutshell: client encrypts to proxy, which decrypts & removes client info, then asks resolver. > “What ODoH is meant to do is separate the information about who is making the query and what the query is,” said Nick Sullivan, Cloudflare’s head of research. > In other words, ODoH ensures that only the proxy knows the identity of the internet user and that the DNS resolver only knows the website being requested. Sul…

> client encrypts to proxy, which decrypts & removes client info This is incorrect; the proxy doesn't decrypt. It just proxies. From https://blog.cloudflare.com/oblivious-dns/ : > The target decrypts queries encrypted by the client, via a proxy. Similarly, the target encrypts responses and returns them to the proxy. [...] The proxy does as a proxy is supposed to do, in that it forwards messages between client and tar…

Thanks for the clarification. So client encrypts for the resolver and sends an opaque payload to the proxy.

Re: Improving DNS Privacy with Oblivious DoH

#292

> Sullivan said a few partner organizations are already running proxies, allowing for early adopters to begin using the technology through Cloudflare’s existing 1.1.1.1 DNS resolver. In other words, in order to thwart efforts to make the internet anonymous , US companies are planning to takeover DNS for the vast majority of people.

Oh, please. ODoH is a proposed standard. Use whatever the hell proxy/resolver you feel like, wherever you like. DNS is a shit show of unencrypted data flying around being scooped up by God-knows-who and along comes someone proposing a standard to fix said shit show and this is the response people get.

Would have been a million times better if cloudflare had used it's considerable clout and resources to push/lobby for widescale DoT adoption rather than this fucking Frankenstein shit show that is DoH (now with even more garbage attached to it in the form of a proxy)

Re: Improving DNS Privacy with Oblivious DoH

#293

Earlier quoted context omitted.

The correct answer will be reverse, get rid of SNI completely and enforce ESNI everywhere. Most bad entity now only need to block ESNI, and then the client will happily fallback to plain SNI. If everyone enforce ESNI only, then it is not gonna going to work. Just like nowadays, a browser can't view https site is completely useless because most of sites on internet were already encrypted(and the percentage is only goi…

We don't need to kill regular SNI to fix that problem. If a site's DNS record indicates that it supports eSNI, and a connection with eSNI fails, then the browser should hard-fail. And middleboxes can't lie about whether a site supports eSNI, since that's protected by DNSSEC (and it should be coming over DoH anyway). This would break the bad actors without breaking every site that didn't upgrade to eSNI.

As long as plain SNI is still a option, bad actor will try to enforce you to use that. So they can do bad things.

China seems already done that and blocked esni. And the sites eventually gave up esni because people complaining they can't connect to it.

A deprecation likes that(ex. browsers nowaday marks every http site as unsafe) ensure it is not available to everyone. So some sort of these attacks never work.

Re: Improving DNS Privacy with Oblivious DoH

#294

Earlier quoted context omitted.

For most of the software on my computer, the developer certificate is enough information to know what software I'm running. All your ISP can see is certificate hashes , OCSP lookups and DNS queries. It can't know what certificate hash is connected to what developer application…

It's not hard to match up a certificate hash to the issuer, because most issuers will likely only have a couple of certificates to simplify internal PKI. It's something that can be solved with a rainbow table, there aren't even salts involved.

It's not hard to match up a certificate hash to the issuer, because most issuers will likely only have a couple of certificates to simplify internal PKI.

These are Apple certificates; they have nothing to do with a company's internal PKI.

It's something that can be solved with a rainbow table, there aren't even salts involved.

1. Certificates change; probably yearly, knowing Apple.

2. The OCSP check get cached; the certificate lookup doesn't happen every time you launch an app.

3. You can block the OCSP lookup if you're all bent out of shape about it or strip the developer's signature and sign it using a different certificate.

4. The new protocol for checking will be encrypted and there will be UI for opting out of these checks.

Re: Improving DNS Privacy with Oblivious DoH

#295
post #151

Earlier quoted context omitted.

The problem is that the things you most want to block can trivially bypass your local DNS filtering - DoH is just standardizing something which has been done for decades. The only effective measure is to block outbound network access and require use of a proxy, possibly optimized by allowing direct traffic only from clients with functioning endpoint monitoring agents.

How can they trivially bypass this local filtering? If the router is redirecting all port 53 traffic, there is no way to bypass aside from some alternate name resolution scheme.

> If the router is redirecting all port 53 traffic

Then it won't do anything to DNS over HTTPS traffic that is going over port 443. And it won't be able to distinguish that traffic from any other HTTPS traffic.

Re: Improving DNS Privacy with Oblivious DoH

#296

What a stark difference between Google and Apple/Cloudflare. Apple/Cloudflare are working on privacy-friendly protocols that reduce the amount of information exposed to them. At exactly the same time, Google is working on proxying browser traffic through them without any consents [1]. [1]: https://news.ycombinator.com/item?id=25337995

I guess all the user "consent" for Google proxying (spying) users are included in the ocean of ToC text

Thus I am using Google Chrome only for Web Dev

Re: Improving DNS Privacy with Oblivious DoH

#297
post #262

Earlier quoted context omitted.

As someone who recently set up a pihole, I was shocked that it was possible to redirect all DNS requests on the network (in plain text!) to the pi. I did the method where you set up a network firewall at the router level that redirects all port 53 traffic to the pi. It's a nice feature for getting my xbox filtered, but it really felt like an insecure historical quirk rather than a feature we should be praising. Surel…

If I get access to those devices, yeah, sure. But in practice, I'd argue this actually reduces privacy for users, as it gives apps and devices a secure path through the network which cannot be monitored by any intermediary - including the user of the app or the owner of the device themselves. So no chance to find out what kind of data is being transmitted there either. To me, DoH seems less about protecting the user…

> cannot be monitored by any intermediary

Key word is any single intermediary. The announcement even explicitly says "no single entity can see both at the same time".

I wonder what it would be like if there were multiple entities in cooperation, each sharing their component of your request with their partners to recover the entirety. You could cover the entire planet with access to even as few as three or five or so large networks.

Re: Improving DNS Privacy with Oblivious DoH

#298
post #270
post #220

Earlier quoted context omitted.

As another HN user put it: https://news.ycombinator.com/item?id=25349426 > Administering devices with network settings is convenient, but rapidly vanishing because there's no technical difference between you administering your local network and a totalitarian ISP administering their users. Your ability to terminate things locally means that finding Paul Revere with metadata isn't needed. It's a lot of work when you c…

Until the country where all those network connections terminate turns totalitarian...

Or until your country makes some friends and they decide to share their piece with each other until they recover your whole request.

Re: Improving DNS Privacy with Oblivious DoH

#299

Earlier quoted context omitted.

When enterprises own the devices on their networks they can add whatever root certificate they like and MITM filter whatever they like. This makes over the network traffic more secure and does nothing to really impact threat detection. If you don’t own the device then 1) should you be interfering or snooping the traffic at all? 2) if you need to limit threat then subnet clients you don’t own.

Adding in root certificates and performing HTTPS MITM even on your own network is a huge risk on its own. You're basically breaking many layers of security such as certificate pinning that just get disabled with any custom root certificate. Those middleboxes will always break client certificate authentication and you're trusting that they are checking the various revocation lists they should be (CRL/OSCP/various buil…

oh don’t get me wrong, i’m not advocating for root certs and MITM boxes. i’m just saying DOH isn’t really going to challenge an enterprise’s ability to sniff and intercept DNS.

notwithstanding other technical issues, it’s just bad practice to create the sort of experience MITM creates.

when people are used to seeing compromised https when on the corp network or mitm boxes prompting for auth periodically it basically lowers people’s guard on that stuff and opens the door.

Re: Improving DNS Privacy with Oblivious DoH

#300
post #234

Earlier quoted context omitted.

As someone who recently set up a pihole, I was shocked that it was possible to redirect all DNS requests on the network (in plain text!) to the pi. I did the method where you set up a network firewall at the router level that redirects all port 53 traffic to the pi. It's a nice feature for getting my xbox filtered, but it really felt like an insecure historical quirk rather than a feature we should be praising. Surel…

It’s progress if you control your devices, or you don’t control your network. I don’t. Like most people I can control my network. I have all sorts of crap on my network from Bose and amazon and Nintendo and Apple etc on my IoT vlan. Without going to a monk style digital life aka RMS, the best bet is to segment them into a secure network and limit what they can communicate with. The DOH Culture and the like takes away…

This isn't new to DoH. Malware has used alternatives to DNS for getting command & control server IPs for decades. IRC used to be common, for example.
Post reply on HN