4 ms·
What end-user OS does this?
by tptacek 7y ago
What end-user OS does this?
- jedisct1 7y agoNone.
- amluto 7y agoFedora has a prototype: https://fedoraproject.org/wiki/Changes/Default_Local_DNS_Resolver https://fedoraproject.org/wiki/Changes/Default_Local_DNS_Res... I ran it for a while. It was problematic from a UI perspective (nothing to do with DNSSEC per se — it was just immature), and it wasn’t fantastic with captive portals. Also, it noticed that I visited an internet connection where the ISP was hijacking google.com. So it worked!
- tptacek 7y agoSo by "actual high quality DNSSEC implementation", you mean one that exists only in prototype form for desktop Linux users.
- amluto 7y agoI’m saying this should be done, not that it is done. The AD bit is garbage.
- tptacek 7y agoDoH actually addresses this attack, directly, regardless of whether the affected name is in a signed zone (most queried names aren't!), and it actually works on mainstream operating systems. Why would anyone waste even a moment with DNSSEC?
- mindslight 7y agoDoH moves the attack point to a different place - either between the recursive resolver and the authoritative servers, or (with DNSSEC) to the recursive resolver host itself. This is certainly a step up for security against malicious neighbors, but doesn't address malicious infrastructure.
- amluto 7y agoDoH with client-side DNSSEC validation would be nice. I don’t know whether the protocol supports this cleanly.
- tptacek 7y agoDoH moves the attack we're talking about to a place where the attack can't be carried out.
- mindslight 7y agoModifying DNS results can certainly be carried out ahead of or at the recursive resolver. DoH without DNSSEC means the results are modifiable by authoritative servers, recursive resolver, and any of the links between them. DNSSEC with a local recursive resolver prevents this. (Of course if you want privacy from your ISP, you then have to tunnel the recursive lookups through VPN(s)). If DoH is the best one can do, then do DoH. But it's wrong to shout down DNSSEC until an alternative method for authentication comes along.
- tptacek 7y agoThe same argument applies to DNSSEC: if the DNSSEC authority server is compromised, it can fake records, the same way your DNS recursor can fake records if it's compromised. If you do DoH across the path, at each step, DNSSEC does literally nothing, rather than practically nothing. Regardless: for the attack that we're discussing on this thread, DNSSEC is not relevant; or rather, this particular attack is a good illustration of how irrelevant DNSSEC is to realistic attack scenarios.
- topranks 7y agoDoH doesn’t even attempt to address DNS tree validation, which is what DNSSEC does. The two are complimentary.
- tptacek 7y agoThey're complimentary in that one of them does something useful and directly addresses a real ongoing threat, and the other doesn't. It's true, those aren't the same things.
- throwaway0x00ff 7y agoI run my own DNSSEC-validating DNS server for my whole local network (also on the road with DNS over TLS on my phone) using Pi-Hole (DHCP service + blocking ads) and unbound (local recursive DNS resolver that validates DNSSEC). I do DoT using nginx. So basically any Unix can run a resolver and virutally any OS can profit from it !
- tptacek 7y agoWhy is this supposed to be interesting? You could run defaultless BGP4 on your Linux box if you wanted to badly enough. The question is "what end-user operating system already does this?".
- Dylan16807 7y agoI think some people assumed you were being imprecise in wording your question, because when there's a comment talking about what OSes don't do but should do, "What OS is able to do this?" makes more sense than "What OS already does this by default?". So "Why is this supposed to be interesting?" is a bit rude for someone that was trying to answer a reasonable interpretation of your question.
- tptacek 7y agoYou might be right. I really am frustrated by the mindset that says that because a Linux system administrator could get some feature to work, that means it's available to mainstream users; that logic really does suggest that you can do virtually anything on a desktop computer, which is technically correct but kind of negates the whole premise of the question. But if I came off as personally rude, I apologize and will try harder not to do that.
- heyoni 7y agoRemember when Dropbox was first announced? Reminds me of that.
- loeg 7y agoI'm not an OpenBSD user and I'm not claiming OpenBSD represents any kind of end-user OS, but: my understanding is that the aim of their unwind[1] tool is to do this. And as far as I know, sending DNS UDP/TCP packets is more or less portable to anything with BSD sockets, although I don't know that anyone has tried running it anywhere except OpenBSD. So to the extent you consider Linux, MacOS, or even Windows an end-user OS, and to the extent that the tool is portable and could be configured... eh, there's the pieces of something there. Anyway, I think DNSSEC is stupid, so I'm not advocating for using this tool or enabling it in OS's as default policy. [1]: https://github.com/openbsd/src/tree/master/sbin/unwind https://github.com/openbsd/src/tree/master/sbin/unwind