You are on page 1of 1

FUNDAMENTALS

OF NETWORK SECURITY

PRACTICAL — NETWORK SCANNING USING NMAP


In this exercise you will use the nmap tool to do network port scanning.

A very important principle of ethical security analysis is to only perform scans and penetration
tests against systems and networks that you have permission to scan and test. Thus, for the
purposes of this exercise, you should only perform a scan of your own computer, not any other
computers.

Step 0: Install nmap


Download and install nmap from the the nmap website. There are versions available for Windows,
Mac, and Linux.

• http://nmap.org/download.html

Step 1: Perform a detailed scan of your own computer


Run a scan of your computer to see which ports are open and which software is running on those
ports. Use the following command:

• nmap -A -T4 127.0.0.1

For each service on your computer, figure out what the service is. You can ake a look at the
following database of assigned and typical port usages:

• http://www.speedguide.net/ports.php

TO SUBMIT
1. What services did you find running on your computer? What is the purpose of each? Were
any of them unexpected? If so, how can you disable them? (Also, please say what kind of
computer you are using.)
2. My web server is on the domain name www.douglas.stebila.ca. Scan it using nmap -F (the
-F means “fast scan”). (You have my permission to do so.) What ports do you find open? Do
you have any advice for me?

You might also like