Show answerHide answer
Correct answer: C Host discovery
Explanation
Explanation:A network penetration test follows a logical, phased methodology. The initial phase after connecting to the network is to understand what you are connected to. The consultant needs to map the attack surface before targeting specific systems or services.
Host discovery (also known as host enumeration or network scanning) is the absolute first step. Its goal is to answer the fundamental question: "Which IP addresses on this network are active and have live hosts?"
This is typically done using tools like ping sweeps or more advanced techniques with nmap (e.g., nmap -sn 192.168.1.0/24). This step identifies active devices but does not probe them for details. It creates the initial target list for all subsequent, more invasive steps.
Engaging in any other step before host discovery would be inefficient and illogical, as you would be probing IP addresses that might not even exist.
Analysis of Incorrect Options
A. Service discovery:
This is the step that follows host discovery. Once you know which hosts are alive, you then probe them to find out which ports are open and what services are running on those ports (e.g., nmap -sS -sV 192.168.1.10). Performing service discovery on the entire network range without first finding live hosts would be extremely slow and generate unnecessary network noise.
B. OS fingerprinting:
This is a more advanced form of service discovery. It involves analyzing the specific responses from a host to determine its underlying operating system (e.g., Windows 11 vs. Linux Ubuntu). This requires a live host to target and is performed after both host and service discovery have identified a viable target.
D. DNS enumeration:
This is a valuable information-gathering technique, but it is not the first step when you are already connected to the internal network. DNS enumeration (using tools like nslookup, dig, or dnsrecon) is often part of the external reconnaissance phase before gaining network access, or it is used internally to map hostnames to the IP addresses you discovered during the host discovery phase. It relies on knowing what to look for, which is informed by the list of live hosts.
Reference
This question aligns with the CompTIA PenTest+ (PT0-003) Domain 2.0: Information Gathering and Vulnerability Scanning and the general penetration testing methodology.
The standard sequence for network reconnaissance is:
1.Host Discovery: Find live hosts.
2.Port Scanning / Service Discovery: Find open ports and services on live hosts.
3.Version Detection & OS Fingerprinting: Interrogate the discovered services for specific versions and OS data.
4.Vulnerability Scanning: Use tools like Nessus or Nexpose to check services against a database of known vulnerabilities.