SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
DoS (Denial of Service) Attack Tutorial: Ping of Death, DDOS
What is DoS Attack?
DOS is an attack used to deny legitimate users access to a
resource such as accessing a website, network, emails, etc. or
making it extremely slow. DoS is the acronym for Denial of
Service. This type of attack is usually implemented by hitting
the target resource such as a web server with too many requests
at the same time. This results in the server failing to respond to
all the requests. The effect of this can either be crashing the
servers or slowing them down.
Cutting off some business from the internet can lead to
significant loss of business or money. The internet and
computer networks power a lot of businesses. Some
organizations such as payment gateways, e-commerce sites
entirely depend on the internet to do business.
In this tutorial, we will introduce you to what denial of service
attack is, how it is performed and how you can protect against
such attacks.
Topics covered in this tutorial
· Types of Dos Attacks
· How DoS attacks work
· DoS attack tools
· DoS Protection: Prevent an attack
· Hacking Activity: Ping of Death
· Hacking Activity: Launch a DOS attack
Types of Dos Attacks
There are two types of Dos attacks namely;
· DoS– this type of attack is performed by a single host
· Distributed DoS– this type of attack is performed by a number
of compromised machines that all target the same victim. It
floods the network with data packets.
How DoS attacks work
Let’s look at how DoS attacks are performed and the techniques
used. We will look at five common types of attacks.
Ping of Death
The ping command is usually used to test the availability of a
network resource. It works by sending small data packets to the
network resource. The ping of death takes advantage of this and
sends data packets above the maximum limit (65,536 bytes) that
TCP/IP allows. TCP/IP fragmentation breaks the packets into
small chunks that are sent to the server. Since the sent data
packages are larger than what the server can handle, the server
can freeze, reboot, or crash.
Smurf
This type of attack uses large amounts of Internet Control
Message Protocol (ICMP) ping traffic target at an Internet
Broadcast Address. The reply IP address is spoofed to that of
the intended victim. All the replies are sent to the victim instead
of the IP used for the pings. Since a single Internet Broadcast
Address can support a maximum of 255 hosts, a smurf attack
amplifies a single ping 255 times. The effect of this is slowing
down the network to a point where it is impossible to use it.
Buffer overflow
A buffer is a temporal storage location in RAM that is used to
hold data so that the CPU can manipulate it before writing it
back to the disc. Buffers have a size limit. This type of attack
loads the buffer with more data that it can hold. This causes the
buffer to overflow and corrupt the data it holds. An example of
a buffer overflow is sending emails with file names that have
256 characters.
Teardrop
This type of attack uses larger data packets. TCP/IP breaks them
into fragments that are assembled on the receiving host. The
attacker manipulates the packets as they are sent so that they
overlap each other. This can cause the intended victim to crash
as it tries to re-assemble the packets.
SYN attack
SYN is a short form for Synchronize. This type of attack takes
advantage of the three-way handshake to establish
communication using TCP. SYN attack works by flooding the
victim with incomplete SYN messages. This causes the victim
machine to allocate memory resources that are never used and
deny access to legitimate users.
DoS attack tools
The following are some of the tools that can be used to perform
DoS attacks.
· Nemesy– this tool can be used to generate random packets. It
works on windows. This tool can be downloaded from
http://packetstormsecurity.com/files/25599/nemesy13.zip.html .
Due to the nature of the program, if you have an antivirus, it
will most likely be detected as a virus.
· Land and LaTierra– this tool can be used for IP spoofing and
opening TCP connections
· Blast– this tool can be downloaded from
http://www.opencomm.co.uk/products/blast/features.php
· Panther- this tool can be used to flood a victim’s network with
UDP packets.
· Botnets– these are multitudes of compromised computers on
the Internet that can be used to perform a distributed denial of
service attack.
DoS Protection: Prevent an attack
An organization can adopt the following policy to protect itself
against Denial of Service attacks.
· Attacks such as SYN flooding take advantage of bugs in the
operating system. Installing security patches can help reduce the
chances of such attacks.
· Intrusion detection systems can also be used to identify and
even stop illegal activities
· Firewalls can be used to stop simple DoS attacks by blocking
all traffic coming from an attacker by identifying his IP.
· Routers can be configured via the Access Control List to limit
access to the network and drop suspected illegal traffic.
Hacking Activity: Ping of Death
We will assume you are using Windows for this exercise. We
will also assume that you have at least two computers that are
on the same network. DOS attacks are illegal on networks that
you are not authorized to do so. This is why you will need to
setup your own network for this exercise.
Open the command prompt on the target computer
Enter the command ipconfig. You will get results similar to the
ones shown below
For this example, we are using Mobile Broadband connection
details. Take note of the IP address. Note: for this example, to
be more effective, and you must use a LAN network.
Switch to the computer that you want to use for the attack and
open the command prompt
We will ping our victim computer with infinite data packets of
65500
Enter the following command
ping 10.128.131.108 –t |65500
HERE,
· “ping” sends the data packets to the victim
· “10.128.131.108” is the IP address of the victim
· “-t” means the data packets should be sent until the program is
stopped
· “-l” specifies the data load to be sent to the victim
You will get results similar to the ones shown below
Flooding the target computer with data packets doesn’t have
much effect on the victim. In order for the attack to be more
effective, you should attack the target computer with pings from
more than one computer.
The above attack can be used to attacker routers, web servers
etc.
If you want to see the effects of the attack on the target
computer, you can open the task manager and view the network
activities.
· Right click on the taskbar
· Select start task manager
· Click on the network tab
· You will get results similar to the following
If the attack is successful, you should be able to see increased
network activities.
Hacking Activity: Launch a DOS attack
In this practical scenario, we are going to use Nemesy to
generate data packets and flood the target computer, router or
server.
As stated above, Nemesy will be detected as an illegal program
by your anti-virus. You will have to disable the anti-virus for
this exercise.
· Download Nemesy from
http://packetstormsecurity.com/files/25599/nemesy13.zip.html
· Unzip it and run the program Nemesy.exe
· You will get the following interface
Enter the target IP address, in this example; we have used the
target IP we used in the above example.
HERE,
· 0 as the number of packets means infinity. You can set it to
the desired number if you do not want to send, infinity data
packets
· The size field specifies the data bytes to be sent and the delay
specifies the time interval in milliseconds.
Click on send button
You should be able to see the following results
The title bar will show you the number of packets sent
Click on halt button to stop the program from sending data
packets.
You can monitor the task manager of the target computer to see
the network activities.
Summary
· A denial of service attack’s intent is to deny legitimate users’
access to a resource such as a network, server etc.
· There are two types of attacks, denial of service and
distributed denial of service.
· A denial of service attack can be carried out using SYN
Flooding, Ping of Death, Teardrop, Smurf or buffer overflow
· Security patches for operating systems, router configuration,
firewalls and intrusion detection systems can be used to protect
against denial of service attacks.
Questions:
1) Why are DoS or DDoS attacks so dangerous?
2) Search the Internet for one example of a DoS attack.
Summarize (in 2-3 paragraphs) what was targeted and the
damage caused to the business.
3) What tools are available to protect against DoS attacks?
References:
https://www.guru99.com/ultimate-guide-to-dos-attacks.html
https://resources.infosecinstitute.com/dos-attacks-free-dos-
attacking-tools/
https://www.cloudflare.com/learning/ddos/ddos-attack-
tools/how-to-ddos/
https://www.digitalattackmap.com/understanding-ddos/

More Related Content

PDF
cloud computing final year project
PPT
Module 9 Dos
PPTX
Dos.pptx
PPTX
Cyber security & ethical hacking 10
PPT
TYPES OF ATTACK (PART 1)
PDF
A Comparative Approach to Handle Ddos Attacks
PDF
File000144
PDF
denialofservice.pdfdos attacck basic details with interactive design
cloud computing final year project
Module 9 Dos
Dos.pptx
Cyber security & ethical hacking 10
TYPES OF ATTACK (PART 1)
A Comparative Approach to Handle Ddos Attacks
File000144
denialofservice.pdfdos attacck basic details with interactive design

Similar to DoS (Denial of Service) Attack Tutorial Ping of Death, DDOS Wha.docx (20)

PPTX
Denial of service
PDF
Ceh v5 module 08 denial of service
PDF
Unit 6_DoS and DDoS_SQL Injection_tools.pdf
PPTX
Distributed denial-of-service (DDoS) attack || Seminar Report @ gestyy.com/...
PPTX
Denial of Service Attacks (DoS/DDoS)
PPTX
Assingement on dos ddos
PDF
Comparative Analysis of Different Denial of Service Attacks
PDF
IRJET- A Novel Survey on DOS Attacks
PDF
The Principles of Modern Attacks Analysis for Penetration Tester
PDF
Computer Security Cyber Security DOS_DDOS Attacks By: Professor Lili Saghafi
PDF
Internet Security
PPTX
Denial of service attack
PPTX
Denial of-service (do s) attack
PPTX
Denial of service attack
PPT
Hacking Cisco
PDF
ECE560 Denial of Service Attacks Fall2020.pdf
PPT
CS10NETWOKSecurityhdhgsfdhsdheahgqergd.ppt
PDF
Aw36294299
PPT
DDOS Attack
PPTX
DoS/DDoS
Denial of service
Ceh v5 module 08 denial of service
Unit 6_DoS and DDoS_SQL Injection_tools.pdf
Distributed denial-of-service (DDoS) attack || Seminar Report @ gestyy.com/...
Denial of Service Attacks (DoS/DDoS)
Assingement on dos ddos
Comparative Analysis of Different Denial of Service Attacks
IRJET- A Novel Survey on DOS Attacks
The Principles of Modern Attacks Analysis for Penetration Tester
Computer Security Cyber Security DOS_DDOS Attacks By: Professor Lili Saghafi
Internet Security
Denial of service attack
Denial of-service (do s) attack
Denial of service attack
Hacking Cisco
ECE560 Denial of Service Attacks Fall2020.pdf
CS10NETWOKSecurityhdhgsfdhsdheahgqergd.ppt
Aw36294299
DDOS Attack
DoS/DDoS
Ad

More from madlynplamondon (20)

DOCX
. According to your textbook, Contrary to a popular misconception.docx
DOCX
-How did artwork produced in America from 1945 to 1960 compare to ar.docx
DOCX
-Just thoughts and opinion on the reading-Consent and compen.docx
DOCX
. The Questioned Documents Unit (QDU) provides forensic support .docx
DOCX
.  What is it about the fundamental nature and structure of the Olym.docx
DOCX
-Learning objectives for presentation-Brief background o.docx
DOCX
-You will need to play a phone game Angry Birds (any version) to mak.docx
DOCX
. EDU 571 Week 5 Discussion 1 -Data Collection Please respond .docx
DOCX
. What were the causes of World War II Explain how and why the Unit.docx
DOCX
. Complete the prewriting for the progress reportPrewriting p.docx
DOCX
-in Filomena by Roberta Fernandez the author refers to the Mexican r.docx
DOCX
-Write about a violent religious event in history.(Ex. Muslim ex.docx
DOCX
-This project is an opportunity to demonstrate the ability to analyz.docx
DOCX
-7 Three men are trapped in a cave with no hope of rescue and no foo.docx
DOCX
-1. Are the three main elements of compensation systems—internal.docx
DOCX
- What are the key differences between national health service (.docx
DOCX
--Describe and analyze the ways in which Alfons Heck’s participation.docx
DOCX
------ Watch an online speechpresentation of 20 minutes or lo.docx
DOCX
) Florida National UniversityNursing DepartmentBSN.docx
DOCX
- Please answer question 2 at the end of the case.- cita.docx
. According to your textbook, Contrary to a popular misconception.docx
-How did artwork produced in America from 1945 to 1960 compare to ar.docx
-Just thoughts and opinion on the reading-Consent and compen.docx
. The Questioned Documents Unit (QDU) provides forensic support .docx
.  What is it about the fundamental nature and structure of the Olym.docx
-Learning objectives for presentation-Brief background o.docx
-You will need to play a phone game Angry Birds (any version) to mak.docx
. EDU 571 Week 5 Discussion 1 -Data Collection Please respond .docx
. What were the causes of World War II Explain how and why the Unit.docx
. Complete the prewriting for the progress reportPrewriting p.docx
-in Filomena by Roberta Fernandez the author refers to the Mexican r.docx
-Write about a violent religious event in history.(Ex. Muslim ex.docx
-This project is an opportunity to demonstrate the ability to analyz.docx
-7 Three men are trapped in a cave with no hope of rescue and no foo.docx
-1. Are the three main elements of compensation systems—internal.docx
- What are the key differences between national health service (.docx
--Describe and analyze the ways in which Alfons Heck’s participation.docx
------ Watch an online speechpresentation of 20 minutes or lo.docx
) Florida National UniversityNursing DepartmentBSN.docx
- Please answer question 2 at the end of the case.- cita.docx
Ad

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Cell Types and Its function , kingdom of life
PPTX
master seminar digital applications in india
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
2.FourierTransform-ShortQuestionswithAnswers.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Weekly quiz Compilation Jan -July 25.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
human mycosis Human fungal infections are called human mycosis..pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Types and Its function , kingdom of life
master seminar digital applications in india

DoS (Denial of Service) Attack Tutorial Ping of Death, DDOS Wha.docx

  • 1. DoS (Denial of Service) Attack Tutorial: Ping of Death, DDOS What is DoS Attack? DOS is an attack used to deny legitimate users access to a resource such as accessing a website, network, emails, etc. or making it extremely slow. DoS is the acronym for Denial of Service. This type of attack is usually implemented by hitting the target resource such as a web server with too many requests at the same time. This results in the server failing to respond to all the requests. The effect of this can either be crashing the servers or slowing them down. Cutting off some business from the internet can lead to significant loss of business or money. The internet and computer networks power a lot of businesses. Some organizations such as payment gateways, e-commerce sites entirely depend on the internet to do business. In this tutorial, we will introduce you to what denial of service attack is, how it is performed and how you can protect against such attacks. Topics covered in this tutorial · Types of Dos Attacks · How DoS attacks work · DoS attack tools · DoS Protection: Prevent an attack · Hacking Activity: Ping of Death · Hacking Activity: Launch a DOS attack Types of Dos Attacks There are two types of Dos attacks namely; · DoS– this type of attack is performed by a single host · Distributed DoS– this type of attack is performed by a number of compromised machines that all target the same victim. It floods the network with data packets. How DoS attacks work Let’s look at how DoS attacks are performed and the techniques
  • 2. used. We will look at five common types of attacks. Ping of Death The ping command is usually used to test the availability of a network resource. It works by sending small data packets to the network resource. The ping of death takes advantage of this and sends data packets above the maximum limit (65,536 bytes) that TCP/IP allows. TCP/IP fragmentation breaks the packets into small chunks that are sent to the server. Since the sent data packages are larger than what the server can handle, the server can freeze, reboot, or crash. Smurf This type of attack uses large amounts of Internet Control Message Protocol (ICMP) ping traffic target at an Internet Broadcast Address. The reply IP address is spoofed to that of the intended victim. All the replies are sent to the victim instead of the IP used for the pings. Since a single Internet Broadcast Address can support a maximum of 255 hosts, a smurf attack amplifies a single ping 255 times. The effect of this is slowing down the network to a point where it is impossible to use it. Buffer overflow A buffer is a temporal storage location in RAM that is used to hold data so that the CPU can manipulate it before writing it back to the disc. Buffers have a size limit. This type of attack loads the buffer with more data that it can hold. This causes the buffer to overflow and corrupt the data it holds. An example of a buffer overflow is sending emails with file names that have 256 characters. Teardrop This type of attack uses larger data packets. TCP/IP breaks them into fragments that are assembled on the receiving host. The attacker manipulates the packets as they are sent so that they overlap each other. This can cause the intended victim to crash as it tries to re-assemble the packets. SYN attack SYN is a short form for Synchronize. This type of attack takes advantage of the three-way handshake to establish
  • 3. communication using TCP. SYN attack works by flooding the victim with incomplete SYN messages. This causes the victim machine to allocate memory resources that are never used and deny access to legitimate users. DoS attack tools The following are some of the tools that can be used to perform DoS attacks. · Nemesy– this tool can be used to generate random packets. It works on windows. This tool can be downloaded from http://packetstormsecurity.com/files/25599/nemesy13.zip.html . Due to the nature of the program, if you have an antivirus, it will most likely be detected as a virus. · Land and LaTierra– this tool can be used for IP spoofing and opening TCP connections · Blast– this tool can be downloaded from http://www.opencomm.co.uk/products/blast/features.php · Panther- this tool can be used to flood a victim’s network with UDP packets. · Botnets– these are multitudes of compromised computers on the Internet that can be used to perform a distributed denial of service attack. DoS Protection: Prevent an attack An organization can adopt the following policy to protect itself against Denial of Service attacks. · Attacks such as SYN flooding take advantage of bugs in the operating system. Installing security patches can help reduce the chances of such attacks. · Intrusion detection systems can also be used to identify and even stop illegal activities · Firewalls can be used to stop simple DoS attacks by blocking all traffic coming from an attacker by identifying his IP. · Routers can be configured via the Access Control List to limit access to the network and drop suspected illegal traffic. Hacking Activity: Ping of Death
  • 4. We will assume you are using Windows for this exercise. We will also assume that you have at least two computers that are on the same network. DOS attacks are illegal on networks that you are not authorized to do so. This is why you will need to setup your own network for this exercise. Open the command prompt on the target computer Enter the command ipconfig. You will get results similar to the ones shown below For this example, we are using Mobile Broadband connection details. Take note of the IP address. Note: for this example, to be more effective, and you must use a LAN network. Switch to the computer that you want to use for the attack and open the command prompt We will ping our victim computer with infinite data packets of 65500 Enter the following command ping 10.128.131.108 –t |65500 HERE, · “ping” sends the data packets to the victim · “10.128.131.108” is the IP address of the victim · “-t” means the data packets should be sent until the program is stopped · “-l” specifies the data load to be sent to the victim You will get results similar to the ones shown below Flooding the target computer with data packets doesn’t have much effect on the victim. In order for the attack to be more effective, you should attack the target computer with pings from more than one computer. The above attack can be used to attacker routers, web servers etc. If you want to see the effects of the attack on the target computer, you can open the task manager and view the network activities. · Right click on the taskbar
  • 5. · Select start task manager · Click on the network tab · You will get results similar to the following If the attack is successful, you should be able to see increased network activities. Hacking Activity: Launch a DOS attack In this practical scenario, we are going to use Nemesy to generate data packets and flood the target computer, router or server. As stated above, Nemesy will be detected as an illegal program by your anti-virus. You will have to disable the anti-virus for this exercise. · Download Nemesy from http://packetstormsecurity.com/files/25599/nemesy13.zip.html · Unzip it and run the program Nemesy.exe · You will get the following interface Enter the target IP address, in this example; we have used the target IP we used in the above example. HERE, · 0 as the number of packets means infinity. You can set it to the desired number if you do not want to send, infinity data packets · The size field specifies the data bytes to be sent and the delay specifies the time interval in milliseconds. Click on send button You should be able to see the following results The title bar will show you the number of packets sent Click on halt button to stop the program from sending data packets. You can monitor the task manager of the target computer to see the network activities.
  • 6. Summary · A denial of service attack’s intent is to deny legitimate users’ access to a resource such as a network, server etc. · There are two types of attacks, denial of service and distributed denial of service. · A denial of service attack can be carried out using SYN Flooding, Ping of Death, Teardrop, Smurf or buffer overflow · Security patches for operating systems, router configuration, firewalls and intrusion detection systems can be used to protect against denial of service attacks. Questions: 1) Why are DoS or DDoS attacks so dangerous? 2) Search the Internet for one example of a DoS attack. Summarize (in 2-3 paragraphs) what was targeted and the damage caused to the business. 3) What tools are available to protect against DoS attacks? References: https://www.guru99.com/ultimate-guide-to-dos-attacks.html https://resources.infosecinstitute.com/dos-attacks-free-dos- attacking-tools/ https://www.cloudflare.com/learning/ddos/ddos-attack- tools/how-to-ddos/ https://www.digitalattackmap.com/understanding-ddos/