News for hackers. Stuff that matters.
Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @12:14PM (#10540629)
Hypotheticly, lets say an intelligence agency/whoever keeps hijacking domains and then getting CAs to issue certs for them.

The CA cannot automatically detect when a domain has been hijacked, it will issue the certs.

In this situation (with either the present DNS world, or dnscrypt), agencies are frankly 100% as unaccountable as they would be under DNSSEC world, because they still control the TLDs.

DNSCrypt does as little as DNSSEC to fix this issue. Pinning and certificate transparency can help detect under either scenario however.

Another concern in DNSCrypt is how does it handle the MITM problem between DNS servers? Trust on first sight is a lousy unscalable model (what if keys change, what if the badguys are already there before first contact) that is way more vulnerable than DNSSEC to forged replies.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @12:21PM (#10540687)
While I don't agree with the particulars, I am not in fact a DNSCrypt advocate. I think the right next step for DNS security is "do nothing".
Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @12:30PM (#10540758)
The problem of "asshole controls the TLD" is not solvable via ANY protocol. That dosen't mean DNSSEC is worthless, or handing over the keys of the internet to the government or miscellaneous hyperventilating.

You are falling into the classic trap of "this dosent solve every problem so we cannot permit it to solve any problem" that has held back security for decades.

DNSSEC is real, it is deployable and stuff is capable of supporting it, and it does solve very real issues. That counts.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @12:39PM (#10540837)
Sorry, that's simply not true. Assholes control TLDs today, and they do not get to easily bypass Gmail TLS.

My point is, of course, that DNSSEC creates more serious problems than it solves. If you think my argument is "DNSSEC isn't perfect and we should wait for perfection", you haven't read what I'm saying carefully enough.

Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @12:49PM (#10540919)
you can do exactly the same things to check DANE-validated connections as you can for tradition ca validated ones. So on that front its as least as good as the CA model. The real advantages of dnssec+dane are:

Your single registrar becomes your ca (who you already have to trust isnt hijacking your domain and issuing certs for it), not (potentially) every ca on earth.

You can validate dns responses to be at least as real as the root dns servers claim.

Nonpinned certs gain a lot better gaurentees against random CAs. (google cant pin every cert in chrome)

It does not solve the problem of "what if the dns roots are lying to you", but as ca world cert aquisition is tied to that very same issue, neither does normal TLS.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @12:56PM (#10540984)
I'm lost in your argument. Help me understand: if I'm reliant on key pinning and cert transparency, which exists for TLS CAs but not for DNSSEC, what exactly is DNSSEC doing for me? Why is it interesting that I only depend on one untrustworthy (and irrevocable) CA?
Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @01:02PM (#10541037)
because its impossible to pin everyone and everything everywhere.

No matter what you are stuck trusting that dns roots arn't being evil in the case of unpinned cert.

At least with DNSSEC you arnt stuck additionally trusting every CA on earth in the case an attacker can mitm, but dosent control said tld.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @01:06PM (#10541076)
The one CA on Earth DNSSEC asks most Internet users to trust is controlled by the f^cking NSA. How is this progress?
Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @01:29PM (#10541257)
You might not want to carry that argument any further, since Verisign, which I presume you mean, is the single biggest CA today. They can sign anything.

They can not, however, subvert the root zone any more. Not since it was singed in 2010.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @01:34PM (#10541296)
DNSSEC advocates fetishize the security of the root zone, but are conspicuously silent about the trustworthiness of the DNS domains that really matter: .COM, &c.
Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @03:14PM (#10542121)
Since you replied to my comment, I just want to point out that I am not an "advocate" for DNSSEC, neither do I "fetishize" the security of anything.

What I do is to point out that with today's domain validated model, it would make a lot more sense to restrict the validation path to only includes authoritative information about the domain, and to do so in a way that is cryptographically secure.

The fact here is that Verisign can sign anything, today. They can not, however, impact the validation chain that DANE provides.

There are also many millions of use cases where .com does not matter at all.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @03:54PM (#10542410)
If they control the keys for .COM, they absolutely can do that.

Name an important domain, and let's see what world government controls its DNSSEC keys.

Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @04:28PM (#10542646)
It is a bit tiresome to write in this thread, with constant insinuations like "those who control .com control every domain" and "key pinning hasn't been dependent on trust-on-first-use for ages", but which are never spelled out. I'm not sure there are any further insights to gain.

If you'd like, I will name an important domain with a trivial use case: skatteverket.se. It it the agency responsible not only of taxes but of nearly all personal data: marriages, deaths, everything. They have stringent security requirements for this, and to their users their security is infinitely more important than that of, say Facebook for example.

In what way would their adoption of DNSSEC cede control of anything to the NSA, or to anyone?

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @04:33PM (#10542680)
In a thread about user privacy and government control, I asked you for an example of a domain whose TLD might have some influence over how secure it would be post-DNSSEC. You provided the domain of a government agency.

I think we can be done now, don't you?

Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @05:56PM (#10543255)
This thread is about the usefulness of DNSSEC. If you have another agenda than please be explicit about it so that we can have a fruitful conversation.

You asked for a domain, any domain, and was prepared to show how Verisign could exercise their control over .com and somehow affect the validation path that DANE provides. At least that's what how I understood you. It's not always clear.

You seem to argue that susceptibility to state level actors is a counterargument to the standard, so I gave one of the few examples I know of who really need to protect against such adversaries.

Apparently my example was somehow a bad one. Take one of the big banks instead then? What could happen to swedbank.se if they signed their delegation with their TLD?

Or why don't you provide an example instead, and show in what way signing it would cede control to the NSA, or to anyone else?

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @06:21PM (#10543404)
Examples:

* Every .COM

* Every .CO.UK

* Every .COM.AU

* Every .IO

* Every .ORG

Your response:

* The Swedish tax authority's site.

Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Wednesday November 11, 2015 @02:01AM (#10545204)
Of course Verisign controls .com. That was never in question.

Again, there are millions of use cases where .com doesn't matter.

You alluded to some control that some large entity (which I only assume to be Verisign) exercise over every important domain. I take it that was never the case?

Re:Universal DNSSEC: Secure DNS for Every Domain by jessaustin on Tuesday November 10, 2015 @02:34PM (#10541779)
This is just one reason why I'd love to see the creation of many thousands more TLDs. The importance of ".com" was always a temporarily contrived contingent condition, a false scarcity perpetuated in the seeking of rent. The sooner that's over the better.

(Expecting users to read URIs was always a losing tactic, but surely everyone knows that now with IDNs.)

Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @01:14PM (#10541137)
because i would rather have to deal with the NSA, than everyone else + the NSA.

The level of tampering required for the NSA to fake DNSSEC replies is very evident if you have the cert pinned, and very hard to deny.

As things stand, its very easy to deny it was the NSA when anyone and their dog can have access to a CA cert.

Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @12:46PM (#10540904)
> Assholes control TLDs today, and they do not get to easily bypass Gmail TLS.

They absolutely do, which is why we have things like key pinning.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @12:54PM (#10540968)
Things like key pinning are why control over TLDs doesn't equate to control over Gmail, which is my point.
Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @12:58PM (#10541000)
How is that relevant to DNSSEC? Key pinning works indepedently of how you validate your certificates (against public CAs, against DANE, or a combination of both).
Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @12:59PM (#10541015)
I'm lost. Why are we deploying DNSSEC again? I agree that HTTPS security comes down to things like key pinning, and not to giant PKIs.
Re:Universal DNSSEC: Secure DNS for Every Domain by xorcist on Tuesday November 10, 2015 @01:20PM (#10541191)
Key pinning only works for players large enough to get pins in the client software itself. I can not do that, the best I have available is trust-on-first-use, which would carry a giant usability problem for the end user.

I can set up DNSSEC and DANE today, everyone who cares gets an alternative validation path to me, and the Internet is safer because of it.

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @01:22PM (#10541210)
That hasn't been true for ages, and, in fact, wasn't even true when you had to had to ask Google to add pins: many of the people that had pins were tiny.

You can set up DNSSEC and DANE today, but thankfully no browser gives a shit. Key pinning, however, will not only protect you, but will also get the CA that actually coughs up a forged cert for your site locked out of Chrome and Firefox.

Re:Universal DNSSEC: Secure DNS for Every Domain by anon1385 on Tuesday November 10, 2015 @02:14PM (#10541612)
Ok so I'm searching trying to work out how to get the cert for my blog pinned in Chrome or Firefox so that readers of my blog can detect the NSA MITMing them even on the first visit, but I'm not finding anything.

Maybe I'm just using the wrong terms, but as far as I can see the number of sites pinned in Firefox is tiny: https://wiki.mozilla.org/SecurityEngineering/Public_Key_Pinn... and there is no process for getting sites added to that list.

Could you give the address for the form where I can get my site pinned in Chrome?

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @02:23PM (#10541685)
You don't ask Chrome anymore, since Google spearheaded HPKP. Now you just use HPKP to do this.
Re:Universal DNSSEC: Secure DNS for Every Domain by anon1385 on Tuesday November 10, 2015 @02:31PM (#10541753)
My understanding is that HPKP can't protect you on the first visit to a site since the browser doesn't know anything about it before it connects to the site for the first time.

You explicitly replied to a post about wanting something better than"trust-on-first-use" and said key pinning solved that problem, so I assumed there was another way. I don't understand what your post was trying to say if there isn't.

Is there some way that HPKP is able to work around the first visit problem?

Re:Universal DNSSEC: Secure DNS for Every Domain by tptacek on Tuesday November 10, 2015 @02:54PM (#10541958)
All of TLS is already to some extent trust-on-first-use because of SSL-stripping.

But apart from the difficulty NSA will have actually isolating your first use to intercept it, the point of HPKP is that they have to get everyone's first use, because when a browser sees a broken pin, it doesn't just go "oh, whatever, pop up an error and move on"; it also gets to freak out and report the broken pin.

With widely deployed HPKP, every hit to a site being MITM'd by someone with a compromised CA is an opportunity for that CA to be forever burned, simply because someone who already had the right cert pinned will trigger an alert.

Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @03:04PM (#10542045)
What do you think would happen under a DNSSEC-DANE TLS world if that started being detected via the same mechanism?

There is just no way the NSA is going to risk it except in very very specific circumstances they can easily control, (exactly the same situation as HPKP) because, they too will be forever burned, except now they cant just switch to one of hundreds of other CAs, they have burned the root keys to a tld. This will be obvious, this will be screamed about from the rooftops, the key will be rotated + a ton greater scrutiny applied to the process.

Its not like browsers and other people pinning certs are just going to shrug their shoulders and say "aw shucks, i guess we wont worry about it"

Re:Universal DNSSEC: Secure DNS for Every Domain by throwaway2048 on Tuesday November 10, 2015 @02:29PM (#10541728)
Except this greatly weakens key pinning because now anyone that controls a CA cert can get you on first visit from a new browser/profile/cleared private data/device.