Before you are able to run Nmap scans, you need to install Nmap on your system. In this video, Mike Chapple walks you through the process of installing Nmap on Windows systems.
- [Instructor] Before you'll be able to run Nmap scans, you'll need to install Nmap on your system. In the next few videos, I'll walk you through installing Nmap on a variety of popular operating system, including Windows, MacOS, and several variants of Linux. Nmap is extremely popular because it's a well designed tool that focuses on one task, network mapping and it does it extremely well. Nmap has stood the test of time. It's over 20 years old.
How many pieces of software can you say that about? It's also very popular because it's an open-source package that benefits from the input of a very large community of users. The security and networking communities are heavily invested in Nmap's success and the tool is regularly updated. Nmap has been poured into most popular operating systems, using point and click installers and installation packages that make it easy to install on your system. The source code is available for anyone wishing to install it on a platform that doesn't have an installer and Nmap is really popular because it's free.
Anyone can download the tool and begin using it immediately. Let's begin by walking through the process of installing Nmap on a Windows system. Our starting point is the Nmap homepage, nmap.org. Take some time to browse this site. You'll find lots of useful information about Nmap as well as links to mailing lists and other resources where you can learn for the Nmap community. We're going to click the download link and we're going obtain the most recent version of Nmap.
We want to download the Microsoft Windows binary. A binary is simply a pre-compiled software program that's ready to install on your system. This is the easiest way to get up and running with Nmap. I'm going to download the latest stable release, which at the time I'm recording this video is version 7.70. If you find a later version on the page, don't worry. Nmap is frequently updated and the installation process should be the same for later version. When the download completes, I'm going to run the installer.
Then I'm gonna close this browser window just to get it outta the way. I now have a Windows Installer Screen, that's probably pretty familiar to you already. I'll click to agree to the license and then I'm presented with a list of installation options. These are the different components of Nmap. Let's take a moment to walk through each of these before we proceed with the installation. The first one, Nmap Core Files, includes the Nmap scanning engine and other important prerequisites for using Nmap.
You'll need to install this. The second option, Register Nmap Path, allows you to execute Nmap from the command line in any directory on your system. The Npcap library is a packet capture library that's required for running Nmap scans. It allows Nmap to directly access the network card. The Network Performance Improvements option optimizes your system for running Nmap scans. Zenmap is a graphical front end for Nmap.
It's a nice easy way to run scans, if you're not comfortable working at the command line. We're not gonna use the Zenmap interface in this course, but you're welcome to give it a try and take a look at it. Ncat is a utility that allows you to read and write data to network connections from the command line. Ndiff is a really useful tool that allows you to compare to results of two Nmap scans. Nping is a replacement for the ping utility that provides some enhancements. And then nmap-update provides automatic updating of Nmap components.
In this course, we're gonna focus on the core capabilities of Nmap, so we won't use many of these extra tools, but I'm going to go ahead and accept the default options to install the entire suite anyway. I'll do that by clicking Next. And then I'll accept the default installation location, which kicks off the installation process. That will proceed for a minute or two. And then something a little confusing happens, I'm back to a license screen again and it looks like I might be starting the installation over again. If you look carefully, you'll see that the setup here is for Npcap.
I'm going to agree to this license as well and accept the default Npcap installation options. We now get a progress bar for the Npcap installation and we'll give that a moment to finish. Once that's done I click Next and then finish the Npcap installation and then I'm returned to the Nmap installation. That's still in progress. Once that finishes up, I click next to wrap up the installation. I can choose to create a Desktop Icon and Start Menu Entry if I prefer and then the Nmap installation is complete.
I can now access Nmap from the command line or using the Zenmap graphical interface. In the next few videos, we'll install Nmap on some other operating systems and then we'll wrap this section up with a quick test just to make sure that Nmap works on the platform that you chose. For now, let's just make sure that the command functions properly, by asking Nmap to tell us the version number that we're running. Here in PowerShell command prompt, I'm just going to type nmap -V. I can see here that I have Nmap version 7.70 installed on my system and I'm up and running.
- TCP/IP networking
- Network scanning
- Installing Nmap
- Testing your Nmap installation
- Scanning with Nmap
- Host discovery options in Nmap
- Operating system and service version detection
- Case studies in scanning