>> Welcome to the lesson on installing Nmap on Windows.
In this lesson, I'm going to walk you through finding,
downloading, and installing Nmap
on the Windows operating system.
We won't get into scanning too much just yet,
except for a single test scan.
But by the end of this lesson,
you should have a fully functioning
Windows Nmap scanning station.
Many of you are probably thinking you could skip
through these lessons. You might be right.
But I am going to throw a couple of tips and tricks in,
about special configuration options and
installation tips that could easily be overlooked,
yet very helpful for covering tracks during
a penetration test. Let's get started.
>> Here are the learning objectives for this lesson.
I'm going to show you where to get Nmap,
the best way to download it,
and we'll do a lab on installing it.
In the lab, I'm going to
walk you through installing Nmap,
but first, I want to
run through a couple of quick points.
This might sound really obvious,
but the best place to get Nmap for Windows is simply
by navigating to the Nmap website at nmap.org.
There are many other sites that offer
various versions of Nmap.
But why not just get it from the source?
MD5, SHA-1,
and SHA-256 hashes are available there to verify and
validate the authenticity and
integrity of downloaded files.
Downloading Nmap directly can best be performed by
going straight to nmap.org/download.
If you want to read extremely valuable details
about how Nmap runs on Windows,
including it's history on Windows,
a comparison between Npcap and WinPcap app,
registry hacks, and setting environment variables,
go to the URL I've included in this slide.
Here are a couple of more quick points.
On the Nmap download page,
you can either download the latest
stable release self installer
or you can download the latest
stable command line zip file.
With the latest stable release self installer,
you'll get one file that includes everything
necessary to install and run Nmap.
With a command line only version,
you simply get Nmap without
a couple other things that
will optimize it's performance.
There's only one reason I bring this up.
If you're performing a penetration test and
have compromised a machine that happens to have
a packet capture library and a version of
the Microsoft Visual C++
redistributable packages installed,
you should definitely try to use
the command line only version of Nmap.
As I'll show you in the removal lesson,
you'll be able to do your work,
then clear your tracks using a built-in and
rarely used Windows command line tool called cipher.
Here are the things we'll cover in this lab.
By the end of it,
your Windows computer will be ready to do
everything I do throughout the rest of
this course. Let's do it.
Welcome to the lab on installing
Nmap in Zenmap on Windows.
Open up your favorite browser in the address bar now,
type in nmap.org to go to the official Nmap website.
Now, once you're there at the top
of the page in the header,
you'll see a download link.
Click it to go to the "Download" page.
Scroll down to the section that
says, "Microsoft Windows binaries."
That section has some really good information
in it if you get stuck.
You'll see the Nmap setup.exe link
next to the latest stable release self installer,
and you'll also see the command line zip file
that I mentioned earlier.
Simply click on the self installer version
to begin your download.
Your browser might be different.
Just walk through the process of
downloading the file than finding it,
opening the folder it's in,
and double-clicking it to begin the install.
Once that starts,
>> just agree to the licensing agreement.
>> If you want to read it, you can.
Now, you'll just choose
the components that you want to install.
For this lab, we'll just leave them all
selected and just click "Next".
Then, I'll ask you where you want to install
it, we'll choose "Next".
After that's done,
the license agreement for Npcap will pop up.
Feel free to read through that if you'd like.
Then, when you're ready, click "I agree".
The installation options for Npcap will be displayed,
including some options about
the coexistence or replacement of WinPcap.
Just leave these as default, and click "Install".
This could take a little bit of time and might
temporarily disconnect your network connection.
But after it's finished, here in a little bit.
It takes some time. Click "Next", then "Finish".
Then click "Next" again,
and you'll have the option
for creating the shortcuts for Zenmap,
and a start menu folder and on the desktop.
Just leave those as a default options and click "Next."
Now, you should have an icon for Zenmap,
that GUI friend map on your desktop.
Once you're ready, we'll
verify the Zenmap shortcuts on your desktop,
and now we'll open a command prompt.
Now, let's just start with
a really simple Nmap test scan
to make sure things are working.
Type nmap space scanme.nmap.org
to run a scan of Nmaps test scan server.
Wait a couple seconds.
If you see similar results to mine,
you know that Nmap is working.
So Nmap is working,
and now you can simply type "Exit" to get
out, and we're finished.
Thanks for walking through this lab with me on
installing Nmap and Zenmap on Windows.
>> The purpose of this lesson was to find,
download, and install
Nmap on the Windows operating system.
If you're using Windows,
your machine should be ready to go.
Thanks so much for watching.
I'll talk to you in the next lesson.