Slashdot Mirror


New Denial-of-Service Attack Is a Killer

ancientribe writes "Hacker RSnake blogs about a newly discovered and deadly denial-of-service attack that could well be the next big threat to the Internet as a whole. It goes after a broadband Internet connection and KOs machines on the other end such that they stay offline even after the attack is over. It spans various systems, too: the pair of Swedish researchers who found it have already contacted firewall, operating system, and Web-enabled device vendors whose products are vulnerable to this attack." Listen to the interview (MP3) — English starts a few minutes in — and you might find yourself convinced that we have a problem. The researchers claim that they have been able to take down every system with a TCP/IP stack that they have attempted; and they know of no fix or workaround.

84 of 341 comments (clear)

  1. I cant believe this is the first comment, by Aliks · · Score: 5, Funny

    Some DOS attack on Slashdot in progress?

    1. Re:I cant believe this is the first comment, by neokushan · · Score: 4, Funny

      Yeah, some stupid user deltree'd the whole site!

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    2. Re:I cant believe this is the first comment, by mcgrew · · Score: 4, Funny

      No, it's my fault. I linked to slashdot from slashdot, slashdotting slashdot. So slashdot's slashdotted.

      Sorry.

    3. Re:I cant believe this is the first comment, by neokushan · · Score: 5, Funny

      AHAHAHAHAHA! You left your system open to hacking! HAHAHAHA! Look at all this animal porn you have! HAHAHA I'm deleting your OS's Kernel right n

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
  2. fearmongering by passthecrackpipe · · Score: 5, Insightful

    While it is pretty interesting, and disturbing, we are once again faced with a "The Internet Will Cease To Exist And Your Brain Will Explode" vulnerability. We dont know exactly how it works, we dont know exactly what to do to stop it, fixes are not available, and we are all doomed. The podcast goes into enough detail about how they discovered it to be replicated by skilled evildoers without too much trouble, but nobody knows how long, easy or invasive a fix is going to be.

    --
    People who think they know everything are a great annoyance to those of us who do.
    1. Re:fearmongering by MyLongNickName · · Score: 5, Insightful

      Sorry, but your entire argument is shot down by TFA. For those of you too lazy to read it, this gem "Robert and Jack are smart dudes. I've known them for years," clearly shows that your argument is moot. The author has known them for years from (presumably) T-Ball league. How can you argue with that?

      (this having to wait 5 minutes between posts is a pain in the ass. Anyone else stuck with this restriction?)

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    2. Re:fearmongering by morgan_greywolf · · Score: 5, Insightful

      Sorry, but your entire argument is shot down by TFA. For those of you too lazy to read it, this gem "Robert and Jack are smart dudes. I've known them for years," clearly shows that your argument is moot.

      Seriously....just saying "Yeah, these two dudes I know can break the whole Internet. Trust me. I've known them a long time." is just completely lame and useless.

      The article is nothing more than fear mongering and fudfudfud (please tag appropriately). Unless there's something to the interview beyond "I know how to break the Interwebs!!!", I'm from Missouri on this one.

    3. Re:fearmongering by Cro+Magnon · · Score: 4, Funny

      (this having to wait 5 minutes between posts is a pain in the ass. Anyone else stuck with this restriction?)

      My sig answers your question. :)

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    4. Re:fearmongering by jrl · · Score: 3, Informative

      It wasn't our intention to fear monger. In fact if you listen to the whole podcast we actually comment on the "Chicken Little" phenomenon in security research.

      For those wanting to stay abreast of these issues as more information is shared publicly, keep an eye on my blog.

      I'm trying to keep a link to most news articles there. I've also been able to answer a few questions in the comments through that medium.

      --Robert

    5. Re:fearmongering by __aamnbm3774 · · Score: 3, Insightful

      I am no networking Guru by any means, but after listening to the mp3, I don't see how this isn't fixable. Just based on the way routers will 'continue to spit out the same packet over and over' seems like a pure implementation issue of the TCP/IP stack.

      Please correct me if I am wrong, but I don't see how this cannot be fixed. Another super-scary (and warrantless) slashdot headline and summary IMHO.

    6. Re:fearmongering by Yvanhoe · · Score: 4, Insightful

      (this having to wait 5 minutes between posts is a pain in the ass. Anyone else stuck with this restriction?)

      Yes, limiting the possibilities to comment is clearly a bad idea. /. summaries have always been quite bad for as long I can remember it, but all the informational value is in the comments. Where else can you see a fearmongering article, people making some obvious remarks, getting insightful retorts to finally end on a +5 comment coming from a guy working in the lab TFA mentions ?

      Slashdot, don't fear posters. Your moderation system filters spam (and as*holeness) with enough efficiency, don't add nagging features !

      --
      The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
    7. Re:fearmongering by flosofl · · Score: 4, Informative

      Dude, did you just tell one of the guys who discovered this issue to *not* post links to his blog which may contain relevant information? I mean I'd understand if his blog had a ton of advertisements or something. But it's pretty much just blog entries and that's it.

      Weird.

      --
      "This calls for a very special blend of psychology and extreme violence" - Vyvyan "The Young Ones"
    8. Re:fearmongering by Goaway · · Score: 3, Insightful

      That kind of restriction does pretty much nothing at all to stop any kind of crapflood.

      See, crapflooders are not limited to using one IP or one account, unlike legitimate users.

    9. Re:fearmongering by Arthur+Grumbine · · Score: 2, Insightful

      To support your assertion of a slashvertisement in the replies here there seems to be a strong redundancy of links to this "smart dude's" blog, posted by ACs.

      Whether the threat is real or not, someone seems to be intent on getting as much attention as possible.

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    10. Re:fearmongering by KillerBob · · Score: 2, Funny

      Yeah, it would be nice if nobody crapflooded /. ever, so they didn't have to come up with such restrictions...

      they'd also have to fire some of the editors to get rid of all the crap that gets posted here, though...

      --
      If you believe everything you read, you'd better not read. - Japanese proverb
    11. Re:fearmongering by stevied · · Score: 2, Informative

      The interview does actually have a lot of detail.

      Skip to ~ 5m10s for the English.

    12. Re:fearmongering by passthecrackpipe · · Score: 2, Insightful

      WTF? "Answer some questions"? there is 1 question, and it looks like you posted that yourself. blog whoring and fearmongering. Oh, and i did listen to the whole podcast.

      --
      People who think they know everything are a great annoyance to those of us who do.
  3. Pfffft by MyLongNickName · · Score: 5, Funny

    Doesn't affect me. I haven't used DOS in YEARS. Some folks need to move up to Windows 3.1. That is where it is at.

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:Pfffft by eserteric · · Score: 4, Funny

      Uhh, you know that's still based on DOS right? You should update to Windows 95 like me to be safe.

    2. Re:Pfffft by ByOhTek · · Score: 2, Funny

      Bah. I use Dr. Dos. It's a doctor so it fixes itself and I don't have to worry about these issues!

      --
      Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
    3. Re:Pfffft by Antique+Geekmeister · · Score: 4, Informative

      What? WinME was simply repackaged Win98. Windows _NT_ was built by David Cutler, on a VMS foundation rather than a DOS foundation, because Cutler was one of the core authors of VMS and there were some fascinating lawsuits about his duplicating his old VMS work for Microsoft.

    4. Re:Pfffft by Remloc · · Score: 5, Funny

      Nope, NT 3.1 circa '93. We were an early adopter on a currently top of the line Pentium (1)--50 MHz, I believe. Thing would BSOD if you more than looked at it funny.

    5. Re:Pfffft by aproposofwhat · · Score: 3, Interesting

      Haha!

      Pentium? Microsoft advertised that 3.1 would run on a 386 with 16 meg of RAM, so that's what we installed it on to evaluate against our lovely Netware 3.11 fileservers.

      Guess what?

      It sucked ass - 10 minutes to boot, and funny looks were a definite no-no.

      I have a lawn you could get off, if you like...

      --
      One swallow does not a fellatrix make
    6. Re:Pfffft by j_166 · · Score: 2, Interesting

      No lie, I once had Windows 3.1 running on a 286. Not sure how much RAM I had. Oh, and the monitor was monochrome orange and black (or may have just been broken). The keyboard connected with something resembling a phone jack. I probably still have that machine in the attic. Note that I said it was running. I can't comment on if it was running *well* or not because I just booted it for curiosity's sake, then shut it down and promptly forgot about it until just now. This was well into the days of the Pentium 233, and someone had just given me the machine as a cast-off. I do remember it took a hell of a time to boot though...

      Actually, thinking about it now, I may have deleted those memories out of sheer trauma.

    7. Re:Pfffft by mikael_j · · Score: 2, Insightful

      Could it be that you're talking about MS Windows 3.1 instead of Windows NT 3.1 that the parent seems to be talking about? Because NT 3.x was a completely different beast from regular Win 3.1.

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    8. Re:Pfffft by Antique+Geekmeister · · Score: 4, Informative

      Piffle yourself. The memory management, as an example, was definitely theft from DEC.

      David was one of the three team leads on Starlet, which became VMS. And yes, according to DEC personnel of that era, he was very much a technical lead, if not the technical lead.

    9. Re:Pfffft by Uncle+Rummy · · Score: 2, Funny

      You see, if you keep the mouse moving while typing (ie. just jiggle it back and forth with one hand while typing with the other), for some reason the system was able to keep up with the typing.

      Aha! Now I get all those jokes about typing one-handed. Thanks!

    10. Re:Pfffft by Nutria · · Score: 2, Informative

      The memory management, as an example, was definitely theft from DEC.

      Should surprise no one. He did, after all, work on Starlet, in the 1980s there were many books written on VMS internals, and the source code isn't even that difficult to get.

      (As an aside: at a VMS tech conference in 2002, we were told by a VMS engineer that Itanium's memory management was purposefully designed to be like that of the VAX.)

      according to DEC personnel of that era, he was very much a technical lead, if not the technical lead.

      I used to work with someone who was there at the time.

      --
      "I don't know, therefore Aliens" Wafflebox1
  4. Transcript by commanderfoxtrot · · Score: 4, Insightful

    Do people really have time to listen to podcasts unless they are commuting?

    Is there a transcript???

    --
    http://blog.grcm.net/
    1. Re:Transcript by Twisted64 · · Score: 2, Funny

      I have a program which does transcription of podcasts for me. Here ya go:

      Dear aunt, let's set so double the killer [transcription ended (kill)]

      You know what? Forget it.

      --
      Consciousness is a myth. Trust me.
    2. Re:Transcript by Mprx · · Score: 2, Informative

      Or if you prefer normal pitch, install http://www.breakfastquay.com/rubberband/ , an excellent Free pitch shifter, and use:

      mplayer -speed 1.6 -af ladspa=ladspa-rubberband.so:rubberband-pitchshifter-stereo:0:-8.1:0:2:0:0 [file]

    3. Re:Transcript by TheBig1 · · Score: 2, Insightful

      I agree wholeheartedly.

      Even worse are the new video blogs (not quite sure if it's blogs, or tutorials or what...), I am seeing them all the time when searching for a technical question (e.g., "how to do X on system Y"). I don't want to watch a 5 minute tutorial - I want to find the one line command to do something!

      Cheers

    4. Re:Transcript by EveLibertine · · Score: 2, Insightful

      Do people really have time to listen to podcasts unless they are commuting?

      Is there a transcript???

      To answer your question before I start my tirade: From the blog in question, "The podcast is still the most complete public source of information for these findings." http://blog.robertlee.name/

      I know what you mean. Audio or video are pretty poor for the rate of information disseminated compared to text. This is doubly true when the creators aren't formally trained (presenters aren't actors, or the script is not professionally written). Then you wind up with unskilled individuals all over the internet blundering through 5 minutes of speech, or fumbling their way through what would have been an otherwise interesting interview, if only they had just transcribed the whole thing to text and posted it somewhere. Then it'd take the rest of us 30 seconds to get the information, instead of 5 minutes of pain and suffering listening to or watching some horrible recording.

      There are obvious exceptions to this, but 9 times out of 10 I just want to read so I can get the most of the experience in the most efficient manner.

  5. Not much information by mseeger · · Score: 4, Informative
    Hi,

    Neither interview nor Link provides much information about the kind of attack. Between the lines they seem to be doing something with the ressource usage by manipulating tcp session parameters. But that's idle speculation for now.

    CU, Martin

    1. Re:Not much information by martyb · · Score: 2, Informative

      Neither interview nor Link provides much information about the kind of attack. Between the lines they seem to be doing something with the ressource usage by manipulating tcp session parameters. But that's idle speculation for now.

      Looks like you may be onto something; found this writeup with a bit more detail: New attacks reveal fundamental problems with TCP

      Don't know enough about TCP/IP to comment, but maybe someone else here could elucidate or elaborate?

    2. Re:Not much information by Trailrunner7 · · Score: 5, Informative

      Here's a better story with more info: http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1332898,00.html Looks like they're able to mess with the session parameters, as you said.

  6. Go for it, take on my machine! by apathy+maybe · · Score: 2, Interesting

    My IPv4 address is 127.0.0.1 ...

    More seriously, I wonder if this actually affects *nix machines, and how the various environments in that area affect the attack.

    After all, they may find a single attack against all MS Windows XP machines, but they need a lot more then one to attack all Linux based systems (and then you throw in BSD based ones as well...).

    Meh, the article doesn't give much detail.

    --
    I wank in the shower.
    1. Re:Go for it, take on my machine! by erayd · · Score: 5, Insightful

      Unless it's a generic vulnerability in the TCP spec, in which case almost every implementation of it would be vulnerable - including all those Linux machines. Linux is not some magical shield, it takes responsible use to keep it secure.

      --
      Forget world peace, bring on -1 pointless
    2. Re:Go for it, take on my machine! by BenoitRen · · Score: 4, Funny

      Thief! That's MY address!

    3. Re:Go for it, take on my machine! by apathy+maybe · · Score: 4, Insightful

      Of course Linux is not a magical shield. But having a diverse eco-system is known to protect against many attacks.

      One of the reasons stories about how the banana is going extinct come up every few years is because the "modern" banana that most people in the over developed world can buy, are all clones! One disease can attack all the plants in the same manner.

      In the same way, computers that have the same OS tend to be vulnerable to the same attack. Because there are a lot more OSs based around Linux (and BSD), people running these OSs are less vulnerable, because they are in a diverse eco-system. Especially when these kernels and the user-land tools are FLOSS.

      As such, yes, it maybe a generic vulnerability in the TCP spec. (though how likely is that?), however, it is not specified, which is why I asked if it did affect *nix.

      If nothing else, due to the nature of FLOSS, the attack could quickly be coded around as soon as it is known, and then pushed out to many many people running auto-update systems (such as Debian, Ubuntu and similar). (Even if that breaks the spec.)

      --
      I wank in the shower.
    4. Re:Go for it, take on my machine! by SL+Baur · · Score: 2, Insightful

      Of course Linux is not a magical shield. But having a diverse eco-system is known to protect against many attacks.

      Amen! Even so, I would expect to see patches coming from David Miller shortly if Linux is truly vulnerable. Similar to how Linux was the first system to be protected against the F00F Intel Pentium hardware bug.

  7. Coral cache link by erayd · · Score: 2, Informative
    --
    Forget world peace, bring on -1 pointless
  8. Things that make you go 'Hmmm...' by Drakkenmensch · · Score: 4, Interesting
    It sort of makes you wonder - if such a critical, destructive and EASY way to cripple the entire internet exists... why hasn't it been discovered yet so late in the game, and why are the usual DOS targets still operating normally?

    The simple fact that I'm posting this reply makes me doubt the "ZOMG UNSTOPPABLEZ" aspect of this claim, is all.

  9. Nah by Twinbee · · Score: 3, Funny

    Ignore the story, there's very little chance that a single virus can take down all systems, especially if the user is not running Windows.

    I for instance have multiple rock solid software and hardware firewalls, and most ports blocked - I'd like to see it try taking dow

    --
    Why OpalCalc is the best Windows calc
  10. For those who can't listen to the interview by radi0man · · Score: 5, Informative

    Here's a link to an article in English:

    http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1332898,00.html

    From the article:

    Many TCP servers use a technique known as a SYN cookie in order to prevent attackers using spoofed IP addresses from launching SYN flood denial-of-service attacks against them. The cookie is essentially a chosen TCP initial sequence number that is calculated using some specific hashed metadata that reflects the details of the specific TCP connection. Once the client returns a correct packet to the server, the server knows that the client isn't using a forged IP address.

    Sockstress computes and stores so-called client-side SYN cookies and enables Lee and Louis to specify a destination port and IP address. The method allows them to complete the TCP handshake without having to store any values, which takes time and resources. "We can then say that we want to establish X number of TCP connections on that address and that we want to use this attack type, and it does it," Lee said.

  11. Power grids? by Porchroof · · Score: 3, Insightful

    Why do I constantly find stories about how our power grids, nuclear energy sites, military bases, Federal government, etc., etc., will be taken down by Internet hackers? Please don't tell me that all of those resouces are accessible over the Internet. Why in God's name would put such resources on the Interet?

    --
    Fata viam invenient.
  12. pff by amnezick · · Score: 5, Funny

    Typical /. reaction to potential danger:

    "Hah. Until I don't taste nuclear winter snow I don't believe that's gonna happen'"

    Give the man his nuke. He earned it.

    --
    mov ax,4c00h
    int 21h
  13. who wrote this?? by nimbius · · Score: 3, Interesting

    someones mom needs to check the basement more often...

    TFA starts off with "things are a brewin' in sweden"

    "Robert and Jack are smart dudes."

    "I feel winter slowly coming, and it would be a shame if entire power grids could be taken offline with a few keystrokes, or if supply chains could be interrupted. I hear it gets awfully cold in Scandinavia. "

    --
    Good people go to bed earlier.
  14. The sky is falling! by slashqwerty · · Score: 3, Interesting

    Another security researcher claims the sky is falling. There are no details, no proof of concept, nothing to prove the alleged vulnerability even exists. Here's something those researchers should learn: if you can't back up your claims with proof it doesn't exist!

    1. Re:The sky is falling! by dbIII · · Score: 2, Funny

      It shows the TCP/IP stack a video tape. After that there is nothing you can do.

    2. Re:The sky is falling! by jcuervo · · Score: 2, Funny

      Seven megabitsssssss...

      --
      Assume I was drunk when I posted this.
  15. Factual Inaccuracy by CaptainOfSpray · · Score: 2, Informative

    The interview is in Dutch, not Swedish. And since the researchers' names are Robert E. Lee and Jack C. Lewis, I don't believe they are Swedish either.

    --
    "Cock Up Your Beaver" does not mean what you think. This sig is intended to clog filters and annoy do-gooders
  16. How it works by Spy+der+Mann · · Score: 4, Interesting

    Many TCP servers use a technique known as a SYN cookie in order to prevent attackers using spoofed IP addresses from launching SYN flood denial-of-service attacks against them. The cookie is essentially a chosen TCP initial sequence number that is calculated using some specific hashed metadata that reflects the details of the specific TCP connection. Once the client returns a correct packet to the server, the server knows that the client isn't using a forged IP address.

    Sockstress computes and stores so-called client-side SYN cookies and enables Lee and Louis to specify a destination port and IP address. The method allows them to complete the TCP handshake without having to store any values, which takes time and resources. "We can then say that we want to establish X number of TCP connections on that address and that we want to use this attack type, and it does it," Lee said.

    In summary, it works by establishing tons and tons of connections using carefully-forged SYN cookies. The irony? "SYN Cookies are the key element of a technique used to guard against SYN flood attacks". ROFLMAO.

    And then it gets scarier:

    From the wikipedia article:

    The use of SYN Cookies does not break any protocol specifications, and therefore should be compatible with all TCP implementations.

    Now, are you ready to scream?

    the 2.6.26 Linux kernel added limited support of TCP options.

    Scream.

  17. The sky is falling! by Lord+Byron+II · · Score: 3, Insightful

    Quickly, go yank the cable/dsl connection right out of the wall before its too late!

    Come on... I'm not going to listen to mp3, but the /. summary and the article both are dangerously low on details. This effects every machine with a TCP/IP stack? IPv4 and IPv6? Leaves the machines in a permanent state of DOS? There's no prevention? No fix? And you can't even test it because it might take down "other devices between here and there"?

    Pardon me, I'm off to find myself a huge grain of salt.

  18. More scares, AND A TEMPORARY FIX! by Spy+der+Mann · · Score: 2, Informative

    The technique was created by Daniel J. Bernstein and Eric Schenk in September 1996. The first implementation for SunOS was released by Jeff Weisberg a month later, and Eric Schenk released his Linux implementation in February 1997 (the current implementation uses e.g. net.ipv4.tcp_syncookies).

    From an old 2001 syn cookies vulnerability report:

    syncookies can be disabled on a running system by executing the command:

    echo 0 > /proc/sys/net/ipv4/tcp_syncookies

    (To the editors: Mind adding the above line to the summary? Thanks!)

    Patch your systems. NOW! (note that this makes them vulnerable to syn flood attacks, but at least those won't leave your system unusable until reboot!)

    1. Re:More scares, AND A TEMPORARY FIX! by Rob+Kaper · · Score: 2, Insightful

      Simple: put that line before your network cards are initialised. That's rc.inet1 in Slackware, YMMV elsewhere.

    2. Re:More scares, AND A TEMPORARY FIX! by mishehu · · Score: 2, Interesting

      Call me a skeptic... I'll wait until I hear about it being confirmed by the kernel devs or some well known security experts... I've heard the "internet is doomed!!!!!" too many times to knee-jerk...

    3. Re:More scares, AND A TEMPORARY FIX! by JWSmythe · · Score: 2, Informative

          Unless the kernel was patched, or the rc files in your distro explicitly enable them, the default is 0 (off).

          From the kernel config help under IP: TCP syncookie support (disabled per default)

      "
      If you say Y here, note that SYN cookies aren't enabled by default;
      you can enable them by saying Y to "/proc file system support" and
      "Sysctl support" below and executing the command

      echo 1 >/proc/sys/net/ipv4/tcp_syncookies

      at boot time after the /proc file system has been mounted.
      "

            Syncookies limit the effectiveness of a TCP Synflood (where people open lots of connections, but do nothing with them). Now syncookies are bad? Hrm. I'm sure a bunch of script kiddies will be dusting off their old synflood scripts now. Damned if you do.. Damned if you don't. Nice.

      --
      Serious? Seriousness is well above my pay grade.
    4. Re:More scares, AND A TEMPORARY FIX! by the_B0fh · · Score: 3, Informative

      WHY ARE YOU TAKING THE ADVICE OF RANDOM FOOLS OFF SLASHDOT? Go find out what syncookies first. Find out why syncookies were put in. Then find out what this attack is supposed to do. Then think for your self - do I want to protect against a known attack that has successfully brought down large sites, or do I want to turn that protection off because some fool suggested it on slashdot because I heard about a new scary attack?

      If you are truly worried, there are other things you can do - look at your routers, firewalls, etc. Also, look at other OS'es. OpenBSD doesn't have syncookies - why not?

  19. Re:They might have missed a small detail by JayJay.br · · Score: 2, Insightful

    It reaches you in that no one else can see you on the Internet. If all routes are down, you can't communicate. Done, denial of service at its best, even if no packet ever reaches your interface.

    That, still assuming that all of this is true.

  20. Let's give them the benifit of the doubt by Maguscrowley · · Score: 2, Insightful

    Let's assume that they have actually discovered this industry sweeping exploit.

    So they went and contacted the vendors like good white hats. Now, if their intent was in being contributers to the greater good of security they would stop at this level of correspondence and work with the companies until the problem is fixed.

    However, they released this article to inform the public. Normally when someone does this it is with the intension of providing the public with the knowledge, tools, or rallying them activism towards the end of making the upstream change things. This article does not constructively inform in this way and does not give the end user something to throw upstream. Then what is this article accomplishing?

    The fact that we are discussing this and that we have, theoretically, RTFA implies that we have exposed ourselves to their names, tools, and services. It also, loosely implies a need for their services and their "skill." Quotations are entered around "skill" as I the reader have no way of actually confirming their skill because of the lack of real material to observe. From this perspective, I am tempted to conclude that this article serves as little more then an advertisement for their services and a cry for attention.

    What then, you may ask. Do I suggest that they leak "dangerous" information and risk their horror story becoming reality? No; rather I propose that if their intentions were really to protect the Internet, they should have stopped the discussion of their research from the immediate parties involved.

    I do not necessarily advocate any of these stances as this analysis is meant to be normative.

  21. I'm safe by goddidit · · Score: 5, Funny

    This doesn't me since use I UDP all communications communications for.

    --
    This .sig is exactly 120 characters long.
  22. DON'T PANIC! by collinstocks · · Score: 4, Informative

    If you are running Ubuntu 8.04, you probably aren't vulnerable (or at least I am not). See if you get what I got in the terminal:

    collin@collin:~$ cat /proc/sys/net/ipv4/tcp_syncookies
    0
    collin@collin:~$

    1. Re:DON'T PANIC! by Tanktalus · · Score: 3, Funny

      Apparently, I should panic:

      # cat /proc/sys/net/ipv4/tcp_syncookies
      cat: /proc/sys/net/ipv4/tcp_syncookies: No such file or directory
      # echo 0 > /proc/sys/net/ipv4/tcp_syncookies
      bash: /proc/sys/net/ipv4/tcp_syncookies: No such file or directory

      I CAN'T TURN IT OFF!

      (Manually-built kernels FTW!:

      $ gunzip -c /proc/config.gz | grep -i syn.*cook
      # CONFIG_SYN_COOKIES is not set

      )

    2. Re:DON'T PANIC! by shrikel · · Score: 5, Funny

      Oh no, me too!!

      C:\Documents and Settings\Adam>cat /proc/sys/net/ipv4/tcp_syncookies
      'cat' is not recognized as an internal or external command, operable program or batch file.

      --
      Any sufficiently simple magic can be passed off as mere advanced technology.
  23. Something strange... by nweaver · · Score: 3, Insightful

    It sounds like a blind resource consumption attack against SYN-cookie implementations, no? (Without SYN-cookies, the attack is trivial, just spoof SYNs).

    http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1332898,00.html

    SYN-cookies are a simple idea. Upon receiving a SYN, rather than creating all the state, the server returns a SYN/ACK with the SEQ value = H(IP,ACK value). Thus when it sees the ACK packet it can check that the value is returned, and then create all the state.

    If this is the case, it seems to require that a SYN-cookie be predictible, that the attacker can probe a client to predict what H(IP,ACK value) is. IF that is the case then there is an easy fix: simply use more and better random data as salt in a better hash function.

    Simply because ANY blind resource consumption attack against a SYN-cookie server requires knowing what the SEQ value from the server for the SYN/ACK in order to establish a connection by sending the proper ACK (and then some data to load the server further).

    If the attacker can't predict the SYN/ACK's SEQ value, it can't construct a proper ACK and cause the server to consume resources.

    --
    Test your net with Netalyzr
  24. Off-topic, I know... but... by erroneus · · Score: 2, Interesting

    ...something about this article made me think of something else.

    With these caps and limits being placed on customers of Comcast and others, I have to wonder if the customer is being protected or endemnified against people attacking their accounts with massive data packets in order to fill up their limits? This wouldn't be a [D]DoS exactly, but potentially, it could be an [E]DoS in effect -- E meaning "Expensive."

    I know personally, after having realized this, if I knew any Comcast customers I didn't particularly like, I might be tempted to set up a dyndns entry for their IP address and mention them on slashdot...

  25. Re:So it's a DoS abusing SYN cookies? by Anonymous Coward · · Score: 4, Interesting

    I don't think so. From the techtarget article, it seems that they are using a technique invented for the server side, but on the client side.

    It's a way of calculating the syncookies, so that the server doesn't need to store anything, until it receives the third packet (ACK) of the three way handshake, thus being able to handle syncookie'd connections just as fast as normal connections. My understanding is that these guys use the same technique on the client, so that they don't need to store anything either.

    They send the first packet (SYN), and forget about it.

    When the server responds (SYNACK) several thousand packets later - this is a flood, remember - they know the server cookie, and can recalculate their own cookie. Thus they can send the third packet (ACK) and complete the handshake, establishing the connection. The server now inserts the connection into its connection table. The client does not, it's doing a DOS attack, not trying to communicate.

    When the client doesn't need to keep track of its connections, it can start new connections as fast as bandwidth allows. Basically syn-cookies just became useless, and we're back at square one.

    However, for servers that don't have this no-memory implementation of syncookies, but still store the syncookie itself, it gets even worse. Not only are you using up all available connections, but you also fill up the syncookie table. This may be where the "does not recover after the attack" comes in. Previously syncookies would prevent the flooding in the first place, and thus you would never fill up the syncookie table. So that part of the code never got tested.

    Of course this is just how *I* understand it.

  26. Outpost24 by mrhoodie · · Score: 4, Informative

    You can find more information at my friends blog http://blog.robertlee.name/ he is one of the researchers at http://www.outpost24.com/ that discovered this vulnerability together with Jack Louis. This is probably the best place to find links for intervies, other articles and keep yourself updated with this issue. They will among other things present this at T2 in Finland this friday http://www.t2.fi/schedule/2008/#speech8

  27. How this really SEEMS to work... by nweaver · · Score: 4, Informative

    The observation: You can use a SYN-cookie like trick on the client side as well for an attacker:

    You send SYNs where the initial seq # = H(sip, dip, sport, dport).

    Now when you get a SYN/ACK back, you can send the ACK to complete the handshake. You can use the ACK field back from the server to know where you are in what data to send (just subtract the value from the initial sequence # to know what the next piece of data to send is), and you can know where you are in the received data (if necessary) by storing just the server's initial sequence #.

    As a result, you can now interact with the server without having to maintain ANY TCP session state, or just a single word (the server's initial seq #), allowing the attacker to use vastly fewer resources to tie up server resources.

    On one hand, this is a cool trick, and potentially useful for an attacker: if you have only a couple of machines and really want to tie up server resources, you can use this quite quickly.

    But OTOH, attackers already have so many zombie resources that this really doesn't necessarily buy the attacker all that much: If you have 10K machines banging on a server, the 10K machines have a good 2000x more state than the servers. So who cares about stateholding requirements on the zombie side? Thus I think its only really relevant if you wanted to DOS google, akamai, or some similar very-high-resource infrastructure.

    And as the attacker can't SPOOF packets with this (it needs to see the SYN/ACK), the zombies can be filtered if the DOS is detected and the attacker's identified as well.

    --
    Test your net with Netalyzr
  28. Computing SYN cookies? by The+Famous+Brett+Wat · · Score: 5, Informative

    Sockstress computes and stores so-called client-side SYN cookies

    This isn't supposed to be possible. SYN cookies are supposed to contain at least 24 bits worth of entropy, produced by running a server-side secret through a one-way hashing function. You can easily obtain a SYN cookie by performing the initial SYN with the server. A SYN+ACK comes back which contains the SYN cookie (as the initial sequence number). The cookie so received is unique per TCP connection (IP address and port numbers at both ends), and valid only for a limited time. The server side does not maintain any state information until the cookie is returned in the client's ACK.

    If they are actually computing SYN cookies on the client side, it's evidence of a weak SYN cookie implementation. Computation of the cookie should be infeasible without access to the server-side secret. Of course, this may be a case of sloppy reporting. As usual, we aren't given all the details of this earth-shattering vulnerability. We are simply left to guess whether these folks (and those that report on them) know what they're talking about or not.

    They could be guessing cookies, and that would explain the "it will hurt intermediate systems" excuse they used for not demonstrating it, since they'd need to flood the peer TCP with millions of randomly-guessed initial sequence numbers. Incidentally, if this is a TCP SYN-flood attack of this sort, the "after effects" they mention have to do with the fact that all the TCP connections must time out naturally -- a process which might take several minutes per connection, depending on the configuration of the listening server application. The process is naturally limited by bandwidth and the size of the TCP state table: you have to be able to send successful fake ACKs fast enough to fill the TCP state table. All the usual mitigations for TCP SYN floods apply, such as increasing the state table size and reducing the timeout for open but idle connections.

    It's not at all clear that this is any worse than the kind of DDoS attack that a typical botnet can unleash. In that case, you get thousands of perfectly real TCP connections from multiple addresses almost simultaneously. So maybe this attack doesn't require a botnet, but I don't see that it's a big new threat (as I've described it).

    --
    proof, n. A demonstration that a conclusion is implied by certain premises and axioms.
    1. Re:Computing SYN cookies? by Timothy+Brownawell · · Score: 2, Informative

      Sockstress computes and stores so-called client-side SYN cookies

      This isn't supposed to be possible.

      I took it to mean that the client is doing something equivalent to the "normal" SYN cookies that servers use, so that it doesn't have to remember what connections it's in the middle of trying to open.

  29. Setting system parameters by CustomDesigned · · Score: 2, Informative

    On RedHat distros, and probably others, there is a utility called 'sysctl' and a config file called '/etc/sysctl.conf'. In Redhat, the following appears in /etc/sysctl.conf:

    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1

    Just change the 1 to a 0

    1. Re:Setting system parameters by PReDiToR · · Score: 2, Informative

      Under openSUSE 11 I found this setting at:

      YaST2 -> System -> /etc/sysconfig Editor -> Network -> General -> IP_TCP_SYNCOOKIES

      I don't remember messing with this setting, so my bet is that openSUSE defaults to on.

      --

      Do not meddle in the affairs of geeks for they are subtle and quick to anger
  30. Mod Parent Dow; Not a fix! by rtfa-troll · · Score: 5, Informative

    Now we see that a little bit of knowledge can be a dangerous thing.

    The point that's in the grandparent's post is not that your own syn-cookies can be used against you. Syn cookies on your server are doing the right thing and are protecting you against normal syn floods.

    What's happening in this attack is that the client side (the attacker) is using their own syn cookies to store information about connections on your server (instead of in their own memory). This allows them to handle more connections than otherwise. Unfortunately there is nothing you can do to stop this. They are using required behavior of the TCP stack for their information storage.

    Some mitigation strategies that I can think of

    The parents "fix" will make things slightly worse during this attack since turning off syn-cookies will mean that your server will have to track even more TCP connections. Not just those that are active, but also those that have just started. Of course, it will also make the new attack pointless since they can just do a normal syn-flood instead.

    • Increase the TCP connection storage on your server to such a size that the DOS becomes impractical
    • Ensure that TCP connections time out after some time if they have not been authorised to a particular user
    • Impose a resource limit per authorised user on connections. Impose a separate resource limit on all non authorised users which will not interfere with authorised use.
    • Use IPSEC to authorise all incoming connections / alternatively prioritise authorised sessions.

    The best current full fix I can think of is to use IPSEC and ensure that all incoming connections are authorised. Your own users will still be able to DOS you, but at least you can hunt them down.

    --
    =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  31. WOOT! Narrowband (tm) rules! by doc_doofus · · Score: 3, Funny

    It goes after a broadband Internet connection

    Ha, ha, laugh at my dial-up connection now!

    --
    Disclaimer:IANAL/MD/PhD-Just the local yokel PC "doc" ~If you're not having fun, then you are probably doing it wrong.
  32. Umm... by vegiVamp · · Score: 2, Interesting

    TFA> I asked him if he'd be willing to DoS us, and he flatly said, "Unfortunately, it may affect other devices between here and there

    So, if it takes out other devices before reaching it's target, isn't there a reasonable chance that the attacker will just isolate himself from the net ?

    --
    What a depressingly stupid machine.
  33. PDOS by Anonymous Coward · · Score: 2, Interesting

    I believe this new attack is called a PDOS attack. It specifically targets router firmware.

    More can be found at
    http://hackaday.com/2008/05/20/phlashing-denial-of-service-attack-the-new-hype/

  34. Re:Don't Give Them The Power!!! by jjohnson · · Score: 2, Insightful

    Because if we don't discuss it, vendors will think that it doesn't need to be fixed, and won't fix it. I'm all for giving vendors some lead time to come up with solutions to discovered attacks, but history has plainly shown that the only way to compel vendors to fix security problems is to publicize them.

    And keep in mind: The fact that we're not discussing it doesn't mean it's not getting discussed in other circles who look to use it for less noble things than correcting defects.

    --
    Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
  35. Comment removed by account_deleted · · Score: 2, Funny

    Comment removed based on user account deletion

  36. Re:NetBSD? by JoeRandomHacker · · Score: 3, Informative

    NetBSD has a SYN cache instead of using SYN cookies to deal with SYN flood attacks. The difference may be enough to prevent the attack on the SYN cookie mechanism from working. The differences are discussed in this article, which I'll admit up front that I have not read.

  37. State based firewalls anyone? by MrSenile · · Score: 2, Interesting

    If you set up a state-based firewall that limits the number of SYN requests in a given second and drops the rest, I believe that will greatly reduce if not eliminate the threat.

  38. Lose by AliasMarlowe · · Score: 2, Funny

    I renamed the win.com file in Windows 3.x to be lose.com instead. Then you got the esthetically satisfying possibility:

    C>win
    Bad command or file name
    C>lose
    Starting Microsoft Windows

    Then again, I was already sick of Windows at 3.0, having tried Windows 1, Windows 2, Windows 286, and Windows 386, and hated them all for being so stupid and unreliable. The first version of Windows that I almost liked was the one in OS/2 2.0, because you could run several instances of them and kill them if they didn't actually kill themselves.

    Incidentally, the shareware graphical shell Aporia gave a sort of Windows 95 look to Windows 386 in the late 1980s (before Windows 3.0). It had icons for tools, drag+drop worked, there was a trashcan, and so forth. I wonder what happened to it...

    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  39. In a nutshell by Anonymous Coward · · Score: 2, Informative

    TCP is a stateful protocol. Each connection consumes resources (memory, timers, etc.) for keeping track of the connection state. Denial of service attacks used to attack the handshake phase by starting the handshake without ever finishing it. That's called SYN-flooding. SYN cookies were invented to defend against that. A lot of work has been done to make sure that computers which don't complete the handshake can't bog down a server. The rationale behind this bias is that those types of attacks can be performed with spoofed packets, which makes the attackers hard to catch, so you must defend against these attacks.

    The new attack completes the handshake and then does things which consume an extraordinary amount of resources in the TCP stack of the victim. Apparently all TCP stacks are much too trusting in one way or another if the remote computer completes the TCP handshake.

    The researchers have written a port scanner which tracks connections with very little overhead. While researching that application, they came across odd behavior in target machines and even found comments in TCP stack source code which hinted at possible resource problems in certain situations. They proceeded to craft attacks to trigger exactly these problems and found that they could easily bring down machines. Some of the consumed resources are so critical that their exhaustion causes other parts of the OS to fail in ways which can only be corrected by a reboot.