Concepts / Reconnaissance and exfiltration

Reconnaissance and exfiltration

OS fingerprinting

Also called os detection, nmap -O, stack fingerprinting

Guessing a machine's operating system from how its network code answers a few odd probes.

Small habits of the answers give the system away
Small habits of the answers give the system away

The scanner compares details such as the starting TTL, window size and TCP option order with a database. The result is the nearest match, a guess and not a fact.

OS fingerprinting is guessing a machine's operating system from how its TCP/IP code answers. Systems differ in habits: the starting TTL, the window size, the TCP options and their order, the reply to odd flags. A scanner (nmap -O) sends a few probes and compares the answers with a database. The result is a near match, often a range of versions: a guess a firewall or tuned system can mislead.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab