3 ms·
Before the DoH RFC, a malicious entity could certainly do such a thing, but to do it would require them to develop and deploy their own resolver. This means two
by JohnFen 7y ago
Before the DoH RFC, a malicious entity could certainly do such a thing, but to do it would require them to develop and deploy their own resolver. This means two things -- it increases the cost for the malicious actor to deploy this, and it makes it possible to block access to their resolver through firewall rules.
So yes, it was always possible, but was never common.
The DoH RFC removes all of those speedbumps. A malicious actor can just use DoH resolvers run by normal, established DNS providers. That makes it cheap and easy to implement, and makes it very difficult for you to block without causing a lot of collateral damage.
- tptacek 7y agoCan you give me a more specific example of what this thing is that you're referring to, that we could prevent from existing so long as we made sure it had to implement its own DNS resolver code? Or is "speed bump" really the right word to use here?
- JohnFen 7y agoI'm not quite sure what you're asking for here, so please forgive me if my answer misses the mark -- which I think it does, since my answer is essentially repeating myself. I was referring to the ability of code to use HTTPS to do DNS lookups even in the absence of DoH, which is what I thought you were talking about. "Speed bump" is the right term, because while doing something like that has always been possible, it was more expensive (in terms of development costs and server time) and brittle before the DoH RFC, which limited the number of entities that do it. With the DoH RFC, those limitations are removed, so we can expect this to be widely done. By "this", I mean using DoH in order to intentionally evade attempts to block lookups in order to help protect against telemetry, user tracking, and other malware communications.
- EvanAnderson 7y agoYou're exactly right, insofar as that DoH removes the "speedbumps". Once DoH (and certificate pinning to go along with it, to prevent you MiTM'ing the requests) is pervasive you won't get to control DNS on devices where you can't execute arbitrary code. That ship has sailed. It fills me with a deep sadness and frustration, but that's the way it will be. (I went back and forth with tptacek on this in an earlier discussion. I didn't really have an argument, per se, but he demolished it anyway.) Get ready for browsers (that run inside your browser) implemented in WASM complete with their own DoH implementation, too. It's a publisher's dream come true...
- tptacek 7y agoI seriously don't understand this argument. It really reads to me that you're saying "because of DoH, entities that can run arbitrary code on my machine where that code can talk to the network can now look up hostnames whether I want them to or not". But entities that can run arbitrary network-connected code on your machine have always been able to do that, and if you have that problem, you have bigger problems than name lookups.
- EvanAnderson 7y agoI don't have an argument. You're absolutely right in everything you're saying. I'm explicitly not making an argument about code running on general purpose computers that I (ostensibly) own and control. The WASM/browser comment I made was a flippant jab (though I absolutely think it will happen) and absolutely a separate issue. I'm one of those people who think the web should have stayed more like Gopher and less like Java. I'm a nut-job who browses w/ Javascript disabled by default. I think it's ridiculous that I need to run a VM for third-parties to jam arbitrary code into so I can read articles. Yes-- third-parties could always run arbitrary code on my computer. In the past they had to convince me to install their software. Now visiting their website is, effectively, installing software. I'd be interested to hear how you square the circle of controlling your own computing experience in the face of near-requirement of allowing websites to execute arbitrary code on your computers. re: DoH People are clearly used to using DNS-based filtering tools to control network traffic (the "Pi Hole", Cisco's Umbrella product, creating empty zones in self-hosted recursive resolvers to prevent unwanted domains from resolving, etc). I don't think the people who use these tools understand that DoH creates an easy standards-based way for that control to be removed. I wholeheartedly agree that DNS filtering wasn't absolute control, but it was a degree of control. Yes-- bad actors could always have made up their own name resolution protocols, their own encrypted command-and-control channels, etc. Most of them just used DNS. Having control of DNS to do filtering was something, clearly. The last exchange I had w/ you set my mind straight. The control that DNS filtering provided was a comfortable illusion. It existed because Internet protocols were designed with too much trust to begin with, and because it was easier and more cost effective for developers to use standards-based protocols (at the expense of their traffic being vulnerable to tampering). The world, as it is now, won't work w/ unscrupulous entities exploiting the trust engineered into early protocols. I don't want my ISP "monetizing" my DNS traffic, injecting content into my HTTP sessions, etc. Removing the ability of unscrupulous network operators to use my traffic against me means removing my own ability to influence that traffic to my own benefit.