2. Service and Version Detection
So now that you’ve discovered open ports like:
The next step is to identify the services running on those ports and their versions. This is important because once you know the version, you can check if there are any known vulnerabilities (CVEs).
✅ Use this Nmap command:
Explanation:
-sV
→ Detects the service and version-p
→ Tells Nmap which ports to scan-Pn
→ Skips ping (treats the host as alive)
Optional (more aggressive scan):
If you want more detailed info like OS detection and script scanning, you can add -A
:
⚠️ Warning: The -A
option is more aggressive and might trigger alerts on the target system.
Last updated