DNS Cache Poisoning Update
dhammabum writes "Todays SANS internet storm handler has put up an excellent update of the DNS poisoning vulnerability currently doing the rounds. The main points are that only Windows DNS servers are vulnerable (degrees of vulnerability depending on patch level), provided you are not running an ancient version of bind. Also bind4 and bind8 do not clean poisoned caches if they receive them from a poisoned Windows DNS server but bind9 does."
Is this a poor implementation of the DNS spec, or is the DNS spec itself to blame for allowing such "poisoning" to occur?
In my experience, software issues occur for one of two reasons:
"There are a dozen opinions on a matter until you know the truth. Then there is only one." - CS Lewis (paraprhase)
Unfortunately djbdns is a bit awkward to install because of djb's insistence on the daemontools manager. There's nothing wrong with it, but the technique for installation is a bit awkward and certainly unlike other Unix-based server software.
That seems fairly reasonable. I don't think you're really protected from poisoning, unless "poisoning" only applies to certain kinds of DNS spoofing. Specifically, first note the exceptions to the djbdns security guarantee (emphasis mine):
Specifically, his forgery page points out that a spoofing attack based on the birthday paradox can still work... although probably tens of millions of packets are required. This page, which I think I got off slashdot before, uses the TCP sequence-number guessing tools to try to attack it. It's probably not quite as secure as djb estimates, but probably still in the millions. They don't seem to have actually run numbers for the randomized-port plus randomized-id, so it's unclear whether they actually attacked that thoroughly.
Could it be coincidence that Comcast is currently experiencing DNS issues? Probably.. but it makes me wonder.
Speak truth to power.
I'm a comcast customer, and fucked with my linux router for about an hour last night trying to figure out what the blue hell was going on.
/etc/conf.d crap, and it had the same problem.
It has a habit of just shitting out every time my dhcp lease expires, rather than refreshing it and moving on with life, so I figured that was it, or perhaps dnsmasq (which I use to proxy for my lan) got fubared.
Eventually I just plugged my cablemodem into a windows box, since they "just work" without fighting a bunch of resolv.conf or
At that point I realized it was their DNS servers, since I could ping them, but they wouldn't resolve queries, and I just waited it out.
Interesting. Do you know for a fact that it was because of this poisoning stuff, and not because the new guy tripped over the cords?
They could have had their dhcp servers send out, at least temporarily, a good upstream DNS server, rather than piss off umpteen billion customers.
I don't need no instructions to know how to rock!!!!
built-djbdns? Oh, that's right - it's not Free Software so Debian can't package it.
Something about configuring DNS. Maybe to run as "nobody", I presume. I guess we're setting up a cache directory in /etc? Something or another about localhost.
/var/what?
I'm not trying to slag on you, but those aren't exactly the most transparent instructions I've seen.
Dewey, what part of this looks like authorities should be involved?
The whole point of Internet Protocol is to facilitate in the sharing of data. Even if you start your own private network you will most likely still use IP.
I used to be foolish and think like you, but no matter what the physical layer is, it still makes sense to have an IP stack and run Internet Protocol. And even if you have a different protocol, say ATM or some other, you use MPLS, and that translates between any two generic protocols and it all translates to TCP/IP.
You can't get away from it unless you want to redesign the way that networks behave. And if you do that why would anyone want it when the Internet already works. Whatever problems we have with BIND will be legion in your propriatory system. As buggy as some people make their versions of BIND, or whatever other piece of the Internet Toolset, their are other vendors or suppliers (often Open Source) who create code that doesn't have those problems.
Try the private network thing if you want, but it will cost you a lot. Why do this?
> XP has some awefully cool icons
Yes, but I don't recognise them because they are not the same as previous versions.
Windows was 'easy to use' originally, once it had been learnt, because pictures can be recognised rather than 'understood'. A simple scan of the screen and my brain would trigger when the eyes saw what I wanted.
With XP MS completely stuffed that up. They changed all the icons and the way that, say, control panel worked so as to make it 'cool'. But they made it _useless_ for me, and a retraining cost for users of previous versions. I look at an XP screen and it means nothing.
There is no such thing as a "good upstream DNS server".
...
True, but some are more "reliable" than others.
If you want to resolve queries you need to run a DNS cache, use your ISP's,
First part, yes. Second part, don't rely on your ISP alone, specially if he's giving you a DNS address via DHCP. At the first sign of shit, hardwire a more reliable one.