Slashdot Mirror


Kaminsky On DNS Bugs a Year Later and DNSSEC

L3sPau1 writes "Network security researcher Dan Kaminsky has had a year to reflect on the impact of the cache poisoning vulnerability he discovered in the Domain Name System. In the time since, Kaminsky has become an advocate for improving security in DNS, and ultimately, trust on the Internet. One way to do this is with the widespread use of DNSSEC (DNS Security Extensions), which essentially brings PKI to website requests. In this interview, Kaminsky talks about how the implementation of DNSSEC would enable greater security and trust on the Net and provide a platform for the development of new security products and services."

22 of 127 comments (clear)

  1. Re:new security products and services? great. by i.r.id10t · · Score: 4, Insightful

    Better than generating fear to reduce the rights of your citizens...

    --
    Don't blame me, I voted for Kodos
  2. Re:new security products and services? great. by gandhi_2 · · Score: 5, Insightful
    Nothing is better than generating fear to reduce the rights of your citizens.

    Sincerely,
    Both Political Parties.

  3. Optimistic guy by mtremsal · · Score: 4, Funny

    Kaminsky is incredibly enthusiastic about DNSSEC. ... to the point where someone not too knowledgeable (like I am) wonders if DNSSEC really is that amazing or if he was just high.

    1. Re:Optimistic guy by askksa · · Score: 3, Interesting

      There are numerous issues with implementing DNSSEC. The idea has been around for like 14 years now. Also, there are alternatives like DNSCurve which provide more security with considerable ease of deployment.

    2. Re:Optimistic guy by Effugas · · Score: 4, Informative

      (This is Dan)

      DNSCurve can't achieve end-to-end security while still caching. Without the former, you're trusting the name server at Starbucks not to be malicious. Without the latter, there's a 10x (minimum) increase in DNS traffic and the internet collapses.

      There's some really interesting math going on, but operationally DNScurve isn't a good path.

      That being said, there are some really interesting things from DNScurve we can integrate into DNSsec without any code mods. Key rollover is a mess in DNSSEC, and it's somewhat unnecessary.

    3. Re:Optimistic guy by Effugas · · Score: 4, Informative

      (This is Dan)

      Well, I was one of the guys who was wrong (about DNSSEC, anyway) so it doesn't completely match up.

      Look, simple question: Do you think the existing system, of X.509 certificates, of SSL CA's, of private PKI's, is at all working? I sure don't. All I see are crappy passwords everywhere, being left as default, getting leaked, being brute forced, etc. Most security technology isn't working.

      DNS works well. Seems to me more things should work like it.

    4. Re:Optimistic guy by Effugas · · Score: 3, Interesting

      (This is Dan)

      Sure, DNS is a single point of failure with security implications. What else is new? Half my talk last year showed what sort of damage you could do if you could corrupt any DNS name. The root can, today.

      It also scales really, amazingly, wonderfully well. See, DNS actually delegates, unlike X.509. That means the root doesn't interact with most people, just a few countries and gTLDs.

      So, how many people do you have in your GPG keyring? Few dozen? Few hundred? I spent six months interacting with people over email securely. It added an average of 72 hours of time before work could be done, and often it didn't work. C'mon, this ain't scaling.

  4. Re:new security products and services? great. by headhot · · Score: 5, Insightful

    The Kaminisky bug is real, and its being used out in the wild. This is not a hypothetical academic exercise. DNS needs to be secured. Its not fear mongering, and its not for profit.

    Many of these security consultants you speak of are not consultants at all, but experts working on this stuff in their free time for the betterment of the internet.

  5. You obviously have no idea what your talking about by gubers33 · · Score: 4, Informative

    Do you even know what DNSSEC is? It is nothing he is trying to sell, it is him trying to completely take care of the flaw he found in DNS last summer. A flaw that could have seriously fubared the net if he didn't go through massive patching with internet providers and large companies. So you know, just about all DNSSEC software is opensource, meaning it is free. He isn't a conartist and it is pretty ignorant to call him one, he spent countless hours last summer trying to get the patch out which he didn't make money off of since he released it for free.

    --
    Just because you are wrong and I called you out on it doesn't mean I am a Troll.
  6. You just think that way because you haven't been.. by brunes69 · · Score: 5, Insightful

    .. hit yet.

    Security is a tricky thing. You say security people sell you things "you don't need". But if you wait until you NEED security, it is already too late because you have a breach.

    Security is not an ER visit, it is a regular preventative exam with your physician. It is something you have to take a pro-active approach with. Yes, this oten means investing time and money in something that has no immediate ROI. But that is the nature of the problem you are dealing with.

  7. Re:new security products and services? great. by Effugas · · Score: 4, Informative

    (This is Dan)

    No, it really is about securing your assets, instead of trying to deploy yet another magic box that conveniently fails just as you try to get it out of testing.

  8. Re:new security products and services? great. by headhot · · Score: 5, Informative

    This is not how the kraminisky bug works. You can intercept and redirect traffic with a properly formed DNS label to a legitimate site.

  9. Re:Need DNSSEC tools by Effugas · · Score: 4, Informative

    (this is dan)

    Yeah. This is being worked on. By the time the root is signed, you should have much more at your disposal.

  10. Questions from a DNS implementor by Ex-Linux-Fanboy · · Score: 4, Interesting

    OK, since Mr. Kaminsky is following this thread, I figured this would be a good place to open up some questions and a discussion between a DNS implementor and Mr. Kaminsky.

    Let me introduce myself: My name is Sam Trenholme and I am the implementor of MaraDNS, a recursive and caching DNS server. Right now, I am in the slow process of re-writing the recursive DNS resolver. While MaraDNS has always been as secure as non-DNSSEC can be against Mr. Kaminsky's bug (DJB knew about the problem back in 1999 and I implemented his solution to randomize both the query ID and the source port back in 2001), I am wondering:

    How hard is it to implement DNSSEC in my recursive cache? How many RFCs am I going to have to toil over to understand DNSSEC well enough to implement it? About how long will it take me to code MaraDNS to have full DNSSEC support?

    I have a bad feeling that DNSSEC is a monster to implement and that we will not see many independent implementations of it; right now BIND and Unbound appear to be the only DNS servers to support it. DjbDNS doesn't support it, of course, and probably never will. My own MaraDNS and PowerDNS also don't support.

    What are your thoughts? Has a reasonable effort been made to make DNSSEC easy to implement?

  11. Re:Is DNSSec really needed? by Effugas · · Score: 3, Informative

    (This is Dan)

    Too many exceptions, like www.facebook.com's low TTL, or CNN's non-response to nonexistent names, etc.

  12. Re:You obviously have no idea what your talking ab by gubers33 · · Score: 4, Informative

    The DNS cache poisoning attack was used the same week it was put into metasploit on a Verizon DNS in Texas where the attacker was forwarding people to a fake Google page with malware on it. Just one I can recall from when this first came out.

    --
    Just because you are wrong and I called you out on it doesn't mean I am a Troll.
  13. A: because it breaks the flow of a message by DNS-and-BIND · · Score: 3, Insightful

    Q: Why is starting a comment in the Subject: line incredibly annoying?

    --
    Shutting down free speech with violence isn't fighting fascism. It IS fascism!
  14. Re:new security products and services? great. by Effugas · · Score: 3, Interesting

    (This is Dan)

    I actually completely agree with your desire to see trust in the edges. That's what's so interesting about DNSSEC -- DNS, by its very design, is all about getting the core the hell out of the way and delegating, delegating, and delegating some more until the organization that manages the namespace can directly control it.

    Indeed, in the ultimate vision of DNSSEC, we have full on validating resolvers in clients. The endpoints themselves can finally - finally! - recognize their peers directly, without having to trust anyone or depend on the admitted messiness of the existing SSL CA infrastructure.

    The reality about Active MITM is that it's out there. See the BGP work that came out in tune with my talk -- note that all that still works, today, even with my big fix. Active MITM isn't some theoretical attack, and the reality is that everything is vulnerable to it. An ounce of cryptography is worthless without a metric asston of key management. DNSSEC is just the best way I can see to do it.

    Regarding the trust anchor size, the reality is that we have 25 years of it not being a problem. That's the simple truth. Everything I did last year could have been done by a malicious root. It wasn't.

    Your corporate/intranet myth is funny, because it strikes at the heart of the problem. You think there's just one corporate/intranet to authenticate. It's literally like you're suggesting, email to other companies is complicated, so lets just do email to our own company. Nice, but not good enough. We need cross organizational trust. We need something to bootstrap it. DNSSEC should be that.

  15. Re:You obviously have no idea what your talking ab by Effugas · · Score: 4, Informative

    (This is Dan)

    Trust me, I'm raising more hell than you can imagine about the deployment issues of DNSSEC. Here's the truth:

    1) You don't actually need to do all that resigning stuff. When best practices involve increasing your costs 100x, something is wrong.
    2) You don't actually need to have your signatures expire.
    3) You don't actually need that cron job.
    4) They fixed that zone walking problem with NSEC3. If you have online keysigning, which I expect everyone to have, you don't even need that.
    5) .org is signed. .com is coming, as is the root itself. Things have changed.

    Standby. Seriously, this is coming, and it's not going to be miserable by the time you actually need to deploy it.

  16. Re:You obviously have no idea what your talking ab by Effugas · · Score: 3, Interesting

    (This is Dan)

    There's lots of shysters in every field. Doesn't change the fact that there are problems out there that need fixing. Security is in fact a problem.

    In concrete terms, just for my vuln, about 1% of one of Brazil's largest bank's customers had their info taken by my bug. That wasn't fun. And China Netcom got hit pretty hard too, go Google that. Of course, there's a lot of data we're missing, because nobody needs to report. But anecdotally, this was a problem, but not the end of the world. Good! I didn't exactly set out to end the world :)

    In terms of what I see fixing, I see a lot of technologies repeatedly sold as "and then you get certificates", and nobody does, because it's just such a cross organizational nightmare to manage. Certs aren't working, and it's holding back auth technology after auth technology. Verizon Business' data says that 60% of vulns aren't implementation flaws -- they're authentication flaws, with passwords at the heart of them.

    Why so many passwords? Because they work. Well, DNS works too. Maybe we can use it to make all the better things scale across organizational boundaries.

  17. It's really in DNS - BIND etc. were workarounds by billstewart · · Score: 4, Informative

    The flaw is really in DNS - the only authentication field in a DNS request is a 16-bit query id, plus the implicit authentication of a 16-bit port number, and IIRC correctly you could also birthday-attack the query-id. Kaminsky's changes to DNS implementations such as BIND (which was build into djbdns etc. since the beginning) get you a few more bits of protection against an attack, but that just means that DNS is "still pretty weak" as opposed to "really really weak".

    And unfortunately, IPv6 DNS is no better - it keeps the same basic header for compatibility, adds some new longer record types, and adds some 128-bit addressing, but the QueryID's still the same old 16 bits.

    DNSSEC gets to the root of the problem, with cryptographic signatures on the data. It may be overkill compared to just putting in a 128-bit or 256-bit Query-ID field, but basically it's something that's possible actually get deployed, because it's a set of additional data transported in DNS, not a replacement for DNS's transport protocols. The reasons it wasn't done years ago have a lot to do with the NSA/FBI anti-crypto policies of the 90s, and Verisign's reluctance to do a huge amount of work nobody cares about to protect .com, but we're finally getting the root signed.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  18. Re:None of it as implemented is about security by Tony+Hoyle · · Score: 3, Insightful

    You can get wildcard certs. for HTTP as well. They cost lots and lots of $$$

    You wonder how much getting a domain signed is going to cost... thing Verisign is going to turn down a cash cow that big? I'd be surprised if they charge less than $1000 per domain.

    Ultimately, as Verisign signs the root, all paths (and all money) leads to them - and that's why they're pushing DNSSEC so much.