ie8 fix
madison

Networking

Steven J. Vaughan-Nichols

How to try to stop DDoS Attacks

By | December 14, 2010, 10:49am PST

Summary: You can’t stop them, but you can try to lessen their damage. Here’s how.

Happy holidays! Your Web server just died! I use the word ‘try’ very deliberately in my title. The truth of the matter is that there isn’t a damn thing you can do that will stop a serious distributed denial of service (DDoS) attack. There are though some ways to try to deal with them.

Mind you, there is actually is a way that would put an end to most DDoS attacks. It requires that all Windows-based botnets be ripped out by the roots. Too bad, that’s not going to happen.

Windows is insecure by design and used by hundreds of millions and many of those users wouldn’t know an anti-virus program from Angry Birds. Millions of Windows computers, including maybe yours, are slave labor in one of the various botnets. Since we’re not going to be rid of Windows anytime soon and it’s not going to get any safer, the reality is that botnet-powered, brute-force DDoS attacks are only going to continue.

Actually, that’s not true. I think DDoS attacks are actually going more and more often. Here are some ways to mitigate them.

Some kinds of DDoS attacks are less common than they used to be. As Sean Donelan, program manager of network and infrastructure security at the Department of Homeland Security noted in an e-mail message on the North American Network Operators Group (NANOG), a group devoted to backbone and enterprise networking, mailing list, “SMURF attacks creating a DDoS from directed broadcast replies seems to have been mostly mitigated by changing defaults in major router OS’s. TCP SYN attacks creating a DDOS from leaving many half-open connections seems to have been mostly mitigated with SYN Cookies or similar OS changes.”

In short, if you update your gateway servers, switches, and firewalls to their most recent operating systems you should be protected from attacks that rely on TCP/IP and TCP/IP stack implementation weaknesses. You should have been doing this along. If you haven’t been, run, don’t walk, to your server room and update your systems.

Still, if someone really wants you to smack your Web site around, there’s not a lot you can do. As Jonas Frey, owner of Probe Networks, a Germany networking security company wrote on the same list there’s not much you can do about a DDoS attack except try to have a lot of bandwidth. “Even if you go for 802.3ba with 40/100 Gbps [Gigabits per second] you’ll need a lot of pipes.”

That’s because, Frey explained, “Nowadays the consumers have a lot more bandwidth and it’s easier than ever to setup your own botnet by infecting users with malware and alike. Even though end users usually have less than 2Mbps [Megabits per second] upstream the pure amount of infected users makes it worse than ever.” If you count on Windows users using proper security, but you can’t. As Frey pointed out, “There is just no patch for human stupidity.”

What this means is that you need all the bandwidth you can get for your Web servers. If your Web servers live at a Web hosting company, check in and see just much connectivity they have to major Internet backbones. If they reply on only one or two backbones providers and/or their pipes aren’t that big, I’d go looking for another one. When it comes to dealing with DDoS attacks, there’s no such thing as enough bandwidth.

Page 2: [Anycast and Load Sharing] »

Topics

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system

Disclosure

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols is a freelance writer. He does not own stocks or other investments in any technology company.

Biography

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system; 300bps was a fast Internet connection; WordStar was the state of the art word processor; and we liked it.

His work has been published in everything from highly technical publications (IEEE Computer, ACM NetWorker, Byte) to business publications (eWEEK, InformationWeek, ZDNet) to popular technology (Computer Shopper, PC Magazine, PC World) to the mainstream press (Washington Post, San Francisco Chronicle, BusinessWeek).

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?
46
Comments

Join the conversation!

Just In

Limit automatic web traffic, period.
RyuDarragh 15th Mar
Every program I install uses a fixed number of ports and IP addresses (if any at all, some don't need web access, ever). A stupidly simple way to stop this nonsense is to do just what you suggest. My firewall catches a few attempts by legit programs to "phone home" every once in a while... oh, that's right. That's on the Ububtu machine at work in the development lab. Ooops...
1 Vote
+ -
RE: How to try to stop DDoS Attacks
Loverock Davidson 14th Dec 2010
This would be a great article if you omitted paragraphs 2 and 3 because they are not true. Botnets are not a Microsoft Windows only network.
-1 Votes
+ -
Perhaps...
zkiwi 14th Dec 2010
They're not quite 100% more like 99.999%
-1 Votes
+ -
And back in the real world... Nt
Richard Flude 14th Dec 2010
Nt
1 Vote
+ -
I stopped reading after this
NonZealot Updated - 14th Dec 2010
@Loverock Davidson
From his "Windows is insecure by design" link:
First, desktop Windows stands firmly on a foundation as a stand-alone PC operating system. It was never, ever meant to work in a networked world. So, security holes that existed back in the day of Windows for Workgroups, 1991, are still with us today in 2009 and Windows 7.

Sure, if you will admit that OS X stands firmly on a foundation as a stand-alone PC operating system because all Mac OSs before OS X were not multi-user.

Okay, I did continue reading but I stopped after this:
Besides that, Windows, again harking back to its single-user, stand-alone ancestry all too often defaults to requiring the user to run as the all-powerful PC administrator.

It is unbelievable to me that not only would anyone expose their ignorance like this but that Steven J. Vaughan-Nichols would give it any publicity, thus soiling his name too. The Windows code that eventually turned into Windows 7 today was multi-user since day one, 17 years ago.

Steven J. Vaughan-Nichols, please update your blog apologizing for your promotion of an article that spouts blatant lies. If not, I will have to assume that you are a willing participant in the spread of these lies which would make you a liar.

PS It also means that your article itself is also probably wrong and full of misinformation. You really messed up on extremely basic information so I have absolutely no faith that you could ever advise anyone on how to stop a DDoS attack. You really don't seem smart enough to handle it.
0 Votes
+ -
Link Is More Accurate than You Say
CFWhitman Updated - 16th Dec 2010
@NonZealot
It's true that Windows now is based upon an underlying foundation that is much more secure than the DOS based Windows versions of the past (ME, 98, 95, 3.1). Those operating systems really had no security whatsoever. (Amazingly, though, you can still manage to avoid most problems even with them by using a hardware firewall and judicious web surfing, but I digress.)

However, if you actually read the article in the link, you can realize that the author isn't talking about the underlying foundation of the code, like the kernel and the permissions system. He is talking about the API and the user environment.

The application compatibility of current versions of Windows with old, non-secure versions of Windows is the weight that drags Windows security down a bit (not as much as it used to, but still some). Legacy Windows operating systems will be a problem for Windows as long as there is a demand for legacy compatibility. It's difficult for Microsoft to throw this weight off without breaking compatibility with legacy software, and really muzzling their greatest advantage in maintaining their market share percentage.

Also, Microsoft is loath to say something along the lines of, "We really have to do away with OLE because it's insecure," because their customers are hearing, "We have to do away with this great, convenient feature, and we don't care how much you like it."

Of course, this is more proof that there is always somewhat of a compromise between security and convenience. In general, Microsoft has favored convenience over security, and it's worked out pretty well for them much of the time.
0 Votes
+ -
@CFWhitman. I agree with NonZealot The API insecurity only applies if you can authenticate with the machine. IOW you have to break into the machine in the first place.
Mac OSX has proven time and time again to be easy to break into.
-1 Votes
+ -
The largest botnet in the world...the envelope please...
Dietrich T. Schmitz, ~ Your Linux Advocate 14th Dec 2010
...drum roll....the tension is incredible...
Microsoft Update.
1 Vote
+ -
RE: How to try to stop DDoS Attacks
ItsTheBottomLine 14th Dec 2010
@Dietrich T. Schmitz, Your Linux Advocate
LOL - Wow you need to get out of the basement. Must be cold in the northeast
-1 Votes
+ -
RE: How to try to stop DDoS Attacks
fatman65535 14th Dec 2010
@Dietrich T. Schmitz, Your Linux Advocate

In an attempt to reduce the need for the `largest botnet in the world`, I plan to hand out Linux Live CD's to my poor suffering WindoZE friends.

"Friends never let friends get infected by using WindoZE".
1 Vote
+ -
RE: How to try to stop DDoS Attacks
brichter 14th Dec 2010
@fatman65535

Tjhen they'll suffer even more because none of the harware will work and they'll be reduced to a CLI box, subsequently they'll throw your disks back at you and you'll get a bunch of cuts.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
ItsTheBottomLine 16th Dec 2010
@brichter
And they will have to go back to XP interface and mediocre albeit free software. And yes I have a Kubuntu 10.10 laptop...it's OK but always seems 2nd class as far as software goes. Development IDE is lacking something fierce, I feel like I'm back in 1990's...brrr.
0 Votes
+ -
@fatman65535

LOL....I tried out Ubuntu recently after hearing all the buzz about it over the past couple of years. Loaded it on a VMWare session. Doesn't look like much has changed since Redhat Linux, so I'm not very impressed with it. It's great as a workstation platform for those who like to tinker and it's great for a server platform for some applications, but just like Solaris, it is no threat to Windows and not very appealing in the business enviornment.

That makes three flavors of Linux that I have played around with: Redhat Linux, SuSe Linux and Ubuntu. None of them really wows me. The best Linux based OS to date is still Mac OS/X.....but I will stick with the Windows platform for business use.

You get what you pay for.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
brichter 14th Dec 2010
@Dietrich T. Schmitz, Your Linux Advocate

Gotta be one Linux dweeb in the bunch... How's your pocket protector?
1 Vote
+ -
wow this is rediculous
KBot 15th Dec 2010
@brichter

Jesus this is just like Star Wars vs. Star Trek with you people! Is it realyl impossible to like more than one OS? News Flash people, ALL OS's HAVE ISSUES! The only reason Windows gets flak is because its on top of the market right now. As for Linux? What the hell is wrong with an OS that lets you do anything with it? If you don't like it don't use it! And Apple, Ok I understand that The company can be money grubbing @$$holes, but so can any other big company. The OS still works well and does what the people who use it need it to do. Seriously people, if you're going to make comments, make them relevant to the topic and not turn them into an OS war.
0 Votes
+ -
MS Update
Dietrich T. Schmitz, ~ Your Linux Advocate 15th Dec 2010
@Dietrich T. Schmitz, Your Linux Advocate

BotNet is a network of PCs with a command and control center.

Microsoft Update is just that.
They don't install viruses, trojans, spew spam.
It just happens to be the largest botnet. Get it? Goooood.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
Lerianis10 14th Feb 2011
@Dietrich T. Schmitz, Your Linux Advocate

No, we don't get it, because a botnet is something that is used WITHOUT YOUR KNOWLEDGE to do something BAD on your computer.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
dhickman@... 14th Dec 2010
Well, if various OS's and routers simply prevented massive IP sends from the OS and from the router this would limit even botnots. If my PC is sending 100 request to www.???.com every second, hum, my PC is likely rogue.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
lehnerus2000 14th Dec 2010
@dhickman@...
Agreed.
Why does my PC need the ability to be able to send 1000 emails/second?
A simple constrictor program/OS setting would require "botnet overlords" to have to infect several orders of magnitude more PCs, to get the same "ROI".
As a result they would be more noticeable.
0 Votes
+ -
Limit massive IP sends
JohnOfStony 5th Mar
@dhickman. This is the most simple and sensible suggestion here, and it should be do-able. I have a hotmail account and if I try to send a mass email, it gets blocked as suspected spam. If hotmail can do this, any system can. Get to it, Microsoft - after all, you own hotmail!
0 Votes
+ -
Every program I install uses a fixed number of ports and IP addresses (if any at all, some don't need web access, ever). A stupidly simple way to stop this nonsense is to do just what you suggest. My firewall catches a few attempts by legit programs to "phone home" every once in a while... oh, that's right. That's on the Ububtu machine at work in the development lab. Ooops...
0 Votes
+ -
ServerOrigin Comment Incorrect:
serverorigin Updated - 14th Dec 2010
ServerOrigin truly mitigates attacks via DDoS Mitigation equipment *Including Intruguard, Arbor, and Cisco devices*.

The load balancing / IDS solution is made up of our own ethProxy product built in-house. We offer AnyCast DNS services and failover is for actual datacenter redundancy.

ServeOrigin accurately detects,identifies, and mitigates attacks on a scale larger than any other mitigation provider. More than 1 million domains protected globally with our own infrastructure as a core. Our services are also a fully-managed product built for ease of use. It is meant to be a 'Set it and forget it' technology.

We thank you for the mention as we always welcome reviews and comments.

Kindest Regards,


-Deanna Markova
-ServerOrigin Communications (www.serverorigin.com)
0 Votes
+ -
RE: How to try to stop DDoS Attacks
brichter 14th Dec 2010
@serverorigin

Beat it, spammer
0 Votes
+ -
RE: How to try to stop DDoS Attacks
conduit242 15th Dec 2010
@serverorigin Do we get to have any details of your solution? Specifically, can you share the white paper outlining the way you benchmarked the following claim: "accurately detects, identifies, and mitigates attacks on a scale larger than any other mitigation provider"?
0 Votes
+ -
RE: How to try to stop DDoS Attacks
schweddy 14th Dec 2010
Arbor is awesome. They detect and can mitigate DDoS attacks within seconds. I'm a customer and a fan.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
snoop0x7b 15th Dec 2010
@rlemaste All you're really doing is moving the problem up the stream...Sure your servers aren't going to be responding to those requests, but those packets will still come through to your Arbor device before being dropped so you still have the bandwidth constraint concern.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
james347 14th Dec 2010
I give up, how?
2 Votes
+ -
The article makes it sound like everyone should protect themselves from ddos attacks. Come on now. How many average joe's are the target of ddos attacks? Who is going to go through all that effort to trounce their neighbor or ex lover. Maybe you tick someone off at warcraft and he's seeking revenge? This is a corporate level issue.

And for those seeking an opportunity to proclaim their greatness because they are not on windows (or whatever lame synonym you want to use), its pretty pathetic that you need that kind of validation in life. Seek worthier issues in life to solve.
1 Vote
+ -
@rengek. Well said!
0 Votes
+ -
RE: How to try to stop DDoS Attacks
rob.sherratt@... 15th Dec 2010
FYI, The IETF have a plan to target originators of DDoS attacks in future. It's called the Real-time Inter-Network Defence protocol, or RID. Just published for comments as IETF RFC6045, it seems that it will enable automated co-operation between service providers in tracing the routes of DDoS attacks and identifying and blocking the BOTs on contaminated machines, and the control source machines.

Also at present, Service Providers are running what they refer to as "black hole" servers which can be used to redirect DDoS traffic out of harm's way. If a customer's web service is affected by a DDoS attack, they should contact the hosting service provider and ask them to implement a "black hole" for the traffic - this will redirect the offending traffic away from the web server's critical routes.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
]AR[*tREMor 15th Dec 2010
So Windows may be the culprit for the origin of most botnets... but sorry Linux.. you are the target for most botnets... and if standard LAMP wasn't so vulnerable to begin with regarding the slow post attack.. and a host of other issues.. we wouldn't be having this conversation. Both ends need to be fixed.
0 Votes
+ -
Hah! sophistication is for later
tkejlboom 15th Dec 2010
For now, the basics

90% of switches and routers do NOT have up to date software. Hell, by customer accounts, most have what code was on it when the product was shipped. Then, on top of that, some remarkably small fraction enable broadcast or IGMP rate limiting on their switches at all. Why bother trying to get them to do something sophisticated, when simple ping attacks can still bring most of them down?
0 Votes
+ -
_A lot of pipes???_
conduit242 15th Dec 2010
?Even if you go for 802.3ba with 40/100 Gbps [Gigabits per second] you?ll need a lot of pipes.?

I'm crying foul on this. Can anyone point to a DDoS that has generated more than a few hundred Gb/sec of traffic? Mesh networks can't be considered naively...they are ultimately mapping over a hierarchical distribution topology that _has_ bottlenecks. It's hardly directly linear, and this sounds like nothing more than FUD from the folks at Probe.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
twaynesdomain 16th Dec 2010
An OS, firewall (NAT would do), AV and spyware detectors would be all any system needs, along with a thinking user who stays away from the wrong sites and e-mails.
0 Votes
+ -
RE: How to try to stop DDoS Attacks
Lerianis10 14th Feb 2011
@twaynesdomain

There isn't any such thing as the 'wrong sites'. Frankly, I surf a LOT of porn websites, and have not gotten any viruses from them that I wasn't stupid enough to download and .exe and install it, thinking it was a 'codec pack'.
0 Votes
+ -
Unfortunate
FarVision 29th Dec 2010
It's unfortunate that we don't seem to have any actual security experts contributing to the thread.

I enjoy Kaseya as a management system. GFI Languard does have some nice non-MS patch functionality.

Does CiscoWorks still update IOS firmware?

What UNIX and Linux patch management systems are out there?
DDoS attacks by blocking IP's. It takes a few minutes to clear out erronious requests, but the router will clear out the crap and the downtime will be minimized, especially if you have mutliple servers on the back end.
0 Votes
+ -
Got any ideas?
Crimson Eagle 18th Jan 2011
I am a newb as this kind of stuff anyone want to be my mentor? Also I need to be good at something I suck at everything....even life.
0 Votes
+ -
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
0 Votes
+ -
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
0 Votes
+ -
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
0 Votes
+ -
Thanks nice info z d n e t I really liked your current article write more..let me add you to its favorite The articles you have on zdnet s i t e are always so enjoyable to read. Good work and I bookmarked it.
0 Votes
+ -
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
0 Votes
+ -
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
i have security suite and i get ddosed by people and how could i prevent it were would i go im only 14 too...

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix