Short Bytes: A ping packet can also be malformed to perform denial of service attack by sending continuous ping packets to the target IP address. A continuous ping will cause buffer overflow at the target system and will cause the target system to crash.
If we look at the basic level, then a ping packet is generally of size 56 bytes or 84 bytes (including IP header as well). However, a ping packet can also be made as large as up to 65536 bytes.
Well, that’s the negative side of the ping packet. When we increase the size of the ping packet unnaturally, forming a malformed ping packet to attack a computer system, this type of attack is called “Ping of death” attack.
How Ping of Death attack works?
Not all computers can handle data larger than a fixed size. So, when a ping of death packet is sent from a source computer to a target machine, the ping packet gets fragmented into smaller groups of packets.
One fragment is of 8 octets size. When these packets reach the target computer, they arrive in fragments. So, the target computer reassembles the malformed packets which are received in chunks. But, the whole assembled packet causes buffer overflow at the target computer.
This buffer flow often causes the system crash making the system more vulnerable to attack.
Once the system becomes more vulnerable to attack, it allows more attacks like the injection of a trojan horse on the target machine.
Also Read: What Is IP Spoofing And Denial Of Service (DOS) Attack?
A simple tutorial on how to perform DoS attack using ping of death using CMD:
Disclaimer: This is just for educational purposes. It’s nothing great but you can use it to learn.
Here are the steps:
- Open Notepad
- Copy the following text on the notepad
:loop
ping <IP Address> -l 65500 -w 1 -n 1
goto :loop
In the above command, replace <IP Address> with an IP address.
- Save the Notepad with any name. Let’s say dos.txt
- Right click on the dos.txt and click on rename.
- Change the extension from .txt to .bat
- So, now the file name should be dos.bat
- Double click on it and you will see a command prompt running with a lot of pings.
Note: This command might not work on some systems.
0 thoughts on “How To Perform Ping of Death Attack Using CMD And Notepad (Just For Learning)”
your ip will get block
is this really that easy to DDOS the system
if target closed icmp you get nothing
But replace with which ip.? PC’s.?
the noob’s DDoS attack, I tried, that sucks and don’t work
the ip we are replacing in the cmd ,is the target’s ip?
If you use -t option it will go infinite in cmd window ,so no need of notepad. And you can’t go greater than 65500 bytes in cmd.
Get a Windows 95 virtual box VM instance and use it as a target. That way the example will work. Also you may use hping3, to form the illegal ICMP packet.
Isn’t this just a DoS? And if so, doesn’t your internet need to be faster than the person you’re hitting or else you’ll just DoS yourself?
Let’s see can my router handle it ;-).
i have one queston . So what do we get after doing that??? ANYONE???
Will you asshats leave.my Commodore 64 alone!!!!!!! Etc …..
Right click on the dos.txt and click on rename.
Change the extension from .txt to .bat
OMFG !!!!!!
Type: All file it’s not possible XD
can work in my pc so sad 🙁
lol if you have to ask ‘which ip should I use?’ you really shouldn’t be near any of this