Concepts / Reconnaissance and exfiltration

Reconnaissance and exfiltration

Host discovery

Also called ping sweep, ping scan

Finding which addresses on a network belong to a machine that is up, before looking at any port.

Any answer means the host is up
Any answer means the host is up

On its own network the scanner asks by ARP, which a host cannot ignore. Across a router it pings and tries TCP ports; even a reset proves the host is there, and silence may only be a filter.

Host discovery is finding which addresses on a network have a machine that is up, before any port is scanned (nmap -sn). On its own network the scanner asks by ARP, which a machine must answer to be reached, so one that ignores ping still shows up. Across a router it pings and tries TCP ports 443 and 80: any answer, even a reset, means up. -Pn skips the check.

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