4 ms·
This sounds interesting but really isn't. Think about it for a second and you'll realize that specifying a modern signature scheme for DNSSEC is trivial. The b
by tptacek 9y ago
This sounds interesting but really isn't.
Think about it for a second and you'll realize that specifying a modern signature scheme for DNSSEC is trivial. The best modern signature schemes are designed to be easy to adopt!
The problem is that none of the installed DNSSEC base groks ed25519. It took years to get P-curve DNSSEC --- which virtually nobody uses --- to the point where its mere presence didn't break resolvers. It would probably take something on the order of 10 years of concerted effort to get 95%+ of active resolvers to grok ed25519, and during that time everyone who wanted secure signatures would need to sign both with RSA and with ed25519, and for 10 years after that we'd be dealing with people keeping insecure RSA signatures around out of compat concerns, and then comes the Usenix papers about downgrade attacks, and at night the ice weasels come, just like anyone who's dealt seriously with TLS will tell you.
What's especially irritating about this situation is that we know the signature scheme used in "mainstream" DNSSEC is inferior to modern curve signatures, and we know virtually none of the DNSSEC software being deployed can grok modern curve signatures, and we know this is an upgrade that needs to happen lest we get a whole crapload of new 1990s crypto deployed across the Internet, and still DNSSEC advocates are pushing for more deployment of this stuff.
Nobody uses DNSSEC right now. If the root private keys were dumped to Pastebin right now, to a pretty good first approximation not one commercial operator on the Internet would need to send out a breach warning to customers. We should all be taking a breath and reconsidering the protocol and its implementation details.
This, of course, isn't all that's wrong with DNSSEC. Google [against dnssec].
- tatersolid 9y agoNot that I disagree with anything you’ve written, but you’ve fallen into the “X sucks but I offer no alternative” trap. What is your suggestion instead of DNSsec? DNScurve? No DNS security at all and rely on TLS and certificates? Other?
- xenophonf 9y agoHis suggestion is precisely that---do nothing. From https://news.ycombinator.com/item?id=8897347 https://news.ycombinator.com/item?id=8897347: There is a real alternative solution, and it has the virtue of being exceptionally simple: do nothing. The DNS doesn't need to be secured, just like raw IP isn't, nor every individual BGP4 update.
- jopsen 9y agoThat's a fair argument. The obvious counter argument is that we need more layers of security. Example: HTTPS + GPG signature gives you two layers, even if most skip one of them.
- tptacek 9y agoEven if the "something must be done! this is something!" school of security design was valid, DNSSEC would still be terrifying. The primary use case for DNSSEC is DANE, which replaces the Web PKI CA system with DNS zones. The DNS is a tree-structured PKI the tops of which are controlled explicitly and de jure by world governments, and, unlike the X.509 CAs, Google can't administer a death penalty to .COM.
- iamnothere 9y agoThis is critical. We should not be pushing technology that further bolsters the power of central authorities, especially in an age of increasing authoritarianism.
- jcranmer 9y agoAdding more layers doesn't necessarily add security. Jokes about ROT13'ing twice, or the meet-in-the-middle attacks on Double-DES are well-known examples of it. What would your security policy be if only one of the signatures matches and the other one fails? More importantly, if you're setting your policy to be tolerant of as-of-yet unspecified algorithms, you run the risk of the attacker being able to screw you over in the weak protocol and corrupt the bits of the strong protocol to an unknown protocol.
- brians 9y agoAn important thing about layers, about defense in depth, is that you can’t even begin to attack one mechanism until you’ve defeated its predecessors. DANE + TLS doesn’t give you layers. If I can subvert your DNSSEC, I can endorse a fresh TLS key, and win. If I can subvert your TLS, I win. This is defense in breadth, a strategy known mostly for its close association with defeat.
- deleted 9y ago[deleted]
- colmmacc 9y agoThose are like hipster reasons to not like DNSSEC! DNSSEC is just dumb and doesn't work. [ User ] <-----> [ Resolver ] <-----> [ Auth DNS ] ^ ^ Most attacks work here DNSSEC protects here
- jopsen 9y agoPresumably advanced users can pick a resolver with DNSSEC support?
- aaronmdjones 9y agoYou mean the resolver does the verifying? That doesn't solve anything; anyone doing an MITM attack between the user and their resolver can flip the 'ad' (Authenticated Data) bit to '1' even if the verification failed, and if the user isn't verifying the signatures too, they will blindly trust the value of this bit. Users need to run their own local /verifying/ resolvers for this to be secure (or have a trusted path between them and their remote resolver, e.g. IPsec-AH or DNScrypt).
- jcranmer 9y agoActually, that's not where most attacks work. Most attacks rely on people thinking that google.com.please.dont.read.this.part.of.the.domain.evil.com is really google.com.
- tptacek 9y agoHe meant most DNS attacks. DNSSEC does nothing about the *.domain.evil.com attack.
- bluejekyll 9y ago(throws caution to the wind...) DNSSec is not dumb. The gap you're pointing out is valid for most standard user OS's that are not performing DNSSec validation and/or are not using private/secure/authenticated channels to their upstream resolver. DNSCrypt and DNS over TLS solve the later. But, there's no reason that users can't run validating Resolvers locally as well, thus filling in the gap you point out. Now, most users and OS' out there don't provide these capabilities, so the gap you point out is 100% accurate based on the current state of the world. But, shouldn't we fix this and start bringing the validation to the end user OS'? tptacek's criticism's are more on point, b/c they get to the heart of some issues in the deployment and actual security of the DNSSec network, and these are foundational issues that we need to resolve. I'm optimistic that we can solve them and I don't think we should give up just b/c it's non-ideal today.
- tialaramex 9y ago"Nobody uses DNSSEC" illustrates the tragic failure of imagination among its main critics. This is the same thinking that causes venture capitalists to destroy loads of modestly successful businesses every year determined to have a one-in-a-million smash rather than make an honest living quietly succeeding. DNSSEC works fine so long as the people doing the resolving have, or are given, a reason to actually care about the thing it delivers, ie security. Ordinary users are here to see the dancing pig, they aren't going to enable DNSSEC or switch off JavaScript, or use a password to lock their phone, but that doesn't make any of those things useless. So, two actual applications, of DNSSEC being used today. One, SSHFP. Instead of TOFU with all the risks that implies, or the "fun" of pushing out current key lists to all users if we have DNSSEC we can use SSHFP to put those keys into DNS without anybody tampering with them. Second CAA. Unlike most DNS records, CAA has deliberately small audience and we can mandate them to implement DNSSEC. Indeed if there was a compelling reason to do so we can mandate that they implement whatever new ECC schemes are making the usual suspects wet themselves this week. You can try this for yourself, set CAA issue to a commercial CA of your choice then try to order a free Let's Encrypt certificate. It says No. Without DNSSEC of course bad guys able to pass a validation can also forge the CAA answer. But with it their forgery is detected, we don't care whether my mother has a working resolver because my mother isn't a trusted CA.
- tptacek 9y agoI think you'll have a tough row to hoe to establish that I don't care about security. More importantly, you haven't addressed the concern I just raised. Whether or not you want your SSH keys to be part of a global PKI whose tops are controlled by world governments, the push for deployment of RSA-only DNSSEC software today does in fact make it harder in the long run to deploy ed25519 DNSSEC. Here are a bunch of arguments against DNSSEC, most of them rooted in security. Which do you find flawed, and why? https://sockpuppet.org/blog/2015/01/15/against-dnssec/ https://sockpuppet.org/blog/2015/01/15/against-dnssec/
- kbenson 9y ago> I think you'll have a tough row to hoe to establish that I don't care about security. Now I'm a little disappointed GP wasn't a bit more aggressive in their assertion and targeted it towards you, just so we could get something like cperciva's Putman comeback.[1] ;) 1: https://news.ycombinator.com/item?id=35079 https://news.ycombinator.com/item?id=35079