In this recipe, we will be using tools to determine what kind of operating system the target IP is running on. Mapping a target IP with a corresponding operating system is necessary to help shortlist and verify vulnerabilities.
In this recipe, we will use the nmap 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.
Let us begin by determining the operating system:
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 ...