Scanning the target operating system (Part 2) builds on the basic host and port discovery done in Part 1 and moves into deeper service analysis and better target profiling. At this stage, the goal is not only to know which ports are open, but also to understand what services are running on those ports, what versions may be present, and what those results suggest about possible weaknesses. In a Metasploit lab, this deeper scan is what helps you move from general reconnaissance to informed exploit selection.
Part 2 usually focuses on more detailed scanning techniques such as service/version detection, banner identification, and stronger operating system fingerprinting. A target may have multiple services open, but not all of them are equally useful for testing. By identifying versions and service details, you can narrow your focus to the most relevant attack surface. For example, knowing that a web server is running is useful, but knowing the server version, associated application stack, or exposed scripts is much more useful when planning the next step.
This stage also teaches an important skill: interpreting scan results carefully instead of trusting them blindly. OS detection and service fingerprinting are often based on patterns and response signatures, which means results can be very accurate in a lab but still require verification. Firewalls, custom configurations, filtered ports, or unusual network behaviour can affect the output. A professional approach is to treat scan results as strong clues, then confirm them through additional checks and documentation before using Metasploit modules.
In many lab scenarios, Part 2 helps you identify:
- likely operating system family (Windows/Linux)
- service versions on key ports
- web technologies or banners
- potentially outdated or vulnerable services
- extra details that were not visible in a basic port scan
This topic is also where your documentation becomes more structured. In addition to listing open ports, you should begin building a target profile that includes service names, versions, probable OS, and notes about confidence level (for example, “OS likely Windows, verify via SMB/RDP behaviour”). This improves your workflow in the next stages, especially when choosing Metasploit modules, setting payloads, and troubleshooting failed attempts.
By the end of Part 2, you should be able to perform deeper target scanning in your authorised lab, interpret service and OS detection results with better accuracy, and create a stronger target profile that supports safe, precise, and more effective Metasploit exploitation practice.

