What does the -O option do in Nmap?

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in your exam!

Multiple Choice

What does the -O option do in Nmap?

Explanation:
OS fingerprinting is what the -O option enables in Nmap. It works by sending a set of probes and analyzing how the target’s TCP/IP stack replies—looking at factors like TTL, window size, and IP identification—to infer the operating system. This is separate from banner grabbing or service version detection. Banner grabbing and version info come from other features, while -O specifically focuses on guessing the OS. If you want a broader scan that also includes versions and scripts, you’d use the aggressive option (-A). Note that OS detection can require root privileges on some systems and may be affected by firewalls or network middleboxes.

OS fingerprinting is what the -O option enables in Nmap. It works by sending a set of probes and analyzing how the target’s TCP/IP stack replies—looking at factors like TTL, window size, and IP identification—to infer the operating system. This is separate from banner grabbing or service version detection. Banner grabbing and version info come from other features, while -O specifically focuses on guessing the OS. If you want a broader scan that also includes versions and scripts, you’d use the aggressive option (-A). Note that OS detection can require root privileges on some systems and may be affected by firewalls or network middleboxes.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy