Slashdot Mirror


Ten Percent of DNS Servers Still Vulnerable

maotx writes "Even with the uproar caused by the recent DNS attacks, a recent study shows that roughly 10% of 2.5 million DNS servers show that they are still vulnerable to DNS cache poisoning. To put that a little bit more in perspective, of that 10% discovered, 230,000 were identified as potentially vulnerable, 60,000 are very likely to be open to this specific type of attack, and 13,000 have a cache that can definitely be poisoned." From the article: "The use of DNS cache poisoning to steal personal information from people by sending them to spoofed sites is a relatively new threat. Some security companies have called this technique pharming."

41 of 170 comments (clear)

  1. Admins - Take some initiative! by bigwavejas · · Score: 4, Insightful
    Why is it that the Admins can't take it upon themselves to keep their software updated with the latest patches? Instead, it takes an article like this to get them off their asses to take action. It shouldn't be this way.

    This is strikingly similar to the Cisco OS debacle, where a patch had been available for some time, yet Admins failed to patch their hardware on their own. Yes, it's a pain in the ass to take your network down, but look at the alternative...Hacked!

    --
    "Simplify, simplify, simplify!" Thoreau
    1. Re:Admins - Take some initiative! by dthrall · · Score: 2, Insightful

      agreed, with phishing scams, we can blame the users who fall for the scheme... it seems these techniques are undetectable to the end user...

    2. Re:Admins - Take some initiative! by Kainaw · · Score: 4, Interesting

      Why is it that the Admins can't take it upon themselves to keep their software updated with the latest patches?

      You are assuming the fix is a patch. I get vulnerability reports for my servers every week. The issues are never patches because I check for new patches every day. I get vulnerabilities that have no patch of any kind, yet I'm expected to somehow rewrite all of the software on the computer to fix the vulnerability. If I could do that, I wouldn't be working here. I assume that I am in the same position as most admins, I have to wait for the patches to come out and hope nothing bad happens while I'm waiting.

      --
      The previous comment is purposely vague and generalized, but all of the facts are completely true.
    3. Re:Admins - Take some initiative! by Anonymous Coward · · Score: 3, Funny
      Why is it that the Admins can't take it upon themselves to keep their software updated with the latest patches?

      Maybe they are all Microsoft Certified?

    4. Re:Admins - Take some initiative! by cybersaga · · Score: 2, Interesting

      Well, the Admins cannot be blamed entirely in the Cisco case. Cisco was blamed for not pushing the importance of that patch.

      While, in a perfect world, admins should immediately be on top of every new patch, if I noticed a patch that I thought was just a couple of minor bug fixes, it would go on the end of the "whenever I have time" list.

    5. Re:Admins - Take some initiative! by egypt_jimbob · · Score: 3, Insightful

      This is strikingly similar to the Cisco OS debacle,

      No, it isn't. Before the IOS "debacle" it was assumed that remote code execution on IOS was impossible. It's pretty hard to compromise an unpatched system if it's impossible to execute code on it, so admins didn't bother taking down their networks to run the (mostly aesthetic) patches.

      --
      I am a leaf on the wind. Watch how I soar.
    6. Re:Admins - Take some initiative! by Ravatar · · Score: 2, Funny

      You forgot to praise linux, A- for effort though.

    7. Re:Admins - Take some initiative! by WillAffleckUW · · Score: 3, Insightful

      >Why is it that the Admins can't take it upon themselves to keep their software updated with the latest patches?

      You are assuming the fix is a patch. I get vulnerability reports for my servers every week.

      And then there are patches like the last two Oracle patches which - get this - actually made it worse.

      Sometimes it's a good idea to wait for them to patch the patch.

      --
      -- Tigger warning: This post may contain tiggers! --
    8. Re:Admins - Take some initiative! by Bi()hazard · · Score: 4, Informative

      The fix in question here is available. The BIND webpage has a scary warning box on the right with details. Everyone should be upgrading to the new version.

      But it's not surprising that there's still vulnerable servers out there. In fact, I'm surprised the total is so low. Aside from the few admins who just aren't doing their jobs, these kinds of things often run into bureaucracy. In many organizations, upgrades have to be thoroughly tested before release and there's standard schedules for patch cycles. An admin who wants to simply stick a new version of something on the production server may be told to wait until approval comes. That could take a while. And occasionally you'll have some crappy system that doesn't work well with the new software, and they're stuck rolling back until the problem is solved.

      I had a friend who worked at a small ISP that had some serious security issues. The guy who should have been patching things "resigned"-something to do with the smell of pot lingering in his office. Anyways, the position went vacant for a little while and the task fell to the two new interns, my friend and another girl. Coincidentally they were both young women and had no experience relevant to the job, proof of quality hiring practices. To make a long story short, the (not terribly large) customer database got hacked and the company was sued. The owner, who had been heavily in debt already, vanished completely. Naturally the whole thing went down in flames and my friend didn't even get a reference out of it.

      Most of you are probably sitting there thinking this story is too outlandish to be true. Haha, well, this is the internet so you never know what to trust, but you know there's places out there where things just aren't done the way they're supposed to be. It's shocking what goes on, and there will always be vulnerable servers around.

      Getting it down to the numbers in the article this quickly is actually pretty good. The real lesson here is that you need to insulate yourself from the fools who won't take responsibility. Always assume 10% of the internet is out to get you, because they probably are. Hey, I don't even want to think about what 10% of slashdotters would want to do to me.

    9. Re:Admins - Take some initiative! by Burdell · · Score: 4, Insightful

      In the case of the Cisco IOS problems, nobody knew there was a problem
      to be patched. That was the biggest part of the problem: Cisco's
      silence.

      When you run services that must be up 24x7, you don't donwload every new
      IOS release and load it on dozens or hundreds (or more) of devices just
      because there was a new release. IOS often has more new bugs in each
      release than bugs fixed; when you find a release that has the features
      you require and is stable with those features running, you don't touch
      it until you find a bug, require a new feature, or Cisco announces a
      security problem.

      I run a relatively small network, and I'm looking at having to upgrade
      around two dozen devices running IOS in six cities (a number of which
      require visiting an unmanned office because some things can't be
      upgraded remotely) plus another dozen or so devices in our spares
      inventory in two cities. I'm not going to upgrade any operating devices
      until I can test new releases in a test setup. All of that takes a lot
      of time, which means something else has to get pushed back.

    10. Re:Admins - Take some initiative! by Burdell · · Score: 2, Insightful

      I'm not going to pay every month for a POTS line that I use at most once a year to upgrade a remote 2501. You also have to take a 2501 off-line for too long to upgrade (because they run from flash). I'll have to play musical routers; visit one site, put an upgraded spare in place, upgrade the removed router, visit the next site, install, and so on. I might can get away with just rebooting the switches.

      In any case, it isn't a good idea to do a remote upgrade of a critical piece of equipment when, if there's a failure, it'll take a couple of hours to get there.

  2. What? by ucahg · · Score: 5, Funny

    230,000 were identified as potentially vulnerable, 60,000 are very likely to be open to this specific type of attack, and 13,000 have a cache that can definitely be poisoned.

    Okay, let's have it for unclear writing!

    Seriously, what does this even mean? Of the 250,000 that are vulnerable, 230,000 are vulnerable, 60,000 are vulnerable, and 13,000 are vulnerable.

    Okay, that clears it up.

  3. Not Suprising by cmdrTacyo · · Score: 2, Interesting

    This is not suprising at all especially considering the history of DNS and it's mainframe components. They will always be vunerable, especially for people who do not have the proper PPS setup. I wouldn't be suprised if it's more then 10%.

    It's tacyo YO!

  4. bad math by rwven · · Score: 3, Insightful

    with almost all of the potentially vulnerable ones they only said really that 73k of them were vulnerable to something... and only 10k of those "definately" were.... 73k = 2.92% The onlther 230k might not have been vulnerable at all, they just think there's a chance that they might be. This, ladies and gents, is called sensationalism...

  5. DJBDNS -- rocks by www.sorehands.com · · Score: 3, Informative
    I have been using the DJBDNS with the DJBDNS rocksinstallation under FC2. This makes it very easy to install and manage.

    The same person also does Qmail Rocks. Of course djbdns and qmail is much more secure than bind and sendmail.

    1. Re:DJBDNS -- rocks by winkydink · · Score: 2, Insightful

      Too bad its author is so off-putting as to drive poeple away from both in droves.

      --

      "I'd rather be a lightning rod than a seismometer." -Ken Kesey

    2. Re:DJBDNS -- rocks by Feyr · · Score: 2, Informative

      as i said many times when i installed djbdns a few months ago. djbdns is crap, but it's the best crap available

      as for being more secure... it doesn't have nearly the same complexity and features as say, bind.

    3. Re:DJBDNS -- rocks by geniusj · · Score: 2, Informative

      I use djbdns for the dynamic DNS/DNS hosting provider mentioned in my sig. It's worked out amazingly well, and it's been deployed that way for a few years now. There's a few reasons I really like it:

      1) The rsync method of replication is very well suited for keeping multiple DNS servers synced with the exact same records.

      2) I never have to worry about it or touch it

      3) The CPU and memory usage are much lower than when I was doing this with BIND. In fact, it's pretty much negligible with a few hundred queries per second.

    4. Re:DJBDNS -- rocks by arivanov · · Score: 3, Insightful

      Correct.

      Apples and oranges.

      There are places where you would have to use BIND and places where you can get away with a partial implementation. If an ISP is using DJB-DNS I would recommend to stay away from it. There is a number of neat tricks in the bind cache expiration algorithm (from late 8 and early 9 onwards) which DJB has blamed unnecessary (see the BUGTRAQ archives for the discussion). While they are not necessary they are essential to ensure that operational mistakes have a limited life. That does not happen with DJB implementation as well as some other ones. So if you screw up your TTL or serial no on the zone files - this is it. Same for poisoned entries.

      Further to this. DNS is the most easily upgradeable service. Clients fallback automatically and a few seconds of downtime are in the "who cares" area. In fact every ISP out there has scheduled daily mandatory reloads which update configs. Do users notice - nope.

      Even further to that, there are methods to make any number of dns servers answer the same address and because DNS is stateless this can be done without any clustering crap. ISC which writes bind have done this for 7+ years. Most global telcos and ISPs do it as well.

      And, in order for DNS poisoning attacks to be effective name servers usually need to have both recursion turned on and return authoritative answers. Doing this on an internet facing server is an idiocy. If your ISP does that and serves authoritative requests from the same server which is used for name resolution in clients - RUN. They have NO CLUE WHATSOEVER. If they use clustering for resilience - run even faster.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    5. Re:DJBDNS -- rocks by demon · · Score: 2, Interesting

      If you think that DJBDNS is as good as it gets, you really need to check out http://www.powerdns.com/. We switched to it at work (I pushed it, really), and I wrote a nice custom web-based frontend so our customers can manage their DNS domains independently - they can even create new ones as necessary. It's taken DNS out of the "necessary evil" realm, and brought it into a realm of being a "useful service". I recommend it heartily.

      (No, I'm not a developer or otherwise affiliated with the project - just a very satisfied user.)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  6. Phor God's sakes! by Zab+UvWxy · · Score: 5, Funny

    Some security companies have called this technique pharming.

    Phor phuck's sakes! I've had enough of this phreaking 733T-speak from the phucking security compaines! It was original with phreaking; it was mildly amusing with phishing; now it's just annoying.

    Why not just leave the terminology as "DNS cache poisoning" and be done with it?
    [/rant]

    --
    "I don't get it." -- ObviousGuy
    1. Re:Phor God's sakes! by TheSneak · · Score: 5, Funny

      -Pharming!? Who the hell makes up these names anyways?

      -He's new sir. Guy by the name of "Daffy duck".

      -You realize of course, that this means war...

      --
      Nasa spent billions making a pen capable of writing in space. The Russians just use a pencil.
    2. Re:Phor God's sakes! by DigitalReverend · · Score: 3, Funny

      Who knows, down the road, there may be some graphics bug out there where hackers can put a picture or some other art right on your screen. They will probalby call it pharting

      --
      I read Slashdot for the headlines, because the headlines, unlike the articles, are usually original and never duplicated
  7. How can I check my own DNS configuration for this? by Anonymous Coward · · Score: 4, Insightful

    ...or for any other DNS exploits, for that matter?

    Any good tools to (or sites to help) check for those?

  8. New term! by springbox · · Score: 3, Funny
    "Some security companies have called this technique pharming."

    A lot of these new vulnerabilities have the "phat" theme as dictated by the industry's leading security researcher/rapper Prompt Master Chizzy. Expect an RFC soon on the new naming convention.

    1. Re:New term! by witch · · Score: 3, Funny

      Shouldn't we expect a Request Phor Comments instead?

      --
      They're taking their dog to get its two shots before it's too late. You're taking your dog there too, right?
  9. Executive board meeting... by Epistax · · Score: 3, Funny

    Exec 1: We at our company want a an attack name with attitude. It's edgy, it's "in your face." You've heard the expression "as easy as stealing from a baby"? Well this is an attack which makes it "eezzay!". Consistently and thoroughly.

    CEO: So it's speculative, huh?

    Exec 1: Oh, God, yes. We're talking about a totally outrageous paradigm.

    Exec 2: Execuse me, but "speculative" and "paradigm"? Aren't these just buzzwords that dumb people use to sound important? [backpedaling] Not that I'm accusing you of anything like that. [pause] I'm fired, aren't I?

    CEO: Oh, yes.
    CEO: The rest of you start thinking up a name for this funky attack. I dunno, something along the line of say... farming, only more dangerous and 1337.

    Exec 1: So, Pharming okay with everybody?

    All: [reclining in their chairs] Yeah...

  10. In the Admins' Defense by sarlos · · Score: 2, Informative

    Someone's gotta speak up for the poor admins. Not all of them really are morons for not patching. There are cases where the patch breaks more than it fixes. In these cases, it's often more economical to just leave the vulnerability there (hey, at least you know about it) than to try to patch it. SQL Slammer caused some serious problems with IIS because the 'patch' for the bug it exploited was part of a large update that required a lot of man-hours to clean up after. Of course, there are plenty of moron admins out there too, I wouldn't want them to feel overlooked... >.>

    --
    Government's view of the economy: If it moves, tax it. If it keeps moving,regulate it. If it stops moving, subsidize it.
  11. Prior art by jfengel · · Score: 3, Informative

    Especially since the pharmaceutical companies have a much better (and prior) claim to the name for using organisms to produce medicines.

  12. What about DNS Cache Snooping? by kossak · · Score: 4, Interesting

    DNS Cache Spoofing is not the only nasty trick available to DNS hackers; There is a (still) relatively unknown vulnerability afecting the vast majority of nameservers today, and one that is not easily resolved by patches alone.

    Check out my paper about this, its called DNS Cache Snooping, and allows for a bunch of interesting tricks. It afects most of DNS Server/Cache combination implementations and is triggered by an extremely common misconfiguration, one that allows for the whole of the internet to use a given DNS server as their primary DNS server.

    Luis Grangeia

  13. Email redirection by Deanalator · · Score: 4, Interesting

    DNS cache poisoning doesnt stop at tricking people out of their money. At defcon Kaminsky also showed how it can easily be used to do things like email misdirection, which I think is much more of a big deal.

  14. Can I get a list? by PhraudulentOne · · Score: 4, Funny

    Can I get a list of these vulnerable servers so I can.. umm... see if I'm on it and patch my systems? Yeah.. that's it.

    --
    You create your own reality - Leave mine to me.
  15. Re:How can I check my own DNS configuration for th by Malor · · Score: 5, Interesting

    I'm confused about this one too. This is what I THINK is going on with this exploit. Hopefully, someone who ACTUALLY knows will correct my mistakes. :)

    One of the possible ways to set up a DNS server is as a 'forwarder'. This means that it doesn't do lookups itself, but rather passes all DNS requests to another machine, gets replies, and then sends replies to the clients. One reason you might do this would be to distribute DNS load in a big ISP; you have a few machines that do the actual outbound DNS determination, and then the cache ripples back to the servers that are actually talking directly to the clients. DNS is fairly low-load, relatively speaking... this architecture would date from when everyone was deploying 50Mhz machines as servers. I'll call the local BINDs 'caching' servers, and the one doing the actual lookups on the internet the 'point' server.

    So in and of itself, this architecture isn't a problem. But one of the features of the DNS protocol is that any server can send back more data than what was actually asked for, even data that is totally unrelated to the main query. Caching BIND servers by default trust their point server. And, when functioning as a point forwarder, BIND4 and BIND8 apparently just pass along queries they receive without checking them. The point BIND assumes that the caching BINDs are checking, while the caching BINDs assume the point BIND is checking, and the packet never gets checked for sanity at all.

    So Joe Hacker snoops around... he tries to find DNS servers on your network. Once he finds one, he queries it for a name in a domain he controls. (or he initiates a connection to a webserver on the same machine, which may cause the same DNS lookup). He watches for the request to his DNS server coming from a DIFFERENT machine. That often indicates a forwarder configuration.

    So he waits for his cached info to expire, and does it again... except this time, his reply packet includes extra information, "Oh, by the way, www.microsoft.com is on joes.evil.server.here." If BIND4 or BIND8 is the functioning as the master lookup in a forward configuration, it just passes along the packets it receives. And when BIND is in a SLAVE configuration, it just trusts what it gets from the forwarder. So suddenly, your whole network is connecting to joes.evil.server.here instead of www.microsoft.com. And if it doesn't work, oh well, next DNS server... this is a very low-profile attack. You have to really be LOOKING for it to be able to see it.

    Apparently, the workarounds are A) don't use a forwarder configuration. There's no real need for this anymore, even a cheap 1ghz machine with a gig or so of ram will serve tens of thousands of clients. B) if you MUST use a forwarder, use BIND9 (or, presumably, DJBDNS) as your 'point' machine. BIND9 does sanity checking when it's on point.

    Hopefully I got this right. I haven't been paying much attention to this before, because I (rightly) didn't think it affected me. If I'm wrong, PLEASE correct me, I hate to spread misinformation.

  16. Hardly New by DynaSoar · · Score: 2, Interesting

    We were fighting people doing this 10 years ago. Some of the second-gen (meaning they used at least some technology rather than outright and direct use as is) usenet spammers and flooders and email spammers were doing it. The new uses to which this is being put are news, but DNS poisoning is not. IIRC, the icq.net servers were so compromised after having been bought out by AOL and put to new use.

    I'm betting there's still a problem with admins that don't want it fixed, because they have given permission, or worse, for their servers to be used thus with some plausible deniability. Arranging this was the origin of the second-gen spammers.

    --
    "I may be synthetic, but I'm not stupid." -- Bishop 341-B
  17. Re:Simple solution... by Blkdeath · · Score: 2, Interesting
    Run your own DNS server.

    Sure. But if you use forwarders who run BIND4/BIND8 you've still got the same problem. If you're connecting directly to the root servers you're contributing to their unneccesary overload and bypassing the heirarchal nature of the DNS system.

    --
    BD Phone Home!

    Shameless plug. Like you weren't expecting it.

  18. More info from the researcher's web site by kylog · · Score: 2, Informative

    The news.com article is short on specifics about what the thousands of servers are actually doing, but there's better info at Dan Kaminsky's site: http://www.doxpara.com/

    This powerpoint presentation has some details: http://www.doxpara.com/Black_Ops_Of_TCPIP_2005.ppt

  19. wait!! by tdubya · · Score: 2, Insightful

    Why isn't this said when a microsoft issue comes about, and there has been a patch for some time... it's always bad microsoft!!!

    Now that's it's Bind, it's the admin's fault?

    --
    I read /.! I like seeing how misinformed, short sighted, and downright stupid some people are.
  20. OT: Your Sig by sconeu · · Score: 2, Informative

    Your sig is an urban legend. See snopes for details.

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  21. The internet license by erroneus · · Score: 4, Interesting

    I think there should be an internet user license program. I know it smells like some way of identifying people and all that, but it doesn't have to be any more than a driver's license does at present.

    I'm thinking of something along the lines of a radio operator's license with different levels and qualifications and all that. Then people who are said to be administrators of web hosts and stuff like that would be required to posess a certain level of knowledge (and potentially a certain level of pay?) and ability. If it is shown that they do not demonstrate the proficiency required for some reason, then their license should be revoked or downgraded.

    Furthermore, certain levels of internet "safety" and "security" ratings should be given to all software, firmware and hardware products that run on the public internet. The consumers can be better aware of the quality of the products they use on the internet. (Examples might include a rating for MSIE having a lower security rating than Firefox because of that whole ActiveX thing... or a Linksys firewall/router giving the users behind it a certain rating of security over a Windows box connected directly to the public internet.)

    Not only would we be able to leverage these sorts of licenses and ratings to have a better and safer internet, but we would be able to have a more conscious set of consumers who just might be able to look at the label to determine that product A is better than product B. They will no longer need to get an education in how the internet works just to get their home computers on the net... and we'll be less likely to deal with all those spambots and zombies out there as well.

  22. Who owes anything to you? by PhYrE2k2 · · Score: 2, Insightful

    I love people who think DJB owes them something because he wrote some code. If you read some of his papers, he sure does have a big ego, but if you take a look at the papers and software he produces, it's pretty darn flawless. If you could produce unbelievably fast and secure code as quick as him, you too could get cocky.

    That's what admins/geeks are. Think of the classic 'Hackers' movie, and the big admin with the password of 'God'. Admins love thier l33t Perl, C, TCL, Shell scripts because they do everything they need. We have contests as to who can make code that does something in the fewest number of lines (many references on Slashdot) and who can make the code decievingly complex (again many references).

    DJB made something that fits with his views. He made it available to the public and people liked it so much they started to use it. The best part about DJBs stuff is that it does it's job and does it well.

    I hear the big anti-qmail and anti-djbdns debate all the time about people who want tons of features in there. All of the features you can want are in patches, and patch collections that you can safely add. DJB has a mail system that does what he wants, and does it securely. He's not willing to accept patches into the mail distro because it taints its quality. That's his choice.

    He wrote the code, he puts it up there. If you like it, use it. If you don't, avoid it. If you want features, make a patch for yourself or for others.

    He's a smart guy who produced some damn good software that has a following for good reason. He doesn't want patched binary distributions floating around, as security issues in those reflect negatively on his word. As well, it keeps those who don't take the time to learn the basics of administration from operating misconfigured qmail installations. All good reason- I'd agree with most of it.

    -M

    --

    when you see the word 'Linux', drink!
  23. one small detail about the attack by 3l1za · · Score: 3, Informative
    So he waits for his cached info to expire, and does it again... except this time, his reply packet includes extra information, "Oh, by the way, www.microsoft.com is on joes.evil.server.here."

    What the badguy actually does is:
    • gets queried for www.badguy.com by target.com
    • delegates authority for HIS nameservers to ns.yahoo.com, for example; so he says:
      • www.badguy.com NS ns1.yahoo.com
      • www.badguy.com NS ns2.yahoo.com
      • ...
    • ALSO includes fake mappings of the form:
      • ns1.yahoo.com A 1.2.3.4
      • ns2.yahoo.com A 1.2.3.4
      • ...
    • so target.com contacts "ns1.yahoo.com" at 1.2.3.4 and asks to resolve "www.badguy.com"
    • since ns1.yahoo.com is *actually* a name server under bad guy's control (bad guy controls 1.2.3.4), ns1.yahoo.com returns how to get to www.badguy.com
    • then in future queries for www.yahoo.com, the name server will ask 1.2.3.4 for the IP for www.yahoo.com and send that reply to the requestor
    Much better explained here

    As DJB says, the "work around" is not to accept authoritative mappings (e.g. ns1.yahoo.com A 1.2.3.4) from anyone but yahoo.com.