A Primer for Distributed Denial of Service (DDoS) Attacks



Similar documents
FortiDDos Size isn t everything

FortiDDoS. DDoS Attack Mitigation Appliances. Copyright Fortinet Inc. All rights reserved.

WhitePaper. Mitigation and Detection with FortiDDoS Fortinet. Introduction

How To Block A Ddos Attack On A Network With A Firewall

Introducing FortiDDoS. Mar, 2013

Understanding & Preventing DDoS Attacks (Distributed Denial of Service) A Report For Small Business

On-Premises DDoS Mitigation for the Enterprise

Guide to DDoS Attacks December 2014 Authored by: Lee Myers, SOC Analyst

DDoS Overview and Incident Response Guide. July 2014

Application Security Backgrounder

VALIDATING DDoS THREAT PROTECTION

CS 356 Lecture 16 Denial of Service. Spring 2013

SHARE THIS WHITEPAPER. Top Selection Criteria for an Anti-DDoS Solution Whitepaper

How To Protect A Dns Authority Server From A Flood Attack

Arbor s Solution for ISP

Four Steps to Defeat a DDoS Attack

Four Steps to Defeat a DDoS Attack

DDoS Protection on the Security Gateway

Automated Mitigation of the Largest and Smartest DDoS Attacks

Radware s Attack Mitigation Solution On-line Business Protection

Acquia Cloud Edge Protect Powered by CloudFlare

How To Stop A Ddos Attack On A Website From Being Successful

CloudFlare advanced DDoS protection

TDC s perspective on DDoS threats

Four Steps to Defeat a DDoS Attack

Availability Digest. Prolexic a DDoS Mitigation Service Provider April 2013

Stop DDoS Attacks in Minutes

V-ISA Reputation Mechanism, Enabling Precise Defense against New DDoS Attacks

SecurityDAM On-demand, Cloud-based DDoS Mitigation

WHITE PAPER. FortiGate DoS Protection Block Malicious Traffic Before It Affects Critical Applications and Systems

White Paper. Intelligent DDoS Protection Use cases for applying DDoS Intelligence to improve preparation, detection and mitigation

Protecting against DoS/DDoS Attacks with FortiWeb Web Application Firewall

Stop DDoS Attacks in Minutes

co Characterizing and Tracing Packet Floods Using Cisco R

CMPT 471 Networking II

Protect your network: planning for (DDoS), Distributed Denial of Service attacks

JUST FOR THOSE WHO CAN T TOLERATE DOWNTIME WE ARE NOT FOR EVERYONE

IMPLEMENTATION OF INTELLIGENT FIREWALL TO CHECK INTERNET HACKERS THREAT

DISTRIBUTED DENIAL OF SERVICE OBSERVATIONS

Networking for Caribbean Development

SECURING APACHE : DOS & DDOS ATTACKS - II

Automated Mitigation of the Largest and Smartest DDoS Attacks

Application DDoS Mitigation

Modern Denial of Service Protection

AntiDDoS1000 DDoS Protection Systems

Agenda. Taxonomy of Botnet Threats. Background. Summary. Background. Taxonomy. Trend Micro Inc. Presented by Tushar Ranka

Distributed Denial of Service protection

Firewalls. Securing Networks. Chapter 3 Part 1 of 4 CA M S Mehta, FCA

Is Your Data Center Ready for Today s DDoS Threats?

Security Solutions for the New Threads

DoS/DDoS Attacks and Protection on VoIP/UC

DDoS Protection Technology White Paper

Architecture Overview

White paper. TrusGuard DPX: Complete Protection against Evolving DDoS Threats. AhnLab, Inc.

DDoS Protection. How Cisco IT Protects Against Distributed Denial of Service Attacks. A Cisco on Cisco Case Study: Inside Cisco IT

Why Is DDoS Prevention a Challenge?

Data Sheet. DPtech Anti-DDoS Series. Overview

Protecting DNS Critical Infrastructure Solution Overview. Radware Attack Mitigation System (AMS) - Whitepaper

Complete Protection against Evolving DDoS Threats

HOW TO PREVENT DDOS ATTACKS IN A SERVICE PROVIDER ENVIRONMENT

DDoS Attack and Its Defense

Surviving DNS DDoS Attacks. Introducing self-protecting servers

Securing data centres: How we are positioned as your ISP provider to prevent online attacks.

Protecting and controlling Virtual LANs by Linux router-firewall

SURE 5 Zone DDoS PROTECTION SERVICE

How Cisco IT Protects Against Distributed Denial of Service Attacks

Firewalls and Intrusion Detection

Mitigating Denial of Service Attacks. Why Crossing Fingers is Not a Strategy

NSFOCUS Web Application Firewall White Paper

KASPERSKY DDoS PROTECTION. Protecting your business against financial and reputational losses with Kaspersky DDoS Protection

Firewall Introduction Several Types of Firewall. Cisco PIX Firewall

DDoS DETECTING. DDoS ATTACKS WITH INFRASTRUCTURE MONITORING. [ Executive Brief ] Your data isn t safe. And neither is your website or your business.

PROFESSIONAL SECURITY SYSTEMS

Analyzed compe.tors Cisco RadWare Top Layer RioRey IntruGuard. January Cristian Velciov. (+40)

About Firewall Protection

Mitigating DDoS Attacks at Layer 7

1. Introduction. 2. DoS/DDoS. MilsVPN DoS/DDoS and ISP. 2.1 What is DoS/DDoS? 2.2 What is SYN Flooding?

Denial of Service Attacks

Safeguards Against Denial of Service Attacks for IP Phones

Cheap and efficient anti-ddos solution

Firewalls, IDS and IPS

A Layperson s Guide To DoS Attacks

Denial of Service Attacks, What They are and How to Combat Them

TECHNICAL NOTE 01/2006 ENGRESS AND INGRESS FILTERING

First Line of Defense

DDoS Attacks: The Latest Threat to Availability. Dr. Bill Highleyman Managing Editor Availability Digest

Business Case for a DDoS Consolidated Solution

KASPERSKY DDOS PROTECTION. Discover how Kaspersky Lab defends businesses against DDoS attacks

How To Test A Ddos Prevention Solution

How valuable DDoS mitigation hardware is for Layer 7 Sophisticated attacks

SE 4C03 Winter 2005 Firewall Design Principles. By: Kirk Crane

Chapter 4 Firewall Protection and Content Filtering

Botnets. Botnets and Spam. Joining the IRC Channel. Command and Control. Tadayoshi Kohno

Technical Series. A Prolexic White Paper. 12 Questions to Ask a DDoS Mitigation Provider

Transcription:

A Primer for Distributed Denial of Service (DDoS) Attacks Hemant Jain, VP of Engineering Sichao Wang, Director of Product Management April 2012, Fortinet, Inc

A Primer for Distributed Denial of Service PAGE 2 Defining DDOS A DDoS attack is an attempted activity to exhaust the resources available to a network, application or service such that legitimate users are denied for access. The DDoS attack can be originated by a group of malware-infected or volunteered client computers that attempt to overwhelm network bandwidths, server or storage capacities of the targeted victim s network operation environment. Only a few years back, it was common to use spoofing techniques (SMURF, Ping and SYN flood) where a hacker would actually use very few machines (or just one machine) and spoof multiple IP addresses. To the attacked destination it would seem that the attack is coming from multiple IP addresses. However in the recent years, hackers and attackers are increasingly sophisticated and they use a combined of volumetric and application layer attacking techniques. With the advent of infected PCs, increasing number of smart mobile phones, attacking tools easily enable attackers recruit botnets around the world. Through botmaster command and control (C&C) panel, these bots can be used to launch alarmingly damaging DDoS attacks. ISP 1 Web Hosting Center FortiDDoS Firewall ISP 2 Good Traffic Attacking Traffic Figure 1: Illustration of Attacking Traffic from Multiple ISPs Motivations of Attacks DDoS attacks are launched generally for three broad motivations: Political. The attackers desire to silence you since your political or religious values are different from theirs. Operation Payback, operated by the clandestine group known as "Anonymous", has launched multi gbps cyber attacks against companies that have pulled their support for WikiLeaks. Among the institutions targeted by Operation Payback are PayPal, MasterCard, and Swiss bank PostFinance. The PayPal Blog eventually backed up after 75 service interruptions and 8 hours 15 minutes of total downtime. Financial. Attacks against e-commerce and retailers are often for exchange of electronic fund transfers to offshore account. Retaliation. In 2010, gamer players figured out a way to break into Sony PlayStation 3 console and use it to run a third-party application. In early 2011 Sony then issued an update for the gaming console that shored up its hardware defenses. That had angered many of the sophisticated users and resulted in retaliation style attack again Sony Playstation that brought down the worldwide service for several days.

A Primer for Distributed Denial of Service PAGE 3 Virus Infections, Botnets and Distributed Attack Tools Millions of new users join the Internet daily. These are in the far-flung corners of the world. If you are reading this primer, you are savvy - but they are not. If they get an enticing email from someone, they open it and their machine now has bot code which can be remotely controlled by botmasters. Millions of such machines around the world are under control of bot-herds who buy, sell and rent them for monetary gains. Some foreign governments are also known to control them for possible cyber-warfare. Figure 2: An Example of Botmaster Control Panel The above pictures shows a bot-controller that can be easily used to launch a DDoS attack sitting somewhere using bots recruited around the world. The renter uses this software after paying the rent. She can simply enter the URL of the target site to be attacked and choose the type of the attack and launch the attacks including a blended attack. This program controls the bots on the Internet. Following is another example of another bot controller panel. As you can see the panel consists of a display of available bots in different countries and ability to launch different tasks through the bots.

A Primer for Distributed Denial of Service PAGE 4 Figure 3: An Example of Botmaster Control Panel Another picture below shows ability of the bot-master to upload new functionality into the botnet and update the bots remotely and have an ability to remotely see the status of the bots. Figure 4: An example that bots are updated with new intelligence

A Primer for Distributed Denial of Service PAGE 5 Most Common Current Generation DDoS Attacks There are many kinds of legacy and current generation attacks that are prevalent today. SYN flood and HTTP GET floods being the most common. They are targeted to fill in the network connection pipes or overload the servers behind firewalls and IPS devices. SYN Flood Spoofed SYN Packets fill the connection table of servers, and all other devices in your network path. Low volume SYN flood can be easily stopped by software firewalls. High bandwidth SYN floods needs faster hardware logic with SYN proxy capability. Zombie Flood In zombie or botnet floods, non-spoofed connections overload the services. The attacking IPs are able to do three way handshakes. These are difficult to stop unless you have behavioral mitigation. High bandwidth zombie floods needs specialized hardware logic for discriminating legitimate traffic within zombie flood. ICMP Flood In these floods, ICMP packets, such as those used for ping, overload the servers and the network pipe. Low volume ICMP flood can be easily stopped by ACLs on routers and switches. High bandwidth ICMP floods needs specialized equipment. TCP/UDP Port Flood In these floods, TCP/UDP packets overload the servers and the pipe on ports not being used for service, e.g. TCP port 81. Low volume port floods on non-service ports are easily stopped by ACLs. Higher volume needs specialized equipment for automatic detection and mitigation unless you have totally blocked all non-service ports by default. Sites that use services such as FTP or IRC that use dynamic ports need to be careful with the stateful traffic on the dynamic ports. Most large attacks that are multi Gbps involve UDP floods because they are easy to generate by spoofing IPs. When packets overload the servers and the pipe on service ports, e.g. TCP port 80, Firewall, switches, routers, IPS appliances cannot stop these attacks. In these cases, you need specialized equipment for discrimination. Fragment Flood In these floods, fragmented packets overload the servers. Many firewalls, switches, routers cannot stop these attacks unless they have rule sets for dropping fragmented packets. Sometimes you may need specialized equipment. Anomalous Packet Flood Hackers create most floods with scripts. Sometimes deliberately and sometimes due to errors in scripts, packets are anomalous. These anomalies may be headers at layer 3, 4 or 7. They may be in TCP or UDP states or protocols. These packets overload the CPU of the servers and other networking equipment on the way. Some firewalls, and IPS appliances can stop these attacks. Specialized equipment for DDoS easily stop these attacks. HTTP GET Flood These attacks involved connection-oriented bots overload the servers and the pipe on service ports, e.g. on HTTP, mimicking legitimate users. Since firewalls, switches, routers, IPS appliances don't have behavioral anomaly prevention, they cannot stop these attacks. Therefore you need specialized equipment to stop these attacks. Blended Attacks

A Primer for Distributed Denial of Service PAGE 6 When multiple types of above attacks are blended on the server, they confuse the conventional equipment further. Firewall, switches, routers, IPS appliances cannot stop these attacks. You need specialized equipment to stop these attacks Floods from Unwanted Geographical Areas These are very common. For example, you have most of your customers in China and you are getting too many packets from Russia. Such floods are easy to stop with simple access control lists in Anti-DDoS equipment or in switches or routers before the network. FortiDDoS leverages its patented techniques to accurately discover all these common attacks based on traffic patterns that FortiDDoS builds during of the course of operations. The technology is automatic and does not require signature updates. Application Layer DDoS Attacks Application-layer attacks use far more sophisticated mechanisms to achieve the goals of the hacker. Rather than flooding a network with traffic or sessions, application-layer attacks target specific applications/services and slowly exhaust resources at the application layer. Application-layer attacks can be very effective at low traffic rates, and the traffic involved in the attacks can be legitimate from a protocol perspective. This makes application-layer attacks harder to detect than other DDoS attack types. HTTP Flood, DNS dictionary, Slowloris, etc., are examples of application-layer attacks. ISP 1 Web Hosting Center Low bandwidth slow connections FortiDDoS Firewall ISP 2 Good Traffic Attacking Traffic with Low Data Rate Figure 5: Attacks utilizing low bandwidth to evade detection FortiDDoS is designed with sophisticated connection aging algorithm to discover the application level attacks such as Slowloris that aims to slowly exhaust the system resource. FortiDDoS communicates with server sides to reset the TCP connections when such application layer attack is detected. Myths and Realities About DDoS Attacks Most Network and Security Operations engineers only hear about DDoS attacks happening to others. They think that they don t have enemies. In reality, their perceptions of risk factors and susceptibility are most often misplaced. If you have a web presence, you can be attacked easily sometimes even by mistake.

A Primer for Distributed Denial of Service PAGE 7 Many engineers think that they can custom compile kernel, set some options in Apache, install mod_dosevasive and DDoS attacks can be taken care of. In Reality, most servers do not have the capacity to handle DDoS attacks. Under most average sized DDoS attacks, your server CPUs will be too overloaded to give Apache modules a chance. Another myth that exists is that simple iptables commands can block DDoS attacks. In reality, NetFilter/iptables can block very tiny attacks and tiny percentage of DDoS attacks. Real DDoS attacks require specialized equipment because the CPU running iptables will be too busy handling attack packets. Many Network and Security Operations engineers think that their webhosts will take care of DDoS attacks. Many webhosts are happy to just null-route an attacked IP domain unless they have specialized equipment. Many webhosts do not have the skills to manually isolate issues - unless they specially advertise such capability. Some think that their ISPs, to whom their webhosting data center is connected to, cooperate under attack and they can find the source of the attack. Most ISPs are too busy. They have strict and bureaucratic processes to reach each other. Typical response time for ISPs are in days if not in hours whereas you want the solution NOW!! It is also easy to think that under attack, we can report to law enforcement to solve the problem. In reality, most law enforcement departments will not bother about needle in hay-stack attacks for them that s what most attacks are. Unless you are important and the attacks are in multiple 10s of Gigabits per second, don t waste their time and yours. You may also think that you can determine that ACLs for your routers and switches to block the attacks. DDoS attacks are moving targets. The hackers are smart, their tools are smarter and techniques are sophisticated. Another myth that surrounds DDoS attacks are filled pipes. Many wonder if there is any point in buying any specialized Anti- DDoS equipment. Without the DDoS mitigation equipment, your servers will be thoroughly exposed to even the most ordinary attacks. Anti-DDOS Appliances There are primarily following categories of appliances in the market for DDoS mitigation: 1. Carrier DDoS mitigation solutions o These solutions are useful for global networks and carriers and ISPs. o They employ IP flow-based and deep packet inspection technologies, and protect entire networks consisting of multiple routers and switches and services behind them. o These solutions are too expensive for individual IDCs, webhosts or web properties. o These solutions have been designed around early 2000 and therefore are not keeping up with the current generation of DDoS attacks which involve botnets that mimic legitimate clients. o These solutions work very well at global level and the residual attacks from such solutions may be too much for an individual web property which in turn may have to employ a solution such as 2 below. 2. Custom Logic (ASIC) based Internet Data Center (IDC), Web hosting and Web Property DDoS Mitigation Solutions o These solutions are useful for large IDCs, large web hosts and large web properties. o They work to protect one or several Internet links. o The behavioral solutions are implemented in custom hardware logic and provide line rate performance for large attacks. o FortiDDoS has one such solution. o These solutions are cost-effective and effective for IDCs, webhosts and web properties. 3. Software based Web Property DDoS Mitigation Solutions o These solutions are useful for smaller web properties with very minimal traffic. o The behavioral solutions are implemented in off-the-shelf CPUs and have issues at large attack traffic volumes in terms of keeping up. o Some appliances have IPS functionality implemented in hardware but have their DDoS mitigation logic in software and suffer from the same issues.

A Primer for Distributed Denial of Service PAGE 8 Choosing Your DDoS Protection Devices Latest Technology The hackers are pretty up-to-date on techniques. If your DDoS mitigation appliance is built around technology that was developed several years ago, it won't help you much as most of the current generation attacks would pass through. Centralized monitoring Look for appliances that allow you to centrally monitor all DDoS events and traffic in your network. You can use SNMP, Cacti, MRTG to monitor traffic and attack levels and attack events. You can configure Syslog to get all attack events on a centralized server as well. Visibility into normal network traffic patterns Look for appliances that allow you to get extremely granular visibility into your network traffic. Typically you should look for a 12 month round robin view of what normal traffic looks like and incorporate this information into a correlation engine for threat detection, alerts, and reporting. Alerting Mechanisms Look for appliances that give you a threshold based alerting mechanism for DDoS specific events. You can set threshold for different people to get alerts depending on the quantum of attack. You should be able to query a database for Top Attacks, Top Attackers, Top Attacked Destination, etc. You should be able to create custom queries in your custom applications/reports. Filtering Mechanisms to Reduce False Positives Look for appliances that filter traffic in different network layers as they inspect incoming packets using dynamic profiling (based on monitoring and analysis of normal behavior), anti-spoofing algorithms, and other technology to progressively filter harmful traffic upstream of the network. Low Latency Latency, in this context, is the amount of time it takes a packet to go through an appliance. Look for appliances that don't affect your mission critical traffic by adding additional significant latency. Most switches and routers have low latency in the range of a <50 microseconds. The anti-ddos equipment should maintain similar latency levels. This latency should be maintained even during attacks. Hardware Logic for Anti-DDoS These days it is common for a $100 home router to claim that it has DDoS attack mitigation capability. Such claims have to withstand third party tests and real life. It is also easy to build Intel CPU based appliance running Linux with some behavioral capability built-in to claim anti-ddos features. Many IPS appliances have IPS in hardware logic but anti-ddos capability in software. Such appliances cannot handle attacks beyond a certain Mbps. Look for custom DDoS mitigation logic implemented in hardware as that alone can withstand large DDoS attacks. A granular approach to DDoS mitigation selectively mitigates attacks at highest possible layer so that attacks are stopped at most specific layer. This reduces the false positives. Ability to monitor a large number of ports, sources, destinations, connections etc. helps in proper identification of attacks and attackers.

A Primer for Distributed Denial of Service PAGE 9 Bypass and Redundancy Look for internal or external bypass capability that ensures that your network traffic continues even if the appliance fails. For multiple links, look for ability to cross connect appliances in a fail-over configuration. In addition, look for asymmetric traffic support because you may have traffic coming from one link and going through another. Extensible Architecture Anti-DDoS equipment must grow with your business. Look for appliances that have such capability to grow through licenses. Third Party Validation Look for third party validation for a solution you choose. That will mitigate some risks of your inability to actually do a test in your own labs. FortiDDoS - Ideal DDoS Protection Feature Benefits ASIC Assisted Threat Detection and Mitigation Network Virtualization Automatic traffic baseline model building Easy to Deploy Microfine Granularity High throughput and reliable DDOS threat detection and mitigation. Attack on one customer does not impact other customers. Flexible and business priority aligned. Achieves optimal TCO for customers Requires almost no end user intervention and achieves more accurate threat detection through multi-layer profiling Very little human intervention is required No network topology or configuration change is needed. Monitor and report traffic granularly at layer 3, 4 and 7. Realtime and historic attacking traffic analysis. Comprehensive reports for top attacks, top sources and top attackers Virtual Network Partitions FortiDDoS supports up to 8 discretely managed servers, subnets or networks into different policy domains using IP addresses/masks providing a second level of granular protection to your network. This feature is not only beneficial in supporting multiple layers of defense but also is a cost containment and administration-friendly feature for organizations that have multiple business entities to protect, and that need unique policies for each. Virtual instances can also be effectively used in defense escalation. Rather than have a single set of policies, multiple sets can be defined in advance, such that the organization can apply a more stringent set of policies if the preceding policies were inadequate.

A Primer for Distributed Denial of Service PAGE 10 Ease of Deployments Because much of the complexities are handled by the ASIC hardware, and good baseline traffic models are built automatically through the continuous learning process, very little human intervention is required and best of all - no network topology or configuration change is needed. Microfine Granularity and Accurate Detection FortiDDoS offers microfine granularity on defining traffic patterns by using counters at different layers. Relying on its automatic ability on building a complex and detailed legitimate traffic model, FortiDDoS provides fast and accurate detection of sophisticated attacks that attempt to mimic legitimate traffic. Conclusion DDoS attacks are on the rise. The potential threats and volumes are increasing as more machines including mobile devices join the Internet. If you have a web property, the likelihood of your getting attacked is real. It is prudent to plan protection of the infrastructure rather than wait for the attacks to strike. For more details on DDOS or FortiDDoS, please visit us at http://www.fortinet.com.