Sign in with
Sign up | Sign in

DDoS Attacks: What They Are, and How to Defend Against Them

By - Source: Tom's Guide US | B 1 comment

You may have heard of a DDoS (distributed denial-of-service) attack in the news as a method used by malicious hackers to attack a website. It's possible you've even experienced the effects of a DDoS attack yourself.

If you host a website or other online service, being aware of the dangers of a DDoS attack can help you prevent one, or mitigate the damage they can incur.

Here's a brief explanation of what a DDoS attack is, what it accomplishes and how to avoid one.

How does a DDoS attack work?

Denial of service through server flooding can be thought of as simply filling up a pipe with enough material to prevent anything else from getting through.

Denial of service may occur unintentionally if a server receives more traffic than it was designed to handle. This happens frequently, such as when a low-trafficked website suddenly becomes popular.

In this case, the server is still functioning, and is not damaged, but is unreachable from the Internet. It's been effectively knocked offline, and will be until the DDoS attack either stops or is outgunned by more servers being brought online.

Malicious denial of service involves deliberately flooding a server with traffic. The easiest way to do so is to distribute the attacking computers among hundreds, even thousands of computers, which simultaneously bombard the target server with (often useless) requests for information.

Think of multiple pipes from various locations eventually connecting into one large pipe, and massive volumes of material eventually colliding from the origin points into the main pipe.

While the electronic connections that make up the Internet are not technically "pipes," there is a limit to the amount of data that can be transferred through any given network.  Put enough in there, and a server's pipes will be clogged.

Cybercriminals use large systems of "zombie" computers, or computers infected with malware that allow a central controller to use them, in DDoS attacks.

Hacktivist groups like Anonymous, on the other hand, recruit volunteers who install software on their own machines to take part in DDoS attacks. Anonymous has used DDoS attacks against the websites of credit-card companies, dictatorial foreign governments and even the CIA, FBI and U.S. Department of Justice.

What does a DDoS attack accomplish?

Unlike other forms of malicious computer activity, there is usually no immediate or direct gain for the attacker. The primary goal of a DDoS attack is simply to disrupt a service.

A DDoS attack will not in itself allow hackers to access any secure information on its own. There is no network penetration or database breach involved.

A DDoS attack can result in a loss of income for a company that does business online. Most of the large online retailers and social networks have hardened their servers to resist DDoS attacks.

DDoS attacks by Anonymous and other hacktivist groups are often intended to be a form of protest. In January 2012, attacks on several government agencies and recording labels were staged by hacktivist groups as a form of protest against the Stop Online Piracy Act (SOPA) and the seizure of the file-sharing site MegaUpload by the FBI.

Over the past decade, hundreds of DDos attacks have been performed by independent activists, political groups and even government agencies.

How can you avoid or mitigate a DDoS attack?

Unfortunately, there is little that can be done to avoid becoming the victim of a DDoS attack. Unlike other attacks, it is a brute-force strike that uses a public utility — the Internet itself — to overwhelm a system. Anti-virus software and filtering tools such as firewalls will not stop the effectiveness of the attack.

The primary method of dealing with these attacks from the perspective of a host is to increase the capability of the system.

Load-balancing tools can distribute requests among many servers scattered across a wide geographical area, and as the system grows to handle more requests, the attackers will need to use a stronger attack to overwhelm it.

Methods to limit the amount of traffic allowed to and from the server can be enabled in some routers and switches, and some responsive systems can disconnect a network from the Internet before the attack brings the entire system down.

The latter method will still result in the network being inaccessible from the Internet, but will generally result in a faster return to service.

Follow us @tomsguide, on Facebook and on Google+.

Discuss
Ask a Category Expert

Create a new thread in the Streaming Video & TVs forum about this subject

Example: Notebook, Android, SSD hard drive

This thread is closed for comments
  • 0 Hide
    James Pegg , January 5, 2014 6:07 AM
    I think you missed a major part in your article about how to survive and mitigate a DDoS attack...

    Services like Cloudflare and Incapsula are a security layer between the client and server and are designed to mitigate DDoS attacks. They do this by spreading the requests across their huge network and by blocking malicious traffic. They're also more like traditional CDN's (Content Delivery Networks), which means they generally speed up the site performance too.

    It's also worth noting that DDoS via BotNets (which you refer to as "zombie" computers) is bought in time slots, so a DDoS attack is normally only temporary. From a cost point of view, it would make more sense for someone to use CloudFlare than to invest in their own load-balancing servers (which would probably be overloaded anyway).
Tom’s guide in the world
  • Germany
  • France
  • Italy
  • Ireland
  • UK
Follow Tom’s guide
Subscribe to our newsletter
  • add to twitter
  • add to facebook
  • ajouter un flux RSS