Skip to content
OSINTtools.io

Masscan

Verified today

Very fast asynchronous TCP port scanner built to sweep large address ranges with nmap-like options.

C CLI (Linux, macOS, Windows) · Open source · Infrastructure and domains · github.com

Takes
IP
Pricing
Free, open source
Footprint
Active · contacts the target
Account
Not needed
API
No public API
Last verified
Nov 26, 2026
Summary

Very fast asynchronous TCP port scanner built to sweep large address ranges with nmap-like options. It takes IP address. Read the cons before you build a workflow on it.

What it does

Masscan is an open-source port scanner written in C by Robert Graham. It sends SYN packets asynchronously through its own TCP/IP stack, which lets a single machine scan very large address ranges quickly. Its command-line options and output are modelled on nmap, so it is easy to pick up for anyone who knows that tool.

Researchers use it to map which hosts in a network range expose given ports before handing a short list to slower, deeper tools. Because it uses its own network stack, the README recommends setting a separate source IP or source ports and firewalling them from the host system.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is no public API.

Pros
  • +Extremely fast on large ranges
  • +Familiar syntax for nmap users
  • +No dependencies beyond a C compiler
  • +Actively maintained
Cons
  • −Active scanning that targets will see and may block or report
  • −Built for breadth; it does not do deep service or OS detection like nmap
  • −Scanning networks without permission may break laws or provider terms

When to use it

  1. 01Use it when you need to find open ports across a large range you are authorised to scan.
  2. 02Use it when you want a fast first pass before running nmap on the hosts that answered.
Key featuresAsynchronous SYN scanningArbitrary port and address rangesIPv4 and IPv6 targetsnmap-style options and outputConfig file via --echoBuilds on Linux, Windows and macOS

Next steps from this result

Suggested from the inputs Masscan takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Build from source (Debian/Ubuntu)
sudo apt-get --assume-yes install git make gcc
git clone https://github.com/robertdavidgraham/masscan
cd masscan
make

Technical details

Listing verified by an editor on Nov 26, 2026
API
No public API
Account
Not needed
Footprint
Active · contacts the target
Pricing
Free, open source
Platforms
C CLI (Linux, macOS, Windows)
Repository
robertdavidgraham/masscan 26,185 stars
Language
C
Licence
AGPL-3.0
Last commit
Oct 2026
Listed
Nov 26

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used Masscan? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to Masscan

Listed tools that take the same inputs, closest match first.

MasscanOpen source · verified today
Visit github.com (opens in new tab)