Zenmap, a graphical interface to run Nmap on Ubuntu 20.04

about zenmap

In the next article we will take a look at how can we install Zenmap on Ubuntu 20.04. This is the official GUI for Nmap Security Scanner. It is a free and open source cross-platform application that aims to make Nmap easier for beginners to use, while also offering some advanced features for experienced Nmap users.

As I said, Zenmap is a graphical user interface developed for “Nmap, which, as many users know, is a tool used from the command line terminal, with which ports and networks can be scanned. However, it can get cumbersome for even the most experienced users to use the command line for every little task.

For those who don’t have much idea what Nmap is, tell them that is a tool that is generally used in network security to scan open ports of a computer on the network. In addition, this software has several functions to probe computer networks, including detection of equipment, services and operating systems. These functions are extensible through the use of scripts to provide advanced detection services, vulnerability detection and other applications.

The Network Mapper or Nmap is particularly suitable for finding all active hosts in the network environment (ping sweeps), as well as your operating system (OS fingerprints) and the version numbers of various installed services.

In short, the only key difference between Zenmap and Nmap is the GUI. Nmap is a command line tool, which to use it graphically has an interface called Zenmap.

Install ZenMap on Ubuntu 20.04

As Zenmap is no longer available in the Ubuntu repositories, we have to manually download and install the package on our system. But before we start, let’s update the packages available from the repositories using the following command in the terminal (Ctrl + Alt + T):

sudo apt update

It has to be said that When installing Zenamp on our system, we will see that Nmap comes with the package, in case you are one of those who prefers to use this program from the terminal.

Install Python GTK2

Zenmap is going to use Python GTK2 to create the graphical user interface. For this reason we will also have to install it on our Ubuntu 20.04 system before proceeding further. To do this, first we are going to download it using wget as follows in the terminal (Ctrl + Alt + T):

download pythongtk2

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

After the download, we can proceed to installation writing in the same terminal the following:

install python gtk2

sudo apt install ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

Download and install the Zenmap .deb package

The Debian package currently available, without having to resort to alien, for installation is zenmap 7.6. We will be able to download this using wget in the terminal (Ctrl + Alt + T) in the following way:

download zenmap

wget http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.60-1ubuntu5_all.deb

After the download, we can proceed to installation with the following command:

install zenmap

sudo apt install ./zenmap_7.60-1ubuntu5_all.deb

Run Zenmap

renmap notice

To access all functions, we will have to run Zenmap as root user. We can run this program as root by searching for the program’s corresponding launcher or by opening a terminal (Ctrl + Alt + T) and executing the command in it:

zenmap launcher

sudo zenmap

With this we can now use Zenmap on our Ubuntu 20.04 LTS. For a network scan, we will only have to type the IP address or the host name. From the drop-down box, users will be able to choose between several types of analysis such as; full scan, simple scan or ping scan to verify the availability of a computer. In the Nmap output window that is on the right side, it will be where we can see the individual steps in Nmap.

zenmap running


For remove Zenmap We will only have to open a terminal (Ctrl + Alt + T) and execute the following commands:

uninstall zenmap

sudo apt remove zenmap; sudo apt autoremove

For detailed information on how we can use Zenmap, users can consult the official documentation that they offer on the nmap website.

Add Comment