Service fingerprinting
In this recipe, we will look at how to analyze the open port to determine what kind of service(s) are running on the open port(s). This will help us understand if the target IP is running any vulnerable software. That is why fingerprinting is a necessary and a very important step.
Getting ready
We will use nmap to fingerprint the services of the target IP. Nmap is a multi-functional tool that performs jobs ranging from host discovery to vulnerability assessment; service fingerprinting is also a part of it.
How to do it...
The steps are as follows:
- Using nmap, run the following command in terminal to achieve the service enumeration result:
nmap -sV <IP address>
The will be as shown in the following screenshot:
- We can even enumerate the UDP services running on the target IP, by using the UDP scan switch along with the service-detection switch:
Nmap -sU -sV <IP address>
The output will be as shown in the following screenshot:
- We can speed up the scan using...