How to use hping3 in kali Linux(Performing dos attack)

What is hping3

hping3 is a network tool able to send custom TCP/IP packets and to dis‐ play target replies like ping program does with ICMP replies. hping3 handle fragmentation, arbitrary packets body and size and can be used in order to transfer files encapsulated under supported protocols.

Hping3 is extremely powerful you can do following things with hping3

What is dos Attack

Dos stands for denial of service. Dos attack shuts down Webservers/systems and completely makes them inaccessible to users.

Dos attack floods target network with excess with excess requests dos slows down the speed and eventually force webservers and systems to shut down.

Before performing dos you will need the ip address of your victim and remember victim should be connected to the same network as you.You can use Netdiscover tool to find ip address of the victim.

Hoing3 is really easy to use so fire up your terminal and type the following command:

root@seven:~# hping3 -S --flood -V
hping attack

-S Sets SYN tcp flag.Which mean you are sending syn packets.
--flood Sends lots of packets and ignore the sends packets as fast as possible.

After few minutes when hping3 floods system with lots of packets he will be forced to quit network.

We are not done here in this way there are chances of getting caught.So we need to randomize our ip address to protect our identity.

So type the following command:

root@seven:~# hping3 -S -U --flood --rand-source -V 

--rand-source Randomize the ip address.

That was simple and and straight .Please do share if it helped you.