Slashdot Log In
DNS Server Survey Reveals Mixed Security Picture
Posted by
kdawson
on Wed Nov 21, 2007 07:57 AM
from the buddy-can-you-spare-a-zone dept.
from the buddy-can-you-spare-a-zone dept.
Kurtz'sKompund writes in with word on the latest annual survey of the state of DNS on the Net. The survey, commissioned by infrastructure appliance vendor Infoblox, found that the use of Windows DNS Server in Internet-facing applications has fallen off dramatically as more users act on concerns about security. BIND 9, the latest version, gained against earlier, less secure versions. But in other dimensions, DNS practices showed little improvement from a security point of view. Hardly anyone is using DNSSEC; and 31% of nameservers allow promiscuous zone transfers, a number little changed from last year. Here's a video of an interview with Infoblox's chief architect Cricket Liu on the state of DNS.
Related Stories
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
I hate video without transcripts (Score:2, Interesting)
Security? It's quite simple (Score:5, Informative)
2) Put restrictions on recursive queries.
3) Lock down box.
4) Profit.
Re:Security? It's quite simple (Score:4, Funny)
Parent
Re:Security? It's quite simple (Score:5, Funny)
Parent
Re: (Score:2)
Djbdns is a smaller much simpler DNS server with a simple config syntax (and simple
Powerdns has a smaller featureset, but lets you serve dns records from an sql database and some other neat stuff
There was also an ultra simple dns server i saw which simply used a file format like
Bind's configs are perhaps more awkward than they need to be, but there are also several frontends to bind that can s
Re: (Score:2)
Hypotheses != data (Score:3, Insightful)
The HYPOTHESIS is that this is motivated by security concerns.
Conflating the two, as the summary does, is frankly retarded and exceptionally bad practice.
Re: (Score:3, Interesting)
But what is also important to consider is what requirements a given dns server has and assuming that there will be vulnerabilities in the dns implementation, what you can do to mitigate it.
Windows DNS requires RPC (which was the cause of the vulnerability as you point out) and requires many other default windows components, many of which are difficult/impossible to remove and have
Re: (Score:2)
But going purely on vulnerabilities, we should probably all be running djbdns.
No way. djbdns doesn't even support IXFR, so instead of configuring a TSIG key for your master and slave servers and being done with it, you instead have to roll your own secure incremental filecopy implementation. Maybe you didn't want to run sshd or rsyncd on your slaves. Doesn't matter - now you have to because djbdns can't be bothered to handle it for you.
So, is djbdns more secure than BIND9 in the functionality it actually provides? Maybe. But if you want to actually use it, you have to set up
Re: (Score:2)
How many DNS servers lack SSH set up for unattended connections to remote servers, either by using password authentication, passwordless RSA keys, or ssh-agent? Hopefully all of them. Well, except for the ones running djbdns.
Re: (Score:3, Informative)
I was soliciting input from people who know what they are talking about, not from today's lets-bash-x crowd.
I don't like djbdns - I've never tried to hide that - but these are factual, documented problems and not just something I'm inventing to bash on it.
SSH supports binding a key to a command in .ssh/authorized_keys. Also supports IP matching too.
But again, you the sysadmin have to set this up correctly on every machine you touch. If you're configuring BIND9 and TSIG and screw up, then the worst case scenario is that that it's buggy or you screw it up and an attacker can fiddle with your DNS data. If you're configure djbdns + SSH, then the worst case scenario is that sshd or tcpwrappers has a bug
Re: (Score:2)
Yes number of exploits is a flawed metric, i was simply responding to the poster.
I then pointed out that other things mattered too, like what else runs on the dns server box, and how you can mitigate the damage a vulnerability could cause.
Dynamic dns clients are not a good idea, l
Re: (Score:2)
Well sure djbdns is not perfect for all scenarios, i never said it was
Noted and I see what you're saying.
Dynamic dns clients are not a good idea, letting your dhcp clients set arbitrary dns records is a horrible thing to do...
Why? In BIND9 you can write rules like "the client with this TSIG key can change this set of values". Saying that DDNS isn't good if left wide open is like saying that SMTP isn't good because of open relays. When done right, DDNS and SMTP can both be useful. :-)
As for having to use rsync/ssh, is that really necessary?
If you're doing pull-only, then DDNS moves from "maybe not a good idea" to "pretty much impossible". Also, even in the case of an SSL-ized HTTP server (which is a clever idea, BTW), that still means tha
Re: (Score:2)
Of course, djbdns could come with some special scripts to implement well-tested solutions.
Won't happen. djbdns is proprietary and hasn't been updated since 2001-02-11, so the best you can hope for is a generally agreed upon best practice.
The Windows admins I've encountered are hopeless when it comes to DNS (blaming every strange issue they encounter on DNS, for example). Best current practice over here is to never have Active Directory and public DNS interact.
We isolate the two by creating a zone for AD to screw around with. The company has example.com, and AD controls lan.example.com. Nothing "important" is inside that subdomain so if it breaks horribly we can still get work done.
In that case, djbdns would be a good solution. Are you suggesting that we switch to BIND?
No. I am suggesting that you research djbdns's criticisms, though. For starters, it's not F/OSS so expect a fair amount of in
Re: (Score:3, Interesting)
This is a very true statement. As a pretty much clueless when it comes to DNS Windows admin I would never try to host internet facing DNS with Windows DNS. What I d
Re: (Score:2)
In this day and age, a good IT team needs a bunch of competent people. T
Re: (Score:2)
I don't know the guy, don't have anything against him, and wouldn't recognize him if he walked up and bit me. It's just that every time DNS, SMTP, or NTP comes up, a legion of DJB fanbois appears and rants at everyone who doesn't love his software. Maybe DJB is fine; I just can't stand his followers.
DNSSEC is dead, let's move on (Score:5, Informative)
Until registrars figure out how to securely regsister and manage keys, DNSSEC is DoA
Until zone managers start signing zones, DNSSEC won't achieve critical mass
Without critical mass, uneven DNSSEC deployment has no value
Without stub resolver support, DNSSEC is meaningless
Until all the above happen, there is no business case for DNSSEC and TLD owners won't deploy it.
Re: (Score:2, Informative)
Implementation of DNSSEC would essentially make all zone transfers promiscuous. I think that's probably the biggest reason why there's been so much resistance to it.
Re: (Score:2)
Re: (Score:2, Informative)
You can read their motivations here [cr.yp.to] and here [ds9a.nl].
Re: (Score:2)
Re: (Score:2, Interesting)
DNSSEC is a mess and provides little value. (Score:2)
There are few problems DNSSEC solves that SSL/TLS won't do a far better job solving. SSL/TLS deployment is almost universal. With the vast effort we've spent fighting over how to secure a tiny portion of the Internet protocol stack, we could instead have come up with a way to make verifiable SSL certificates free and easily acquired. I wrote about this at length [matasano.com] earlier this year.
Furthermore, DNSSEC is a mess. It has taken over ten years to come up with a protocol that a plurality of operators will agree t
From the local LDAP Finatic (Score:2)
This is a failing of Bind.
Re: (Score:3, Informative)
Re: (Score:2)
Promiscuous zone transfers - just say no (Score:3, Informative)
If you're server is handing out zones to anyone and everyone, you might want to check you're not offering recursion to everyone as well (see allow-recursion {}; ). http://www.oreilly.com/catalog/dns4/chapter/ch11.html [oreilly.com].
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Insightful)
And whatever else there is to say about it, it's still nothing but security by obscurity. Most burgla
Re: (Score:2)
By the way, security through obscurity does work. It just shouldn't be relied on as your only defence. (e.g. changing your SSH port to other than 22/tcp will cut down on the number of people trying to brute-force their way in. I do this *as well as* insisting on
Re: (Score:2)
The 1-6 thing is a red herring... They can still be found with a ping-scan, or similar.
I don't think anybody here was advocating allowing a zone transfer for your internal addresses. That is a bad idea, as the only thing it accomplishes is making it easier for an
Re: (Score:2)
So the obscurity could be usefull, sometimes, a little bit. If your fin-vms1 is not reachable from the outside world in the first place, why does it matter if someone knows about it? And by the time it does matter, e.g.
Re: (Score:3, Insightful)
I say disable it, because a) Cricket Liu says so, and he knows what he's talking about, and b) because it's one of the first things I do when I'm performing a pen-test. There's often a heap of useful (to an attacker) info in there, that can be turned off with two minutes of your time as an admin.
Re: (Score:2)
In the future IPv6 will be more common, and addresses are assigned based on the mac address so sequential IP scanning will become worthless.
But sure your right that kiddies and worms just scan large ipblocks not caring about dns...
Re: (Score:2)
(And not everyone has one contiguous IP block - so the attacker has to find them all to start with.)
Re: (Score:2)
Search for the company name, assuming all the blocks are registered to the same company...
Look at the routes being advertised by your AS number...
Re: (Score:3, Insightful)
And whatever else there is to say about it, it's still nothing but security by obscurity. Most burglars don't know where I live, do you really believe that significantly lowers the risk someone breaks into my house?
Allowing promiscuous zone transfers is more akin to posting the layout of your house on your front door, possibly including which picture the safe is behind. You're right that it doesn't really reduce or increase your chances of being victimized, but if you get chosen by the bad guys, why hand them a map? There's nothing wrong with security through obscurity, as long as its not your only means of defense. In any case, it's not like it's terribly difficult to secure BIND to allow transfers to authorized
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
If an attacker's already inside, I've got bigger concerns.
Re: (Score:2)
Cricket Liu (Score:5, Informative)
What I also like about Cricket Liu (and Paul Albitz) is that they explain the domain name system really well in an understandable way.
Good timing... (Score:2)
Pretty poor redundancy - goes to show you can't even trust the big players to get it right, and probably should run your own nameservers within your domains too, just in case...
Re: (Score:3, Informative)
And they're a free DNS provider that gets huge DDoS attacks.
Re: (Score:2)
And they're a free DNS provider that gets huge DDoS attacks.
How do I know? (Score:3, Interesting)
I would like to run some checks against my domain and see if any of this applies to me. Can anyone recommend sites, utilities or linux commands to test it?
Would have been nice to include this info in the 'article' or even the summary, instead of just saying how un-secure everything is. Again.
Thanks.
MyDNS owns (Score:2)
They solve the recursion problem by not supporting it; it is only for the master.
Re: (Score:2)