Determining the OS using nmap and xprobe2
In this recipe, we will be using tools to what kind of system the target IP is running on. Mapping a target IP with a operating system is necessary to help shortlist and verify vulnerabilities.
Getting ready
In this recipe, we will use the tool to determine the operating system. All we require is an IP address against which we will run the OS enumeration scan. Others tools that can be used are hping and xprobe2.
How to do it...
Let begin by the system:
- Open and type the following:
nmap -O <IP address>
The output will be as shown in the following screenshot:
We can use advanced operators to help us find out the operating system in a more aggressive manner. Type the following command in terminal:
nmap O --osscan-guess <IP address>
The will as in the screenshot:
This shows that using additional parameters of the operating system detection in nmap, we can get a probable idea of the best fit.
- Xprobe2 uses a different to nmap...