Ping scan
A ping scan is a kind of digital echolocation for detecting the hosts on a network. Learn how ping scans work, what they reveal, how they differ from port scans, and why defenders watch for them.
What is a ping scan?
A ping scan, also called a ping sweep, is a technique for discovering which IP addresses on a network belong to active devices. The scanner sends a request to each address in a range and listens for replies, much like echolocation: any address that answers is likely a live host. Administrators use ping scans for inventory and troubleshooting; attackers use them for reconnaissance.
How does a ping scan work?
- The scanner picks a range of addresses, such as an entire subnet.
- It sends an ICMP echo request ("ping") to each address, often in parallel.
- Hosts that are up and allowed to respond send back an ICMP echo reply.
- The scanner lists the addresses that answered.
Because some firewalls block ICMP, scanning tools may also use other probes, such as TCP or ARP requests on local networks, to find hosts that ignore pings.
Ping scan vs. port scan
A ping scan answers "which hosts are alive?" A port scan goes further and checks which network services are open on a host, such as SSH, RDP, or a web server. Attackers often run a ping scan first, then port-scan the hosts they found.
Why does a ping scan matter?
For IT teams, ping scans are a quick way to find devices, check reachability, and spot unknown equipment. For security teams, a sudden sweep across many addresses from one source can be an early sign of reconnaissance. Monitoring for scans and limiting what is reachable from untrusted networks reduce what attackers can learn.
Frequently asked questions
What is a ping scan?
A ping scan is a type of digital echolocation method of detecting hosts on a network by sending echo requests and recording which addresses reply.
Is a ping scan illegal?
Scanning networks you own or are authorized to test is normal. Scanning other networks without permission may break laws or policies.
Can a host hide from a ping scan?
Yes. A host can be configured not to answer ICMP, but other discovery techniques may still detect it.
Turn discovered hosts into managed connections
Centralize every type of remote connection your team uses in one platform.
Related terms
Network mapping
Network mapping is the creation of a visual representation, or "map", of connections on a network.
Read now →Ping of death
A ping of death is a cyberattack in which the attacker sends a malicious packet of data intended to cause a computer failure.
Read now →IP address
An Internet Protocol (IP) address is a unique number identifying a hardware device that connects to a network.
Read now →