GPEN · Question #186
TCP/IP stack fingerprinting is the passive collection of configuration attributes from a remote device during standard layer 4 network communications. The combination of parameters may then be used…
The correct answer is A. nmap -O -p. Nmap's -O switch enables OS detection by analyzing TCP/IP stack response characteristics from the target, which is the definition of TCP/IP stack fingerprinting.
Question
TCP/IP stack fingerprinting is the passive collection of configuration attributes from a remote device during standard layer 4 network communications. The combination of parameters may then be used to infer the remote operating system (OS fingerprinting), or incorporated into a device fingerprint. Which of the following Nmap switches can be used to perform TCP/IP stack fingerprinting?
Options
- Anmap -O -p
- Bnmap -sS
- Cnmap -sU -p
- Dnmap -sT
How the community answered
(66 responses)- A85% (56)
- B5% (3)
- C2% (1)
- D9% (6)
Why each option
Nmap's -O switch enables OS detection by analyzing TCP/IP stack response characteristics from the target, which is the definition of TCP/IP stack fingerprinting.
The nmap -O switch instructs Nmap to perform OS detection by sending a series of specially crafted TCP and UDP probes and comparing the responses against its OS fingerprint database, directly implementing TCP/IP stack fingerprinting. The -p flag allows targeting specific ports to improve accuracy of the fingerprinting process.
nmap -sS performs a TCP SYN half-open stealth scan to enumerate open ports, and does not analyze TCP/IP stack attributes or produce an OS fingerprint.
nmap -sU -p performs a UDP port scan to discover open UDP services, and does not collect TCP/IP stack configuration attributes for OS inference.
nmap -sT performs a full TCP connect scan that completes the three-way handshake to identify open ports, but does not perform OS detection or TCP/IP stack fingerprinting.
Concept tested: Nmap OS detection flag for TCP/IP stack fingerprinting
Source: https://nmap.org/book/man-os-detection.html
Topics
Community Discussion
No community discussion yet for this question.