Slashdot Mirror


Network Attacks Via DNS

Iphtashu Fitz writes "Without DNS the internet wouldn't be all that useful. Despite being a ubiquitous part of the internet it is overlooked by many as a potential security hole. At this weekends Defcon 12 conference in Las Vegas, security researcher Dan Kaminsky warned that DNS can open up seemingly secure networks to attack. Because most firewalls and other security devices treat DNS requests as harmless it provides an excellent conduit for transferring covert data in and out of otherwise protected systems. At Defcon, Kaminsky demonstrated some software that allows a server to act as a communications hub using DNS. This let him transmit instant messages and even audio streams over an encrypted connection carried by spoofed DNS requests."

"Because the data looked like typical DNS traffic it wouldn't be detected or logged by firewalls or intrusion detection systems. He also pointed out that monitoring DNS could help in other unrelated ways: because the recent MSBlast worm did lookups on windowsupdate.com infected machines could have been detected by simply monitoring DNS server logs."

147 comments

  1. TCP or UDP by rf0 · · Score: 2, Interesting

    I have to wonder what protocol they used as DNS does allow for both UDP and TCP (TCP when the messages is over 512 bytes IIRC)

    Rus

    1. Re:TCP or UDP by Anonymous Coward · · Score: 5, Informative

      An interesting property of DNS is that there are servers all over the net which will happily relay your message. Even if your only connection to the net is through application level proxies, you probably have a local DNS resolver. That's all you need. No packet has to traverse the firewall directly.

      They may have used spoofed DNS packets just to bypass a firewall, but information can also be tunneled in real DNS packets, so even if you only allow DNS to/from certain servers, you're still not safe from this leak.

    2. Re:TCP or UDP by digitalhermit · · Score: 5, Interesting


      They may have used spoofed DNS packets just to bypass a firewall, but information can also be tunneled in real DNS packets, so even if you only allow DNS to/from certain servers, you're still not safe from this leak.

      Yup, and that's not the half of it. With the extensions being duct-taped onto the existing spec it makes it easier and easier to do this. I've seen some hacks to allow all sorts of arbitrary information to live on the servers, some relayed automatically because of the extensions, some used to modify how mail servers respond, some even for routing. It's nothing new (remember transferring data via ICMP ECHO?) but it's on a new level now.

      KL

    3. Re:TCP or UDP by AndroidCat · · Score: 1

      I cringe when someone proposes bolting their latest P2P or broadcast hack to DNS every week. Willy-nilly adding extensions to working protocols is almost always a bad idea. It's like giving Murphy a free kick.

      --
      One line blog. I hear that they're called Twitters now.
    4. Re:TCP or UDP by Effugas · · Score: 1

      I'm sticking to 512byte DNS for now, as the goal is to show proxied connectivity (i.e. evading mere filters is too simple).

  2. Re:Old news by Anonymous Coward · · Score: 0
    What...you go to all that trouble and don't even say FP?

    Who the hell are you, you masked AC?!

  3. Old news by fred87 · · Score: 5, Informative

    nessus has been pointing this out as a security hole in it's scan results for at least 3 months now...

  4. This is supposed to be 'news'? by fw3 · · Score: 4, Informative

    Layering services over dns has been a discussed topic in books / seminars for at least a decade already.

    --
    Linux is Linux, if One need clarify their dist: <Dist>/GNU Linux
    bsds are of course just BSD
  5. Repeated by lachlan76 · · Score: 1

    This story seems quite similar to a previous one about using DNS for communications, from LayerOne. Incredibly stupid to use for mainstream communications, but perfect for hackers, with low data requirements, anyway.

    1. Re:Repeated by hesaigo999ca · · Score: 1

      or for terrorists trying to avoid carnivore!!!

  6. So does this mean by foidulus · · Score: 3, Funny

    That is should change my bookmark to http://66.35.250.150 now?

  7. In other news... by Zorilla · · Score: 3, Funny

    ...Microsoft plans to release a security update to Windows XP which will secure the DNS hack. For all future internet usage, please enter in http://216.239.57.99. It's not a bug, it's a feature.

    --

    It would be cool if it didn't suck.
  8. 90% of the internet is valnerable ... by after · · Score: 4, Interesting

    to somthing called DNS poison. Why? Because system administrators are anal and fail to realize that software like BIND is not written to be secure. Hell, DNS was not even designed for such a large internet. The original DNS implementors were bad programmers and designers.

    BIND9... don't get your hopes up. The BIND company sells paches for their software. Meaning that if you don't pay them money then you're going to be running an errornouse DNS server.

    Still most people use BIND for two reasons: no one wants to learn the crusty details of DNS and 2) Linux comes with BIND as it's default name library.

    Alternative like djbdns should be used.

    1. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 3, Interesting

      ufortunately, djbdns is not open-source. Until a true open source alternative to BIND appears, we're stuck with it.

    2. Re:90% of the internet is valnerable ... by after · · Score: 0, Troll

      It's covered with a shiny $500 security guarantee. That's better then the nothingness BIND offers me...

      BIND is open source, but that doesn't make it safe and secure. it's probobly more insecure just because of that.

    3. Re:90% of the internet is valnerable ... by Tony+Hoyle · · Score: 2, Informative

      Bind9 isn't vulnerable to that. Heck, I doubt even bind8 was.. sounds like a pretty lame attack.

    4. Re:90% of the internet is valnerable ... by shepd · · Score: 4, Informative

      >ufortunately, djbdns is not open-source.

      Incorrect, it is open source.

      It isn't GPL.

      There's a big difference.

      >Until a true open source alternative to BIND appears, we're stuck with it.

      By "true alternative" do you mean it has to be GPLable?

      Get real. djbdns' source is 100% available for you to look at and patch to your hearts content. If you find an error, send a fix to DJB and he'll add it after review. He'll even give you $500 as a reward for your hard work. Find me a GPL program that makes an offer like that.

      Now, if he doesn't like your patch, you can post the patch on the internet. You can even put it alongside the source. You can even make an autopatch program that will patch djbdns during make so that dumb users can handle the process

      For the disbelievers, here's the source code.

      Here's bernstein's statement about the freedom of his software. Feel free to print it out and sign it if you're insane on the idea he can revoke your license.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    5. Re:90% of the internet is valnerable ... by Dionysus · · Score: 2, Interesting

      Bind9 isn't vulnerable to that. Heck, I doubt even bind8 was.

      That't not what this securityfocus article says.

      --
      Je ne parle pas francais.
    6. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 2, Informative

      That's what people call "shared source". Open Source requires that you can distribute modifications of the source. Bernstein doesn't allow that, so consequentially djbdns is not Open Source. This may or may not make it less valuable to you, but don't lie about the facts to lure others into misevaluating the situation.

    7. Re:90% of the internet is valnerable ... by Korth · · Score: 2, Insightful

      Take a look at PowerDNS
      http://www.powerdns.com/products/powerdn s/

    8. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 3, Informative

      No doubt you'll be on +5 informative soon for this 15 year old information.

      BIND hasn't been vulnerable to DNS Poisoning since about version 4.8 unless you set it up allowing external updates from 0.0.0.0 (have to be specified as they're not allowed by default).

      And djbdns is about as useful as a condom machine in the vatican for anyone needing more than a dns cache for a LAN.

    9. Re:90% of the internet is valnerable ... by johnnyb · · Score: 3, Insightful

      "Now, if he doesn't like your patch, you can post the patch on the internet. You can even put it alongside the source. You can even make an autopatch program that will patch djbdns during make so that dumb users can handle the process"

      Can you make binaries of your new program and distribute them? If not, I can't see how you call this open-source. It cuts off all of the distributors from carrying patched versions that work with their own distribution, instead of whatever way that djb wants.

    10. Re:90% of the internet is valnerable ... by Tony+Hoyle · · Score: 1

      "You can upgrade BIND to the latest version in the 9.x series, which is not vulnerable to this attack."

      Yes it does...

      Note that was in January *2003*. Any admin not running a server patched against this should be shot (or given an MCSE).

    11. Re:90% of the internet is valnerable ... by Zeinfeld · · Score: 1
      >ufortunately, djbdns is not open-source.
      Incorrect, it is open source. It isn't GPL. There's a big difference.

      The point being made is that djbdns is not open in some pretty important ways, like allowing other people to extend it for example.

      Bernstein is a total control freak, he demands that people install and use his code in very specific ways...

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    12. Re:90% of the internet is valnerable ... by sholden · · Score: 1

      Except of course that you said "bind8", which clearly isn't such a version.

    13. Re:90% of the internet is valnerable ... by idiotnot · · Score: 1

      Incorrect, it is open source. It isn't GPL. There's a big difference.

      Yes, but the trolls have redubbed anything to which you can read the code "Open Source." It confuses the argument, but it makes PHB's feel better about using software not developed by a money-grubbing company (the kind they were taught to like while they were earning their MBAs).

      DJB's software is Open Source. It is free-as-in-beer, not free-as-in-speech, perhaps. That said, just because something is Free Software does not make it superior, or secure. Freshmeat is kind of a misnomer -- there are lots of maggot-infested GPL'd programs out there. DJBDNS I don't use, mainly because I don't like it. But judging by the security record of qmail, and the attention he pays to his coding (although some of it, while increasing security, is just plain wrong....i.e. tcpserver's command-line resource limits), DJBDNS is probably very secure.

      BIND's record is as bad as Sendmail's. MS's DNS, itself, isn't bad, but Win2xxx is. You can do some things to make BIND more secure like chroot and BSD jails, but it's still not totally fool-proof. The article has some suggestions as to how you'd make the network more secure here, and they don't look very difficult. I will be writing rules for just this when I go to work later.

    14. Re:90% of the internet is valnerable ... by asdfghjklqwertyuiop · · Score: 1

      Incorrect, it is open source.


      Incorrect, it is not open source. You cannot distribute modified versions. And 'modified versions' in his case means so much as having the binaries installed in a different location than they would be by building and installing his source distribution... among other things. You can only redistribute a djbdns package if the effects of installing your package on a system are exactly the same as the effects of installing his official source distribution.

      Because of it not being open source is why no OS distributions (Linux or otherwise) contain his software. The most you'll see in a distro is a little stub script which will fetch the official djbdns distribution, apply any patches and build & install for you.

    15. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0

      Grandparent said: "Heck, I doubt even Bind8 was..."

      Except that Bind8 wasn't at all central to his comment. He talked definitely only about Bind9, and he was quite 100% correct about it. See? :)

    16. Re:90% of the internet is valnerable ... by RPoet · · Score: 1

      Thanks for posting that so I wouldn't have to :) It's sad to see that many people seem to think availability of source code equals Open Source, when the term is clearly defined by the Open Source Initiative. If we tolerate this, Microsoft will have an easy going convincing people that Open Source doesn't matter since they have "Shared Source" already. You have the source, right?

      --
      "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
    17. Re:90% of the internet is valnerable ... by Dwonis · · Score: 1
      Incorrect, it is open source. It isn't GPL. There's a big difference.

      Yes, there is a big difference, and djbdns is not Open Source. It violates points #3 and #4 of the Open Source Definition. (It also doesn't comply with the DFSG which is why Debian has it in non-free.)

      I quote:

      3. Derived Works

      The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.

      4. Integrity of The Author's Source Code

      The license may restrict source-code from being distributed in modified form only if the license allows the distribution of "patch files" with the source code for the purpose of modifying the program at build time. The license must explicitly permit distribution of software built from modified source code. The license may require derived works to carry a different name or version number from the original software.

      In any case, given the choice between running djbdns and running an ugly beast of a DNS server, BIND, I chose to run djbdns.

      I'm not worried about getting locked-in to djbdns, since I could probably write a complete replacement for it in about a week if I needed to (in Python, or about 2 weeks if I did it in C). I've already written a tinydns replacement, and most of an axfrdns replacement (there is one bug in my axfrdns-replacement that I have to track down). I wrote both of those in a day (in Python).

    18. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0

      It's sad to see that many people seem to think availability of source code equals Open Source

      That's because "open source" was part of the language before the OSI invented a Free Software-ish definition for it. The word "open" has a long history in the industry, but had never implied the right to modify.

      Open Source is not a trademark, even though it gets used like one.

    19. Re:90% of the internet is valnerable ... by after · · Score: 1

      You're right!

    20. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0

      WTF is "errornouse"?

    21. Re:90% of the internet is valnerable ... by quelrods · · Score: 1

      stop spreading fud. They do sell support contracts. The patches are freely available. In fact check out their security matrix. It lists all the known problems, versions effected, and suggests a patch or upgrade to get.

      --
      :(){ :|:&};:
    22. Re:90% of the internet is valnerable ... by Flower · · Score: 1

      And this has to do with what exactly? Others have ripped your issues with BIND to shreds so I don't need to comment on it. However, nothing in the article discusses BIND and afaik Mr. Kaminsky's hack is going to work with *any* DNS server. If his claims are right and the packet is crafted to look kosher than any DNS server is going to forward it. Even your precious djbdns.

      --
      I don't want knowledge. I want certainty. - Law, David Bowie
    23. Re:90% of the internet is valnerable ... by strobert · · Score: 1

      the parent post that started this all was quick frankly trolling. bind9 was a complete rewrite from the ground up. I don't recall the last time I had an exploit in bind9. I have had multiple openssl and openssh vulnerabilities in the past year however.

      So as I have told many people, every network app is going to have its issues. Some have more than others, but with proper patch management (and despite the original posters claim, you don't have to pay for BIND patches) you can keep your network secure.

      And Bind is at least standards compliant. djbdns is not. it doesn't meet all RFC requirements (at least it didn't a year or so ago when I last looked -- due to functionality, support, compatibility and license issues haven't looked at DJB software since). yes zone transfers and the like are more code, but they are standard. And means you can actually interoperate with other providers. This may not seem like a big deal to a lot of folks that only run personal DNS with a few zones, but being able to have zone transfers with other parties/businesses is a big plus.

    24. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0

      Unless you use Gentoo, which can patch when you emerge!

    25. Re:90% of the internet is valnerable ... by mcrbids · · Score: 1

      Get real. djbdns' source is 100% available for you to look at and patch to your hearts content. If you find an error, send a fix to DJB and he'll add it after review.

      "Available Source" !== "Free Software".

      You can't redistribute changed, patched DJBDNS. You can't fork it if you figure something requires a fundamental change in design philosophy. You cannot distribute binaries. DJB release a new version every millenium or so - so when you set up Qmail or DJBDNS, you spend a week applying patches and testing them just to get things like Qmail-ldap to work.

      You'll never, ever find a pre-made RPM for DJB-DNS. Thus, things like "yum update" can cause all sorts of grief, and will certainly NEVER result in an updated QMail!

      Where in ANY of this did you get the idea that just because you can download DJB sources, that it's "Open" or "Free"?

      If you were SERIOUS about "Open Source", perhaps you should read a bit on what it actually means?

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    26. Re:90% of the internet is valnerable ... by Shadowlore · · Score: 1

      You can even make an autopatch program that will patch djbdns during make so that dumb users can handle the process

      Assuming that people have compilers, make, etc. on their production servers ... but you did say "dumb users". ;)

      --
      My Suburban burns less gasoline than your Prius.
    27. Re:90% of the internet is valnerable ... by sholden · · Score: 1

      I interpreted the reply as being to the bind8 portion of the post. As would anyone who had heard of the vulnerability being pointed out (and as would those who hadn't heard of it but read the linked page).

    28. Re:90% of the internet is valnerable ... by DMUTPeregrine · · Score: 1

      EXCEPT Gentoo. Or any other source based distro.

      --
      Not a sentence!
    29. Re:90% of the internet is valnerable ... by shepd · · Score: 1

      >Can you make binaries of your new program and distribute them? If not, I can't see how you call this open-source.

      Let's dissect what you just said and turn it into english words.

      Can you make a car out of it? If not, I can't see how it's an airplane.

      A binary is not source, unless the software was built using machine language. This project wasn't. Therefore, the entire idea of suggesting that limiting the distribution of binaries somehow impacts the freeness of the source is a red herring and makes zero sense.

      You would be correct in saying this project is closed-binary. The difference is huge.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    30. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0

      The source code to djbdns is open, and therefore it is accurately described as being open source. OSI, or esr, or Perens, or whoever may not like this, and they may be able to come around and rap your knuckles if you say it, but they still can't prevent it from being true.

    31. Re:90% of the internet is valnerable ... by johnnyb · · Score: 1

      "You would be correct in saying this project is closed-binary. The difference is huge."

      Open-source typically means the ability to redistribute modified binaries. Even if it doesn't (which, if you read the open-source definition, it does), the usefulness which most people attribute to open-source is lost. If you can't recombine modified binaries into a distribution of software, how "open" is it?

      The open-source definition says that the software must be (a) redistributable in both source and binary forms, and that (b) the same terms have to apply to derivatives that apply to the original.

    32. Re:90% of the internet is valnerable ... by Anonymous Coward · · Score: 0
      yes zone transfers and the like are more code, but they are standard.
      You can also do them using djbdns.
  9. Re:Old news by fred87 · · Score: 3, Informative

    Here's a link:

    http://cgi.nessus.org/plugins/dump.php3?id=11580

  10. helpful by Scythr0x0rs · · Score: 5, Funny

    some good people could break into the nameservers of a large ISP such as AOL and send out spoofed NS records for update.windowsupdate.com or whatever it is and deploy linux to all windows users.

    Warning: this update may require a reboot.

    1. Re:helpful by Anonymous Coward · · Score: 0

      +3, Interesting my ass. Who are you to tell what OS people should run? Do that and wait for the feds to knock on your door. What's needed is ISPs that actually want to spend some $$$ and time educating the users. Vigilantism won't fix that. What would think if some BSD user decided to replace your Linux install with a *BSD?

      Murk

    2. Re:helpful by Scythr0x0rs · · Score: 1

      if you are an Anonymous Coward, why did you put your name at the end of your message?

    3. Re:helpful by Anonymous Coward · · Score: 0

      Here's a nickle kid, go buy yourself a sense of humor.
      And yes, a humorous post can indeed make an interesting, insightful, or informative point at the same time. That's often the best sort of humor.

  11. Re:Old news by Anonymous Coward · · Score: 0

    I'm wondering if "first post" would have been more on topic than (correctly) identifying DNS tunnels as old news.

  12. This is why.... by Cylix · · Score: 2, Insightful

    I've set control lists for DNS for a long long time.

    After the IP over DNS tunnel came out... it was actually a bit necessary. Our staff would do anything to get out of doing work...

    --
    "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    1. Re:This is why.... by Zaiff+Urgulbunger · · Score: 1

      I've set control lists for DNS for a long long time.

      Could you explain in laymans terms what this is/how it works?

  13. Suspicious? by timgoh0 · · Score: 3, Insightful

    Wouldn't large amounts of DNS traffic look suspicious? Especially if they originated from one machine.

    1. Re:Suspicious? by Anonymous Coward · · Score: 2, Interesting

      I don't think so. I would assume a normal user browsing the net (especially sites with lots of ads) and sending 4-5 emails (without using a relaying proxy) generates quite a bit of DNS traffic.

      I think it may be worth the firewall's while to check if the DNS packets are in the right format - for example if the domain name in the request is ghjj!!&^ then one should frown ! I don't what kind of load this would mean for the firewall, though.

      (I type this even as I recover from the nausea, vomitting and sickness caused by the new colour scheme).

    2. Re:Suspicious? by Anonymous Coward · · Score: 0

      Wouldn't large amounts of DNS traffic look suspicious? Especially if they originated from one machine.

      Not if that server was running weblog analysis software or a resolver for log analysis software.

    3. Re:Suspicious? by Anonymous Coward · · Score: 0

      Most places that I've seen where there's a firewall don't bother logging DNS requests, so unless they have a switch on promiscuous mode (or use hubs), and monitor traffic, I doubt anyone would know.

    4. Re:Suspicious? by edbarrett · · Score: 0, Offtopic
      I type this even as I recover from the nausea, vomitting and sickness caused by the new colour scheme

      The people who keep complaining about this should go to http://slashdot.org/users.pl?op=edithome and check the "Light" settings box. You'll end up with black text on a white background, and the only usage of the color scheme you'll see is the preferences block between the story and the comments.

    5. Re:Suspicious? by Anonymous Coward · · Score: 1, Informative

      I think it may be worth the firewall's while to check if the DNS packets are in the right format - for example if the domain name in the request is ghjj!!&^ then one should frown ! I don't what kind of load this would mean for the firewall, though

      Well the problem with that is you just mearly create an 'arms race' as it were. The format of the data could be ANYTHING. It could even look legit. For example Blah.blah.BLAH.somwhere.com could be an encode for some data. You can encode quite a bit of data into a request.

      Even if you speed limit things you still are open to attack. As maybe I need to send 10k of data out I could 'dribble' the data over a couple of days. Would you even notice it then?

      This is basic information hiding at its best. You will always be chasing it.

    6. Re:Suspicious? by NuclearDog · · Score: 0

      Or just change the "it.slashdot.org/" to another subdomain, one that you like the colour scheme of more, say "apple.slashdot.org/" or "yro.slashdot.org/". Whatever you want.

      --
      This statement is forty-five characters long.
    7. Re:Suspicious? by Shadowlore · · Score: 1

      Wouldn't large amounts of DNS traffic look suspicious? Especially if they originated from one machine.

      Only if someone or something is checking for it.

      --
      My Suburban burns less gasoline than your Prius.
  14. Irrelevant^2 by warrax_666 · · Score: 4, Insightful
    The $500 security guarantee is utterly irrelevant. (Btw: Who gets to judge what is a security problem? That's right, DJB himself. If that doesn't tell you something, then you're not the sharpest tool in the shed).

    The $500 correpsonds to less than 50 hours at $10 an hour (being extremely generous with the hourly wages here, in favour of the "gaurantee"). Do you think anyone can audit the djbdns source code -- even ignoring the fact that it's largely uncommented and messy (#define, what's that?) -- in 50 hours? No, I didn't think so.


    BIND is open source, but that doesn't make it safe and secure. it's probobly more insecure just because of that.

    BIND may be Open Source (note capitalization) while djbdns isn't. That doesn't mean you can't get source for djbdns. In fact it's probably easier to get source than binaries for djbdns because of the unbelievably stupid djbdns license.

    So they are both equally "insecure" from that perspective.
    --
    HAND.
  15. ACLs are not secure by joxeanpiti · · Score: 1

    I've set control lists for DNS for a long long time.

    The use of ACLs is not secure because an atacker may spoof easily the IP address.

    Is a good way , yes, but not the ONLY and FINAL way to protect our networks.

    1. Re:ACLs are not secure by AndroidCat · · Score: 1
      an atacker may spoof easily the IP address.

      For what values of easily? (i.e. UDP or TCP?)

      --
      One line blog. I hear that they're called Twitters now.
    2. Re:ACLs are not secure by Cylix · · Score: 1

      Yeah, you could proxy DNS and use source address verification. Still, the installation this wasn't a problem.

      We were actually limiting access from the internal to external network. So, all DNS requests were only allowed to a target server. (Our servers of course).

      Specifically, this was implemented to prevent IP over DNS so users couldn't get passed the firewall.

      Yeah... it's stupid we had to police our own staff . If people were doing their jobs... they could have had their fun too. However, this was not the case.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
  16. Cheating Wireless networks by technothrasher · · Score: 5, Insightful
    I've noticed in the past that many of the public wireless networks that want you to pay to use allow DNS traffic to flow even before you've paid. I've often thought that'd you could use that to build a tunnel and not have to pay for service.

    Mind you, I've never done it because it would be kind of rotten, but it did cross my mind.

    1. Re:Cheating Wireless networks by Neduz · · Score: 3, Interesting

      You are right, I know people who do that when they travel through international airports. It doesn't work that fast (something like a 36k modem) , but it is free. AFAIK you do need a domain and a DNS server you control yourself.

      --
      This is one lame signature, please read the message above instead.
    2. Re:Cheating Wireless networks by DarkOx · · Score: 1

      Why do you need the domain?

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    3. Re:Cheating Wireless networks by Neduz · · Score: 1

      not quite sure: but you can probably only connect to the local DNS (caching) server on the WLAN. DNS requests are forwarded to the server that is responsible for a certain domain. So to route the DNS packets (with other traffic encapsulated in it) to your DNS server, you need a domain... I guess ...

      --
      This is one lame signature, please read the message above instead.
    4. Re:Cheating Wireless networks by Cylix · · Score: 1

      Yep....

      A while ago...

      People were dialing up to MSN's 800 service (the number your system dial's before you have an account) and DNS was completely open.

      Thus spawned IP over DNS. There was a previous slashdot story concerning this. Free dial-up provided you had a modified DNS server.

      Neat huh.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    5. Re:Cheating Wireless networks by Dwonis · · Score: 1
      You probably could, but that can easily be foiled, if that kind of behaviour becomes commonplace.

      All the wireless network admins have to do is forward all DNS packets to a DNS server that only allows you to look up a specific domain, and block everything else.

    6. Re:Cheating Wireless networks by jhoffoss · · Score: 1

      From what I took away from Dan's talk (and no further reading yet) that is the case.

      --
      Linux: The world's best text-adventure game.
    7. Re:Cheating Wireless networks by Alsee · · Score: 1

      Why do you need the domain?

      The local wireless Domain Name Server will only accept DNS requests, and will only give you DNS replies.

      So you create bogus DNS requests pointing to various places on your domian. But they aren't real places on your domain - they are encoded data. The wireless service doesn't know the answer to your DNS request, so it forwards the request to the domain to get the answer - it forwards the request to your domain. You configure your domain to decode your bogus DNS requests into general internet requests. Your domain then issues those general internet requests for you. It then takes any incoming reply and encodes it into a bogus DNS reply. The reply is fed back to the wireless server which then passes it back to you.

      So you either need to control a domain to set this up, or you need to know of a domain someone else has set up to do this.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  17. AGH Colour by Anonymous Coward · · Score: 0, Insightful

    This colour hurts my eyes.

  18. According to by warrax_666 · · Score: 1

    this page, problems remained up until (at least) BIND 8.2.2-P5. Pretty sad since this attack has been known for ages (especially since it's so easy to prevent).

    --
    HAND.
  19. Re:Old news by Anonymous Coward · · Score: 3, Informative

    Here's a link:

    http://cgi.nessus.org/plugins/dump.php3?id=11580

    And here's a clickable hyperlink (you may have seen these before):
    http://cgi.nessus.org/plugins/dump.php3?id=11580

    Seriously, it's not that hard! In Slashdot all you have to do is put <URL: at the start and > at the end.

  20. Reason why by Teppich · · Score: 1

    my standard iptables rules only allow some ISPs dns-servers.

    1. Re:Reason why by NoMercy · · Score: 1

      my standard iptables rules only allow some ISPs dns-servers

      And then those ISP's dns-servers relay those messages to the hackers DNS server... The downside is that every packet that goes out has the destination server's domain name marked on it.

    2. Re:Reason why by Teppich · · Score: 1

      You are completely right - I realised that just after posting.

  21. Misleading Title by Anonymous Coward · · Score: 1, Informative

    The title of the post is misleading. DNS can't be actually used to attack a network, only to slip sensitive data by firewalls.

  22. Harmless? by jjeffrey · · Score: 5, Insightful

    I don't think that networks allow DNS because it is harmless, but because it is necessary, that's an important distinction.

  23. So? by jbb999 · · Score: 1

    If you can send data in any form you can tunnel anything you like over it. Why is this news?

    1. Re:So? by AndroidCat · · Score: 1

      I have a protocol which sends data in Morse code by short and long delays in accessing the same web page over and over again. ;)

      --
      One line blog. I hear that they're called Twitters now.
    2. Re:So? by Dwonis · · Score: 1
      You failed to answer my point about who gets to judge the "entrants" and the rules of the contest.

      It's irrelevent to my contradiction of your statement, "The $500 guantee is worthless."

      Look, it's a simple matter of economics: Auditing code is mostly tedious and there are sufficiently many ways of earning much more money (and with a guaranteed payoff!) auditing code that no amount of spite is worth it.

      One matter of economics you're not considering is that value and worth are not equivalent to monetary value.

      I never said that $500 is enough to pay a competent-but-indifferent contractor to do an audit, because it obviously isn't.

      Your statement was that the $500 guarantee has no worth. My statement was that the $500 guarantee (note: the guarantee, not the $500 itself) has some worth, which is proven by the fact that we are having this conversation.

  24. $500 is nothing. by warrax_666 · · Score: 1, Informative

    The $500 guantee is worthless. How many hours do you think it takes to audit the djbdns source code? Anything more than 50, and you'd only need to make $10 an hour at your current job to make it a very unprofitable way to spend your time.

    (Also: Who judges the "entrants" for the $500 prize? That's right, DJB does, and there are no formal rules as to exactly what qualifies as a security bug).

    --
    HAND.
    1. Re:$500 is nothing. by Dwonis · · Score: 1

      No, it is worth something. If his software wasn't secure, offering the guarantee would have been an extremely arrogant move. DJB is arguably enough of an asshole that I suspect that there are numerous people who would go out of their way to find security holes in his guaranteed software, just to spite him.

    2. Re:$500 is nothing. by NuclearDog · · Score: 0

      There's also the name recognition. I'd bet you money (if I had any!) that if someone found a hole in djbdns and got the $500, it'd make Slashdot. If someone doesn't do it for the money or to spite DJB, they'd do it for the fame.

      ND

      --
      This statement is forty-five characters long.
    3. Re:$500 is nothing. by shepd · · Score: 1

      Let's put it this way:

      It's $500 more than most any other "secure" open source project has put up.

      $10 an hour is more than you'd make auditing, oh, say, the Linux kernel for fun.

      The fact that:

      (a) Nobody has claimed they have found an error in DJBs code
      (b) Nobody has claimed that DJB has refused to pay them (AFAIK)

      shows the code is, at present, known secure.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
  25. Well known that DNS is iffy,s urely? by mwillems · · Score: 0, Redundant

    Surely we all know that "DNS" comes at the top of the list of the Internet's vulnerabilities? Tunneling data; many bugs in DNS software over the years; vulnerability to DOS: Surely we all know this already - why is this news?

    DNS was an afterthought - but it seems to me a very necessary one, and one we will have to continue to live with.

    --

    ---
    BDOS ERR ON A:>
  26. That's why you use proxies! by wowbagger · · Score: 5, Informative

    That is why any GOOD sysadmin will set up the system so that there is a single DNS server for the plant, and that server and that server alone is allowed to send and receive DNS packets to the greater Internet - all other machines are to use the local DNS server.

    Not only does this GREATLY reduce the amount of DNS traffic a shop produces (by caching all requests locally) it helps prevent this sort of foolishness by requiring all packets to be well formed DNS packets - else the server drops them.

    Then, you can block any client that makes more than a few requests a second.

    Yes, it is easier to set up a firewall to be very porous to outbound traffic, but it is more secure to deny all direct access, and force clients to run through proxies for the various services.

    1. Re:That's why you use proxies! by Effugas · · Score: 2, Informative

      Yeah, check out the slides. I rather obsessively follow the spec (limit to Base32 my upstream queries, Base64 my downstream TXT records, though I could just as easily use Base32'd CNAME's or MX's).

      The whole point is that DNS is equivalent to every web server proxying, and that this proxy service does have security implications.

      But please, cache stuff locally :-) It makes my radio hack work much much better.

      --Dan

    2. Re:That's why you use proxies! by wowbagger · · Score: 1

      Gosh, I even went so far as to state, very clearly, that a key part of defeating this sort of thing was, and I quote my previous post, "block any client that makes more than a few requests a second."

      Now, lets see. DNS packets are limited to 512 bytes per spec (and having just finished implementing an DNS client the spec is quite clear in my mind). Let us take the commonly used value of "less than ten" for the term "a few".

      So, you have less than 5120 bytes/second of throughput. That's assuming that you don't flag a host that makes that many queries a second for more than a second as suspicious - and I would consider a host making more than 15 different domain lookups in as many seconds as VERY suspicious!

      And for this to work you have to have a registered domain, with a registered server you control, in order to serve up your packets - remember, you cannot just fire off packets to J. Random Server - you MUST go through the proxying server, and so you MUST use a valid, registered domain.

      Now, what if, instead of all that pain, I just set up a freaking HTTPS server (or even more simply set up an SSH server listening on the HTTPS port - both are SSL, and unless the proxying system can man-in-the-middle the system all the firewall can say is that an SSL connection was established.) Now I really DON'T need a domain of my own, just a server.

      In short, yes, this is a threat to your network security. So is a guy with a laptop and a box of donuts ("Hey, you want these Krispy Kreames? Let me plug in for a few minutes...").

      Given the set of tools needed to pull this off there are more effective ways to achive the same goal.

    3. Re:That's why you use proxies! by Gollum · · Score: 1

      This attack works through proxies, because the proxy will simply relay a well-formed DNS request straight to the attackers DNS server, and return the well-formed DNS response back to the client.

      Read the slides. It's quite impressive, even if it has also been known for a large number of years. No, Dan is not the first to realise the potential of this.

  27. Covert communication over DNS tunnels by Timbo · · Score: 2, Insightful

    There was an old slashdot story eons ago about people using DNS tunnels to abuse the free dial up lines used for setting up a dial up ISP account. Covert comms over DNS is nothing new, but oddly it doesn't seem to have ever caught on.

  28. Re:Old news by thogard · · Score: 1

    And I've been bitching about SPF using DNS TXT records for longer than that. Don't people firewall their DNS anymore? If your inside a network and your trying to leak info out, DNS is the best way to do it.

  29. Firewall 1 lets through DNS by default ? by rainer_d · · Score: 1

    Hi,

    I've read somewhere that there are some "implicit" rules in the Firewall 1 default configuration that let DNS through anyway.
    Is that true ? I have the eval CD here, but haven't had the time and the resources to test it.

    cheers,
    Rainer

    --
    Windows 2000 - from the guys who brought us edlin
    1. Re:Firewall 1 lets through DNS by default ? by Anonymous Coward · · Score: 1, Informative

      Yes, for default installation only
      It is quite simple and SHOULD be turned off

      It is a mere matter of unchecking one box and setting up explicit rules for your local DNS server to comminicate to its external DNS resolovers

  30. Duh... by blixel · · Score: 4, Funny

    That flaw in most firms' network security leaves a vulnerability that can be used by hackers to sneak intellectual property outside a company, communicate with a compromised server inside the company,

    In other security news alerts, there was a major hole disocvered in SSH. It turns out if a hacker installs a rogue SSH daemon on the server, he can do nefarious things with it.

    1. Re:Duh... by Effugas · · Score: 3, Informative

      Most trojans need to poll the outside world periodically, to determine whether they have a new set of operations to execute. With this approach, no polling is necessary -- there's an open pipe _into_ the organization, and the trojan can remain perfectly silent.

      --Dan

  31. "without DNS" = LDAP by Anonymous Coward · · Score: 4, Interesting

    Note that LDAP is fully capable of doing host name resolution, there's even an RFC for it (AFAIK the one that specifies how to store POSIX user info also specifies how to store host names).
    And in fact, DNS can be used for user details via Hesiod.

    Both LDAP and DNS are hierarchical federated database systems. Personally, I find current LDAP implementations to be more manageable, better designed, and generally nicer (can set very fine grained permissions) than current DNS implementations. A name system based on LDAP rather than DNS would be fully feasible and IMHO as or more globally scalable.

    But we must distinguish between DNS-the-protocol and DNS-the-implementations - It would be possible to have the same piece of software answer both DNS and LDAP queries from the same database. Hey, hello Microsoft Active Directory! But MAD is nasty for other reasons - so where are the Open Source projects to provide a slapd plugin for DNS protocol lookup to openldap databases? It should actually be pretty simple, maybe it's so simple no-one is interested hacking on it....

    1. Re:"without DNS" = LDAP by Doc+Ruby · · Score: 1

      The DNS P2P-server/client system has been proven to be reliable, supporting the unified Internet namespace continuously for hundreds of millions of concurrent users, for many years. Regardless of the techniques used, can LDAP claim that kind of bulletproof track record?

      --

      --
      make install -not war

  32. aren't they a bit behind the times? by Anonymous Coward · · Score: 0

    "Last year, another security expert demonstrated a way to send dribs and drabs of data across the Internet by hiding them in network packets"

  33. How about this : OpenVPN over UDP port 53 ie. DNS by anti-NAT · · Score: 5, Interesting

    Thought of this almost two years ago. Run OpenVPN over UDP port 53. I figure a fair number of firewalls may not analyse UDP DNS traffic to see if it actually is UDP DNS traffic. Haven't had a chance to try it out though.

    Thinking big picture, you realise that once opportunistic IPsec becomes available, and with IPv6 it will be, any device in the network trying to interpret traffic, such as firewalls and proxy servers, will become just about useless.

    --
    The Internet's nature is peer to peer - 20050301_cs_profs.pdf
  34. nstx by cosmol · · Score: 1
    I saw this story through google news and I thought, "better check slashdot." Got an article from 2000.

    http://slashdot.org/article.pl?sid=00/09/10/223024 2&tid=95

    and the current version of nstx:http://nstx.dereference.de/nstx/nstx-1.1-beta 5.tgz

    1. Re:nstx by nutznboltz · · Score: 2, Informative

      I was poking around the the FTP site that has nstx and I noticed migr. It's a hack to migrate processes between systems. The migration is not completely transparent to the migrated process since it will lose filepoint locations at least. It appears to reload the migrated process by installing it as a SEGV handler with signal stack and then unmapping most of the loader causing a segfault which starts the migrated process.

  35. Re:Old news by Xoder · · Score: 2, Informative

    Really? Last I checked X copy works in all web browsers (even graphical links!)

    Mozilla: Select the url, middle click into a new tab. Bam.
    Konqueror: Ibid.
    Links (graphical): Select the url, hit g, middle click

    --
    The previous sig has been removed due to /. protecting your best interests
  36. Really old news... by Anonymous Coward · · Score: 0

    Has been discussed on /. long time ago:
    http://slashdot.org/articles/00/09/10/223024 2.shtm l

    The tool mentioned works like a charme and is very usefull in many commercial WLAN hotspots ;-)

  37. DJB just wants some artistic control by Anonymous Coward · · Score: 0

    Incorrect, it is open source. It isn't GPL. There's a big difference.

    What DJB is trying to do is maintain some semblence of artistic control over his design ... which is impossible to do with GPL nor with current-day Open Source licenses, since none of these currently offer any means of protecting the interests of the original developer. The field is totally slanted against the originator and in favor of redevelopers.

    The Artistic License is a validated Open Source license which originally sought to retain a measure of artistic control for original developers, but it never actually worked as such, totally lacking teeth. That's not surprising, since both the Free and Open movements are more interested in guaranteeing the right to fork (without using such words of course) than in supporting the creators of novel ideas.

  38. Wrong by warrax_666 · · Score: 1
    DJB's software is most definitely NOT Open Source. It violates point 4 of the definition here, which states:

    [...] The license must explicitly permit distribution of software built from modified source code.[...]


    The DJB license does not do that (and even prevents modified source distribution). End of story.
    --
    HAND.
    1. Re:Wrong by idiotnot · · Score: 1

      You miss my point -- the whole "Open Source" movement clouds the definitions. OSI embraced the original APSL, which in many ways was more restrictive than the DJB licenses.

      There are many things that are open source and not free. DJB's stuff. Quite a bit of UW mail software, etc. etc. You can't distribute a patched version of pine, either, without UW's permission.

      OSI obfuscates these issue because the trolls don't get along with RMS.

  39. Doesn't work that way by Fished · · Score: 2, Insightful
    The packets in question are (or at least could be) well formed.

    Imagine that I own ISpy.com, and a user does a lookup on "user.jsmith.passwd.12345.ispy.com". Your server, in the middle, will forward that request to the NS for ispy.com more or less unchanged. And it doesn't have to be this obvious - it would certainly be easy enough to come up with some form of steganography appropriate to use in DNS.

    Not that proxies are a bad idea, but in this case proxies will not prevent the attack. Mostly, they'll just give you the ability to log the attack easily.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  40. Re:Old news by Anonymous Coward · · Score: 0

    Don't karma whore. You could have put it in the same post. If not added the link as a AC post.

  41. Re:Old news by davidu · · Score: 1

    Actually...no.

    Dan is literally *using* DNS to hide his traffic, not just using udp:53.

    I know Dan and he's one of those people crazy (smart) enough to hack on something as dumb as this long enough to get something interesting out of it.

    -davidu

    --

    # Hack the planet, it's important.
  42. "without DNS" = LDAP-Google DNS. by Anonymous Coward · · Score: 0

    http://www.linux.com/howtos/LDAP-Implementation-HO WTO/dns.shtml

    "It should actually be pretty simple, maybe it's so simple no-one is interested hacking on it...."

    Or maybe they already have, and you just didn't look.

    1. Re:"without DNS" = LDAP-Google DNS. by Anonymous Coward · · Score: 0

      Argh. That page describes AWFUL KLUDGES (except for the name service switch, but that's not a solution for dns-the-protocol). One guy working on making BIND lookup in LDAP. Fine. Good. BUT THAT DRAGS IN THE WHOLE SORRY MESS OF BIND, THUS DEFEATING THE PURPOSE OF USING LDAP TO AVOID EVIL BIND. May the beige of the end times consume him.

      The other guy working on making ldap2dns, a tool that spit out databases that tinydns can read. A little better, but NOW YOU'VE GOT ANOTHER LAYER OF SORRY-ASS CACHING IN ANOTHER DATABASE. How the hell will Dynamic DNS and other now-important stuff work? May the damned elder god beige consume him!

      Seriously, the sane, senisble thing to do is to make a module for slapd that USES THE SAME FREAKING DATABASE THAT LDAP USES.

      APPEASE THE BEIGE. Make a DNS listener in slapd!

  43. Re:Insightful my ass by pacman+on+prozac · · Score: 1

    As the AC above states, BIND hasn't been vulnerable to DNS poisons for many years.

    Because system administrators are anal and fail to realize that software like BIND is not written to be secure.
    Not sure why you say this, ISC have released a constant stream of patches since BIND was released and every announced security hole has been fixed. Not only that but they even added options to chroot the daemon and run it as an unprivileged user. They also have links on its homepage to guides on how to chroot the entire server.

    The BIND company sells paches for their software.
    No, they sell support, go read their website. Patches are, and have always been, free.

    Still most people use BIND for two reasons: no one wants to learn the crusty details of DNS and
    Er, you have to know the crusty details of DNS to be able to write proper zonefiles and configure named.conf otherwise you'll struggle.

    2) Linux comes with BIND as it's default name library.
    Except BIND is a server application, not a library. Linux's DNS library is part of glibc.

    Stop slandering the ISC, they do a great job providing some very useful software and they also fix it when problems crop up.

  44. Re:Old news by lysander · · Score: 2
    Dan is literally *using* DNS to hide his traffic, not just using udp:53.

    Even so, this still isn't that interesting. So you mime encode it (or whatever), tack on a domain, and talk to a rogue dns server. Anyone dealing with secure networks should know that having any opening to the internet is a security risk and take that into account when designing one's network.

    --
    GET YOUR WEAPONS READY! --DR.LIGHT
  45. Been there, done that. by stere0 · · Score: 1

    IP Tunneling Through Nameservers. And you can apparently stop that too, but I doubt it's very efficient unless you whitelist domains unauthenticated clients can look up.

    --
    Trollem mirabilem hanc subnotationis exigiutas non caperet
  46. Problems with djbdns by Pan+T.+Hose · · Score: 1

    BIND9... don't get your hopes up. The BIND company sells paches for their software. Meaning that if you don't pay them money then you're going to be running an errornouse DNS server. [original emphasis]

    Still most people use BIND for two reasons: no one wants to learn the crusty details of DNS and 2) Linux comes with BIND as it's default name library.

    Alternative like djbdns should be used.

    I wish it was so simple. There are two most important problems with djbdns, though. Namely:

    1. unlike BIND, djbdns does not follow RFCs 1034/1035
    2. unlike BIND, djbdns is not free software

    Don't get me wrong, it is quite a solid piece of software (the laughable cracking contest notwithstanding) but it is not a complete DNS implementation (zone transfers, anyone?) which wouldn'd be such a big deal if it was free software, because anyone (myself included) could make it RFC compatible in few weeks (months at most) but unfortunately it is not.

    Also, you should learn about BIND9 (and even BIND8) in the context of cache poisoning. It is not as big of a problem as you seem to believe.

    Most people use BIND for two reasons indeed, but those reasons are:

    1. BIND is the most complete DNS implementation
    2. BIND is free software
    3. ("permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted..." etc.) contrary to what you are trying to imply with your patches-selling remark

    I am sure many--if not all--GNU/Linux distos will come with djbdns as soon as it is released as free software, for--as I have already said--it is quite a good piece of software, for a one man project.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  47. Quick Summary: What's New by Effugas · · Score: 3, Informative

    OK, let me repeat.

    Throwing arbitrary data in DNS -- NOT a big deal.

    Even doing network tunneling over DNS -- ALSO not that big a deal; NSTX has been doing this for a while.

    DNS radio is new. By segmenting audio into small chunks, we actually get universal caching of the streaming signal -- a functionality we've never really had before. Generally, audio broadcast over the Internet falls apart after a few thousand users. Based on this ring-buffer-into-BIND architecture, combined with the utterly minimal bandwidth load of Speex, we should be able to host audio for a much greater number of listeners.

    The entire suite of incoming attacks to firewalls are also new. DNS trusts the hierarchy to tell it the next hop to its target name; since I can acquire second level domains in the hierarchy for minimal cost, it's trivial for me to insert arbitrary destinations along the DNS route path. In technical terms, whenever a recursing resolver comes to my name server to resolve a name, rather than providing an answer, I can redirect that request to another, supposedly authoritative server. That server can be at any address -- even one I cannot IP route to -- but if the resolver communicating with me can route to that address (say 10.0.1.11) my communication will reach that host. If there's an SSH over DNS daemon running on 10.0.1.11, I've now achieved incoming connectivity to the network of my choice, completely bypassing firewalls and a trojan's need to poll.

    Recursion on dual hosted interfaces is not even necessary. There are large numbers of applications that, upon receiving untrusted traffic, execute DNS name lookups. Most commonly, they are reverse PTR lookups, but occasionally there are other types (MX from mail servers, most notably) that can be easily induced. When they are induced, the hierarchy is followed. When the hierarchy is followed, the attacks previously discussed start working. In practice, this means an IDS triggers the DNS server to start proxying traffic between an external attacker host and an internal trojaned machine. Nasty.

    There's some other stuff -- check out the slides and the code -- but long story short, there's some new stuff out :-)

    --Dan

  48. Not only irrelevant—it's utterly laughable by Pan+T.+Hose · · Score: 1

    The $500 security guarantee is utterly irrelevant.

    I not only have seen script kiddies trading private exploits for sums at least an order of magnitude greater than that, but they were selling it to multiple buyers. I am talking about script kiddies, not professionals, mind you. Even $100,000 would be laughable. $1,000,000 might start looking interesting for people not willing to make any serious usage (industrial espionage, etc.) of their exploits. But $500? Please don't mind if I die laughing. See also The Fallacy of Cracking Contests essay written by Bruce Schneier in bloody 1998.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
    1. Re:Not only irrelevant—it's utterly laughable by Anonymous Coward · · Score: 0

      $100,000 is probably more money than djb makes in a year. If he offered to sacrifice a year's salary to someone who found a security flaw in software he wrote in his spare time and gives away for free, I would hardly call that laughable. Note also that Schneier's essay is pretty much irrelevant to this situation.

  49. Advertisements and Spam by HermanAB · · Score: 1

    are more of a problem than covert channels. Every cell phone is a covert channel out of a business. Since DNS can't be used to deliver advertisements, I don't see a business threat here. It may be a concern to a military installation though.

    --
    Oh well, what the hell...
  50. Re:Old news by Effugas · · Score: 2, Informative

    Recursive lookup support isn't required to achieve incoming connectivity (see induced lookups), and being able to do lookups against the outside world isn't identified by anyone as a risk.

    --Dan

  51. Re:Old news by burns210 · · Score: 1

    SO... is there any chance of developing a distributed, secure DNS implemenation that is backward-compatable?

    Right now, we rely on 13 servers to run DNS, why not 26? Why even have root name servers at all? Could we develop a DNS system ala Usenet, that sends updates both up and down stream... And then just have the ability to slowly or quickly accept new incoming information as true based on various criteria, to avoid having bad information flooding the DNS servers?

  52. Re:Old news by strobert · · Score: 1

    I hate to feed a troll, but actually copy/paste can be EASIER with a unix desktop (sometimes too easy the single click paste takes a bit to get used to -- I used it for years way back when and was fine but once I started running Windows at work it was a little strange to switch back and forth).

    In addition I write this comment on a win2k workstation. It is rather nice to have a clickable link so that in mozilla I can open in a new tab to process later. In other words actually have a hyperlink be clickable isn't a "linux" desire. it is a usual web desire. Sure you can always copy/paste, but the poster should make it easier, especialyl considering how easy it is (the URL auto linking support -- and it isn't link that feature is porrly documented look about two lines below the comment submit button).

  53. “Open Source” and “Free Software by Pan+T.+Hose · · Score: 1

    You miss my point -- the whole "Open Source" movement clouds the definitions. OSI embraced the original APSL, which in many ways was more restrictive than the DJB licenses. There are many things that are open source and not free. DJB's stuff. Quite a bit of UW mail software, etc. etc. You can't distribute a patched version of pine, either, without UW's permission. OSI obfuscates these issue because the trolls don't get along with RMS.

    Actually, the definition of "open source" used by OSI (launched by Eric S. Raymond, President, on November 22nd, 1998) is remarkably similar to "free software" definition used by Debian (officially founded by Ian Murdock on August 16th, 1993) and GNU (initially announced by Richard M. Stallman on September 27th, 1983).

    Please let me quote The Debian Free Software Guidelines from Debian Social Contract, Version 1.0, ratified on July 5, 1997:

    1. Free Redistribution

      The license of a Debian component may not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The license may not require a royalty or other fee for such sale.

    2. Source Code

      The program must include source code, and must allow distribution in source code as well as compiled form.

    3. Derived Works

      The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.

    4. Integrity of The Author's Source Code

      The license may restrict source-code from being distributed in modified form _only_ if the license allows the distribution of "patch files" with the source code for the purpose of modifying the program at build time. The license must explicitly permit distribution of software built from modified source code. The license may require derived works to carry a different name or version number from the original software. (This is a compromise. The Debian group encourages all authors not to restrict any files, source or binary, from being modified.)

    5. No Discrimination Against Persons or Groups

      The license must not discriminate against any person or group of persons.

    6. No Discrimination Against Fields of Endeavor

      The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.

    7. Distribution of License

      The rights attached to the program must apply to all to whom the program is redistributed without the need for execution of an additional license by those parties.

    8. License Must Not Be Specific to Debian

      The rights attached to the program must not depend on the program's being part of a Debian system. If the program is extracted from Debian and used or distributed without Debian but otherwise within the terms of the program's license, all parties to whom the program is redistributed should have the same rights as those that are granted in conjunction with the Debian system.

    9. License Must Not Contaminate Other Software

      The license must not place restrictions on other software that is distributed along with the licensed software. For example, the license must not insist that all other programs distributed on the same medium must be free software.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  54. Re:Old news by Anonymous Coward · · Score: 0

    RTFA. Rogue DNS servers aren't needed. Two parties without access to DNS servers can use anyone's DNS server as a covert channel. Dan explains this and much more in his paper. It's groundbreaking stuff, really. You should read it before you slam it.

  55. Re:Old news by Xaria · · Score: 1

    Give him a break - you have to think to post anonymously (so be thinking about karma whoring to remember not to). He probably just didn't think about it.

  56. Kaminsky Presentation by Anonymous Coward · · Score: 0

    This article is a lot like this one posted on Slashdot a few weeks ago. That article contains a link to Kaminsky's presentation (PPT) on this subject, apparently given at the LayerOne Technology Conference.

  57. So? by warrax_666 · · Score: 1
    No, it is worth something. If his software wasn't secure, offering the guarantee would have been an extremely arrogant move.
    Guess what? DJB is extremely arrogant (as many clever people tend to be).


    DJB is arguably enough of an asshole that I suspect that there are numerous people who would go out of their way to find security holes in his guaranteed software, just to spite him.


    You failed to answer my point about who gets to judge the "entrants" and the rules of the contest.

    Look, it's a simple matter of economics: Auditing code is mostly tedious and there are sufficiently many ways of earning much more money (and with a guaranteed payoff!) auditing code that no amount of spite is worth it.
    --
    HAND.
  58. Doub't anyone will see this, but... by Anonymous Coward · · Score: 0
    You miss my point -- the whole "Open Source" movement clouds the definitions.

    No, they don't. Open Source is a trademark held by the OSI.
    1. Re:Doub't anyone will see this, but... by Anonymous Coward · · Score: 0

      At one point in time the OSI people thought that they could defend the trademark "Open Source". They have since come to their senses, and no longer pretend to be able to do this. If you email them and ask, they will admit as much, though it doesn't look like they have included this point in their FAQ.

  59. DJBDNS is not Open Source by Paul+Crowley · · Score: 1

    Please read at least the first line of the Open Source Definition:

    Open source doesn't just mean access to the source code.

    Note that opensource.org invented the term "open source" - it was not in use to describe software until they had that meeting where they invented the term - so they certainly get to say what it means.

    DJBDNS is "disclosed source". Big difference.

  60. Re:Old news by jnull · · Score: 1

    So, it is now official. Nessus reports everything as a security hole ;-) I saw this presentation during Black Hat... it was impressive, but it just furthers the idea that perimeter security is merely a piece of the puzzle. good stuff, j

  61. That is completely irrelevant by Pan+T.+Hose · · Score: 1

    $100,000 is probably more money than djb makes in a year. If he offered to sacrifice a year's salary to someone who found a security flaw in software he wrote in his spare time and gives away for free, I would hardly call that laughable.

    Daniel Bernstein's salary is completely irrelevant. $500 is not any less miserable (or laughable, for that matter) if it is given by someone who is poor.

    Note also that Schneier's essay is pretty much irrelevant to this situation.

    It is hardly irrelevant in my opinion:

    "Contests are a terrible way to demonstrate security. A product/system/protocol/algorithm that has survived a contest unbroken is not obviously more trustworthy than one that has not been the subject of a contest. The best products/systems/protocols/algorithms available today have not been the subjects of any contests, and probably never will be."

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  62. True Alternative by Pan+T.+Hose · · Score: 1

    Until a true open source alternative to BIND appears, we're stuck with it.

    By "true alternative" do you mean it has to be GPLable?

    Not necessarily. Being distributable wouln't hurt, though. Being compatible with the DNS standard would also be a plus. Don't get me wrong, I am all for alternatives to BIND, but djbdns cannot even be distributed as a simple rpm or deb package not messing the whole bloody filesystem, for God's sake.

    If you want a name server with such a strong emphasis on security, use MaraDNS--at least it's free software. Unfortunately, like djbdns, it is not RFC-compatible, but at least it can be made so, with no strings attached.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."