Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Networking A ping flood is a simple denial-of-service attack where the attacker

ID: 3917794 • Letter: N

Question

Networking

A ping flood is a simple denial-of-service attack where the attacker overwhelms the victim with ICMP Echo Request (ping) packets. This is most effective by using the flood option of ping which sends ICMP packets as fast as possible without waiting for replies. Most implementations of ping require the user to be privileged in order to specify the flood option. Please write down the ping command with the appropriate arguments to successfully implement a ping flood attack to the website www.example.local (Links to an external site.)Links to an external site.

What ping command will allow you to find the IP of the host name: google.com?

What ping command will change the default packet size from 56 to 100 bytes

By default, the traceroute utility sends three packets per hop to provide round trip times. What ping command arguments will you use to change the default number of packets sent per hop from 3 to 10?

What command line arguments does netstat uses to list ALL the ports of a system?

What command line arguments does netstat uses to list ALL TCP/IP ports of a system?

What command line arguments does netstat uses to list ALL UDP/IP ports of a system?

What command line arguments does netstat uses to list ALL listening ports of a system?

You want to find out how many listening programs are running in a port. What command line arguments would you use with netstat to achieve this result

Explanation / Answer

Please write down the ping command with the appropriate arguments to successfully implement a ping flood attack to the website www.example.local (Links to an external site.)Links to an external site.

ping -t -w 0 www.example.com ; t ping target until force stop; w amount of time ping waits for each reply

What ping command will allow you to find the IP of the host name: google.com?

ping google.com ; the output will contain ip address of the host

What ping command will change the default packet size from 56 to 100 bytes

ping -l 100 www.example.com ; -l is used to specify packet size

By default, the traceroute utility sends three packets per hop to provide round trip times. What ping command arguments will you use to change the default number of packets sent per hop from 3 to 10?

ping -n 10 -R www.example.com ; -n to specify number of packets -R to trace round trip path

What command line arguments does netstat uses to list ALL the ports of a system?

netstat -x ; x to list all the ports

What command line arguments does netstat uses to list ALL TCP/IP ports of a system?

netstat -p tcp ; -p show connections for a particular protocol

What command line arguments does netstat uses to list ALL UDP/IP ports of a system?

netstat -p udp

What command line arguments does netstat uses to list ALL listening ports of a system?

netstat -a -f ; -a to display all active connections -f display fully qualified domain name

You want to find out how many listening programs are running in a port. What command line arguments would you use with netstat to achieve this result

netstat -b ; -b to display which program is running