312-50V13 · Question #357
You have compromised a server on a network and successfully opened a shell. You aimed to identify all operating systems running on the network. However, as you attempt to fingerprint all machines in t
The correct answer is D. OS Scan requires root privileges.. The Nmap error message and the requirement for TCP/IP fingerprinting indicate that the OS scan (-O) failed because Nmap requires root privileges to craft and send raw packets for accurate operating system detection.
Question
Options
- AThe nmap syntax is wrong.
- BThis is a common behavior for a corrupted nmap application.
- CThe outgoing TCP/IP fingerprinting is blocked by the host firewall.
- DOS Scan requires root privileges.
How the community answered
(47 responses)- A15% (7)
- B4% (2)
- C2% (1)
- D79% (37)
Why each option
The Nmap error message and the requirement for TCP/IP fingerprinting indicate that the OS scan (`-O`) failed because Nmap requires root privileges to craft and send raw packets for accurate operating system detection.
The Nmap syntax `nmap -T4 -O 10.10.0.0/24` is syntactically correct for an OS scan on the specified subnet with a timing template.
While a corrupted application can cause issues, the specific error message concerning 'TCP/IP fingerprinting' directly points to a functional limitation (lack of privileges) rather than a general application corruption.
If a host firewall were blocking the outgoing TCP/IP fingerprinting, Nmap would likely report timeouts or filtered ports, not a 'QUITTING!' message that suggests a local operational failure due to insufficient permissions.
Nmap's OS detection feature, activated by the `-O` flag, requires root (or administrator on Windows) privileges to craft and send raw IP packets necessary for TCP/IP fingerprinting. Without these elevated permissions, the operating system prevents Nmap from performing the low-level network operations needed for OS detection, leading to the 'QUITTING!' error.
Concept tested: Nmap OS detection and root privileges
Source: https://nmap.org/book/man-root-privileges.html
Topics
Community Discussion
No community discussion yet for this question.