Exercise: Identify Open Ports on a Network Device

You are a network administrator at a local organization and you have been
asked to identify all the open ports on a network device. You have been
provided with access to a network scanning tool, nmap, and you have been
asked to use this tool to identify the open ports on the network device.

Tools needed: nmap

Step 1: Make sure you have nmap installed on your computer. If not, install
nmap using the appropriate instructions for your operating system. You can
find installation instructions for nmap at the following link:

https://nmap.org/book/inst-windows.html

Step 2: Open a terminal or command prompt window.

Step 3: Run the following command to scan for open ports on the network
device using nmap:

nmap -p [port range] [target IP address]

Replace “[port range]” with the range of ports that you want to scan. For
example, if you want to scan all ports from 1 to 1000, you would use the
following command:

nmap -p 1-1000 [target IP address]

Replace “[target IP address]” with the IP address of the network device that
you want to scan.

Step 4: Wait for the scan to complete. Nmap will display a list of all the open
ports it has found on the network device.

Step 5: Review the list of open ports and identify any ports that may be of
concern or that you want to further investigate.

Step 6: Once you have identified the open ports on the network device, you
can use this information to secure the device and ensure that it is properly
configured.

Blog reference:

“How to Use Nmap to Scan for Open Ports”
(https://www.digitalocean.com/community/tutorials/how-to-use-nmap-
to-scan-for-open-ports)

“Nmap Port Scanning Techniques”
(https://nmap.org/book/man-port-
scanning-techniques.html)

“Nmap Cheat Sheet” (https://www.sans.org/security-
resources/sec560/nmap_cheat_sheet_v1.pdf)

Open chat
Hello 👋.
Tell me, how can I help you?