Denial-of-service attack: Difference between revisions
No edit summary |
|||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In | In computing, a '''denial-of-service''' ('''DoS''') '''attack''' is an attempt to make a machine or network resource unavailable to its intended users, such as to temporarily or indefinitely interrupt or suspend [[network services of a host connected to the [[Internet]]. A '''distributed denial-of-service''' ('''DDoS''') is where the attack source is more than one–and often thousands of-unique IP addresses. It is analogous to a group of people crowding the entry door or gate to a shop or business, and not letting legitimate parties enter into the shop or business, disrupting normal operations. | ||
Criminal perpetrators of DoS attacks often target sites or services hosted on high-profile | Criminal perpetrators of DoS attacks often target sites or services hosted on high-profile web servers such as banks, credit card payment gateways; but motives of revenge, blackmail<ref>{{cite web|url=http://www.interpacket.com/42882/brand-com-victim-blackmail-attempt-says-president-mike-zammuto/ |title=Brand.com President Mike Zammuto Reveals Blackmail Attempt|date=5 March 2014|archiveurl=https://web.archive.org/web/20140311070205/http://www.interpacket.com/42882/brand-com-victim-blackmail-attempt-says-president-mike-zammuto/|archivedate=11 March 2014}}</ref><ref>{{cite web|url=http://dailyglobe.com/61817/brand-coms-mike-zammuto-discusses-meetup-com-extortion/|title=Brand.com’s Mike Zammuto Discusses Meetup.com Extortion|date=5 March 2014|archiveurl=https://web.archive.org/web/20140513044100/http://dailyglobe.com/61817/brand-coms-mike-zammuto-discusses-meetup-com-extortion/?|archivedate=13 March 2014}}</ref> or activism<ref>{{cite web|url=http://www.radicalphilosophy.com/article/the-philosophy-of-anonymous |title=The Philosophy of Anonymous |publisher=Radicalphilosophy.com |date=2010-12-17 |accessdate=2013-09-10}}</ref> can be behind other attacks. [[Boylove]] sites are frequently the victims of these types terrorist attacks. | ||
==Symptoms== | ==Symptoms== | ||
The | The United States Computer Emergency Readiness Team (US-CERT) defines symptoms of denial-of-service attacks to include: | ||
* Unusually slow | * Unusually slow network performance (opening files or accessing web sites) | ||
* Unavailability of a particular web site | * Unavailability of a particular web site | ||
* Inability to access any web site | * Inability to access any web site | ||
* Dramatic increase in the number of spam emails received—(this type of DoS attack is considered an | * Dramatic increase in the number of spam emails received—(this type of DoS attack is considered an e-mail bomb)<ref name="US-CERT1">{{cite web|url=http://www.us-cert.gov/ncas/tips/st04-015|title=Cyber Security Tip ST04-015 - Understanding Denial-of-Service Attacks |publisher=[[United States Computer Emergency Readiness Team]] |date=November 4, 2009<!--last updated February 06, 2013--> |first=Mindi |last=McDowell |accessdate=December 11, 2013 |archiveurl=https://web.archive.org/web/20131104052804/http://www.us-cert.gov/ncas/tips/st04-015 |archivedate=2013-11-04 |deadurl=no}}</ref> | ||
* Disconnection of a wireless or wired internet connection | * Disconnection of a wireless or wired internet connection | ||
* Long term denial of access to the web or any internet services | * Long term denial of access to the web or any internet services | ||
Denial-of-service attacks can also lead to problems in the network 'branches' around the actual computer being attacked. For example, the | Denial-of-service attacks can also lead to problems in the network 'branches' around the actual computer being attacked. For example, the bandwidth of a router between the Internet and a Local area network/LAN may be consumed by an attack, compromising not only the intended computer, but also the entire network or other computers on the LAN. | ||
If the attack is conducted on a sufficiently large scale, entire geographical regions of Internet connectivity can be compromised without the attacker's knowledge or intent by incorrectly configured or flimsy network infrastructure equipment. | If the attack is conducted on a sufficiently large scale, entire geographical regions of Internet connectivity can be compromised without the attacker's knowledge or intent by incorrectly configured or flimsy network infrastructure equipment. | ||
Line 20: | Line 20: | ||
A denial-of-service attack is characterized by an explicit attempt by attackers to prevent legitimate users of a service from using that service. There are two general forms of DoS attacks: those that crash services and those that flood services. | A denial-of-service attack is characterized by an explicit attempt by attackers to prevent legitimate users of a service from using that service. There are two general forms of DoS attacks: those that crash services and those that flood services. | ||
The most serious attacks are distributed<ref name="Taghavi Zargar 2046–2069">{{cite web|url=http://d-scholarship.pitt.edu/19225/1/FinalVersion.pdf |title=A Survey of Defense Mechanisms Against Distributed Denial of Service (DDoS) Flooding Attacks |first=Saman |last=Taghavi Zargar |publisher=IEEE COMMUNICATIONS SURVEYS & TUTORIALS |volume=15 |issue=4 |pages=2046–2069 |date=November 2013 |accessdate=2014-03-07}}</ref> and in many or most cases involve forging of IP sender addresses ( | The most serious attacks are distributed<ref name="Taghavi Zargar 2046–2069">{{cite web|url=http://d-scholarship.pitt.edu/19225/1/FinalVersion.pdf |title=A Survey of Defense Mechanisms Against Distributed Denial of Service (DDoS) Flooding Attacks |first=Saman |last=Taghavi Zargar |publisher=IEEE COMMUNICATIONS SURVEYS & TUTORIALS |volume=15 |issue=4 |pages=2046–2069 |date=November 2013 |accessdate=2014-03-07}}</ref> and in many or most cases involve forging of IP sender addresses (IP address spoofing) so that the location of the attacking machines cannot easily be identified, nor can filtering be done based on the source address. | ||
===Internet Control Message Protocol (ICMP) flood=== | ===Internet Control Message Protocol (ICMP) flood=== | ||
A | A smurf attack relies on misconfigured network devices that allow packets to be sent to all computer hosts on a particular network via the broadcast address of the network, rather than a specific machine. The attacker will send large numbers of IP packets with the source address faked to appear to be the address of the victim. The network's bandwidth is quickly used up, preventing legitimate packets from getting through to their destination.<ref name="ANML-DDoS">{{cite web|url=http://anml.iu.edu/ddos/types.html|title=Types of DDoS Attacks |publisher=Advanced Networking Management Lab (ANML) |work=Distributed Denial of Service Attacks(DDoS) Resources, Pervasive Technology Labs at Indiana University |date=December 3, 2009 |archiveurl=https://web.archive.org/web/20100914222536/http://anml.iu.edu/ddos/types.html |archivedate=2010-09-14 |accessdate=December 11, 2013 }}</ref> Normally used against small clients or servers, without ISP security. | ||
Ping flood is based on sending the victim an overwhelming number of ping packets, usually using the "ping" command from Unix-like hosts (the -t flag on Windows systems is much less capable of overwhelming a target, also the -l (size) flag does not allow sent packet size greater than 65500 in Windows). It is very simple to launch, the primary requirement being access to greater bandwidth than the victim. | |||
Ping of death is based on sending the victim a malformed ping packet, which will lead to a system crash on a vulnerable system. | |||
===(S)SYN flood=== | ===(S)SYN flood=== | ||
A SYN flood occurs when a host sends a flood of TCP/SYN packets, often with a forged sender address. Each of these packets are handled like a connection request, causing the server to spawn a | A SYN flood occurs when a host sends a flood of TCP/SYN packets, often with a forged sender address. Each of these packets are handled like a connection request, causing the server to spawn a half-open connection, by sending back a TCP/SYN-ACK packet (Acknowledge), and waiting for a packet in response from the sender address (response to the ACK Packet). However, because the sender address is forged, the response never comes. These half-open connections saturate the number of available connections the server can make, keeping it from responding to legitimate requests until after the attack ends.<ref>{{cite web|url=http://tools.ietf.org/html/rfc4987 |title=RFC 4987{{spaced ndash}}TCP SYN Flooding Attacks and Common Mitigations |publisher=Tools.ietf.org |date=August 2007 |accessdate=2011-12-02}}</ref> | ||
===Teardrop attacks=== | ===Teardrop attacks=== | ||
A teardrop attack involves sending | A teardrop attack involves sending mangled IP fragments with overlapping, over-sized payloads to the target machine. This can crash various operating systems because of a bug in their TCP/IP fragmentation re-assemblycode.<ref name="CERT-1">{{cite web|url=http://www.cert.org/historical/advisories/ca-1997-28.cfm|title=CERT Advisory CA-1997-28 IP Denial-of-Service Attacks|accessdate=July 18, 2014|publisher=CERT|year=1998}}</ref> Windows 3.1x, Windows 95 and Windows NT operating systems, as well as versions of Linux prior to versions 2.0.32 and 2.1.63 are vulnerable to this attack. | ||
(Although in September 2009, a vulnerability in | (Although in September 2009, a vulnerability in Windows Vista was referred to as a "teardrop attack", this targeted Server Message Block/SMB2 which is a higher layer than the TCP packets that teardrop used).<ref>{{cite web|url=http://www.zdnet.com/blog/security/windows-7-vista-exposed-to-teardrop-attack/4222 |title=Windows 7, Vista exposed to 'teardrop attack' |publisher=ZDNet |date=September 8, 2009 |accessdate=2013-12-11}}</ref><ref>{{cite web|url=http://www.microsoft.com/technet/security/advisory/975497.mspx |title=Microsoft Security Advisory (975497): Vulnerabilities in SMB Could Allow Remote Code Execution |publisher=Microsoft.com |date=September 8, 2009 <!--last updated February 06, 2013-->|accessdate=2011-12-02}}</ref> | ||
===Peer-to-peer attacks=== | ===Peer-to-peer attacks=== | ||
Line 45: | Line 45: | ||
===Permanent denial-of-service attacks=== | ===Permanent denial-of-service attacks=== | ||
Permanent denial-of-service (PDoS), also known loosely as phlashing,<ref>{{cite news|title=Phlashing attack thrashes embedded systems|first=John|last=Leyden|date=2008-05-21|accessdate=2009-03-07|work=The Register|url=http://www.theregister.co.uk/2008/05/21/phlashing/}}</ref> is an attack that damages a system so badly that it requires replacement or reinstallation of hardware.<ref name="TechWeb">{{cite web|url=http://www.darkreading.com/document.asp?doc_id=154270&WT.svl=news1_1|title=Permanent Denial-of-Service Attack Sabotages Hardware|publisher=Dark Reading |date=May 19, 2008 |first=Kelly |last=Jackson Higgins |archiveurl=https://web.archive.org/web/20081208002732/http://www.darkreading.com/security/management/showArticle.jhtml?articleID=211201088 |archivedate=December 8, 2008}}</ref> Unlike the distributed denial-of-service attack, a PDoS attack exploits security flaws which allow remote administration on the management interfaces of the victim's hardware, such as routers, printers, or other | Permanent denial-of-service (PDoS), also known loosely as phlashing,<ref>{{cite news|title=Phlashing attack thrashes embedded systems|first=John|last=Leyden|date=2008-05-21|accessdate=2009-03-07|work=The Register|url=http://www.theregister.co.uk/2008/05/21/phlashing/}}</ref> is an attack that damages a system so badly that it requires replacement or reinstallation of hardware.<ref name="TechWeb">{{cite web|url=http://www.darkreading.com/document.asp?doc_id=154270&WT.svl=news1_1|title=Permanent Denial-of-Service Attack Sabotages Hardware|publisher=Dark Reading |date=May 19, 2008 |first=Kelly |last=Jackson Higgins |archiveurl=https://web.archive.org/web/20081208002732/http://www.darkreading.com/security/management/showArticle.jhtml?articleID=211201088 |archivedate=December 8, 2008}}</ref> Unlike the distributed denial-of-service attack, a PDoS attack exploits security flaws which allow remote administration on the management interfaces of the victim's hardware, such as routers, printers, or other networking hardware. The attacker uses these vulnerabilities to replace a device's firmware with a modified, corrupt, or defective firmware image—a process which when done legitimately is known as ''flashing.'' This therefore "bricks" the device, rendering it unusable for its original purpose until it can be repaired or replaced. | ||
The PDoS is a pure hardware targeted attack which can be much faster and requires fewer resources than using a botnet or a root/vserver in a DDoS attack. Because of these features, and the potential and high probability of security exploits on Network Enabled Embedded Devices (NEEDs), this technique has come to the attention of numerous hacking communities. | The PDoS is a pure hardware targeted attack which can be much faster and requires fewer resources than using a botnet or a root/vserver in a DDoS attack. Because of these features, and the potential and high probability of security exploits on Network Enabled Embedded Devices (NEEDs), this technique has come to the attention of numerous hacking communities. | ||
Line 52: | Line 52: | ||
===Application-layer floods=== | ===Application-layer floods=== | ||
Various DoS-causing | Various DoS-causing exploits such as buffer overflow can cause server-running software to get confused and fill the disk space or consume all available memory or CPU time. | ||
Other kinds of DoS rely primarily on brute force, flooding the target with an overwhelming flux of packets, oversaturating its connection bandwidth or depleting the target's system resources. Bandwidth-saturating floods rely on the attacker having higher bandwidth available than the victim; a common way of achieving this today is via distributed denial-of-service, employing a botnet. Another target of DDoS attacks may be to produce added costs for the application operator, when the latter uses resources based on | Other kinds of DoS rely primarily on brute force, flooding the target with an overwhelming flux of packets, oversaturating its connection bandwidth or depleting the target's system resources. Bandwidth-saturating floods rely on the attacker having higher bandwidth available than the victim; a common way of achieving this today is via distributed denial-of-service, employing a botnet. Another target of DDoS attacks may be to produce added costs for the application operator, when the latter uses resources based on Cloud Computing. In this case normally application used resources are tied to a needed Quality of Service level (e.g. responses should be less than 200 ms) and this rule is usually linked to automated software (e.g. Amazon CloudWatch<ref>{{cite web|url=http://aws.amazon.com/cloudwatch/|title=Amazon CloudWatch|work=Amazon Web Services, Inc.}}</ref>) to raise more virtual resources from the provider in order to meet the defined QoS levels for the increased requests.The main incentive behind such attacks may be to drive the application owner to raise the elasticity levels in order to handle the increased application traffic, in order to cause financial losses or force them to become less competitive. Other floods may use specific packet types or connection requests to saturate finite resources by, for example, occupying the maximum number of open connections or filling the victim's disk space with logs. | ||
A "banana attack" is another particular type of DoS. It involves redirecting outgoing messages from the client back onto the client, preventing outside access, as well as flooding the client with the sent packets. A | A "banana attack" is another particular type of DoS. It involves redirecting outgoing messages from the client back onto the client, preventing outside access, as well as flooding the client with the sent packets. A LAND attack is of this type. | ||
An attacker with shell-level access to a victim's computer may slow it until it is unusable or crash it by using a | An attacker with shell-level access to a victim's computer may slow it until it is unusable or crash it by using a fork bomb. | ||
A kind of application-level DoS attack is | A kind of application-level DoS attack is XDoS (or XML DoS) which can be controlled by modern web application firewalls (WAFs). | ||
===Nuke=== | ===Nuke=== | ||
A Nuke is an old denial-of-service attack against | A Nuke is an old denial-of-service attack against computer networks consisting of fragmented or otherwise invalid ICMP packets sent to the target, achieved by using a modified ping utility to repeatedly send this corrupt data, thus slowing down the affected computer until it comes to a complete stop. | ||
A specific example of a nuke attack that gained some prominence is the | A specific example of a nuke attack that gained some prominence is the WinNuke, which exploited the vulnerability in the NetBIOS handler in Windows 95. A string of out-of-band data was sent to Transmission Control Protocol/TCP port 139 of the victim's machine, causing it to lock up and display a ''Blue Screen of Death'' (BSOD). | ||
===HTTP POST DoS attack=== | ===HTTP POST DoS attack=== | ||
First discovered in 2009, the HTTP POST attack sends a complete, legitimate | First discovered in 2009, the HTTP POST attack sends a complete, legitimate HTTP POST header, which includes a 'Content-Length' field to specify the size of the message body to follow. However, the attacker then proceeds to send the actual message body at an extremely slow rate (e.g. 1 byte/110 seconds). Due to the entire message being correct and complete, the target server will attempt to obey the 'Content-Length' field in the header, and wait for the entire body of the message to be transmitted, which can take a very long time. The attacker establishes hundreds or even thousands of such connections, until all resources for incoming connections on the server (the victim) are used up, hence making any further (including legitimate) connections impossible until all data has been sent. It is notable that unlike many other (D)DoS attacks, which try to subdue the server by overloading its' network or CPU, a HTTP POST attack targets the ''logical'' resources of the victim, which means the victim would still have enough network bandwidth and processing power to operate.<ref>{{cite web |url=https://www.owasp.org/images/4/43/Layer_7_DDOS.pdf|title=OWASP Plan - Strawman - Layer_7_DDOS.pdf|author=<!--Staff writer(s); no by-line.--> |date=18 March 2014|website= Open Web Application Security Project|accessdate=18 March 2014}}</ref> Further combined with the fact that Apache will, by default, accept requests up to 2GB in size, this attack can be particularly powerful. HTTP POST attacks are difficult to differentiate from legitimate connections, and are therefore able to bypass some protection systems. OWASP, an open source web application security project, has released a [https://www.owasp.org/index.php/OWASP_HTTP_Post_Tool testing tool] to test the security of servers against this type of attacks. | ||
===R-U-Dead-Yet? (RUDY)=== | ===R-U-Dead-Yet? (RUDY)=== | ||
This attack targets web applications by starvation of available sessions on the web server. Much like | This attack targets web applications by starvation of available sessions on the web server. Much like Slowloris, RUDY keeps sessions at halt using never-ending POST transmissions and sending an arbitrarily large content-length header value. | ||
===Slow Read attack=== | ===Slow Read attack=== | ||
Line 79: | Line 79: | ||
A distributed denial-of-service (DDoS) attack occurs when multiple systems flood the bandwidth or resources of a targeted system, usually one or more web servers.<ref name="Taghavi Zargar 2046–2069"/> Such an attack is often the result of multiple compromised systems (for example a botnet) flooding the targeted system with traffic. A botnet is a network of zombie computers programmed to receive commands without the owners' knowledge.<ref>{{cite news|title=Has Your Website Been Bitten By a Zombie?|url=http://blog.cloudbric.com/2015/08/has-your-website-been-bitten-by-zombie.html|accessdate=15 September 2015|agency=Cloudbric|date=3 August 2015}}</ref> When a server is overloaded with connections, new connections can no longer be accepted. The major advantages to an attacker of using a distributed denial-of-service attack are that multiple machines can generate more attack traffic than one machine, multiple attack machines are harder to turn off than one attack machine, and that the behavior of each attack machine can be stealthier, making it harder to track and shut down. These attacker advantages cause challenges for defense mechanisms. For example, merely purchasing more incoming bandwidth than the current volume of the attack might not help, because the attacker might be able to simply add more attack machines. This after all will end up completely crashing a website for periods of time. | A distributed denial-of-service (DDoS) attack occurs when multiple systems flood the bandwidth or resources of a targeted system, usually one or more web servers.<ref name="Taghavi Zargar 2046–2069"/> Such an attack is often the result of multiple compromised systems (for example a botnet) flooding the targeted system with traffic. A botnet is a network of zombie computers programmed to receive commands without the owners' knowledge.<ref>{{cite news|title=Has Your Website Been Bitten By a Zombie?|url=http://blog.cloudbric.com/2015/08/has-your-website-been-bitten-by-zombie.html|accessdate=15 September 2015|agency=Cloudbric|date=3 August 2015}}</ref> When a server is overloaded with connections, new connections can no longer be accepted. The major advantages to an attacker of using a distributed denial-of-service attack are that multiple machines can generate more attack traffic than one machine, multiple attack machines are harder to turn off than one attack machine, and that the behavior of each attack machine can be stealthier, making it harder to track and shut down. These attacker advantages cause challenges for defense mechanisms. For example, merely purchasing more incoming bandwidth than the current volume of the attack might not help, because the attacker might be able to simply add more attack machines. This after all will end up completely crashing a website for periods of time. | ||
Malware can carry DDoS attack mechanisms; one of the better-known examples of this was | Malware can carry DDoS attack mechanisms; one of the better-known examples of this was MyDoom. Its DoS mechanism was triggered on a specific date and time. This type of DDoS involved hardcoding the target IP address prior to release of the malware and no further interaction was necessary to launch the attack. | ||
A system may also be compromised with a | A system may also be compromised with a trojan, allowing the attacker to download a zombie agent, or the trojan may contain one. Attackers can also break into systems using automated tools that exploit flaws in programs that listen for connections from remote hosts. This scenario primarily concerns systems acting as servers on the web. Stacheldraht is a classic example of a DDoS tool. It utilizes a layered structure where the attacker uses a client program to connect to handlers, which are compromised systems that issue commands to the zombie agents, which in turn facilitate the DDoS attack. Agents are compromised via the handlers by the attacker, using automated routines to exploit vulnerabilities in programs that accept remote connections running on the targeted remote hosts. Each handler can control up to a thousand agents.<ref name="Dittrich">{{cite web|url=http://staff.washington.edu/dittrich/misc/stacheldraht.analysis.txt |title=The "stacheldraht" distributed denial of service attack tool |first=David |last=Dittrich |publisher=University of Washington |date=December 31, 1999 |accessdate=2013-12-11}}</ref> In some cases a machine may become part of a DDoS attack with the owner's consent, for example, in Operation Payback, organized by the group [[Anonymous (group)|Anonymous]]. These attacks can use different types of internet packets such as: TCP, UDP, ICMP etc. | ||
These collections of systems compromisers are known as | These collections of systems compromisers are known as botnets / rootservers. DDoS tools like Stacheldraht still use classic DoS attack methods centered on IP spoofing and amplification like smurf attacks and fraggle attacks (these are also known as bandwidth consumption attacks). SYN flood]]s (also known as resource starvation attacks) may also be used. Newer tools can use DNS servers for DoS purposes. Unlike MyDoom's DDoS mechanism, botnets can be turned against any IP address. [[Script kiddie]]s use them to deny the availability of well known websites to legitimate users.<ref name="SANS">{{cite web|url=http://www.sans.org/resources/idfaq/trinoo.php|title=SANS Institute{{spaced ndash}}Intrusion Detection FAQ: Distributed Denial of Service Attack Tools: n/a|accessdate=2008-05-02|publisher=SANS Institute|year=2000|first=Phillip |last=Boyle}}</ref> More sophisticated attackers use DDoS tools for the purposes of extortion even against their business rivals.<ref>{{cite web|last=Leyden |first=John |url=http://www.theregister.co.uk/2004/09/23/authorize_ddos_attack/ |title=US credit card firm fights DDoS attack |work=The Register |date=2004-09-23 |accessdate=2011-12-02}}</ref> | ||
Simple attacks such as SYN floods may appear with a wide range of source IP addresses, giving the appearance of a well distributed DoS. These flood attacks do not require completion of the TCP | Simple attacks such as SYN floods may appear with a wide range of source IP addresses, giving the appearance of a well distributed DoS. These flood attacks do not require completion of the TCP three way handshake and attempt to exhaust the destination SYN queue or the server bandwidth. Because the source IP addresses can be trivially spoofed, an attack could come from a limited set of sources, or may even originate from a single host. Stack enhancements such as syn cookies may be effective mitigation against SYN queue flooding, however complete bandwidth exhaustion may require involvement. | ||
If an attacker mounts an attack from a single host it would be classified as a DoS attack. In fact, any attack against availability would be classed as a denial-of-service attack. On the other hand, if an attacker uses many systems to simultaneously launch attacks against a remote host, this would be classified as a DDoS attack. | If an attacker mounts an attack from a single host it would be classified as a DoS attack. In fact, any attack against availability would be classed as a denial-of-service attack. On the other hand, if an attacker uses many systems to simultaneously launch attacks against a remote host, this would be classified as a DDoS attack. | ||
UK's | UK's GCHQ has tools built for DDoS, named PREDATORS FACE and ROLLING THUNDER.<ref name="firstlook.org">{{Cite web |date=2014-07-15 |author= Glenn Greenwald |url=https://theintercept.com/2014/07/14/manipulating-online-polls-ways-british-spies-seek-control-internet/ |title=HACKING ONLINE POLLS AND OTHER WAYS BRITISH SPIES SEEK TO CONTROL THE INTERNET |publisher=The Intercept_ |accessdate=2015-12-25}}</ref> | ||
===Reflected / spoofed attack=== | ===Reflected / spoofed attack=== | ||
A distributed denial-of-service attack may involve sending forged requests of some type to a very large number of computers that will reply to the requests. Using | A distributed denial-of-service attack may involve sending forged requests of some type to a very large number of computers that will reply to the requests. Using Internet Protocol address spoofing, the source address is set to that of the targeted victim, which means all the replies will go to (and flood) the target. (This reflected attack form is sometimes called a "DRDOS".<ref>{{cite web|url=http://www.internetsociety.org/sites/default/files/01_5.pdf|title=Amplification Hell: Revisiting Network Protocols for DDoS Abuse|first=Christian|last=Rossow|publisher=Internet Society|year=February 2014|accessdate=4 February 2016}}</ref>) | ||
ICMP Echo Request attacks (Smurf Attack) can be considered one form of reflected attack, as the flooding host(s) send Echo Requests to the broadcast addresses of mis-configured networks, thereby enticing hosts to send Echo Reply packets to the victim. Some early DDoS programs implemented a distributed form of this attack. | |||
Many services can be exploited to act as reflectors, some harder to block than others.<ref>{{cite web |last=Paxson|first=Vern |year=2001|url=http://www.icir.org/vern/papers/reflectors.CCR.01/reflectors.html |title=An Analysis of Using Reflectors for Distributed Denial-of-Service Attacks |publisher=ICIR.org}}</ref> US-CERT have observed that different services implies in different amplification factors, as you can see below:<ref>{{cite web |date=July 8, 2014 |title=Alert (TA14-017A) UDP-based Amplification Attacks |publisher=US-CERT |url=http://www.us-cert.gov/ncas/alerts/TA14-017A |accessdate=2014-07-08}}</ref> | Many services can be exploited to act as reflectors, some harder to block than others.<ref>{{cite web |last=Paxson|first=Vern |year=2001|url=http://www.icir.org/vern/papers/reflectors.CCR.01/reflectors.html |title=An Analysis of Using Reflectors for Distributed Denial-of-Service Attacks |publisher=ICIR.org}}</ref> US-CERT have observed that different services implies in different amplification factors, as you can see below:<ref>{{cite web |date=July 8, 2014 |title=Alert (TA14-017A) UDP-based Amplification Attacks |publisher=US-CERT |url=http://www.us-cert.gov/ncas/alerts/TA14-017A |accessdate=2014-07-08}}</ref> | ||
Line 140: | Line 138: | ||
|} | |} | ||
DNS amplification attacks involve a new mechanism that increased the amplification effect, using a much larger list of DNS servers than seen earlier.<ref>{{cite web |year=2006|url=http://www.isotf.org/news/DNS-Amplification-Attacks.pdf |title=DNS Amplification Attacks |publisher=ISOTF |archiveurl=https://web.archive.org/web/20101214074629/http://www.isotf.org/news/DNS-Amplification-Attacks.pdf |archivedate=2010-12-14|author=Vaughn, Randal; Evron, Gadi}}</ref><ref>{{cite web |date=July 8, 2013 |title=Alert (TA13-088A) DNS Amplification Attacks |publisher=US-CERT |url=http://www.us-cert.gov/ncas/alerts/TA13-088A |accessdate=2013-07-17}}</ref> SNMP and | DNS amplification attacks involve a new mechanism that increased the amplification effect, using a much larger list of DNS servers than seen earlier.<ref>{{cite web |year=2006|url=http://www.isotf.org/news/DNS-Amplification-Attacks.pdf |title=DNS Amplification Attacks |publisher=ISOTF |archiveurl=https://web.archive.org/web/20101214074629/http://www.isotf.org/news/DNS-Amplification-Attacks.pdf |archivedate=2010-12-14|author=Vaughn, Randal; Evron, Gadi}}</ref><ref>{{cite web |date=July 8, 2013 |title=Alert (TA13-088A) DNS Amplification Attacks |publisher=US-CERT |url=http://www.us-cert.gov/ncas/alerts/TA13-088A |accessdate=2013-07-17}}</ref> SNMP and Network Time Protocol can also be exploited as reflector in an amplification attack. | ||
===Telephony denial-of-service (TDoS)=== | ===Telephony denial-of-service (TDoS)=== | ||
Voice over IP has made abusive origination of large numbers of telephone voice calls inexpensive and readily automated while permitting call origins to be misrepresented through caller ID spoofing. | |||
According to the US | According to the US Federal Bureau of Investigation, telephony denial-of-service (TDoS) has appeared as part of various fraudulent schemes: | ||
* A scammer contacts the victim's banker or broker, impersonating the victim to request a funds transfer. The banker's attempt to contact the victim for verification of the transfer fails as the victim's telephone lines are being flooded with thousands of bogus calls, rendering the victim unreachable.<ref>{{cite web|url=http://www.fbi.gov/newark/press-releases/2010/nk051110.htm |title=FBI — Phony Phone Calls Distract Consumers from Genuine Theft |publisher=FBI.gov |date=2010-05-11 |accessdate=2013-09-10}}</ref> | * A scammer contacts the victim's banker or broker, impersonating the victim to request a funds transfer. The banker's attempt to contact the victim for verification of the transfer fails as the victim's telephone lines are being flooded with thousands of bogus calls, rendering the victim unreachable.<ref>{{cite web|url=http://www.fbi.gov/newark/press-releases/2010/nk051110.htm |title=FBI — Phony Phone Calls Distract Consumers from Genuine Theft |publisher=FBI.gov |date=2010-05-11 |accessdate=2013-09-10}}</ref> | ||
* A scammer contacts consumers with a bogus claim to collect an outstanding | * A scammer contacts consumers with a bogus claim to collect an outstanding payday loan for thousands of dollars. When the consumer objects, the scammer retaliates by flooding the victim's employer with thousands of automated calls. In some cases, displayed caller ID is spoofed to impersonate police or law enforcement agencies.<ref>{{cite web|url=http://www.ic3.gov/media/2013/130107.aspx |title= Internet Crime Complaint Center's (IC3) Scam Alerts January 7, 2013 |work=IC3.gov |date=2013-01-07 |accessdate=2013-09-10}}</ref> | ||
* A scammer contacts consumers with a bogus debt collection demand and threatens to send police; when the victim balks, the scammer floods local police numbers with calls on which caller ID is spoofed to display the victims number. Police soon arrive at the victim's residence attempting to find the origin of the calls. | * A scammer contacts consumers with a bogus debt collection demand and threatens to send police; when the victim balks, the scammer floods local police numbers with calls on which caller ID is spoofed to display the victims number. Police soon arrive at the victim's residence attempting to find the origin of the calls. | ||
Telephony denial-of-service can exist even without | Telephony denial-of-service can exist even without Internet telephony. In the 2002 New Hampshire Senate election phone jamming scandal, telemarketers were used to flood political opponents with spurious calls to jam phone banks on election day. Widespread publication of a number can also flood it with enough calls to render it unusable, as happened with multiple +1-area code-867-5309 subscribers inundated by hundreds of misdialed calls daily in response to a popular song 867-5309/Jenny. | ||
TDoS differs from other | TDoS differs from other telephone harassment (such as prank calls and obscene phone calls) by the number of calls originated; by occupying lines continuously with repeated automated calls, the victim is prevented from making or receiving both routine and emergency telephone calls. | ||
Related exploits include | Related exploits include SMS flooding attacks and black fax or fax loop transmission. | ||
===Sophisticated low-bandwidth Distributed Denial-of-Service Attack=== | ===Sophisticated low-bandwidth Distributed Denial-of-Service Attack=== | ||
Line 164: | Line 162: | ||
===Advanced Persistent DoS (APDoS)=== | ===Advanced Persistent DoS (APDoS)=== | ||
An APDoS is more likely to be perpetrated by an | An APDoS is more likely to be perpetrated by an advanced persistent threat (APT): actors who are well resourced, exceptionally skilled and have access to substantial commercial grade computer resources and capacity. APDoS attacks represent a clear and emerging threat needing specialised monitoring and incident response services and the defensive capabilities of specialised DDoS mitigation service providers. | ||
This type of attack involves massive network layer DDoS attacks through to focused application layer (HTTP) floods, followed by repeated (at varying intervals) SQLI and XSS attacks. | This type of attack involves massive network layer DDoS attacks through to focused application layer (HTTP) floods, followed by repeated (at varying intervals) SQLI and XSS attacks. | ||
Typically, the perpetrators can simultaneously use from 2 to 5 attack vectors involving up to several tens of millions of requests per second, often accompanied by large SYN floods that can not only attack the victim but also any service provider implementing any sort of managed DDoS mitigation capability. These attacks can persist for several weeks- the longest continuous period noted so far lasted 38 days. This APDoS attack involved approximately 50+ petabits (51,000+ terabits) of malicious traffic. | Typically, the perpetrators can simultaneously use from 2 to 5 attack vectors involving up to several tens of millions of requests per second, often accompanied by large SYN floods that can not only attack the victim but also any service provider implementing any sort of managed DDoS mitigation capability. These attacks can persist for several weeks- the longest continuous period noted so far lasted 38 days. This APDoS attack involved approximately 50+ petabits (51,000+ terabits) of malicious traffic. | ||
Line 178: | Line 176: | ||
===DDoS extortion=== | ===DDoS extortion=== | ||
In 2015, DDoS botnets such as DD4BC grew in prominence, taking aim at financial institutions.<ref>{{cite news|title=Who's Behind DDoS Attacks and How Can You Protect Your Website?|url=http://blog.cloudbric.com/2015/09/whos-behind-ddos-attacks-and-how-can.html|accessdate=15 September 2015|agency=Cloudbric|date=10 September 2015}}</ref> Cyber-extortionists typically begin with a low-level attack and a warning that a larger attack will be carried out if a ransom is not paid in | In 2015, DDoS botnets such as DD4BC grew in prominence, taking aim at financial institutions.<ref>{{cite news|title=Who's Behind DDoS Attacks and How Can You Protect Your Website?|url=http://blog.cloudbric.com/2015/09/whos-behind-ddos-attacks-and-how-can.html|accessdate=15 September 2015|agency=Cloudbric|date=10 September 2015}}</ref> Cyber-extortionists typically begin with a low-level attack and a warning that a larger attack will be carried out if a ransom is not paid in Bitcoin.<ref>{{cite news|last1=Solon|first1=Olivia|title=Cyber-Extortionists Targeting the Financial Sector Are Demanding Bitcoin Ransoms|url=http://www.bloomberg.com/news/articles/2015-09-09/bitcoin-ddos-ransom-demands-raise-dd4bc-profile?mod=djemRiskCompliance|accessdate=15 September 2015|agency=Bloomberg|date=9 September 2015}}</ref> Security experts recommend targeted websites to not pay the ransom. The attackers tend to get into an extended extortion scheme once they recognize that the target is ready to pay.<ref>{{cite news|last1=Greenberg|first1=Adam|title=Akamai warns of increased activity from DDoS extortion group|url=http://www.scmagazineuk.com/akamai-warns-of-increased-activity-from-ddos-extortion-group/article/438333/|accessdate=15 September 2015|agency=SC Magazine|date=14 September 2015}}</ref> | ||
==Attack tools== | ==Attack tools== | ||
A wide array of programs are used to launch DoS-attacks. | A wide array of programs are used to launch DoS-attacks. | ||
In cases such as | In cases such as MyDoom the tools are embedded in malware, and launch their attacks without the knowledge of the system owner. Stacheldraht is a classic example of a DDoS tool. It utilizes a layered structure where the attacker uses a client program to connect to handlers, which are compromised systems that issue commands to the zombie agents, which in turn facilitate the DDoS attack. Agents are compromised via the handlers by the attacker, using automated routines to exploit vulnerabilities in programs that accept remote connections running on the targeted remote hosts. Each handler can control up to a thousand agents.<ref name="Dittrich"/> | ||
In other cases a machine may become part of a DDoS attack with the owner's consent, for example, in | In other cases a machine may become part of a DDoS attack with the owner's consent, for example, in Operation Payback, organized by the group [[Anonymous (group)|Anonymous]]. The LOIC has typically been used in this way. A wide variety of DDoS tools are available today, including paid and free versions, with different features available. There is an underground market for these in hacker related forums and IRC channels. | ||
UK's | UK's GCHQ has tools built for DDoS, named PREDATORS FACE and ROLLING THUNDER.<ref name="firstlook.org"/> | ||
==Defense techniques== | ==Defense techniques== | ||
Line 195: | Line 193: | ||
===Firewalls=== | ===Firewalls=== | ||
In the case of a simple attack, a | In the case of a simple attack, a firewall could have a simple rule added to deny all incoming traffic from the attackers, based on protocols, ports or the originating IP addresses. | ||
More complex attacks will however be hard to block with simple rules: for example, if there is an ongoing attack on port 80 (web service), it is not possible to drop all incoming traffic on this port because doing so will prevent the server from serving legitimate traffic.<ref>{{cite web|url=http://www.computerworld.com/s/article/94014/How_to_defend_against_DDoS_attacks|first=Paul |last=Froutan|title=How to defend against DDoS attacks|work=[[Computerworld]]|date=June 24, 2004|accessdate=May 15, 2010}}</ref> Additionally, firewalls may be too deep in the network hierarchy, with routers being adversely affected before the traffic gets to the firewall. | More complex attacks will however be hard to block with simple rules: for example, if there is an ongoing attack on port 80 (web service), it is not possible to drop all incoming traffic on this port because doing so will prevent the server from serving legitimate traffic.<ref>{{cite web|url=http://www.computerworld.com/s/article/94014/How_to_defend_against_DDoS_attacks|first=Paul |last=Froutan|title=How to defend against DDoS attacks|work=[[Computerworld]]|date=June 24, 2004|accessdate=May 15, 2010}}</ref> Additionally, firewalls may be too deep in the network hierarchy, with routers being adversely affected before the traffic gets to the firewall. | ||
===Switches=== | ===Switches=== | ||
Most switches have some rate-limiting and | Most switches have some rate-limiting and ACL capability. Some switches provide automatic and/or system-wide rate limiting, traffic shaping, delayed binding (TCP splicing), deep packet inspection and Bogon filtering (bogus IP filtering) to detect and remediate denial-of-service attacks through automatic rate filtering and WAN Link failover and balancing. | ||
These schemes will work as long as the DoS attacks can be prevented by using them. For example, SYN flood can be prevented using delayed binding or TCP splicing. Similarly content based DoS may be prevented using deep packet inspection. Attacks originating from | These schemes will work as long as the DoS attacks can be prevented by using them. For example, SYN flood can be prevented using delayed binding or TCP splicing. Similarly content based DoS may be prevented using deep packet inspection. Attacks originating from dark addresses or going to dark addresses can be prevented using bogon filtering. Automatic rate filtering can work as long as set rate-thresholds have been set correctly and granularly. Wan-link failover will work as long as both links have DoS/DDoS prevention mechanism. | ||
===Routers=== | ===Routers=== | ||
Line 208: | Line 206: | ||
===Application front end hardware=== | ===Application front end hardware=== | ||
Application front end hardware is intelligent hardware placed on the network before traffic reaches the servers. It can be used on networks in conjunction with routers and switches. Application front end hardware analyzes data packets as they enter the system, and then identifies them as priority, regular, or dangerous. There are more than 25 | Application front end hardware is intelligent hardware placed on the network before traffic reaches the servers. It can be used on networks in conjunction with routers and switches. Application front end hardware analyzes data packets as they enter the system, and then identifies them as priority, regular, or dangerous. There are more than 25 bandwidth management vendors. | ||
===Application level Key Completion Indicators=== | ===Application level Key Completion Indicators=== | ||
Line 214: | Line 212: | ||
===IPS based prevention=== | ===IPS based prevention=== | ||
Intrusion-prevention systems (IPS) are effective if the attacks have signatures associated with them. However, the trend among the attacks is to have legitimate content but bad intent. Intrusion-prevention systems which work on content recognition cannot block behavior-based DoS attacks. | |||
An | An Application-specific integrated circuit based IPS may detect and block denial-of-service attacks because they have the processing power and the granularity to analyze the attacks and act like a circuit breaker in an automated way. | ||
A | A rate-based IPS (RBIPS) must analyze traffic granularly and continuously monitor the traffic pattern and determine if there is traffic anomaly. It must let the legitimate traffic flow while blocking the DoS attack traffic.<ref>{{cite news|last=Abante|first=Carl|title=Relationship between Firewalls and Protection against DDoS|url=http://www.ecommercewisdom.com/relationship-firewalls-protection-ddos/|newspaper=Ecommerce Wisdom|date=March 2, 2013|accessdate=2013-05-24}}</ref> | ||
===DDS based defense=== | ===DDS based defense=== | ||
Line 230: | Line 228: | ||
===Upstream filtering=== | ===Upstream filtering=== | ||
All traffic is passed through a "cleaning center" or a "scrubbing center" via various methods such as proxies, tunnels or even direct circuits, which separates "bad" traffic (DDoS and also other common internet attacks) and only sends good traffic beyond to the server. The provider needs central connectivity to the Internet to manage this kind of service unless they happen to be located within the same facility as the "cleaning center" or "scrubbing center".<ref>{{cite web|url=https://research.sprintlabs.com/publications/uploads/RR04-ATL-013177.pdf |title=DDoS Mitigation via Regional Cleaning Centers (Jan 2004) |format=PDF |work=SprintLabs.com |publisher=Sprint ATL Research |archiveurl=https://web.archive.org/web/20080921012859/http://research.sprintlabs.com/publications/uploads/RR04-ATL-013177.pdf |archivedate=2008-09-21 |accessdate=2011-12-02}}<!-- use archive due to outage--></ref> | All traffic is passed through a "cleaning center" or a "scrubbing center" via various methods such as proxies, tunnels or even direct circuits, which separates "bad" traffic (DDoS and also other common internet attacks) and only sends good traffic beyond to the server. The provider needs central connectivity to the Internet to manage this kind of service unless they happen to be located within the same facility as the "cleaning center" or "scrubbing center".<ref>{{cite web|url=https://research.sprintlabs.com/publications/uploads/RR04-ATL-013177.pdf |title=DDoS Mitigation via Regional Cleaning Centers (Jan 2004) |format=PDF |work=SprintLabs.com |publisher=Sprint ATL Research |archiveurl=https://web.archive.org/web/20080921012859/http://research.sprintlabs.com/publications/uploads/RR04-ATL-013177.pdf |archivedate=2008-09-21 |accessdate=2011-12-02}}<!-- use archive due to outage--></ref> | ||
==Unintentional denial-of-service== | ==Unintentional denial-of-service== | ||
An Unintentional denial-of-service can occur when a system ends up denied, not due to a deliberate attack by a single individual or group of individuals, but simply due to a sudden enormous spike in popularity. This can happen when an extremely popular website posts a prominent link to a second, less well-prepared site, for example, as part of a news story. The result is that a significant proportion of the primary site's regular users | An Unintentional denial-of-service can occur when a system ends up denied, not due to a deliberate attack by a single individual or group of individuals, but simply due to a sudden enormous spike in popularity. This can happen when an extremely popular website posts a prominent link to a second, less well-prepared site, for example, as part of a news story. The result is that a significant proportion of the primary site's regular users – potentially hundreds of thousands of people – click that link in the space of a few hours, having the same effect on the target website as a DDoS attack. A VIPDoS is the same, but specifically when the link was posted by a celebrity. | ||
When [[ | When [[Michael Jackson]] died in 2009, websites such as Google and Twitter slowed down or even crashed.<ref>{{cite news| url=http://news.bbc.co.uk/1/hi/8120324.stm | work=BBC News | first=Maggie | last=Shiels | title=Web slows after Jackson's death | date=2009-06-26}}</ref> Many sites' servers thought the requests were from a virus or spyware trying to cause a denial-of-service attack, warning users that their queries looked like "automated requests from a computer virus or spyware application".<ref>{{cite web |url=<!--last updated February 06, 2013-->http://productforums.google.com/forum/?hl=en#!category-topic/websearch/unexpected-search-results/uFcXXixhiBw |title=We're Sorry. Automated Query error |work=Google Product Forums › Google Search Forum |publisher=Google.com |date=October 20, 2009 |accessdate=2012-02-11}}</ref> | ||
News sites and link sites | News sites and link sites – sites whose primary function is to provide links to interesting content elsewhere on the Internet – are most likely to cause this phenomenon. The canonical example is the Slashdot effect when receiving traffic from Slashdot. It is also known as "the Reddit hug of death" and "the Digg effect". | ||
Routers have also been known to create unintentional DoS attacks, as both | Routers have also been known to create unintentional DoS attacks, as both D-Link and Netgear routers have overloaded NTP servers by flooding NTP servers without respecting the restrictions of client types or geographical limitations. | ||
Similar unintentional denials-of-service can also occur via other media, e.g. when a URL is mentioned on television. If a server is being indexed by [[Google]] or another [[search engine]] during peak periods of activity, or does not have a lot of available bandwidth while being indexed, it can also experience the effects of a DoS attack. | Similar unintentional denials-of-service can also occur via other media, e.g. when a URL is mentioned on television. If a server is being indexed by [[Google]] or another [[search engine]] during peak periods of activity, or does not have a lot of available bandwidth while being indexed, it can also experience the effects of a DoS attack. | ||
Legal action has been taken in at least one such case. In 2006, | Legal action has been taken in at least one such case. In 2006, Universal Tube & Rollform Equipment Corporation sued [[YouTube]]: massive numbers of would-be youtube.com users accidentally typed the tube company's URL, utube.com. As a result, the tube company ended up having to spend large amounts of money on upgrading their bandwidth.<ref>{{cite news |title=YouTube sued by sound-alike site |work=BBC News |date=2006-11-02 |url=http://news.bbc.co.uk/2/hi/business/6108502.stm }}</ref> The company appears to have taken advantage of the situation, with utube.com now containing ads for advertisement revenue. | ||
In March 2014, after | In March 2014, after Malaysia Airlines Flight 370 went missing, DigitalGlobe launched a crowdsourcing service on which users could help search for the missing jet in satellite images. The response overwhelmed the company's servers.<ref>{{cite web|url=http://wnmufm.org/post/people-overload-website-hoping-help-search-missing-jet|title=People Overload Website, Hoping To Help Search For Missing Jet|author=Bill Chappell|publisher=NPR|date=12 March 2014|accessdate=4 February 2016}}</ref> | ||
An unintentional denial-of-service may also result from a prescheduled event created by the website itself. This could be caused when a server provides some service at a specific time. This might be a university website setting the grades to be available where it will result in many more login requests at that time than any other. | An unintentional denial-of-service may also result from a prescheduled event created by the website itself. This could be caused when a server provides some service at a specific time. This might be a university website setting the grades to be available where it will result in many more login requests at that time than any other. | ||
Line 269: | Line 249: | ||
===Backscatter=== | ===Backscatter=== | ||
If the attacker is spoofing source addresses randomly, the backscatter response packets from the victim will be sent back to random destinations. This effect can be used by | In computer network security, backscatter is a side-effect of a spoofed denial-of-service attack. In this kind of attack, the attacker spoofs (or forges) the source address in IP packets sent to the victim. In general, the victim machine cannot distinguish between the spoofed packets and legitimate packets, so the victim responds to the spoofed packets as it normally would. These response packets are known as backscatter.<ref>{{cite web |url=http://www.caida.org/publications/animations/ |work=Animations |title=Backscatter Analysis (2001) |type=video |publisher=[[Cooperative Association for Internet Data Analysis]] |accessdate=December 11, 2013}}</ref> | ||
If the attacker is spoofing source addresses randomly, the backscatter response packets from the victim will be sent back to random destinations. This effect can be used by network telescopes as indirect evidence of such attacks. | |||
The term "backscatter analysis" refers to observing backscatter packets arriving at a statistically significant portion of the [[IP address]] space to determine characteristics of DoS attacks and victims. | The term "backscatter analysis" refers to observing backscatter packets arriving at a statistically significant portion of the [[IP address]] space to determine characteristics of DoS attacks and victims. | ||
==Legality== | ==Legality== | ||
Many jurisdictions have laws under which denial-of-service attacks are illegal. | Many jurisdictions have laws under which denial-of-service attacks are illegal. | ||
* In the US, denial-of-service attacks may be considered a federal crime under the | * In the US, denial-of-service attacks may be considered a federal crime under the Computer Fraud and Abuse Act with penalties that include years of imprisonment.<ref>{{cite web|url=http://www.gpo.gov/fdsys/pkg/USCODE-2010-title18/html/USCODE-2010-title18-partI-chap47-sec1030.htm |title=United States Code: Title 18,1030. Fraud and related activity in connection with computers | Government Printing Office |publisher=www.gpo.gov |date=2002-10-25|accessdate=2014-01-15}}</ref> The Computer Crime and Intellectual Property Section of the US Department of Justice handles cases of (D)DoS. | ||
* In | * In European countries, committing criminal denial-of-service attacks may, as a minimum, lead to arrest.<ref>{{cite web|title=International Action Against DD4BC Cybercriminal Group|url=https://www.europol.europa.eu/content/international-action-against-dd4bc-cybercriminal-group|website=EUROPOL|date=12 January 2016}}</ref> The [[United Kingdom]] is unusual in that it specifically outlawed denial-of-service attacks and set a maximum penalty of 10 years in prison with the Police and Justice Act 2006, which amended Section 3 of the Computer Misuse Act 1990.<ref>{{cite web|title=Computer Misuse Act 1990|url=http://www.legislation.gov.uk/ukpga/1990/18/section/3|website=legislation.gov.uk — The National Archives, of UK|date=10 January 2008}}</ref> | ||
On January 7, 2013, [[Anonymous (group)|Anonymous]] | On January 7, 2013, [[Anonymous (group)|Anonymous]] posted a petition on the whitehouse.gov site asking that DDoS be recognized as a legal form of protest similar to the Occupy protests, the claim being that the similarity in purpose of both are same.<ref>{{cite web|url=http://www.huffingtonpost.com/2013/01/12/anonymous-ddos-petition-white-house_n_2463009.html |title=Anonymous DDoS Petition: Group Calls On White House To Recognize Distributed Denial Of Service As Protest. |publisher=HuffingtonPost.com |date=2013-01-12}}</ref><ref>[https://www.youtube.com/watch?v=59AlNnX_Ksg&feature=feedu "DDOS Attack: crime or virtual sit-in?"]. RT.com. YouTube.com. October 6, 2011. <!-- Official YT channel--></ref> | ||
==References== | ==References== |
Latest revision as of 17:37, 13 February 2016
In computing, a denial-of-service (DoS) attack is an attempt to make a machine or network resource unavailable to its intended users, such as to temporarily or indefinitely interrupt or suspend [[network services of a host connected to the Internet. A distributed denial-of-service (DDoS) is where the attack source is more than one–and often thousands of-unique IP addresses. It is analogous to a group of people crowding the entry door or gate to a shop or business, and not letting legitimate parties enter into the shop or business, disrupting normal operations.
Criminal perpetrators of DoS attacks often target sites or services hosted on high-profile web servers such as banks, credit card payment gateways; but motives of revenge, blackmail[1][2] or activism[3] can be behind other attacks. Boylove sites are frequently the victims of these types terrorist attacks.
Symptoms
The United States Computer Emergency Readiness Team (US-CERT) defines symptoms of denial-of-service attacks to include:
- Unusually slow network performance (opening files or accessing web sites)
- Unavailability of a particular web site
- Inability to access any web site
- Dramatic increase in the number of spam emails received—(this type of DoS attack is considered an e-mail bomb)[4]
- Disconnection of a wireless or wired internet connection
- Long term denial of access to the web or any internet services
Denial-of-service attacks can also lead to problems in the network 'branches' around the actual computer being attacked. For example, the bandwidth of a router between the Internet and a Local area network/LAN may be consumed by an attack, compromising not only the intended computer, but also the entire network or other computers on the LAN.
If the attack is conducted on a sufficiently large scale, entire geographical regions of Internet connectivity can be compromised without the attacker's knowledge or intent by incorrectly configured or flimsy network infrastructure equipment.
Attack techniques
A denial-of-service attack is characterized by an explicit attempt by attackers to prevent legitimate users of a service from using that service. There are two general forms of DoS attacks: those that crash services and those that flood services.
The most serious attacks are distributed[5] and in many or most cases involve forging of IP sender addresses (IP address spoofing) so that the location of the attacking machines cannot easily be identified, nor can filtering be done based on the source address.
Internet Control Message Protocol (ICMP) flood
A smurf attack relies on misconfigured network devices that allow packets to be sent to all computer hosts on a particular network via the broadcast address of the network, rather than a specific machine. The attacker will send large numbers of IP packets with the source address faked to appear to be the address of the victim. The network's bandwidth is quickly used up, preventing legitimate packets from getting through to their destination.[6] Normally used against small clients or servers, without ISP security.
Ping flood is based on sending the victim an overwhelming number of ping packets, usually using the "ping" command from Unix-like hosts (the -t flag on Windows systems is much less capable of overwhelming a target, also the -l (size) flag does not allow sent packet size greater than 65500 in Windows). It is very simple to launch, the primary requirement being access to greater bandwidth than the victim.
Ping of death is based on sending the victim a malformed ping packet, which will lead to a system crash on a vulnerable system.
(S)SYN flood
A SYN flood occurs when a host sends a flood of TCP/SYN packets, often with a forged sender address. Each of these packets are handled like a connection request, causing the server to spawn a half-open connection, by sending back a TCP/SYN-ACK packet (Acknowledge), and waiting for a packet in response from the sender address (response to the ACK Packet). However, because the sender address is forged, the response never comes. These half-open connections saturate the number of available connections the server can make, keeping it from responding to legitimate requests until after the attack ends.[7]
Teardrop attacks
A teardrop attack involves sending mangled IP fragments with overlapping, over-sized payloads to the target machine. This can crash various operating systems because of a bug in their TCP/IP fragmentation re-assemblycode.[8] Windows 3.1x, Windows 95 and Windows NT operating systems, as well as versions of Linux prior to versions 2.0.32 and 2.1.63 are vulnerable to this attack.
(Although in September 2009, a vulnerability in Windows Vista was referred to as a "teardrop attack", this targeted Server Message Block/SMB2 which is a higher layer than the TCP packets that teardrop used).[9][10]
Peer-to-peer attacks
Attackers have found a way to exploit a number of bugs in peer-to-peer servers to initiate DDoS attacks. The most aggressive of these peer-to-peer-DDoS attacks exploits DC++. With peer-to-peer there is no botnet and the attacker does not have to communicate with the clients it subverts. Instead, the attacker acts as a "puppet master," instructing clients of large peer-to-peer file sharing hubs to disconnect from their peer-to-peer network and to connect to the victim's website instead.[11][12][13]
Permanent denial-of-service attacks
Permanent denial-of-service (PDoS), also known loosely as phlashing,[14] is an attack that damages a system so badly that it requires replacement or reinstallation of hardware.[15] Unlike the distributed denial-of-service attack, a PDoS attack exploits security flaws which allow remote administration on the management interfaces of the victim's hardware, such as routers, printers, or other networking hardware. The attacker uses these vulnerabilities to replace a device's firmware with a modified, corrupt, or defective firmware image—a process which when done legitimately is known as flashing. This therefore "bricks" the device, rendering it unusable for its original purpose until it can be repaired or replaced.
The PDoS is a pure hardware targeted attack which can be much faster and requires fewer resources than using a botnet or a root/vserver in a DDoS attack. Because of these features, and the potential and high probability of security exploits on Network Enabled Embedded Devices (NEEDs), this technique has come to the attention of numerous hacking communities.
PhlashDance is a tool created by Rich Smith (an employee of Hewlett-Packard's Systems Security Lab) used to detect and demonstrate PDoS vulnerabilities at the 2008 EUSecWest Applied Security Conference in London.[16]
Application-layer floods
Various DoS-causing exploits such as buffer overflow can cause server-running software to get confused and fill the disk space or consume all available memory or CPU time.
Other kinds of DoS rely primarily on brute force, flooding the target with an overwhelming flux of packets, oversaturating its connection bandwidth or depleting the target's system resources. Bandwidth-saturating floods rely on the attacker having higher bandwidth available than the victim; a common way of achieving this today is via distributed denial-of-service, employing a botnet. Another target of DDoS attacks may be to produce added costs for the application operator, when the latter uses resources based on Cloud Computing. In this case normally application used resources are tied to a needed Quality of Service level (e.g. responses should be less than 200 ms) and this rule is usually linked to automated software (e.g. Amazon CloudWatch[17]) to raise more virtual resources from the provider in order to meet the defined QoS levels for the increased requests.The main incentive behind such attacks may be to drive the application owner to raise the elasticity levels in order to handle the increased application traffic, in order to cause financial losses or force them to become less competitive. Other floods may use specific packet types or connection requests to saturate finite resources by, for example, occupying the maximum number of open connections or filling the victim's disk space with logs.
A "banana attack" is another particular type of DoS. It involves redirecting outgoing messages from the client back onto the client, preventing outside access, as well as flooding the client with the sent packets. A LAND attack is of this type.
An attacker with shell-level access to a victim's computer may slow it until it is unusable or crash it by using a fork bomb.
A kind of application-level DoS attack is XDoS (or XML DoS) which can be controlled by modern web application firewalls (WAFs).
Nuke
A Nuke is an old denial-of-service attack against computer networks consisting of fragmented or otherwise invalid ICMP packets sent to the target, achieved by using a modified ping utility to repeatedly send this corrupt data, thus slowing down the affected computer until it comes to a complete stop.
A specific example of a nuke attack that gained some prominence is the WinNuke, which exploited the vulnerability in the NetBIOS handler in Windows 95. A string of out-of-band data was sent to Transmission Control Protocol/TCP port 139 of the victim's machine, causing it to lock up and display a Blue Screen of Death (BSOD).
HTTP POST DoS attack
First discovered in 2009, the HTTP POST attack sends a complete, legitimate HTTP POST header, which includes a 'Content-Length' field to specify the size of the message body to follow. However, the attacker then proceeds to send the actual message body at an extremely slow rate (e.g. 1 byte/110 seconds). Due to the entire message being correct and complete, the target server will attempt to obey the 'Content-Length' field in the header, and wait for the entire body of the message to be transmitted, which can take a very long time. The attacker establishes hundreds or even thousands of such connections, until all resources for incoming connections on the server (the victim) are used up, hence making any further (including legitimate) connections impossible until all data has been sent. It is notable that unlike many other (D)DoS attacks, which try to subdue the server by overloading its' network or CPU, a HTTP POST attack targets the logical resources of the victim, which means the victim would still have enough network bandwidth and processing power to operate.[18] Further combined with the fact that Apache will, by default, accept requests up to 2GB in size, this attack can be particularly powerful. HTTP POST attacks are difficult to differentiate from legitimate connections, and are therefore able to bypass some protection systems. OWASP, an open source web application security project, has released a testing tool to test the security of servers against this type of attacks.
R-U-Dead-Yet? (RUDY)
This attack targets web applications by starvation of available sessions on the web server. Much like Slowloris, RUDY keeps sessions at halt using never-ending POST transmissions and sending an arbitrarily large content-length header value.
Slow Read attack
Slow Read attack sends legitimate application layer requests but reads responses very slowly, thus trying to exhaust the server's connection pool. Slow reading is achieved by advertising a very small number for the TCP Receive Window size and at the same time by emptying clients' TCP receive buffer slowly. That naturally ensures a very low data flow rate.
Distributed attack
A distributed denial-of-service (DDoS) attack occurs when multiple systems flood the bandwidth or resources of a targeted system, usually one or more web servers.[5] Such an attack is often the result of multiple compromised systems (for example a botnet) flooding the targeted system with traffic. A botnet is a network of zombie computers programmed to receive commands without the owners' knowledge.[19] When a server is overloaded with connections, new connections can no longer be accepted. The major advantages to an attacker of using a distributed denial-of-service attack are that multiple machines can generate more attack traffic than one machine, multiple attack machines are harder to turn off than one attack machine, and that the behavior of each attack machine can be stealthier, making it harder to track and shut down. These attacker advantages cause challenges for defense mechanisms. For example, merely purchasing more incoming bandwidth than the current volume of the attack might not help, because the attacker might be able to simply add more attack machines. This after all will end up completely crashing a website for periods of time.
Malware can carry DDoS attack mechanisms; one of the better-known examples of this was MyDoom. Its DoS mechanism was triggered on a specific date and time. This type of DDoS involved hardcoding the target IP address prior to release of the malware and no further interaction was necessary to launch the attack.
A system may also be compromised with a trojan, allowing the attacker to download a zombie agent, or the trojan may contain one. Attackers can also break into systems using automated tools that exploit flaws in programs that listen for connections from remote hosts. This scenario primarily concerns systems acting as servers on the web. Stacheldraht is a classic example of a DDoS tool. It utilizes a layered structure where the attacker uses a client program to connect to handlers, which are compromised systems that issue commands to the zombie agents, which in turn facilitate the DDoS attack. Agents are compromised via the handlers by the attacker, using automated routines to exploit vulnerabilities in programs that accept remote connections running on the targeted remote hosts. Each handler can control up to a thousand agents.[20] In some cases a machine may become part of a DDoS attack with the owner's consent, for example, in Operation Payback, organized by the group Anonymous. These attacks can use different types of internet packets such as: TCP, UDP, ICMP etc.
These collections of systems compromisers are known as botnets / rootservers. DDoS tools like Stacheldraht still use classic DoS attack methods centered on IP spoofing and amplification like smurf attacks and fraggle attacks (these are also known as bandwidth consumption attacks). SYN flood]]s (also known as resource starvation attacks) may also be used. Newer tools can use DNS servers for DoS purposes. Unlike MyDoom's DDoS mechanism, botnets can be turned against any IP address. Script kiddies use them to deny the availability of well known websites to legitimate users.[21] More sophisticated attackers use DDoS tools for the purposes of extortion even against their business rivals.[22]
Simple attacks such as SYN floods may appear with a wide range of source IP addresses, giving the appearance of a well distributed DoS. These flood attacks do not require completion of the TCP three way handshake and attempt to exhaust the destination SYN queue or the server bandwidth. Because the source IP addresses can be trivially spoofed, an attack could come from a limited set of sources, or may even originate from a single host. Stack enhancements such as syn cookies may be effective mitigation against SYN queue flooding, however complete bandwidth exhaustion may require involvement.
If an attacker mounts an attack from a single host it would be classified as a DoS attack. In fact, any attack against availability would be classed as a denial-of-service attack. On the other hand, if an attacker uses many systems to simultaneously launch attacks against a remote host, this would be classified as a DDoS attack.
UK's GCHQ has tools built for DDoS, named PREDATORS FACE and ROLLING THUNDER.[23]
Reflected / spoofed attack
A distributed denial-of-service attack may involve sending forged requests of some type to a very large number of computers that will reply to the requests. Using Internet Protocol address spoofing, the source address is set to that of the targeted victim, which means all the replies will go to (and flood) the target. (This reflected attack form is sometimes called a "DRDOS".[24])
ICMP Echo Request attacks (Smurf Attack) can be considered one form of reflected attack, as the flooding host(s) send Echo Requests to the broadcast addresses of mis-configured networks, thereby enticing hosts to send Echo Reply packets to the victim. Some early DDoS programs implemented a distributed form of this attack.
Many services can be exploited to act as reflectors, some harder to block than others.[25] US-CERT have observed that different services implies in different amplification factors, as you can see below:[26]
Protocol | Bandwidth Amplification Factor |
---|---|
NTP | 556.9 |
CharGen | 358.8 |
DNS | up to 179 [27] |
QOTD | 140.3 |
Quake Network Protocol | 63.9 |
BitTorrent | 4.0 - 54.3 [28] |
SSDP | 30.8 |
Kad | 16.3 |
SNMPv2 | 6.3 |
Steam Protocol | 5.5 |
NetBIOS | 3.8 |
DNS amplification attacks involve a new mechanism that increased the amplification effect, using a much larger list of DNS servers than seen earlier.[29][30] SNMP and Network Time Protocol can also be exploited as reflector in an amplification attack.
Telephony denial-of-service (TDoS)
Voice over IP has made abusive origination of large numbers of telephone voice calls inexpensive and readily automated while permitting call origins to be misrepresented through caller ID spoofing.
According to the US Federal Bureau of Investigation, telephony denial-of-service (TDoS) has appeared as part of various fraudulent schemes:
- A scammer contacts the victim's banker or broker, impersonating the victim to request a funds transfer. The banker's attempt to contact the victim for verification of the transfer fails as the victim's telephone lines are being flooded with thousands of bogus calls, rendering the victim unreachable.[31]
- A scammer contacts consumers with a bogus claim to collect an outstanding payday loan for thousands of dollars. When the consumer objects, the scammer retaliates by flooding the victim's employer with thousands of automated calls. In some cases, displayed caller ID is spoofed to impersonate police or law enforcement agencies.[32]
- A scammer contacts consumers with a bogus debt collection demand and threatens to send police; when the victim balks, the scammer floods local police numbers with calls on which caller ID is spoofed to display the victims number. Police soon arrive at the victim's residence attempting to find the origin of the calls.
Telephony denial-of-service can exist even without Internet telephony. In the 2002 New Hampshire Senate election phone jamming scandal, telemarketers were used to flood political opponents with spurious calls to jam phone banks on election day. Widespread publication of a number can also flood it with enough calls to render it unusable, as happened with multiple +1-area code-867-5309 subscribers inundated by hundreds of misdialed calls daily in response to a popular song 867-5309/Jenny.
TDoS differs from other telephone harassment (such as prank calls and obscene phone calls) by the number of calls originated; by occupying lines continuously with repeated automated calls, the victim is prevented from making or receiving both routine and emergency telephone calls.
Related exploits include SMS flooding attacks and black fax or fax loop transmission.
Sophisticated low-bandwidth Distributed Denial-of-Service Attack
A sophisticated low-bandwidth DDoS attack is a form of DoS that uses less traffic and increases their effectiveness by aiming at a weak point in the victim's system design, i.e., the attacker sends traffic consisting of complicated requests to the system.[33] Essentially, a sophisticated DDoS attack is lower in cost due to its use of less traffic, is smaller in size making it more difficult to identify, and it has the ability to hurt systems which are protected by flow control mechanisms.[33]
Denial-of-service Level II
The goal of DoS L2 (possibly DDoS) attack is to cause a launching of a defense mechanism which blocks the network segment from which the attack originated. In case of distributed attack or IP header modification (that depends on the kind of security behavior) it will fully block the attacked network from the Internet, but without system crash.
Advanced Persistent DoS (APDoS)
An APDoS is more likely to be perpetrated by an advanced persistent threat (APT): actors who are well resourced, exceptionally skilled and have access to substantial commercial grade computer resources and capacity. APDoS attacks represent a clear and emerging threat needing specialised monitoring and incident response services and the defensive capabilities of specialised DDoS mitigation service providers. This type of attack involves massive network layer DDoS attacks through to focused application layer (HTTP) floods, followed by repeated (at varying intervals) SQLI and XSS attacks. Typically, the perpetrators can simultaneously use from 2 to 5 attack vectors involving up to several tens of millions of requests per second, often accompanied by large SYN floods that can not only attack the victim but also any service provider implementing any sort of managed DDoS mitigation capability. These attacks can persist for several weeks- the longest continuous period noted so far lasted 38 days. This APDoS attack involved approximately 50+ petabits (51,000+ terabits) of malicious traffic. Attackers in this scenario may (or often will) tactically switch between several targets to create a diversion to evade defensive DDoS countermeasures but all the while eventually concentrating the main thrust of the attack onto a single victim. In this scenario, threat actors with continuous access to several very powerful network resources are capable of sustaining a prolonged campaign generating enormous levels of un-amplified DDoS traffic.
APDoS attacks are characterised by:
- Advanced reconnaissance (pre-attack OSINT and extensive decoyed scanning crafted to evade detection over long periods)
- Tactical execution (attack with a primary and secondary victims but focus is on Primary)
- Explicit motivation (a calculated end game/goal target)
- Large computing capacity (access to substantial computer power and network bandwidth resources)
- Simultaneous multi-threaded ISO layer attacks (sophisticated tools operating at layers 3 through 7)
- Persistence over extended periods (utilising all the above into a concerted, well managed attack across a range of targets[34])
DDoS extortion
In 2015, DDoS botnets such as DD4BC grew in prominence, taking aim at financial institutions.[35] Cyber-extortionists typically begin with a low-level attack and a warning that a larger attack will be carried out if a ransom is not paid in Bitcoin.[36] Security experts recommend targeted websites to not pay the ransom. The attackers tend to get into an extended extortion scheme once they recognize that the target is ready to pay.[37]
Attack tools
A wide array of programs are used to launch DoS-attacks.
In cases such as MyDoom the tools are embedded in malware, and launch their attacks without the knowledge of the system owner. Stacheldraht is a classic example of a DDoS tool. It utilizes a layered structure where the attacker uses a client program to connect to handlers, which are compromised systems that issue commands to the zombie agents, which in turn facilitate the DDoS attack. Agents are compromised via the handlers by the attacker, using automated routines to exploit vulnerabilities in programs that accept remote connections running on the targeted remote hosts. Each handler can control up to a thousand agents.[20]
In other cases a machine may become part of a DDoS attack with the owner's consent, for example, in Operation Payback, organized by the group Anonymous. The LOIC has typically been used in this way. A wide variety of DDoS tools are available today, including paid and free versions, with different features available. There is an underground market for these in hacker related forums and IRC channels.
UK's GCHQ has tools built for DDoS, named PREDATORS FACE and ROLLING THUNDER.[23]
Defense techniques
Defensive responses to denial-of-service attacks typically involve the use of a combination of attack detection, traffic classification and response tools, aiming to block traffic that they identify as illegitimate and allow traffic that they identify as legitimate.[38]
A list of prevention and response tools is provided below:
Firewalls
In the case of a simple attack, a firewall could have a simple rule added to deny all incoming traffic from the attackers, based on protocols, ports or the originating IP addresses.
More complex attacks will however be hard to block with simple rules: for example, if there is an ongoing attack on port 80 (web service), it is not possible to drop all incoming traffic on this port because doing so will prevent the server from serving legitimate traffic.[39] Additionally, firewalls may be too deep in the network hierarchy, with routers being adversely affected before the traffic gets to the firewall.
Switches
Most switches have some rate-limiting and ACL capability. Some switches provide automatic and/or system-wide rate limiting, traffic shaping, delayed binding (TCP splicing), deep packet inspection and Bogon filtering (bogus IP filtering) to detect and remediate denial-of-service attacks through automatic rate filtering and WAN Link failover and balancing.
These schemes will work as long as the DoS attacks can be prevented by using them. For example, SYN flood can be prevented using delayed binding or TCP splicing. Similarly content based DoS may be prevented using deep packet inspection. Attacks originating from dark addresses or going to dark addresses can be prevented using bogon filtering. Automatic rate filtering can work as long as set rate-thresholds have been set correctly and granularly. Wan-link failover will work as long as both links have DoS/DDoS prevention mechanism.
Routers
Similar to switches, routers have some rate-limiting and ACL capability. They, too, are manually set. Most routers can be easily overwhelmed under a DoS attack. Cisco IOS has optional features that can reduce the impact of flooding.[40]
Application front end hardware
Application front end hardware is intelligent hardware placed on the network before traffic reaches the servers. It can be used on networks in conjunction with routers and switches. Application front end hardware analyzes data packets as they enter the system, and then identifies them as priority, regular, or dangerous. There are more than 25 bandwidth management vendors.
Application level Key Completion Indicators
In order to meet the case of application level DDoS attacks against Cloud based applications, approaches may be based on an application layer analysis, to indicate whether an incoming traffic bulk is legitimate or not and thus enable the triggering of elasticity decisions without the economical implications of a DDoS attack. These approaches mainly rely on an identified path of value inside the application and monitor the macroscopic progress of the requests in this path, towards the final generation of profit, through markers denoted as Key Completion Indicators [41]
IPS based prevention
Intrusion-prevention systems (IPS) are effective if the attacks have signatures associated with them. However, the trend among the attacks is to have legitimate content but bad intent. Intrusion-prevention systems which work on content recognition cannot block behavior-based DoS attacks.
An Application-specific integrated circuit based IPS may detect and block denial-of-service attacks because they have the processing power and the granularity to analyze the attacks and act like a circuit breaker in an automated way.
A rate-based IPS (RBIPS) must analyze traffic granularly and continuously monitor the traffic pattern and determine if there is traffic anomaly. It must let the legitimate traffic flow while blocking the DoS attack traffic.[42]
DDS based defense
More focused on the problem than IPS, a DoS Defense System (DDS) can block connection-based DoS attacks and those with legitimate content but bad intent. A DDS can also address both protocol attacks (such as Teardrop and Ping of death) and rate-based attacks (such as ICMP floods and SYN floods).
Blackholing and sinkholing
With blackholing, all the traffic to the attacked DNS or IP address is sent to a "black hole" (null interface or a non-existent server). To be more efficient and avoid affecting network connectivity, it can be managed by the ISP.[43]
Sinkholing routes traffic to a valid IP address which analyzes traffic and rejects bad packets. Sinkholing is not efficient for most severe attacks.
Upstream filtering
All traffic is passed through a "cleaning center" or a "scrubbing center" via various methods such as proxies, tunnels or even direct circuits, which separates "bad" traffic (DDoS and also other common internet attacks) and only sends good traffic beyond to the server. The provider needs central connectivity to the Internet to manage this kind of service unless they happen to be located within the same facility as the "cleaning center" or "scrubbing center".[44]
Unintentional denial-of-service
An Unintentional denial-of-service can occur when a system ends up denied, not due to a deliberate attack by a single individual or group of individuals, but simply due to a sudden enormous spike in popularity. This can happen when an extremely popular website posts a prominent link to a second, less well-prepared site, for example, as part of a news story. The result is that a significant proportion of the primary site's regular users – potentially hundreds of thousands of people – click that link in the space of a few hours, having the same effect on the target website as a DDoS attack. A VIPDoS is the same, but specifically when the link was posted by a celebrity.
When Michael Jackson died in 2009, websites such as Google and Twitter slowed down or even crashed.[45] Many sites' servers thought the requests were from a virus or spyware trying to cause a denial-of-service attack, warning users that their queries looked like "automated requests from a computer virus or spyware application".[46]
News sites and link sites – sites whose primary function is to provide links to interesting content elsewhere on the Internet – are most likely to cause this phenomenon. The canonical example is the Slashdot effect when receiving traffic from Slashdot. It is also known as "the Reddit hug of death" and "the Digg effect".
Routers have also been known to create unintentional DoS attacks, as both D-Link and Netgear routers have overloaded NTP servers by flooding NTP servers without respecting the restrictions of client types or geographical limitations.
Similar unintentional denials-of-service can also occur via other media, e.g. when a URL is mentioned on television. If a server is being indexed by Google or another search engine during peak periods of activity, or does not have a lot of available bandwidth while being indexed, it can also experience the effects of a DoS attack.
Legal action has been taken in at least one such case. In 2006, Universal Tube & Rollform Equipment Corporation sued YouTube: massive numbers of would-be youtube.com users accidentally typed the tube company's URL, utube.com. As a result, the tube company ended up having to spend large amounts of money on upgrading their bandwidth.[47] The company appears to have taken advantage of the situation, with utube.com now containing ads for advertisement revenue.
In March 2014, after Malaysia Airlines Flight 370 went missing, DigitalGlobe launched a crowdsourcing service on which users could help search for the missing jet in satellite images. The response overwhelmed the company's servers.[48]
An unintentional denial-of-service may also result from a prescheduled event created by the website itself. This could be caused when a server provides some service at a specific time. This might be a university website setting the grades to be available where it will result in many more login requests at that time than any other.
Side effects of attacks
Backscatter
In computer network security, backscatter is a side-effect of a spoofed denial-of-service attack. In this kind of attack, the attacker spoofs (or forges) the source address in IP packets sent to the victim. In general, the victim machine cannot distinguish between the spoofed packets and legitimate packets, so the victim responds to the spoofed packets as it normally would. These response packets are known as backscatter.[49]
If the attacker is spoofing source addresses randomly, the backscatter response packets from the victim will be sent back to random destinations. This effect can be used by network telescopes as indirect evidence of such attacks.
The term "backscatter analysis" refers to observing backscatter packets arriving at a statistically significant portion of the IP address space to determine characteristics of DoS attacks and victims.
Legality
Many jurisdictions have laws under which denial-of-service attacks are illegal.
- In the US, denial-of-service attacks may be considered a federal crime under the Computer Fraud and Abuse Act with penalties that include years of imprisonment.[50] The Computer Crime and Intellectual Property Section of the US Department of Justice handles cases of (D)DoS.
- In European countries, committing criminal denial-of-service attacks may, as a minimum, lead to arrest.[51] The United Kingdom is unusual in that it specifically outlawed denial-of-service attacks and set a maximum penalty of 10 years in prison with the Police and Justice Act 2006, which amended Section 3 of the Computer Misuse Act 1990.[52]
On January 7, 2013, Anonymous posted a petition on the whitehouse.gov site asking that DDoS be recognized as a legal form of protest similar to the Occupy protests, the claim being that the similarity in purpose of both are same.[53][54]
References
- ↑ Brand.com President Mike Zammuto Reveals Blackmail Attempt (5 March 2014). Archived from the original on 11 March 2014.
- ↑ Brand.com’s Mike Zammuto Discusses Meetup.com Extortion (5 March 2014). Archived from the original on 13 March 2014.
- ↑ The Philosophy of Anonymous. Radicalphilosophy.com (2010-12-17). Retrieved on 2013-09-10.
- ↑ McDowell, Mindi (November 4, 2009). Cyber Security Tip ST04-015 - Understanding Denial-of-Service Attacks. United States Computer Emergency Readiness Team. Archived from the original on 2013-11-04. Retrieved on December 11, 2013.
- ↑ 5.0 5.1 Taghavi Zargar, Saman (November 2013). A Survey of Defense Mechanisms Against Distributed Denial of Service (DDoS) Flooding Attacks pp. 2046–2069. IEEE COMMUNICATIONS SURVEYS & TUTORIALS. Retrieved on 2014-03-07.
- ↑ Types of DDoS Attacks. Distributed Denial of Service Attacks(DDoS) Resources, Pervasive Technology Labs at Indiana University. Advanced Networking Management Lab (ANML) (December 3, 2009). Archived from the original on 2010-09-14. Retrieved on December 11, 2013.
- ↑ RFC 4987Template:Spaced ndashTCP SYN Flooding Attacks and Common Mitigations. Tools.ietf.org (August 2007). Retrieved on 2011-12-02.
- ↑ CERT Advisory CA-1997-28 IP Denial-of-Service Attacks. CERT (1998). Retrieved on July 18, 2014.
- ↑ Windows 7, Vista exposed to 'teardrop attack'. ZDNet (September 8, 2009). Retrieved on 2013-12-11.
- ↑ Microsoft Security Advisory (975497): Vulnerabilities in SMB Could Allow Remote Code Execution. Microsoft.com (September 8, 2009). Retrieved on 2011-12-02.
- ↑ Paul Sop (May 2007). Prolexic Distributed Denial of Service Attack Alert. Prolexic Technologies Inc.. Prolexic Technologies Inc.. Archived from the original on 2007-08-03. Retrieved on 2007-08-22.
- ↑ Robert Lemos (May 2007). Peer-to-peer networks co-opted for DOS attacks. SecurityFocus. Retrieved on 2007-08-22.
- ↑ Fredrik Ullner (May 2007). Denying distributed attacks. DC++: Just These Guys, Ya Know?. Retrieved on 2007-08-22.
- ↑ Leyden, John. "Phlashing attack thrashes embedded systems", The Register, 2008-05-21. Retrieved on 2009-03-07.
- ↑ Jackson Higgins, Kelly (May 19, 2008). Permanent Denial-of-Service Attack Sabotages Hardware. Dark Reading. Archived from the original on December 8, 2008.
- ↑ EUSecWest Applied Security Conference: London, U.K.. EUSecWest (2008). Archived from the original on 2009-02-01.
- ↑ Amazon CloudWatch. Amazon Web Services, Inc..
- ↑ OWASP Plan - Strawman - Layer_7_DDOS.pdf (18 March 2014). Retrieved on 18 March 2014.
- ↑ "Has Your Website Been Bitten By a Zombie?", 3 August 2015. Retrieved on 15 September 2015.
- ↑ 20.0 20.1 Dittrich, David (December 31, 1999). The "stacheldraht" distributed denial of service attack tool. University of Washington. Retrieved on 2013-12-11.
- ↑ Boyle, Phillip (2000). SANS InstituteTemplate:Spaced ndashIntrusion Detection FAQ: Distributed Denial of Service Attack Tools: n/a. SANS Institute. Retrieved on 2008-05-02.
- ↑ Leyden, John (2004-09-23). US credit card firm fights DDoS attack. The Register. Retrieved on 2011-12-02.
- ↑ 23.0 23.1 Glenn Greenwald (2014-07-15). HACKING ONLINE POLLS AND OTHER WAYS BRITISH SPIES SEEK TO CONTROL THE INTERNET. The Intercept_. Retrieved on 2015-12-25.
- ↑ Rossow, Christian (February 2014). Amplification Hell: Revisiting Network Protocols for DDoS Abuse. Internet Society. Retrieved on 4 February 2016.
- ↑ Paxson, Vern (2001). An Analysis of Using Reflectors for Distributed Denial-of-Service Attacks. ICIR.org.
- ↑ Alert (TA14-017A) UDP-based Amplification Attacks. US-CERT (July 8, 2014). Retrieved on 2014-07-08.
- ↑ van Rijswijk-Deij, Roland (2014). DNSSEC and its potential for DDoS attacks - a comprehensive measurement study. ACM Press.
- ↑ Adamsky, Florian (2015). P2P File-Sharing in Hell: Exploiting BitTorrent Vulnerabilities to Launch Distributed Reflective DoS Attacks.
- ↑ Vaughn, Randal; Evron, Gadi (2006). DNS Amplification Attacks. ISOTF. Archived from the original on 2010-12-14.
- ↑ Alert (TA13-088A) DNS Amplification Attacks. US-CERT (July 8, 2013). Retrieved on 2013-07-17.
- ↑ FBI — Phony Phone Calls Distract Consumers from Genuine Theft. FBI.gov (2010-05-11). Retrieved on 2013-09-10.
- ↑ Internet Crime Complaint Center's (IC3) Scam Alerts January 7, 2013. IC3.gov (2013-01-07). Retrieved on 2013-09-10.
- ↑ 33.0 33.1 Ben-Porat, U.; Bremler-Barr, A.; Levy, H. (2013-05-01). "Vulnerability of Network Mechanisms to Sophisticated DDoS Attacks". IEEE Transactions on Computers 62 (5): 1031–1043. doi: . ISSN 0018-9340. http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=6158635.
- ↑ Gold, Steve (21 August 2014). Video games company hit by 38-day DDoS attack. SC Magazine UK. Retrieved on 4 February 2016.
- ↑ "Who's Behind DDoS Attacks and How Can You Protect Your Website?", 10 September 2015. Retrieved on 15 September 2015.
- ↑ "Cyber-Extortionists Targeting the Financial Sector Are Demanding Bitcoin Ransoms", 9 September 2015. Retrieved on 15 September 2015.
- ↑ "Akamai warns of increased activity from DDoS extortion group", 14 September 2015. Retrieved on 15 September 2015.
- ↑ Loukas, G.; Oke, G. (September 2010). "Protection Against Denial of Service Attacks: A Survey". Comput. J. 53 (7): 1020–1037. doi:. http://staffweb.cms.gre.ac.uk/~lg47/publications/LoukasOke-DoSSurveyComputerJournal.pdf.
- ↑ Froutan, Paul (June 24, 2004). How to defend against DDoS attacks. Computerworld. Retrieved on May 15, 2010.
- ↑ Suzen, Mehmet. Some IoS tips for Internet Service (Providers). Archived from the original on 2008-09-12.
- ↑ Kousiouris, George. "KEY COMPLETION INDICATORS:minimizing the effect of DoS attacks on elastic Cloud-based applications based on application-level markov chain checkpoints", 2014. Retrieved on 2015-05-24.
- ↑ Abante, Carl. "Relationship between Firewalls and Protection against DDoS", March 2, 2013. Retrieved on 2013-05-24.
- ↑ Patrikakis, C.; Masikos, M.; Zouraraki, O. (December 2004). "Distributed Denial of Service Attacks". The Internet Protocol Journal 7 (4): 13–35. http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_7-4/dos_attacks.html.
- ↑ DDoS Mitigation via Regional Cleaning Centers (Jan 2004) (PDF). SprintLabs.com. Sprint ATL Research. Archived from the original on 2008-09-21. Retrieved on 2011-12-02.
- ↑ Shiels, Maggie. "Web slows after Jackson's death", BBC News, 2009-06-26.
- ↑ We're Sorry. Automated Query error. Google Product Forums › Google Search Forum. Google.com (October 20, 2009). Retrieved on 2012-02-11.
- ↑ "YouTube sued by sound-alike site", BBC News, 2006-11-02.
- ↑ Bill Chappell (12 March 2014). People Overload Website, Hoping To Help Search For Missing Jet. NPR. Retrieved on 4 February 2016.
- ↑ Backscatter Analysis (2001). Animations. Cooperative Association for Internet Data Analysis. Retrieved on December 11, 2013.
- ↑ United States Code: Title 18,1030. Fraud and related activity in connection with computers | Government Printing Office. www.gpo.gov (2002-10-25). Retrieved on 2014-01-15.
- ↑ International Action Against DD4BC Cybercriminal Group (12 January 2016).
- ↑ Computer Misuse Act 1990 (10 January 2008).
- ↑ Anonymous DDoS Petition: Group Calls On White House To Recognize Distributed Denial Of Service As Protest.. HuffingtonPost.com (2013-01-12).
- ↑ "DDOS Attack: crime or virtual sit-in?". RT.com. YouTube.com. October 6, 2011.
Further reading
- Ethan Zuckerman, Hal Roberts, Ryan McGrady, Jillian York, John Palfrey (December 2011). Distributed Denial of Service Attacks Against Independent Media and Human Rights Sites. The Berkman Center for Internet & Society at Harvard University. Archived from the original on 2011-05-01. Retrieved on 2011-03-02.
- DDOS Public Media Reports. Harvard. Archived from the original on 2011-05-01.
External links
- RFC 4732 Internet Denial-of-Service Considerations
- W3C The World Wide Web Security FAQ
- cert.org CERT's Guide to DoS attacks. (historic document)
- ATLAS Summary Report – Real-time global report of DDoS attacks.