Slashdot Mirror


Pushback against DDOS Attacks

Huusker writes "Steven Bellovin and others at ATT Research Labs and ICIR have come up with mechanism to stop DDOS attacks. The idea is called Pushback. When the routers get flooded they consult a Unix daemon (/etc/pushbackd) to determine if they are being DDOS'ed. The routers propagate the quench packets back to the sources. The policy and propagation are separate, allowing hardware vendors to concentrate on the quench protocol while the white hats invent ever more clever DDOS detection filters for /etc/pushbackd. The authors of the paper have an initial implementation on FreeBSD."

159 comments

  1. hey by Anonymous Coward · · Score: 0

    even better idea!

    shut off the computer if its getting DoS'd

    (FP?)

    1. Re:hey by autocracy · · Score: 4, Informative

      That's exactly what this would do. The DDOS'd routers tell their upstream routers to cut back the flow of traffic - basically cutting out the source of the traffic. This of course requires that the upstream routers agree to do this...

      --
      SIG: HUP
    2. Re:hey by autocracy · · Score: 4, Informative
      I'd like to withdraw/modify that statement. I read the top post too fast :)

      It would shut off the source of the flood, not the destination as the original poster implied...

      --
      SIG: HUP
    3. Re:hey by thefalconer · · Score: 1

      Why do that? That's exactly what the stupid script kiddies who are dos'ing you want! They're trying to forcefully shut down your server, so if you do it yourself, they won. The idea is to block them out, return fire and remain online. That's how you win against them.

    4. Re:hey by Anonymous Coward · · Score: 0

      yea um, i posted that as a joke, not a serious statement. if i scripted protection, i would make it nuke them back!

    5. Re:hey by Anonymous Coward · · Score: 1, Interesting

      I just had a crazy idea. Lets say some enterprising script kiddie wants to shut off the internet. All he would need to do, after this daemon was implemented, is unleash his latest VB virus that spoofs a range of IP's. One day these infected computers would communicate among themselves to determine which blocks to spoof. Then, like the Michaelangelo virus, strike on the same day, spoofing every IP in existence and some that aren't in a dos attack from a couple million computers. After all the IP's are spoffed, those that have been attacked retaliate, only making the DOS worse. By the time it is all done, every router has blocked every IP in existence, effectively shutting off the internet. One big off switch, that is what this is. :-)

      This sounds like the Tim Allen sort of way to do it. "Why don't we just throw it against the wall and save you the trouble?"

      Food for thought.

  2. Problem? by prichardson · · Score: 2, Insightful

    Unfortunately the DDOS'ers will simply find a new way to flood a system. The best way to defend against this is to have a backup plan for when your servers get hosed.

    --
    Help I'm a rock.
    1. Re:Problem? by thefalconer · · Score: 3, Interesting

      Yes, but this would also stop most typical script kiddies. Those are the most malicious ones. Lack of maturity combined with lots of "god complex" tend to cause them to do far more damage than a typical hacker/ddos'er. So if you shut them down or reverse dos them, then they get a taste of their own medicine and you get to laugh while they're trying to figure out why their system just took a dive. :)

    2. Re:Problem? by prichardson · · Score: 1

      Ah yes, but i was thinking far enough into the futire when this uninvented new attack is just as commonplace as the DDoS is now. I'm sure the DDoS was a truly godlike acompleshment in its day

      --
      Help I'm a rock.
    3. Re:Problem? by Sn4xx0r · · Score: 1
      So if you shut them down or reverse dos them, then they get a taste of their own medicine and you get to laugh while they're trying to figure out why their system just took a dive. :)

      I don't think you get it (or I misread the article). The first D in DDoS stands for distributed. In a distributed denial of service attack many, many clients all attack a target at once. You can assume that the machine of the guy that directs the attack is not among the attacking machines.

      A reverse DoS would only annoy some people that probably don't even know that their machine is being used in an attack. A better response (if it were possible) would be to send them instructions on securing their machines.

      --
      Got brain?
    4. Re:Problem? by sfe_software · · Score: 2

      I agree that this doesn't, on the surface, seem to be a good idea. My question is this: don't some DDoS attacks spoof the source IP anyway? I believe that this is easily done, as long as you don't care about getting a return value. Being attacked in this manner would cause the victim to "push back" against another unsuspecting victim...

      Or am I missing something (or just wrong)?

      --
      NGWave - Fast Sound Editor for Windows
    5. Re:Problem? by Sn4xx0r · · Score: 1

      The way I see it is that idea is to throttle the datastream going to the attacked IP, at all the routers up to the originating IP(s), not to bounce the packets back to the originating IP(s). It's the only thing that would make sense. If so, the choice of words in the writeup is a bit confusing. But then again, I'm easily confused :)

      --
      Got brain?
    6. Re:Problem? by Anonymous Coward · · Score: 1, Informative

      The above poster is 100% correct. Defining and throttling 'evil' traffic is the best way to go. Most router vendors have some methos of identifying traffic profiles and implementing a L2-cognicent policy.

      Here is a Cisco IOS policy that will identify and throttle all ICMP echo traffic that consumes greater than 256K.

      policy class-map match-all DOS
      match access-group 189

      policy-map killicmp
      class DOS
      police 256000 8000 8000 conform-action transmit exceed-action drop

      access-list 189 permit icmp any any echo
      access-list 189 permit icmp any any echo-reply

  3. Couldnt pushback be a Dos tool in itslf? by Anonymous Coward · · Score: 5, Insightful

    If pushback is subverted, couldnt it function like an inverse DOD tool?

    1. Re:Couldnt pushback be a Dos tool in itslf? by keller · · Score: 1

      Department of Defense should use this?
      Why? .K

      --

      Enig? Det alt for hot det smor!

    2. Re:Couldnt pushback be a Dos tool in itslf? by Masami+Eiri · · Score: 0

      I think he meant DDoS, not DoD

    3. Re:Couldnt pushback be a Dos tool in itslf? by Anonymous Coward · · Score: 1, Informative

      No because it means stop sending. To the network this stops the flood of packets.

      and as the flood stop makes it,s way up the network to the source more and more bandwith is avalibale to the network untill hopefully even the ofending machines will ack and stop sending.

      But even if the ofending machine wont the routers
      in between the target and the source will.

      CCNA

    4. Re:Couldnt pushback be a Dos tool in itslf? by xenocide2 · · Score: 3, Insightful

      What he means is that pushback is a form of muting a computer. Pushback just sends the filters upstream to stop the saturation of the line. If this mechanism is vulnerable in some form that is universal or at least common then you could subjugate the filtering mechanism to mute a target upstream. Don't like GRC? Hack a pushback capable router and tell it to drop all send packets from GRC.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    5. Re:Couldnt pushback be a Dos tool in itslf? by swillden · · Score: 3, Interesting

      No because it means stop sending. To the network this stops the flood of packets.

      Yes but if the system can be fooled into quenching legitimate requests then service has still been denied. I mean, to a user, does it matter if you can't get to the server because it's overloaded, or you can't get to the server because the routers are telling your machine to stop sending? Either way, all you know is that the blasted server is down.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  4. Re:*BSD is dying by Anonymous Coward · · Score: 0

    You could at least vary the numbers in this, so as to make it APPEAR to be a valid report, different from the one you swiped it from (which also was bullshit)

  5. Manual RegEx? by stevejsmith · · Score: 1

    If a large-enough site was getting DDoS'd (Yahoo!, Microsoft, universities, etc.), wouldn't there be someone on call 24/7 who could in a matter of minutes sort out what the similarities in the DDoS are and then manually get a RegEx to sort them all out?

    I don't have much knowledge of the subject, but that seems like an easy want to deal with it.

    1. Re:Manual RegEx? by mocktor · · Score: 3, Funny

      Nice idea but regex's have waaaay to high an overhead to filter the amount of traffic even a small DDoS produces - you'd need some kind of omnipotent distributed uberBeowulf cluster (or a million monkeys watching a zillion blinkenlights)

    2. Re:Manual RegEx? by Bill+Wong · · Score: 5, Insightful

      DDoS is usually bandwitdh consumption...
      Even if you drop 100% of the evil packets...
      Your pipe is still filled...

      And for the amount of traffic needed to actually DDoS a large-enough site like Yahoo (4 gbps last time around?), RegExs wouldn't be helpful
      since, the sheer amount of cpu required to process *every*single*packet*that*passes*through* is wayy too much...

    3. Re:Manual RegEx? by Mark+(ph'x) · · Score: 1

      yes, however if you do propagate the quench packets back towards the source, the idea is that its no longer your pipe that's being filled. this technique seems pretty good actually... imagining a large number of skript kidz filling up my pipe (dodgy image there ;) but I digress)... by 'quenching' each one of these at their ISP's router it means my pipe is empty, theirs is full and all they have succeded in doing is DOSing themselves :D

      --
      those who control the past, control the future. those who control the present, control the past.
    4. Re:Manual RegEx? by Corfiot · · Score: 1

      If you propagate upstream your pipe will *no*longer*be*filled*.

      Plus, you don't process every single packet. Only dropped ones and of those, only a sample. Did you actually READ the paper?

      --
      -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ "Shadows are as important as the light" - Jane Eyre
    5. Re:Manual RegEx? by Anonymous Coward · · Score: 0

      Did you read the post he was responding to?

  6. Re:*BSD is dying by Hektor_Troy · · Score: 0, Offtopic
    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.
    Here's to hoping Microsoft picks up FreeBSD then.
    --
    We do not live in the 21st century. We live in the 20 second century.
  7. sure by bicho · · Score: 1, Insightful

    the best defense is the attack, so if they saturate your A/B/C network, then saturating the Internet is the obvious right solution.

    Of course its not, it would do much more harm to many more innocent people.

    The right solution is to educate people so that their PC's doesnt get inffected with worms and the like so they dont unknowingly contribute to DDOS.

    Of course, the right is almost always the hard way and most people doesnt want to care about ignorant people so... we're in a vicious cycle here, just as in anything else.

    --

    errera hunamum ets
    1. Re:sure by garcia · · Score: 4, Insightful

      educate people who are getting infected? Come on. Your not serious...

      These people think that when they install virus scan software they are safe. I recently re-installed Windows on my gf's computer. She had V-Shield on there from 1999. She had no idea that she would need to update it.

      At least my roommate, my parents, and my gf know (from me) not to open attachments. But educate a WIDE group of people? That's just not going to happen and you know it.

    2. Re:sure by jonbrewer · · Score: 2

      She had V-Shield on there from 1999. She had no idea that she would need to update it.

      Newer products do solve this problem without customer education. My McAfee VirusScan checks for updates daily and generally downloads new definitions once or twice a week. I don't have to take the initiative to update it or buy new software.

    3. Re:sure by Anonymous Coward · · Score: 5, Insightful

      that has to be one of the least constructive, head in the sand arguments I've ever read. Did you read the article ?

      The technique is about making the internet move the point of dropping the flood packets, BACK closer to the source. That is, remove the flood from the internet itself, and contain it into the localised areas.

      Instead of expecting the impossible as you suggest, (which is joe-average running a secure system), finally someone is thinking about securing the internet in general from unsecured systems, which is a pragmatic approach which may well protect the internet in general from many unforeseen DDOS attacks, as well as the ones we know about.

    4. Re:sure by Shishak · · Score: 4, Informative

      Not exactly...

      If every network provider ran this type of a system on their edge routers. Have all the edge routers communicate to distributed servers. Then, when you are being attacked you simply announce the offending IPs involved in the attack. That announcement gets propogated around all the servers which tell the edge devices to filter the traffic. It isn't a reverse flood. It is a way of telling the router closest to the source to start dropping packets.

      Forged source IP's should be dropped at the edge already.

      What we need is a protocol for sending dynamic filters to cisco routers. I would like to have input/output lists put on an interface that I can later build dynamically. I do it now with my Linux firewalls but it would be nice if I could drop the packets on the far side of my expensive link.

      --
      Now I hope and pray that I will But today I am still, just a bill
    5. Re:sure by Doug+Neal · · Score: 4, Insightful

      How is this design proposing to saturate the Internet?

      It involves sending a short message back to the routers that are routing the packets to you asking them to "quench" - i.e. filter out and don't route - the offending upstream sources.

      The message could propagate as far back as the individual ISPs from which the packets are originating from so that each participant in the attack is cut off.

      At least that's what I'm getting from the summary of the story, I could be completely wrong.

    6. Re:sure by irc.goatse.cx+troll · · Score: 3, Insightful

      Not all denial of service is saturation.
      What happens when i spoof that you just DoSed your favorite website? You get cut off from it, and denied service.

      Although as far as taking advantage of this sort of thing goes, I'd much rather be able to use an ICMP Redirect to make a DoSnet packet its owner.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    7. Re:sure by Anonymous Coward · · Score: 2, Insightful

      So what kind of authentication is taking place between routers and the pushback daemon? Why couldn't I just create a denial of service by claiming that someone is denying me, therefore causing them to get shut down?

    8. Re:sure by Rhinobird · · Score: 1, Funny

      how come your grandfather(gf) is a girl?

      --
      If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
    9. Re:sure by LinuxGeek8 · · Score: 2

      If the router of your ISP would drop every packet that doesn't come from your ipadress, I should be safe.

      --
      Well, don't worry about that. We can get you back before you leave. (Dr. Who)
    10. Re:sure by Anonymous Coward · · Score: 0
      I don't have to take the initiative to update it or buy new software

      Had it less than six months, huh?

    11. Re:sure by irc.goatse.cx+troll · · Score: 3, Insightful

      Yes, because no one is so unethical that they would specify your ip address as the source instead of theirs.

      The only thing to slow this down is checking routes, but even that can be gotten around (they just have to be on your network, thats not hard for colo's, shells, and most other providers)

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    12. Re:sure by Anonymous Coward · · Score: 0

      That's all well and good until your internet connection gets temporarily shut off just because you actually read the articles on /.

    13. Re:sure by pediddle · · Score: 1

      A couple other people have said this already, but if I announce an "attack", who says that the attack is really taking place? Why can't I just tell the routers to quench some random "source" and cause a reverse DOS (wouldn't even need to be distributed)?

    14. Re:sure by Phroggy · · Score: 2

      Forged source IP's should be dropped at the edge already.

      Amazing how many ISPs don't do this...

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    15. Re:sure by rbgrn · · Score: 1

      > Forged source IP's should be dropped at the edge already.

      No, They shouldn't! Forged sources are a way of getting 2 firewalled clients to talk directly to each other by means of spoofing each others filewalls with the forged source which is of the gatekeeper. It's the ONLY WAY to do this, and if you get rid of forged sources, you get rid of direct connections between firewalled IPs.

  8. My take by bobetov · · Score: 5, Interesting

    Sounds like a pretty v1.0 idea at this stage, but I'm psyched people are spending brain cycles working on DDoS and flash-flood solutions, since they're both problems that are only going to get worse.

    (Gotta love the Slashdot effect getting named explicitly, eh? Nice to be part of the problem for a change... hehe.)

    Seems to me the tricky part here is defining the aggregates. After reading the article, it isn't *really* a way to save your site from going down due to overload, more a way to prevent others sharing your pipe/routers from going down with you. ;-)

    Which is a good goal in itself. It seems like a real tough thing to determine which of the millions of hits to www.yahoo.com (for ex.) are valid users, and which are DDoS bots. So both get restricted (net result: bots win), but the guy in the cage next to yahoo stays up.

    --
    Looking for a Rails developer in Chapel Hill?
    1. Re:My take by Subcarrier · · Score: 5, Interesting

      Sounds like a pretty v1.0 idea at this stage

      I have to agree. They leave a lot of issues for further study. One big problem seems to be that gigabit backbone routers don't really have time to do any of this stuff. It's not much use if the back plate packet rate drops to one quarter because of having to detect and deal with flow aggregates.

      --
      "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    2. Re:My take by Anonymous Coward · · Score: 0

      Too bad the slashdot effect didn't have a reference to wtf it is.

      Kind of odd, in a technical paper, using a term without defining what it is/where it came from.

    3. Re:My take by Cato · · Score: 4, Informative

      That's not true of all such routers - as long as the number of aggregates to be filtered is fairly low, it shouldn't have too much impact. Most of the filtering should be on the routers at the edge of a given provider's network, which have less work to do than the true core routers - this is similar to the DiffServ QoS model except that the core routers don't need to do anything at all, since traffic is limited on the edges.

      Juniper routers do this sort of filtering and policing in hardware, and can also generate traffic stats efficiently. Other vendors have similar features - Cisco 7500 routers can have multiple VIP processors, distributing the work down to the interface cards.

      The main constraint is that you need new software written, installed and debugged in these routers, which will take time and require an agreed standard across router vendors. In the short term, it's easier to use existing features such as NetFlow/cflowd for traffic stats, feeding into an existing DDoS analysis tool (e.g. the Arbor Networks ones), which then tells a router provisioning tool to reconfigure the routers. This would not be as slick or dynamic as the proposed scheme, but could be done today. It would also make it possible to have a human in the loop initially, reviewing suggested changes. This would work OK as long as management and routing traffic are assigned a separate queue on each router interface, guaranteeing enough bandwidth to make these changes in the face of a DDoS attack (something that the ACC approach would also need).

    4. Re:My take by Subcarrier · · Score: 2

      If the hardware limits the number of aggregates that a core router can handle, it's fairly easy for an attacker to saturate the hardware.

      Pushing the filtering all the way back to the edge nodes of the source networks may also be difficult, as detecting the aggregates is probably a lot easier than detecting individual malicious sources (you would like to leave the legitimate sources unblocked). Ultimately this would be the way to go, though. Applying ingress filtering universally to combat source address spoofing would be a good start.

      --
      "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    5. Re:My take by Cato · · Score: 2

      A truly sophisticated attacker could probably hit the number of aggregates limit, but that's a second order issue and is unlikely to happen with current tools (as long as source addresses are not used in filters, since they are usually faked).

      My suggestion for using current tools would work only in a single provider - cooperation between providers would require an IETF standard, perhaps using BGP extensions to carry requests for filtering/limiting, or perhaps using a human-checkable format for these filtering.

      Whether in a single provider or not, routers are clearly less likely to melt if you can push the filtering/limiting upstream, reducing pressure on router and bandwidth resources by acting as close to the source of attack as possible.

      Universal ingress filtering should be mandatory - enterprises should demand it of providers, and vice versa. There is a good RFC discussing this, 2827 - see http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2827. html

  9. not all DDoS attacks.. by Anonymous Coward · · Score: 5, Insightful

    Not all DDoS attacks are bandwidth based, they could be application level and targeted at all sorts of other resources.

    Some examples:

    SYN floods can exhaust incoming connection queues.

    DNS floods (asking a recursive nameserver a million questions, or even asking an authoritative nameserver a million questions).

    Too many HTTP requests to processor intensive dynamic content pages could deny service well before you are serving at your bw limit.

    The paper kept referring to the aggregate detection algorithm only coming into effect when the bandwidth limit is being exceeded .. it would be nice if these actions could be initiated in other situations also.

    Never the less, this is a promising initiative.

    --Iain

    1. Re:not all DDoS attacks.. by Shishak · · Score: 1

      Well, If we can build a secure way of notifying the source network providers of an offending IP. Then have that network provider block that IP from sending on the Internet. We can then setup our servers to tell us when they are being attacked/flooded/poked at. Our server or IDS can then notify our distributed attack manager which can notify the source networks attack manager which can notify the edge router to drop packets.

      It isn't all that complicated, it is a major pain to get every network admin and small ISP to implement something.

      The simple act of filtering all outbound packets to only allow your netblock would stop forged IP attacks cold.

      --
      Now I hope and pray that I will But today I am still, just a bill
    2. Re:not all DDoS attacks.. by smallfries · · Score: 2, Interesting

      These tend to all follow the pattern that you are exhausting the cpu of the target rather than its network pipe. Newer network protocols already have protection for this by making it more expensive for the client initiating the connection rather than the server receiving it. SCTP has this in place already with a crypto-based cookie puzzle to prevent SYN bombs (similar approach would work for dns too). The other question is when (or rather if) newer protocols like these will eventually replace TCP with all of its inherent problems or if the inertia (but everybody knows TCP...) of the current protocols will kill them off first.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    3. Re:not all DDoS attacks.. by digitalsushi · · Score: 2

      Dont forget calling your ISP's fax machine with a roll of black paper taped into a loop. We sent a kid out to a "grocery store" that day- we had no idea what was for lunch.

      --
      slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
    4. Re:not all DDoS attacks.. by whereiswaldo · · Score: 2

      Well, If we can build a secure way of notifying the source network providers of an offending IP. Then have that network provider block that IP from sending on the Internet.

      Wonderful. Then later we can expand the system to block at will anyone who says something we don't want to hear. We could even hook it into Microsoft Passport! It will be easy to silence people.

    5. Re:not all DDoS attacks.. by essdodson · · Score: 1

      I think the difference between the targets of the article, and the DoS situations you mention, is that the Internet as a whole is responsible for bandwidth based DoS attacks and it should act proactively to stop them. They're also far easier to detect.

      --
      scott
    6. Re:not all DDoS attacks.. by GnomeKing · · Score: 1

      Too many HTTP requests to processor intensive dynamic content pages could deny service well before you are serving at your bw limit.

      A webpage that I have written has suffered this problem on many of its mirrors...
      (background, Its a very computationaly intensive page designed to work out the outcome of battles in an online game called planetarion)

      Apart from upgrading the processor and imposing restrictions on the size of the computation thats requested, are there any other precautions I can take?

    7. Re:not all DDoS attacks.. by Trinn · · Score: 1

      Well, you might be able to pull together some sort of queue whereby the users that would normally get denied just have to wait. Try handling 502 (overloaded) errors yourself, might be a good starting point.

  10. "quench" ? by Bowie+J.+Poag · · Score: 2, Informative



    Sounds like the name of a sports drink targeted at uh....interior decorators.

    Shouldn't it be "squelch" ?

    Cheers,

    --
    Bowie J. Poag

    1. Re:"quench" ? by cheese_wallet · · Score: 2

      One quenches a fire, so it's not that far off base. I do like squelch, although it makes me think of grape juice.

    2. Re:"quench" ? by adb · · Score: 2

      But you probably don't want to quench a flood...

    3. Re:"quench" ? by smallfries · · Score: 1

      you also quench a thirst - although normally with some kind of flood ...

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    4. Re:"quench" ? by wilhelm · · Score: 1

      The technique sounds a bit like an ICMP "source quench" (see RFC 896 for some earlier work on the topic), though interpreted by the intermediate routers, instead of the endpoints. So yeah, that's about the right word for it.

  11. Question.... by jwilcox154 · · Score: 3, Insightful

    How does it prevent a Server from being Slashdotted?

    1. Re:Question.... by Big+Mark · · Score: 2, Interesting

      Pushback will ensure that when the /. effect happens, the server isn't overloaded by dropping connections enroute to the server rather than at the server itself.

      I wonder what impact the pushback overhead will have when a server gets slashdotted, though. What if the pushback message gets dropped due to swamped routers?

    2. Re:Question.... by Anonymous Coward · · Score: 0

      What if the pushback message gets dropped due to swamped routers?

      I was thinking the same thing. The kiddies could probably work around the system rather easily -- by simply ramping up their floods quickly enough.

  12. " The Slashdot effect " w00t as quoted as within by sh2kwave · · Score: 0

    stated in the paper "The Slashdot effect" often leads to flash crowds.

    I think that deserves some props to the boys running slashdot since they got themselves noted in the paper.

    As well as some credit to every one that reads the pages :)./

  13. This is worse by greenrom · · Score: 4, Insightful
    What the paper suggests is that if a router is getting way too many packets to a specific destination address, it will tell the routers upstream to throttle packets to that destination address (drop a certain percentage of them).

    How does this really help a DOS attack? The idea behind a DOS attack is to flood a server with so many packets that the server can't keep up and ends up dropping most of the packets. This paper does not provide a solution to this problem. It simply shifts where the packets are being dropped... at a router upstream instead of at the server or router at the edge of the network. The only advantage here is that other servers hanging off the router that aren't being DOSed will be unaffected.

    The suggested solution also opens up a potential security hole. If you gained access to a server, it might be possible to send a packet to routers upstream and tell them to throttle bandwidth. This could be a much more effecient way of doing a DOS attack. Now instead of multiple machines on fast connections, all you really need to DOS your favorite website is a 268 and a 300 baud modem.

    1. Re:This is worse by Anonymous Coward · · Score: 3, Insightful

      If you read the post it is clearly pointed out that the objective is to prevent the DoS from affecting other services carried on the same network link.

      There is no clear way to differentiate some forms of DDoS attacks from legitimate traffic or a traffic spike .. so you have to concede that the attacker has won that battle and interrupted their targetted service, the next step needs to be harm minimisation.

      The pushback idea provides a generic method for notifying/instructing upstream carriers to drop a certain aggregate traffic flow and notify the destination of what affect that limiting is having so they can determine when to resume normal operation.

      In the mean time though, you have prevented a DDoS that may be targeted at a single machine from affecting the entire network.

      --Iain

    2. Re:This is worse by dubious9 · · Score: 2, Insightful

      If you root a webserver chances are that you want people to see the changes that you make to it. Once you have control of the machine you can do much worse things than DOS it.

      Besides it is much harder to break into a well protected machine, than to break into a couple of thousand nearly unprotected ones.

      --
      Why, o why must the sky fall when I've learned to fly?
    3. Re:This is worse by Anonymous Coward · · Score: 4, Interesting

      No, it throttles packets based on whatever is common to a majority of the packets. So, if a website suddenly gets a huge number of requests for /index.html, it can throttle those and let requests for another page through unhindered. If a web server gets a huge number of identically formed packets, it can throttle those and let differently formed packets through unhindered.

      You are correct when you say it shifts the site where the packets are dropped. However, you miss the whole point. The site's router determines a pattern common to an attack, and tells the routers upstream the pattern. Those routers tell their upstream routers the pattern, etc. Alone, the site's router might be overloaded. The routers two levels upstream might all be just about overloaded, but still able to let through all non-attacking traffic. If these routers all begin throttling, the site's router will no longer be overloaded. All nonattacking packets will be let through unhindered. All attacking packets will be throttled severely. If the attack picks up and the second-level-upstream routers can't handle it, they will pushback to the third-level-upstream routers, etc.

      At least, that's how I understood it.

  14. Re:Stephen King, author, dead at 55 by kryonD · · Score: 1, Funny

    I just heard some sad news on talk radio - An Anonymous Coward was found dead in his Maine home this morning. There wasn't any more details, but athorities think he was hacked to death with a blunt spoon by author Stephen King. I'm sure everyone in the Slashdot community will be willing to provide an alibi for Stephen - even if you didn't enjoy his work, there's no denying his contributions to popular culture by killing this annoying f&#k. Truly a World icon.

    --
    I've dirtied my hands writing poetry, for the sake of seduction; that is, for the sake of a useful cause. --Dostoevsky
  15. Can this be right? by rocjoe71 · · Score: 4, Interesting
    This sounds like innovation and that just can't happen on non-M$ operating systems, can it?

    Back down to earth, it's mega-wicked when good ideas are developed in FreeBSD (or Linux). Developments like these come the closest to the original intents and purposes of open sourced OSes.

    --
    Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
    1. Re:Can this be right? by tomstdenis · · Score: 1

      Troll much?

      Since when can you not write open and innovative software on a MS platform?

      People like you give idiot-yuppie-zealots a bad name.

      Tom

      --
      Someday, I'll have a real sig.
  16. another idea... by jjshoe · · Score: 1
    while this idea is good... i often thought about the complexity of having software on every router like ntop or such setup with a tool like trace route.


    what in the heck am i saying? lets say you get a syn with spoofed ip's (ask any ircop how much fun that is) you could then trace back through every router that spoofed ip came from. i realize this would tax machines quite a bit in logging and what not.


    i dont think there will ever be a way to prevent any type of attack. i do think its important to have a proper response plan.

    --
    -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
    1. Re:another idea... by Shishak · · Score: 3, Interesting

      There is a perfect, 100% sure way of stopping spoofed IP's. It is very easy, non-resource intensive and not being used by lazy network admins.

      On every edge router you simply need to put an access-list to drop all packets not coming from your netblocks.

      Edge routers going to customers you drop incoming packets not coming from your customer assigned IP. Amost EVERY edge device supports this, most support dynamic filters with RADIUS resquests. If you only allow your customers to send you data from their IP address it is impossible for them to be part of a spoofed attack.

      --
      Now I hope and pray that I will But today I am still, just a bill
  17. I have a simpler solution by Anonymous Coward · · Score: 1, Insightful

    Make ISPs liable for machines that they allow to connect that are periodically engaged in attempting to abuse other machines for longer than, say, 10 days.

    Give ISPs an incentive to detect forged packets, portscanning, and other common signs of compromised machines at the source. Get rid of zombies at the source. Then there wouldn't be the raw material for DDoS.

    In short keep machines from swinging their fists, rather than try to make the recipients more resistant to being hurt.

    1. Re:I have a simpler solution by FireballDWF · · Score: 1

      One way to help "keep machines from swinging their fists" is to quickly notify their ISP when they do start attacking. http://www.mynetwatchman.com/vision.htm explains a system of currently 1478 people who submit their Firewall logs using an automated agent to a server which aggregates the data, backtraces the activity to its source, filters false alarms, and automatically sends escalation e-mails to responsible party, often the network abuse contact for the ISP which owns the netblock of the IP address.

  18. blocking packets with forged return addresses by wfmcwalter · · Score: 5, Insightful
    Perhaps someone more network-literate than I can answer this DDoS question, which has bothered me for some time.

    I believe most DDoS attacks have the following in common:

    1. DDoS zombies generally send packets with forged return addresses, as doing so greatly complicates attempts both to block packets and to track down individual zombies.
    2. Machines used for DDoS attacks are almost always either corporate PCs or home PCs connected by DSL/cable. These nodes are single-homed, and as such packets emanating from them have only one initial route to the internet.
    My question is this - why can't corporate IT people or their counterparts at ISPs reprogram their front-line routers (those that directly connect to individual end-user PCs) to block packets with forged return addresses? Forged addresses typically are either totally illegal or indicate a totally different net or subnet from the actual sender.

    I can't see any reason why this wouldn't be a good idea - there really isn't any reason for the type of machines mentioned to ever act as true IP routers (as opposed to NATs), and it doesn't seem like this would be either hard or burdensome for the first-line routers to do.

    Employing this would mean that DDoSers would be confined to forging return addresses within the zombies' own subnet, which would make both blocking and back-tracking much easier.

    It's plain that this isn't done, so there must be a good reason why people much more network savvy than I haven't implemented it - what is it?

    --
    ## W.Finlay McWalter ## http://www.mcwalter.org ##
    1. Re:blocking packets with forged return addresses by Anonymous Coward · · Score: 0

      This would work even better if the router could somehow tell your true IP address and when it sees you trying to forge packets, it black lists you and temporarily or permanently shuts down all traffic from that IP, logs the illegal attempt and notifies an administrator.

    2. Re:blocking packets with forged return addresses by dubious9 · · Score: 1

      Hmmm... good idea. I have had this idea with respect to e-mail servers and making sure each e-mail sent out had no forged information.

      Basically, I guess that this would require some sort of change to IP. One solution would be so send the "front line router" a connection packet. Then have the router send you back a public key. Then whenever the client encrypts his IP address (or some other unique peice of information(MAC?) and send this along with every outgoing message.

      The router could then maintain a lookup table with IP's and encrypted message to determine which ones to drop.

      You might have to double the number of front line routers to handle the overhead, but I guess this would help quite a number of security related questions.

      I realize there are probably a number of problems with this as I am not a security guy, but are they any reasons this basic idea wouldn't work?

      --
      Why, o why must the sky fall when I've learned to fly?
    3. Re:blocking packets with forged return addresses by wfmcwalter · · Score: 1
      This would work even better if the router could somehow tell your true IP address

      Strictly, it needs only to figure out your true identity to do this blacklisting.

      For ethernet connected devices (corporate and college LANs) the ethernet address serves this function.

      I have no idea how this would be achieved with PPP (dialup) and PPPoE (some dsl).

      For non PPPoE domestic broadband, one would imagine the DSLAM or DOCSIS-router-thingy would have the equivalent info (for DSL and cable respectively).

      --
      ## W.Finlay McWalter ## http://www.mcwalter.org ##
    4. Re:blocking packets with forged return addresses by swb · · Score: 5, Insightful

      "Good" networks prevent forged packets by doing what you suggest, dropping packets with bogus source addresses at the edge of the network or at appropriate ingress points.

      I think the argument that is made for not doing this at a lot of ISPs is that with most Cisco routers its expensive as a lot of their routers can't fast switch with ACLs applied, they process switch, turning an adequate router into an inadequate packet-dropper.

      It can also be a PITA to maintain -- if you put it at the very edge, like on an ISPs peering router with their upstream, it doesn't prevent in-block spoofing (eg, spoofing packets within the ISPs block). If you try to beat that on all the aggregation routers, you have a lot of ACLs to maintain; customer churn could put address blocks all over the place.

      I'd argue that ISPs should make it a term of service that *their* customers ACL their edge routers; we-catch-spoofing-we-cut-you-off language.

    5. Re:blocking packets with forged return addresses by Cato · · Score: 5, Informative

      This is mainly laziness - there are tools to help you do this, from Expect-based scripts up to commercial router provisioning tools (which can also be used to activate IP VPNs and QoS).

      As for router capacity - Junipers don't have this problem, and if the ISP manages the CPE router on the customer site they can just push it down to that device. On a Cisco, where you have symmetric routing (probably the case for most smaller customers i.e. not dual-homed), you can just set the IP reverse-path forwarding option, which is very efficient - on each packet, the router does a routing lookup on the *source* address, as if it was trying to send a packet back to its origin. If the routing table doesn't have an entry for that source address that points out via the interface the packet was received on, the source address has been forged. This is not much overhead at all - just one more routing lookup.

      For dual-homed customers, the provider has to use ACLs or perhaps a managed CPE, but ideally this would be a selling point for the ISP helping to generate cash to pay for router upgrades if needed - it safeguards the customer's network from being used to generate DDoS attacks with forged source addresses, which could save the customer from a lawsuit.

    6. Re:blocking packets with forged return addresses by wfmcwalter · · Score: 2
      its expensive as a lot of their routers can't fast switch with ACLs applied ... It can also be a PITA to maintain

      All true, but increasingly no defence for a lazy ISP. It's jolly inconvenient for me to stop my car at red lights, but it's my duty as a good road-using citizen to do so, even if I don't think I'll get into an accident.

      if you put it at the very edge, like on an ISPs peering router with their upstream, it doesn't prevent in-block spoofing

      Indeed, it's an imperfect solution, but it does give a start to a beseiged site - better they (and their downstream) block a whole ISPblock or whole ISP than go down entirely. Unfortunately, there's a selfish counterargument to this - an ISP who is a good citizen and implements blocking may (if it's subsequently used for DDoS) find itself cut off from (e.g.) yahoo or ebay - one that doesn't will get a _little_ more service, until the target itself expires.

      I'd argue that ISPs should make it a term of service that *their* customers ACL their edge routers; we-catch-spoofing-we-cut-you-off language.

      I'd second that - on the contract line following "thou shalt not maintain an open SMTP relay".

      --
      ## W.Finlay McWalter ## http://www.mcwalter.org ##
    7. Re:blocking packets with forged return addresses by Inertia+Creep · · Score: 1
      DDoS zombies generally send packets with forged return addresses [snip]

      Not so. Maybe 20% of DDoS packets have forged source addresses. When you've got a network of 12,000 Slapper infected bots, you don't need to worry about obscuring the traffic's origins.

      Blocking packets w/ spoofed source, or source address validation, is at best a small part of the solution.

  19. A Slashdotter has a girlfriend!??! by Anonymous Coward · · Score: 0

    Wow, more newsworthy than Tablet PC!

    1. Re:A Slashdotter has a girlfriend!??! by Anonymous Coward · · Score: 0

      only problem is, she has teh ugly

  20. Old Idea by Brew+Bird · · Score: 5, Informative

    This idea has been hashed to death for years.
    The basic implementation has already been done.

    What is novel and new about this paper is the suggestion that upstream routers are going to allow any tom, dick and mary to tell them what packets to throttle.

    Always ass-uming that the larger switches can actually do this on the scale that is hinted at in the paper.

    While issue 1 is specificly a political issue between carriers and customers, one could always point to the ease of which BGP routes are exchanged as an example of how easy this would be to do. Unfortunatly, since we are now talking about something that could effectivly put a transit provider out of business, there is no way issue number 1 will be overcome, unless the router manufactures give me the same kind of filter and ruleset technology I have for BGP. This would allow me to ignore anything I want from anyone, and would have the net affect of the feature being disabled!

    as for 2, I'm sure some router manufacture has been touting this type of 'feature' on thier new multi-gig-a-bit MPLS/IP-does-everything-at-once switch. Don't believe it until it's out of the lab, guys. As many times as carriers have been screwed over by these new startups and their 'awsume powerful technology', I'm supprised anyone believes thier line of crap anymore.

    It's too bad DDOS attacks don't go on for weeks, then we could use something like RBL to deal with it. Since they are so transitory, blackholing on the fly, (which is basicly what this paper is advocating) would require a lot more thinking about than has been put into this work.

    Perhaps, instead of trying to complicate our lives with Yet Another New Protocol, you could simply come up with and IDS concatonation system, that puts together 'lists' of known DDOS sources at the current moment, and put it into a BGP feed... What a concept! Taking 2 technolgies that are known to work, and available to ANYONE that does BGP on the internet, and making it work!

    Thank You, Come Again.

    1. Re:Old Idea by bigberk · · Score: 1
      Perhaps, instead of trying to complicate our lives with Yet Another New Protocol, you could simply come up with and IDS concatonation system, that puts together 'lists' of known DDOS sources at the current moment, and put it into a BGP feed... What a concept! Taking 2 technolgies that are known to work, and available to ANYONE that does BGP on the internet, and making it work!

      This kind of reminds me of DShield. And I think you're right, if we could automate such an internet-wide distribute of potential DDoS participant hosts then when an attack begins, the victim could invoke "the blacklist" and hopefully cut out a big chunk of the sources.

    2. Re:Old Idea by smallfries · · Score: 1

      Ok, disclaimer first - I haven't actually read the paper. That said, if you're right about:

      What is novel and new about this paper is the suggestion that upstream routers are going to allow any tom, dick and mary to tell them what packets to throttle.

      Then, lol. Do they really think this is a good idea in any way, shape or form?
      This opens up an even worse class of DOS attack than the one that it plugs. Effectively I can clamp off your traffic by accusing you of DOS'ing a bunch of servers out there somewhere (by forging requests from those servers).

      Or even worse, again by forging requests from a server I can fire off pushbacks to a large number of edge routers and close down most of your traffic from those areas.

      Is there no authentication in there at all?

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    3. Re:Old Idea by Cato · · Score: 4, Insightful

      A BGP feed will only help if you want to drop ALL traffic to a given IP prefix - the ACC proposal actually lets you limit traffic by port number as well.

      Also, a BGP-only solution would only let you drop traffic, so it's not very useful for flash crowds, where the traffic is legitimate but excessive. It's also not useful where the port / prefix etc can't precisely identify only DDoS traffic - rate limiting allows some good traffic to get through while also limiting the DDoS. Blackholing != limiting (did you read the paper at all?)

      I agree that this can be prototyped using existing technology (see my post elsewhere), but if this approach proves useful, a dedicated protocol would be helpful - though this could perhaps be piggybacked onto BGP using additional attributes to carry the filter and rate limit information.

    4. Re:Old Idea by Brew+Bird · · Score: 1

      Yes, I do understand that a BGP feed will do that. Can you think of a better incentive to have the source of the DDOS actually do something about it. (Flash crowds are another issue completely, and should be handled by the local site. I think you would be hard pressed to find any site that doesn't already have a solution for 'flash' crowds availble. If it is a regular issue, you can always Akamize... If not, there is nothing stopping you from rate limiting at the edge. Forcing the core of someone else's network to rate limit based on your arbitrary rules is totally the wrong way to deal with flash crowds, IMHO)

      I actually had this argument with a few router vendors a few years ago, my argument was quite simple. When you get to the point where the core switch has enough power to do all of things that it would need to do in order to.

      1) filter on src/dst/port/URL whatever
      2) implement these filters into multiple OC-192 trunks connections without taking too much a % loss
      3) making it scale to 'Internet' size.

      You have spent more money buying the switch than if you had simply gone with an 'all or nothing' solution.

      AND you achieve pretty much the same result. (from the 'I need to let paying customers use the bandwidth vs these DDOS hax0r l33t skript kiddies point of view)

      This is the diffrence between someone who doesn't have to pay for implementation of a technicaly superior soltion, vs someone who has to worry about how little money is being made with these expensive switches, because everyone expects their multi-megabyte broadband connection to be $29.95 a month.

      Did you REALLY think it was a coincedence so many IP backbones have gone out of business? Trying to keep up with the Jones doesn't help, and feature enhancment requests to high end switches like this only increase the complexity and cost of Internet, for dubious improvment.

  21. Relax! by rocjoe71 · · Score: 2
    ...I was only kidding over MS' statements about their 'freedom to innovate' and how open-source is a 'threat to innovation'.

    It's Sunday morning! Don't be so serious over *everything*!

    People like you give knee-jerk-reactionaries a bad name.

    --
    Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
  22. Pushback simply moves the problem by The+Moving+Shadow · · Score: 3, Interesting

    While Pushback technology can help the servers to stay online, they literally push the network load off to another branch of the network where it can congest normal networkconnections. For important servers like the nameservers that have been attacked last week - where they (btw) used a similar technique of pushing requests e.g. network data off to another part of the network - this is a good method. But you run the risk of creating congestion somewhere else on the network. So people working upstream from the attacked server will probably suffer from poor accesibility. It's just a choice what you want to sacrifice, either the targetted servers or the people upstream. But i agree this technology is a step forward towards an appropriate security answer to DDOS attacks.

  23. Not a big problem by Gerry+Gleason · · Score: 3

    Yes, the typical arms race situation applies, but the defenders now have some good weapons at their disposal. If the methods that implement the quench feature is robust and hard to subvert, then it is just the server that needs to be updated. Many techniques could be used to identify the sources of the attacks, including some manual help from the system operators. Over time, the demon could get very good at recognizing attacks bases on heuristics, so changes to the flooding packets or patterns might not help get around the filtering.

  24. You're talking about DoS attacks by Subcarrier · · Score: 2, Insightful

    You don't generally need all that many machines to do SYN flooding or overload a DNS server.

    DDoS attacks are brute force by nature, designed to take down sections of the network by saturating the links.

    --
    "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    1. Re:You're talking about DoS attacks by Anonymous Coward · · Score: 0

      You don't need that many machines to get the bandwidth for those attacks, but doing it the DDOS way might make it harder to block. If the attack is coming for one machine they can just block a single ip address.

    2. Re:You're talking about DoS attacks by Electrum · · Score: 2

      You don't need that many machines to get the bandwidth for those attacks, but doing it the DDOS way might make it harder to block. If the attack is coming for one machine they can just block a single ip address.

      Not for SYN floods or DNS floods. Both of those are usually done using spoofed source addresses. Of course, SYN floods are easy to deal with using SYN cookies.

  25. A perfect tool for doing DDoS.... by wuchang · · Score: 2, Insightful

    The paper talks about pushback filters based on destination-IP based address filters. Consider a DDoS attack on a popular site such as slashdot. Pushback will affect EVERYBODY, not just the unpatched zombies. If exploited correctly, this makes for a perfect tool for the hacker to obtain a 100% denial. This is an arms race, we can't afford to give hackers our nukes, unless we make sure they can't be used against us.

    1. Re:A perfect tool for doing DDoS.... by Corfiot · · Score: 1

      Would you rather drop the nukes and have them NOT go off?

      "Oops, sorry Mr president, it appears we shot blanks again"

      Public review is how the usefulness and feasibility of research such as this are determined. Besides, there is no 100% denial in the presented scenario unless the attacker actually manages to attack from ALL incoming nodes on MOST branches of the attacked network infrastructure being traversed. It is almost certain that some good, if not poor (as defined in the paper) traffic will go through.

      $.02 (That's in euros)
      --Corf

      --
      -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ "Shadows are as important as the light" - Jane Eyre
  26. Re:Hard Times for *BSD by Luke-Jr · · Score: 0, Offtopic

    "no operating system has ever come back from the grave"
    I wasn't aware of that, but that's a good thing to hear. That means Windoze won't come back from the grave either. It died nearly a year ago. :)

    --
    Luke-Jr
  27. You're still putting daemons in /etc? by your+f*cking+mother · · Score: 0, Troll

    Come on, kids. It's not the 80s anymore (though, I'm willing to bet the guys at AT&T Research labs aren't kids, and they actually might remember when /etc was the best place to put those things... but it's not anymore... especially not on freebsd!

  28. Um, this isn't new. by Mordant · · Score: 5, Interesting

    Bellovin came out with this a while ago. It's an interesting concept, but has the following practical drawbacks:

    1. All the various vendors would have to implement it.

    2. False positives. A new form of DoS would be to generate enough spoofed traffic to trigger this sort of thing -aimed at someone else-. Imagine your outrage when your l33t IRC buddies spoof your IP address block whilst attacking www.slashdot.com - no more imbecilic, outdated "Gee, whiz!" types of posts for you to read.

    3. Oftentimes, rate-limiting via CAR, traffic shaping, or other methods consumes more CPU cycles on the routers than simply blocking the offending traffic (assuming this is possible, which depends upon the attack methodology).

    The best way to combat DoS attacks generally is use strong platforms which process ACLs and other features in hardware (ensuring that your config allows those features to be processed in hardware; logging ACLs like a 'deny ip any any log' just won't cut it, these days), ensure you have the ability to 'draw off the poison' by sinkholing traffic headed for the destination by advertising a null route for it on a sinkhole router (this isn't always possible, it depends upon the target of the attck; you may not want to sinkhole all requests to your Web server, for example), ensure you have as good a traffic sniffing/IDS-type capability as possible, make use of Netflow tools like CAIDA cflowd/OSU flow-tools/Flowscan/Panoptiis/FLAVIO/Arbor Networks' Peakflow DoS, and know how to get in touch with the folks at your ISP(s) who can help with identifying the (even spoofed, via Netflow tracing) sources and blocking the offending traffic upstream of you.

    If you're a commercial site, strongly consider a distributed Web site, hosted at different locations and using some sort of Global Server Load Balancing technology (GSLB; Cisco's Distributed Director and 4480 are two examples of this) to send people to different sites depending up their location, network topology-wise.

    1. Re:Um, this isn't new. by sh2kwave · · Score: 0

      what about the more obvious of just blocking on a timed basis the attacking's MAC , this is unique and would force the offender to change there NIC.
      This should in some form upgrade the time of the block based on the the continuing offense of the target's time spent attacking.
      This would have to be implimented on a network of routers being a drawback but could most proably be a software upgrade and not a massive hardware one.

  29. I wonder when... by Gerald · · Score: 1
    "The authors of the paper have an initial implementation on FreeBSD."

    I wonder when the LinPushbackd, GNU Pushbackd and PHPMyPushbackd projects will appear on SF.

  30. ipv6 by fluor2 · · Score: 1
    Doesn't IPv6 fix this? IPv6 NOW!.

    1. Re:ipv6 by Subcarrier · · Score: 2

      Doesn't IPv6 fix this?

      No. IPv6 improves a lot of things but it doesn't fix this. Sorry.

      --
      "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
  31. why waste energy on this instead of going ipv6? by O0o0Oblubb!O0o0O · · Score: 0, Redundant

    excuse me if I'm wrong, but my understanding of the matter was, that source address spoofing etc. would be gone, once ipv6 is widely used. asfaik, ipv6 would prevent lots of techniques in this context, so why waste lots of emergy/work on this, instead of actually getting people to switch to ipv6.

    ipv6 has been around for some time now and is implemented in every major os (both client and server). I know that the switch to ipv6 is a big task, but the way I understand it, it would also deal with a lot of problems (including to a certain extent ddos) in context with ipv4.

    please correct me if I'm wrong.

  32. Forged Headers? by nurb432 · · Score: 2

    If they forge the send from info wouldnt that make this idea sort of useless?

    Might even reverseDOS innocent people.. id be pretty upset if that happened to me.. I might even sue if i lost revenue..

    --
    ---- Booth was a patriot ----
  33. finally... a cure for Slashdotting... by constantnormal · · Score: 5, Funny

    in a press release by the Office of Homeland Defense, it was announced that an insidious plot by hacker terrorists had been thwarted. It seems that this subversive web site, www.slashdot.org, would trigger random DDOS attacks on targets identified on their web site. It has yet to be ascertained what their intent was, as no logical pattern has been detected. The investigation continues.

    Welcome to the Twilight Zone.
    I certainly hope the filters used to detect true DDOS attacks are effective enough to prevent this scenario.

    1. Re:finally... a cure for Slashdotting... by Anonymous Coward · · Score: 0

      It has yet to be ascertained what their intent was, as no logical pattern has been detected

      I thought Jon Katz had stopped submitting stories ...

    2. Re:finally... a cure for Slashdotting... by vsprintf · · Score: 2

      I thought the article was sort of insulting the way it referred to us as a "flash crowd" rather than a slash crowd.

    3. Re:finally... a cure for Slashdotting... by AJWM · · Score: 4, Interesting

      The term "flash crowd" goes back waaay before Slashdot ever existed (1973). It was coined by Larry Niven in a short story of that name (concerning *actual* crowds in an era where teleport booths are as ubiquitous as phone booths).

      --
      -- Alastair
    4. Re:finally... a cure for Slashdotting... by vsprintf · · Score: 1

      It was a joke. Sorry, should have included an emoticon or something. I believe I've read everything Niven published, and I really doubt they are using the term in that fashion.

  34. Criticism, improvement and easy testing! by bigberk · · Score: 2, Informative

    Criticism: By giving smaller routers the power to command the behaviour of larger routers upstream, you are dangerously opening up a loophole that could allow someone in control of a router to maliciously affect upstream behaviour (potentially a huge scope!).

    Improvement: Only allow routers to pushback/command up one or two hops to limit the scope of potential reverse-DoS attacks.

    Easy testing: This doesn't refer to the above issue, but still... have AT&T set up a test site running their BSD implementation and then post a story to slashdot to have us test it out :)

  35. Re:New business-model? by Anonymous Coward · · Score: 0

    Underpants is where it's at

  36. Good concept, won't work long? by tuxlove · · Score: 1

    My firewall blocks all incoming ICMP except a few select types. Quench is not one of them. It could conceivably be used against you, so I block it. Why wouldn't the guys who write the scripts for the kiddies make changes to their code so that zombie machines ignore source quench ICMP?

    I'm not sure how effective source quench is against routers in the path of a zombie host.

  37. Heh heh by tuxlove · · Score: 2, Interesting

    What if the script kiddies attacked their targets with loads of source quench packets? Can you source quench a source quench attack? :)

  38. More than 1 source by woogieoogieboogie · · Score: 1

    A DDoS attack usually involves unwilling or unknowing participants. This technology will do little more than knock out a few innocent computers and cause havoc at the ISP's when people are demanding to know why their "internet broke"

    --
    ... Governments are instituted among Men, deriving their just Powers from the Consent of the Governed...
  39. Flaws in this proposal by Animats · · Score: 3, Insightful
    This is a promising idea, but not totally effective. It protects the network, not the destination. The current implementation effectively blocks all inbound traffic for a given IP address. This kicks the target IP address off the net, which in itself is a denial of service. This approach could even make an attack against a host more effective, by shutting off all its incoming traffic. It just limits the collateral damage of denial of service attacks. This makes sense from the telco perspective (note that it's from AT&T), but not from the hosting service perspective.

    An effective solution has to identify the source nodes causing the trouble and block them, not the target. This is hard, but not impossible. The big problem is doing it for fake source IP addresses.

    It may be necessary to view routing the way we now have to view mail forwarding - open relays get blocked. If a router isn't sure of the IP addresses of its input, it shouldn't be forwarding those packets. Routers that continue to do so may find themselves blocked.

  40. Ever seen The Big Hit by Anonymous Coward · · Score: 0

    Well the guy's doing the DOS have a 'tracer'...now the 'good guys' have jus come up with a trace busta...so now when the 'good guys' are tracing your shit, you need a trace busta busta...

  41. That's lame by photon317 · · Score: 2


    In a DDoS the flood is coming from helpless slobs all over the net who didn't start it and are unaware. You're going to roundtrip that garbage traffic across the net a second time for even more congestion, and then push it at the client sending it?

    If they do it right it may help a small amount in awareness, but the real answer to DDoS is that there's no good answer in the current Internet. Just like Curious Yellow, the only good answer is that OS vendors change their ways very soon and get security together, so that breakins are infrequent and require intelligent effort, as opposed to todays world of a 3-month old script off the net easily seizing 100,000 machines.

    --
    11*43+456^2
  42. Indeed by Anonymous Coward · · Score: 0

    If the aggregate is "All TCP traffic from all sources directed at random addresses in a subnet" such as a smart DDOS program could easily generate, you would be fucked ... you can quench it anywhere you want, but you would just be DOSing yourself.

    Until they put in a mechanism to traceback spoofed packets upstream and block them at the source nothing will help.

    That or make egress filtering and a given level of security mandatory for the right to route traffic onto the internet. Those few people with their exotic spoofing VPN style network accesses are not enough of a reason to put up with spoofing IMO. The majority of spoofed traffic is used for DOS attacks.

  43. Re:Naughty Taco by exspecto · · Score: 0

    who else thought this was hilarious? why the heck doesnt it have a million replies? *shrug*

    -- touched by an angel....'s dinger

  44. Black Ice by solostring · · Score: 1

    This reminds me of Gibson's 'Black Ice'... :)

    I wonder when we will start seeing automated retaliatory attacks on DDos'ers and other hacking attempts... Just think: An automated scan of the remote hostile system(s) and then sending pre-programmed attacks to those computers determined by those port scans.

    If the RIAA can get away with attacking servers who are sharing copyrighted content, then couldn't a company retaliate in the same way against machines who are attacking their servers?

    Could make for some interesting wars :-)

  45. Papers about the problem... by NNland · · Score: 2, Informative

    This sounds like Steve Gibson's suggestion from gibson research.

    I wrote a paper in a similar vein last spring about stopping ddos attacks, it's the second section of this paper. It seeks to fix the underlying problem, not create a band-aid.

  46. try this by trybywrench · · Score: 2, Interesting

    A properly DDOS'd router or network doesn't have the queue space to deal with control packets. Most likely they will be dropped just like the DOS'ing packets. I don't think RED ( common queueing algorithm ) differenciates between types of packets. Some sort of QOS based algorithm would be needed to ensure that control packets get highest queueing priority. But then that QOS algorithm has to be installed and working in the entire network which isn't likely.

    --
    I came to the datacenter drunk with a fake ID, don't you want to be just like me?
  47. Nah, this isn't gonna work by GreatDave · · Score: 4, Informative

    Most of the reasons why have been said before but to sum it up...

    Sending quench packets back to the routers feeding you DDoS packets, and eventually back to the host in question, is a good idea in theory. Kinda like communism. But in practice it won't work. First of all, there are the CPU strain resources on the routers and hosts. With DDoS, you have thousands if not more hosts all banging on your router, and your router is going to get a cardio workout going through its tables and deciding what gets throttled. Secondly, the return addresses on DDoS zombie packets are forged a good 80% of the time, meaning that you'll probably only hit 2 or 3 routers upstream with your quench packets.

    A better solution? Null routes come to mind, but there are the CPU issues again. I'd like to see some "technology" similar to this where a customer of a commercial ISP could modify firewall rules on the _ISP's_ router to control traffic coming into their netblock. Perhaps a few routers upstream too. This really appears to be the only logical "quick fix" at the network level for DDoS.

    A better fix would be to keep those zombies from ever coming into play by nuking everyone's NT/XP boxes, but that'll have to wait until penguins or daemons rule the planet.

    --
    "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
    1. Re:Nah, this isn't gonna work by OzRoy · · Score: 1

      "A better fix would be to keep those zombies from ever coming into play by nuking everyone's NT/XP boxes, but that'll have to wait until penguins or daemons rule the planet."

      I don't understand how nuking XP and NT will solve DDOS. Surely you can launch a DOS attack from linux and FreeBSD just as easily.

    2. Re:Nah, this isn't gonna work by GreatDave · · Score: 1

      > I don't understand how nuking XP and NT will
      > solve DDOS. Surely you can launch a DOS attack
      > from linux and FreeBSD just as easily.

      You might want to count the number of DDoS blackhat tools on this page if you believe that. Look how many specifically mention IIS, for one. The actions taken by most of these tools require root priveleges for most Unices (true, that's not too hard for a cracker to get provided the admin is dumb, but compare to the extremely-insecure-out-of-box state of Windows in general, and 9x and XP in particular (XP having the Raw Sockets API, which can be compared to a sign that says "use me as a zombie", and 9x having no security whatsoever).

      --
      "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
    3. Re:Nah, this isn't gonna work by vjzuylen · · Score: 2
      "...but that'll have to wait until penguins or daemons rule the planet."
      For a second there I had a really disturbing vision of the future. Have you ever read At The Mountains Of Madness by H.P. Lovecraft?
      --

      Hee-hee. Dying tickles!
    4. Re:Nah, this isn't gonna work by m0i · · Score: 2

      See BGPExpert AntiDOS paper.
      Why would routing to Null0 be more cpu intensive than to a physical interface? I guess some kind of hardware Null0 device could be emulated, if it becomes an issue.

      --
      have you been defaced today?
    5. Re:Nah, this isn't gonna work by GreatDave · · Score: 1

      Routing, whether to /dev/null|Null0|127.0.0.1 or to a real address isn't really CPU intensive at all... until you have to route hundreds of requests per millisecond. Then things start getting icky. Hardware emulation of a null interface may help... but you're still _routing_. There's still computation involved, ergo the potential for denial of service on the router. So null routes supplemented by specialized hardware are a defense, but not a solution, and as the above mentioned article says, that wouldn't work with full-scale real address spoofing.

      --
      "I am root. Bow before me." To this I say, "You are root, and you bear the sins of the world upon your shoulders."
  48. Using this as a hacking tool by solostring · · Score: 1

    How would this deal against spoofed ip's?

    The script kiddy would just have to send spoofed ip packets to the server with Pushback installed with an ip address of a server they want to hack. Spread this out over a number of large number compromised zombie machines, against a large number of high-bandwidthed Pushback servers, and know that their actual target is being DDOS'd by Amazon, Yahoo, Microsoft etc. etc. etc.

  49. Ugh by richard_willey · · Score: 2, Insightful

    Call me simple or old fashioned, however, I have an intrinsic distaste for technical solutions that require intermediate system to do real time monitoring of packet flows. Even if you are using some type of stochastic sampling, this type of implementation is still going to have a significant effect on forwarding performance. Its worth noting that 99% of all the routers out there do NOT support basic IP options. For all intents and purposes, options such as "Source Quench" or "Source Route" or "Record Route" are theoretical constructs. They are not enabled or supported in the control/management plane.

    I've always been a proponent of big dumb pipes and inteligent end nodes. I probably always will be. The overhead associated with supporting intelligent intermediate nodes is simply too high.

    Richard

  50. A better idea by Anonymous Coward · · Score: 0

    Why not just introduce some "hard" method of trace routing? Instead of an after-the-fact hack (like the current traceroute), why not design it so you can connect to a router and ask it which router data destined for you is coming from? Do it for each one and follow the chain right up to the doorstop on the other computer.

    Doesn't stop DoS itself, but makes only Distributed DoS keep you "anonymous", and even then allows the infected machines to be identified and the owners notified...

  51. Which is where spoofing comes in by Anonymous Coward · · Score: 0

    There is no protocol in place to find the true originator of packets.

  52. DDoS by Anonymous Coward · · Score: 0

    This is simple to fix. DDoS works because there are so many packets sent that they cannot be responded to. I say just have the router blackhole the packets. This /etc/pushbackd is nothing more than a glorified ACL. The more ACls on the router cards the more the router has to work to check. A router could be programmed to sense too many SYNs and if it canot ACK responsibly, then it just blackholes the traffic for a specified period of time... kind of like the password gone wrong. Some apps, if you fat-finger your password more than a certain amount of times, simply forbid you to attempt to login again for a specified amount of time. The logs would show the attempting IP address(es) and you could simply investigate. This goes to show that you have to have humans at most points along the way in IT. We cannot automate everything, try as we might.

  53. One way to stop DDOS/Spam by billcopc · · Score: 1

    I know of one great way to stop DDOS kiddies and spammers : make it a capital offence. When we start shooting their brains out on national TV, I think they'll seriously think about a career change.

    --
    -Billco, Fnarg.com
    1. Re:One way to stop DDOS/Spam by Anonymous Coward · · Score: 0

      there's a *slightly* less 'explosive' way to handle this.

      If you can crack the veil of anonymity of one of these script-kiddies, just send him a high-res photo of his neighbourhood with his house clearly indicated.

      Scares the crap outa them!!

  54. pushbackd? by Anonymous Coward · · Score: 0

    That is incorrect.
    DDOSers must be shovebackd.
    They must go down the stairs.

  55. Last Post! by alpg · · Score: 1

    XXXVI:
    The thickness of the proposal required to win a multimillion dollar
    contract is about one millimeter per million dollars. If all the
    proposals conforming to this standard were piled on top of each other
    at the bottom of the Grand Canyon it would probably be a good idea.
    XXXVII:
    Ninety percent of the time things will turn out worse than you expect.
    The other 10 percent of the time you had no right to expect so much.
    XXXVIII:
    The early bird gets the worm.
    The early worm ... gets eaten.
    XXXIX:
    Never promise to complete any project within six months of the end of
    the year -- in either direction.
    XL:
    Most projects start out slowly -- and then sort of taper off.
    -- Norman Augustine

    - this post brought to you by the Automated Last Post Generator...