Conducting of DOS and DDOS can done by sending big amount of packets against the servers that make them busy because they handle these packets. Also, they consume the bandwidth of the network that if any body order the service later, it will be OUT OF SERVICE!!
So, how we can stop or prevent like these attacks? Answering of this question is depend totally on your policy and the network transactions like which ports must be opened and which ones must be closed? Also, which computers can access the servers, ...., and many many factors.
In this post we will - inShaAllah - apply simple experiment (ping of death) that depicts what is exactly the DOS and how we can prevent them.
The requirements of experiment:
- 3 Linux Ubuntu OS
- 1 Windows XP OS
- Skills of iptables Firewall
Assume one of Ubuntu OS is a victim and install EtherApe software on this operating system. The function of EtherApe software is giving graphical monitoring of network. All of these OS are installed on VirtaulBox, they are as a following:
- First Ubuntu OS has IP=10.1.1.1 (a victim)
- Second Ubuntu OS has IP=10.1.1.2
- Third Ubuntu OS has IP=10.1.1.3
- XP OS has IP=10.1.1.5
From both, Second & Third Ubuntu OS, in terminal type:
ping -s 65500 10.1.1.1
and from XP OS type in Command Prompt type:
ping -t -l 65500 10.1.1.1
Notice: rate of sent packets reached 320 KiB per second (look to System Monitor application), and it just form three computer (2 Ubuntu + 1 XP). In reality, medium companies are using 4 MiB per second for whole of their bandwidth. Means around 36 computers able to take this company OUT OF SERVICE!!!!!
System Monitor: victim's network activities
The end ;-)
Next post inShaAllah will explain how to prevent such attacks by using iptables Firewall. Keep connected ;-)