Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Z

zmap

> 编程语言
Open source

ZMap is a fast single packet network scanner designed for Internet-wide network surveys.

6.3K stars0 likes1 views
WebsiteGitHub

About

ZMap is a fast single packet network scanner designed for Internet-wide network surveys.

ZMap: The Internet Scanner

ZMap is a fast stateless single packet network scanner designed for Internet-wide network surveys. On a typical desktop computer with a gigabit Ethernet connection, ZMap is capable of scanning the entire public IPv4 address space on a single port in under 45 minutes. For example, sending a TCP SYN packet to every IPv4 address on port 25 to find potential SMTP servers. With a 10gigE connection and either netmap or PF_RING, ZMap can scan the IPv4 address space in under 5 minutes.

ZMap operates on GNU/Linux, Mac OS, and BSD. ZMap has fully implemented probe modules for TCP SYN scans, ICMP, DNS queries, UPnP, BACNET, and can send a large number of UDP probes. If you are looking to do more involved scans (e.g., banner grab or TLS handshake), take a look at ZGrab 2, ZMap's sister project that performs stateful application-layer handshakes.

[!CAUTION] Ethical Scanning

Performing Internet-wide scans can have serious ethical and operational implications. While ZMap defaults to usually safe settings, it is your responsibility to ensure that you're a good internet citizen. Rules of thumb are to scan at the slowest speed necessary, scan slower if you're scanning a smaller target space, and provide a way for network operators to opt-out. More information can be found here.

[!TIP] We've collected some helpful tips and step-by-step walkthroughs for using ZMap in isolation or in a measurement pipeline with ZGrab2 in our Getting Started section.

Using ZMap

ZMap is easy to use. A simple scan of the entire IPv4 space on TCP port 80 can be performed with the following command (requires root privileges):

bash
sudo zmap -p 80
$ sudo zmap -p 80
...
 0:00 0%; send: 5 1 p/s (185 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%
52.8.107.196
...
 0:01 0%; send: 10327 10.3 Kp/s (10.1 Kp/s avg); recv: 118 118 p/s (115 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 1.14%

If you haven't used ZMap before, we have a step-by-step Getting Started Guide that details how to perform basic scans. Documentation about all of ZMap's options and more advanced functionality can be found in our Wiki. For best practices, see Scanning Best Practices.

If you have questions, please first check our FAQ. Still have questions? Ask the community in Github Discussions. Please do not create an Issue for usage or support questions.

Installation

The latest stable release of ZMap is 4.4.0 and supports Linux, macOS, and BSD. See INSTALL for instructions on to install ZMap through a package manager or from source.

Architecture

More information about ZMap's architecture and a comparison with other tools can be found in these research papers:

  • ZMap: Fast Internet-Wide Scanning and its Security Applications
  • Zippier ZMap: Internet-Wide Scanning at 10 Gbps
  • Ten Years of ZMap

Citing ZMap

If you use ZMap for published research, please cite the original research paper:

@inproceedings{durumeric2013zmap,
  title={{ZMap}: Fast Internet-wide scanning and its security applications},
  author={Durumeric, Zakir and Wustrow, Eric and Halderman, J Alex},
  booktitle={22nd USENIX Security Symposium},
  year={2013}
}

Citing the ZMap paper helps us to track ZMap usage within the research community and to pursue funding for continued development.

License and Copyright

ZMap Copyright 2024 Regents of the University of Michigan

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See LICENSE for the specific language governing permissions and limitations under the License.

Issues· 11 open

View all issuesOpen on GitHub
  • #981

    Out-of-bounds read in TCP SYN response option parsing

    bugUpdated Aug 28, 2026
  • #980

    Remotely triggered process termination in BACnet and DNS response handling

    bugUpdated Aug 26, 2026
  • #978

    zmap-4.4.0 warning while building with cmake-3.31

    Updated Aug 3, 2026
  • #936

    Advisements about Building from Source

    Updated Jun 19, 2026
  • #943

    ZMap with PF_RING ZC — No Packets Received. Hit rate 0.0%

    Updated Jul 11, 2025
  • #849

    Use Judy1 on 64-bit Systems for Deduplication

    good first issueUpdated Jan 19, 2025
  • #837

    Expand "List of IPs" Functionality to Support "List of IPs and Ports"

    Updated Jan 19, 2025
  • #804

    Scanning Slow Start When Link Bandwidth Unknown

    Updated Jan 19, 2025
  • #725

    Prefer routable IPs when an interface has multiple addresses

    Updated Jan 19, 2025
  • #317

    ztee should output records immediately instead of waiting for the record to clear the pipe

    Updated Jan 19, 2025

> Tags

Cinternet-measurementinternet-scanningport-scannerresearch

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 25, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言