Nmap is popular network scanner software that can actively probe a particular host or a network to infer in-depth information about them. Nmap can conduct host discovery, service detection, OS version identification, port scanning, network stack fingerprinting, etc. While Nmap itself is a command-line utility, you can run it along with its GUI front-end called Zenmap.
In this tutorial, I will describe how to scan particular hosts or networks by using Nmap GUI.
Install Nmap GUI on Linux
To install Zenmap on Debian, Ubuntu or Linux Mint:
To install Zenmap on Fedora, CentOS or RHEL:
To launch Nmap GUI, run the following command.
The following screenshot shows the main window of Zenmap.
Scan Particular Host(s)
Using Zenmap interface, you can probe a particular host. Fill in the IP address or host name of a destination host in "Target" field, and choose a desired scan profile from "Profile" drop down menu. Then, click on "Scan" button. For multiple hosts, you can specify them in a comma-separated list.
To check the detailed system information of a particular host after scanning, highlight a host in the left panel, and click on "Host Details" tab on the right panel.
To view available services and open ports of a host, click on "Ports / Hosts" tab.
Compare Two Scan Results
When one round of host/network scanning is completed, you can start another round (for the same target or different one) in the same window. The subsequent scan results will automatically be aggregated by Zenmap. Once you have obtained scan results of more than one hosts, you can compare two hosts. To do so, go to "Tools"->"Compare Results" menu, and choose two hosts to compare.
Scan an Entire Network
Zenmap can also probe an entire local network by specifying an address prefix (e.g., 192.168.1.0/24) in the "Target" field.
Once network scanning is completed, you can view the topology of discovered hosts by clicking on "Topology" tab.
To view a list of available services, click on "Services" button on the left panel. You can see a list of all discovered services and their associated hosts, as shown below.
Built-in Profile Editor
One powerful feature of Zenmap is its built-in profile editor. You can create or customize a profile where you specify various scan options via GUI. Once a profile is created, you can probe hosts or networks based on the profile. The below shows screenshots of the profile editor.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to install Suricata intrusion detection system on Linux - September 3, 2015
- How to switch from NetworkManager to systemd-networkd on Linux - August 31, 2015
- How to set up a system status page of your infrastructure - August 25, 2015