Deconstructing Denial of Service attacks

NEWS
The recent Denial of Service (D.O.S.) attack against Yahoo! may have only lasted a few hours, but its impact may reverberate throughout the industry for years to come. D.O.S. attacks have been with us for some time. Most firewalls know how to repel them, and most IT managers know how to track down the perpetrators with relative ease. However, the attack on Yahoo! utilised a relatively new tact, against which Yahoo! and its customers had very little recourse. Like most D.O.S. attacks, this one overran Yahoo! with a continuous stream of poorly formed IP packets. Here's what happens: an attacking machine generates what appear to be normal messages, such as the User Datagram Protocol (UDP) packets. In the case of a UDP D.O.S. attack, these packets claim to come from the same server that's receiving them. In trying to respond to this influx of miscommunication, the victimised server eventually becomes unable to accept any more connections. Yahoo's attack, however, enlisted the support of a large number of unwitting attackers, making it difficult for Yahoo! to restore its services and locate the perpetrators. This twist basically puts an extra layer between the attacker and the victim that both amplifies the attack and obfuscates the attacker. To accomplish this feat, an attacker creates a collection of machines:
    The Client. This is the machine from which a hacker coordinates the attack. The Hosts. These machines (between three and four) are under the attacker's direct control. They act as generals on a battlefield to carry out the attacker's orders. The Broadcaster. Numbering in the hundreds, these machines act as the infantry, running the code that directly generates the denial of service attack. The Target. Usually one or more machines on the same network that will have to respond to the traffic generated by the broadcasters. The attacker then puts this collection to work. Through port scanning software, the attacker obtains a list of broadcasters and hosts to which he/she can gain root privileges. He then installs daemon software on these machines, usually many at one time through batch processes. This software usually runs as an automated process, which conceals its presence from machine owners.
The broadcaster machines announce their presence and readiness to the three or four host machines. Using strong encryption techniques, the attacker distributes a list of target IP addresses to the master machines. The master machines then instruct the broadcasters to simultaneously launch a D.O.S. attack against these IP addresses using fraudulent (spoofed) source addresses. This form of attack presents an almost unstoppable threat to all Internet-connected machines (such Web, mail, news, and application servers). Because the attack comes from many different machines, would-be victims must either disconnect from the Internet or deny access to all clients in order fully protect themselves. Fortunately, there are many tools available to ISPs and IT managers, which can look for UDP- and ICMP-based attacks. There are also many tools available that can scan systems to see if there is any host or broadcaster software installed. However, there is an equally thriving, open source development initiative behind the software responsible for such attacks. For example, the Computer Emergency Response Team / Coordination Center (CERT/CC) has already catalogued three such beasts:
  • Tribe FloodNet (TFN)
  • Trin00
  • Stacheldraht
These tools together with existing port scanners (which check for system vulnerabilities) enable hackers with little or no experience to bring down even the largest Web site without fear of reprisal. But that's only part of the problem. The real problem rests with those of us who maintain machines outside of the corporate firewall. Though these tools are obviously a server-side issue, a problem for ISPs, hosting services, and corporate IT managers, it is our machines that bear the responsibility for the attacks they spawn. It is the home computer connected permanently to the Internet via Digital Subscriber Line (DSL) service or a cable modem that must be secured. To ensure that you're not an unwitting participant in a D.O.S. attack, we recommend that you check with your ISP to ensure that your equipment is properly secure. For example, your ISP has equipped you with a Cisco router as a part of your DSL service, you must ensure that the router employs packet filtering that will disallow inbound traffic. You should also ensure that your Linux or Windows machines don't contain any security holes that will grant an outsider root or administrative access. Such precautions are beyond the scope of this article, although there are a number of online resources available that will walk you through the steps necessary to create a secure environment. As a starting point, we recommend an excellent collection of Windows and Unix security FAQs maintained by Internet Security Systems. Interestingly, Mac OS 9 is particularly vulnerable to this sort of complicity. A bug in Open Transport allows Macintosh computers to act as amplifiers in D.O.S. attacks. Certainly there are many other security vulnerabilities in the Mac OS, but at least for this particular issue, there's a patch available from Apple and this Help & How-To article will help get you going. Even with such due diligence on your part, the Internet is only as strong as its weakest link where coordinated, distributed D.O.S. attacks are concerned. All it will take is one hundred or so vulnerable machines and a hacker with the determination and tools to carry out another attack on another Yahoo!. What do you think? Tell the Mailroom. And read what others have said. Take me to Hackers

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

1 hour ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

7 hours ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

9 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

9 hours ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

11 hours ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

11 hours ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

12 hours ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

13 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

13 hours ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

13 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

14 hours ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

14 hours ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

14 hours ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

14 hours ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

17 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

19 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

19 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

20 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

21 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

22 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule