News for hackers. Stuff that matters.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Sunday February 24, 2019 @05:09PM (#19240934)
There is in fact very little evidence that we "need" the authentication provided by DNSSEC. Here we have an illustration of a phenomenon we've seen repeatedly: an attack for which DNSSEC has absolutely no utility, used deceptively as an argument for the necessity of DNSSEC. The same was true of claims that DNSSEC was a necessary response to BGP hijacking a few months ago.

If there were actual routine attacks that DNSSEC was seriously defending against, you don't think its advocates would be sounding their trumpets about them incessantly? Occam's Razor argues emphatically that the attacks DNSSEC deals with aren't occurring.

Meanwhile: if the reason we need DNS security is for certificate issuance, DNSSEC is a stupid way to get that. We can and will create a secure channel directly between CAs and registrars (one such system is RDAP, the upcoming replacement for WHOIS). We also have systems in place that have demonstrably defeated misissuance, most notably certificate transparency, which does not in any way depend on DNSSEC. CAs can and will do multi-perspective DNS lookups, which are valuable (though imperfect) even against the BGP attacks that completely bypass DNSSEC.

The history of Internet network security is largely the history of higher-layer systems routing around the insecurity of DNS; an insecure DNS is practically the premise of Internet security. And throughout that entire history, going all the way back to when I was in high school in the early-mid 1990s, DNSSEC advocates have been trying to foist this boondoggle of a protocol onto us. It was annoying when it was just a bad cryptosystem that was impossible to configure. But now it's a key escrow system as well. Fuck that. DNSSEC is still failing. Let it fail all the way away.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by dcow on Monday February 25, 2019 @03:03AM (#19243896)
I get it, it’s cool to shit on DNSSEC. But let’s talk about defense in depth. The way you solve account hijacking is two fold. First: authenticate records. Second: don’t trust registrars to produce the contents of records. Reduce registrars to a simple ledger indicating which key to trust for a domain along with the length of the lease. Make people take care of their keys. If a registrar does offer to sign records on an owner’s behalf, maybe don’t use it for security critical services like email.

I don’t think the desire to authenticate data coming from the internet’s global public key-value store is ludicrous.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Monday February 25, 2019 @09:57AM (#19246032)
Every useless security product ever pitched has justified its existence with "defense in depth".
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by dcow on Monday February 25, 2019 @04:28PM (#19249623)
Let's just secure the perimeter and live in a world of VPNs and negligently open hosts. I'm not strictly arguing that DNSSEC is a good thing. But I do think it makes sense to authenticate data flowing across general networks, no? You're saying the problem isn't a problem because part of the solution is stupid today. I guess it's job security for security professionals to have insecure things floating around that need additional security? At least some people want to solve the problem. The internet as it exists today being engineered around insecure DNS is not a feature. Name one other scenario where there's a preference for no security.

People used to say the same thing about the boot process. Now we have secure boot. Maybe that's just stupid too but I feel a lot better knowing that my hardware is booting verified images than whatever happens to be sitting at some address in unprotected memory (as long as I remain the owner of the key).

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Monday February 25, 2019 @06:19PM (#19250439)
Let's not have negligently open hosts or DNSSEC. In fact: that's pretty much what competent operators do today. See! No changes needed.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by eitland on Monday February 25, 2019 @10:29AM (#19246280)
> Every useless security product ever pitched has justified its existence with "defense in depth".

Even if this is true it is also shallow, misleading and IMO more of a master suppression technique[0]: even if we accept it as true it doesn't mean the opposite is true (i.e. that everything that is marketed as "defence in depth" is a useless security product.

[0]: https://en.wikipedia.org/wiki/Master_suppression_techniques

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Monday February 25, 2019 @03:17PM (#19249025)
You're rebutting an argument that I didn't make. What I said was that "defense in depth" is a weak argument. I didn't say that any solution that invokes "defense in depth" is bad. DNSSEC is bad on its own merits.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by icebraining on Monday February 25, 2019 @05:04AM (#19244456)
How does (2) solve the problem? Why wouldn't the attacker just replace the key with their own?
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by dcow on Monday February 25, 2019 @04:16PM (#19249528)
To do so they would have to pop the registrar's account/service, not an individual domain owner's.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by icebraining on Monday February 25, 2019 @07:19PM (#19250841)
How does the registrar know which key to trust? There must be some way for the domain owner to indicate their key, and to replace it if they lose it; essentially, a website where you login and upload your key, much like you currently login and configure your records.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by Panino on Sunday February 24, 2019 @07:20PM (#19241622)
> Let it fail all the way away.

Given that just about everyone here recognizes the bad faith shown by ICANN on this issue, it seems to be an act of desperation on their part. Why? They've invested a lot into DNSSEC and are emotionally wrapped up in it, despite better alternatives. And maybe more importantly, if you consider DNS an asset, then its value rises by stuffing more "value" into it such as key escrow. Therefore DNS's principal holders (ICANN, TLDs) would see their asset depreciate if DNSSEC fizzles and dies.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by rocqua on Monday February 25, 2019 @04:25AM (#19244234)
RDAP sounds great, that'll essentially do what I think DNSSEC is for now. I'm going to look into that more.

For it to really help though, DV using DNS needs to stop working. That's going to take a while, but I guess the same goes for convincing all Registrars to use DNSSEC. In that sense, it seems like IANA should be pushing for RDAP.

Certificate Transparency logs are kind of orthogonal to DNSSEC and DV though. The main value in Certificate logs is forcing CAs to act honestly. CA's not getting accurate DNS records is not completely something the CA's can prevent, because they can't authenticate DNS records. Though certainly, they can do their best by using multi-perspective look-ups and other things.

I still think it's scary that registrars have ultimate power over issuance. They seem like the next weak link after CT logs are widespread enough to defend against rogue CAs. Luckily, it is harder for a registrar you don't use to claim your domain, so it is easier to defend by choosing a registrar you trust.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by elp on Monday February 25, 2019 @08:40AM (#19245510)
RDAP is just a JSON based version of whois and the registrars and registries will produce the data from the their records the same way they do now.

If an attacker removes DNSSEC at the same time as making name server changes there is no way to detect a difference from a legitimate change.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Monday February 25, 2019 @10:12AM (#19246143)
RDAP is an extensible and uniform channel directly to registrars. CA/B forum has already discussed using it as a DV proof.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by belorn on Sunday February 24, 2019 @07:46PM (#19241772)
An other view of the history of Internet network security is largely the history of plain text protocols getting encryption and authentication. As much as some is arguing against the introduction of authentication in DNS, there are a similar push in the opposite direction where people instead want to add encryption.

For now most of that discussion is the two dominating methods to get encryption and authentication between the user and recursive resolver, but there are plenty of good reasons why we want the same standard of security between recursive resolver and authoritative resolver.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by zrm on Sunday February 24, 2019 @09:38PM (#19242371)
> An other view of the history of Internet network security is largely the history of plain text protocols getting encryption and authentication.

Telnet was replaced by ssh, but they're both connection-oriented protocols that create a session between two endpoints. The same is true of the transition from X to X-over-TLS for the various values of X.

DNS isn't really a connection-oriented protocol to begin with and DNSSEC isn't really a protocol at all, it's a collection of DNS records for use in signature verification. Moreover, it's not encryption, only signatures. It doesn't provide privacy protection. The DNS equivalent to the transition to ssh or TLS would be something like DNSCurve, which is a transport protocol and does encrypt the data.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Sunday February 24, 2019 @10:34PM (#19242677)
Note that we actually got what DNSCurve was offering, in the form of DoTLS and DoH.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by zrm on Monday February 25, 2019 @01:56AM (#19243604)
Not entirely. The promise of DNSCurve is that the authoritative servers can use it too. If they do, it can secure the queries between the recursive resolvers and the authoritative servers as well, and inherently provides secure delegation between administrative boundaries when the parent and child domain both use it.

DNS over TLS/HTTPS typically only secures the link between the client and the resolver, and does so at the complexity cost of bringing in all of TLS and its problematic CA system, and HTTP on top of that for DoH. And the proposals to make it work to the authoritative nameservers have it using DANE (i.e. DNSSEC).

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by zaarn on Monday February 25, 2019 @03:57AM (#19244120)
There is no reason that the authorative DNS Server couldn't use DNS over TLS/HTTPS as well.
Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by zrm on Monday February 25, 2019 @11:53AM (#19246961)
TLS could be used in much the same way that a mining truck could be used by a letter courier service. You can, doesn't mean you should.

With DNSCurve, when you have a delegation from one authoritative server to another, the parent domain provides the name of the child domain's nameserver, which encodes its public key. Then you use the public key to communicate with the child nameserver. The key distribution is part of the protocol.

To use TLS, you would either have to rely on the CA system with all its problems (any malicious CA can forge any name and many are operated by potential adversaries), or DANE, and then we're creating a dependency on DNSSEC rather than replacing it. Worse, you have to choose one or the other for everyone or else support both as options and have the worst of both worlds in combined complexity and lowest common denominator security.

The overhead of DoT/DoH is also worse in the recursive case. Between the client and the recursive DNS server, creating a TLS session is expensive but at least then you can keep it active and use it for all your queries. In the recursive case the queries go to/from many different authoritative servers, each with low probability of reusing the connection such that keeping it active long is counterproductive. So you're moving from a single UDP request and reply to a full TCP handshake + TLS handshake for as little as a single query. This adds both computation and latency.

Moreover, the one redeeming quality of DNS over TLS/HTTPS is avoiding interference by middleboxes, which exists almost entirely in the context of client devices on restrictive networks rather than the links between recursive and authoritative DNS servers.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by belorn on Monday February 25, 2019 @04:25AM (#19244235)
DNS is just as much a connection-oriented protocol as http. It just happens that DNS uses caches a bit more than the web because of "reasons", so we got all those caches called recursive resolves being the default.

An early argument against HTTPS was that you could not use web proxies any more. Today we don't normally talk about that, in part because the caching was moved away from the middle and into the server end.

The discussion around how useful DNSSEC misses the point that what history has shown is that authentication without encryption is like encryption without authentication. We need both and preferable done yesterday.

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by _red on Monday February 25, 2019 @07:44AM (#19245185)
>DNS is just as much a connection-oriented protocol as http

DNS (UDP) is a strictly connection-less protocol. There is no state, there is no transport guarantees, its total fire-and-forget.

https://en.wikipedia.org/wiki/Connectionless_communication

Re:ICANN Calls for DNSSEC for All Domains Following Domain H... by tptacek on Monday February 25, 2019 @09:58AM (#19246043)
DNS runs just fine over TCP.