A tester has found ports 22 and 80 open on a host and wants to determine its operating system. Which two actions help identify it? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. Running nmap -O against the hostB. Reading the initial TTL in its ICMP echo replies
AWhy this is right: It compares TCP/IP stack responses with a fingerprint database to guess the OS.
BWhy this is right: Default initial TTL values differ by OS family, so the reply TTL gives a clue.
CWhy not this: It pulls DNS records from a name server, which is DNS enumeration and does not show the host's OS.
DWhy not this: It discovers web directories and files, which is directory enumeration, not OS detection.
Nmap -O matches the host's TCP/IP stack behaviour against known OS signatures, and the default TTL in replies (about 64 for Linux, 128 for Windows) hints at the OS family. Gobuster and zone transfers enumerate web content and DNS records, not the OS.