Ping sweep

active_directory_enumeration_attacks activerecon

We often use the ping command to check if the host is up. If the host answers, we assume that the host is up and we can interact with it.

If the host doesn't answer, then either it's down, our packets are filtered by a firewall, or it doesn't reply to ICMP requests πŸ’€.

If a host doesn't reply to a ping and we know it's up, we may change our strategy, e.g. adapting our commands. For instance, we may use nmap -Pn [...] to disable ICMP checks.

Usages

Refer to the ping documentation for usage.

Refer to the nmap for a Ping scan (-sn,-iL).

You can use the fping command:

$ fping -asgq 172.20.0.0/23