Skip to main content

What Is ZMap?

ZMap is a stateless network scanner from the ZMap Project, a collection of open source measurement tools for studying the hosts and services of the public internet. Its README states that on a gigabit connection it can scan the entire public IPv4 address space on a single port in under 45 minutes, and in under 5 minutes on a 10 GigE link with netmap or PF_RING. Probe modules cover TCP SYN scans, ICMP, DNS queries, UPnP, BACnet, and UDP probes. Banner grabs and TLS handshakes are left to its sister project ZGrab2.

Use Cases

Measuring which hosts answer on one service port across very large address ranges during authorized research and exposure surveys.

Strengths and Limitations

Strengths

  • +Probe modules for TCP SYN, ICMP, DNS, UPnP, BACnet, and UDP payloads.
  • +Pairs with ZGrab2, which performs stateful application-layer handshakes on the hosts ZMap finds.
  • +Packaged for Debian, Ubuntu, Fedora, Arch Linux, Gentoo, Homebrew, and MacPorts.

Limitations

  • -Requires root privileges to send its probes.
  • -Records which hosts respond; banner grabs and TLS handshakes need the separate ZGrab2 tool.
  • -The project warns that Internet-wide scans have ethical and operational implications and advises scanning at the slowest speed necessary.

Defensive Use

Measuring how many hosts in an organization's address space expose a given service, then checking again after remediation.

ZMap Alternatives

3 tools
ToolPricing
Masscan

Asynchronous TCP port scanner, rated by its author at up to 10 million packets per second, for large-scale network discovery in authorized environments.

Open Source
naabu

Go port scanner from ProjectDiscovery that runs SYN, CONNECT, and UDP scans and passes open ports to Nmap or httpx.

Open Source
Nmap

Network discovery scanner and port auditor for discovering live hosts, open ports, running services, and OS fingerprints.

Free / Commercial

Frequently Asked Questions

What is ZMap?→

ZMap is a stateless network scanner from the ZMap Project, a collection of open source measurement tools for studying the hosts and services of the public internet. Its README states that on a gigabit connection it can scan the entire public IPv4 address space on a single port in under 45 minutes, and in under 5 minutes on a 10 GigE link with netmap or PF_RING. Probe modules cover TCP SYN scans, ICMP, DNS queries, UPnP, BACnet, and UDP probes. Banner grabs and TLS handshakes are left to its sister project ZGrab2.

What is ZMap used for?→

Measuring which hosts answer on one service port across very large address ranges during authorized research and exposure surveys.

What are the strengths of ZMap?→
  • +Probe modules for TCP SYN, ICMP, DNS, UPnP, BACnet, and UDP payloads.
  • +Pairs with ZGrab2, which performs stateful application-layer handshakes on the hosts ZMap finds.
  • +Packaged for Debian, Ubuntu, Fedora, Arch Linux, Gentoo, Homebrew, and MacPorts.
What are the limitations of ZMap?→
  • +Requires root privileges to send its probes.
  • +Records which hosts respond; banner grabs and TLS handshakes need the separate ZGrab2 tool.
  • +The project warns that Internet-wide scans have ethical and operational implications and advises scanning at the slowest speed necessary.
How is ZMap used defensively?→

Measuring how many hosts in an organization's address space expose a given service, then checking again after remediation.