Skip to main content

What Is naabu?

naabu is a port scanning tool written in Go that runs SYN, CONNECT, and UDP scans against hosts, host lists, CIDR ranges, and ASNs, and lists every port that returns a reply. It can enumerate ports passively from the Shodan InternetDB, skip full port scans of CDN and WAF addresses, and detect service versions with nmap-service-probes. Output is JSON, CSV, text, or Nmap-compatible XML, and results pipe into other ProjectDiscovery tools such as httpx.

Use Cases

Port discovery across many hosts during authorized assessments and bug bounty programs, feeding open ports into Nmap, httpx, or other tools.

Strengths and Limitations

Strengths

  • +Passive port enumeration from the Shodan InternetDB.
  • +Skips full port scans on CDN and WAF addresses and checks only ports 80 and 443 there.
  • +Writes Nmap-compatible XML and greppable output alongside JSON and CSV.

Limitations

  • -Requires the libpcap library, or Npcap on Windows, for packet capture.
  • -The README warns that raising the packet rate can increase false positives.

Defensive Use

Inventorying exposed ports across an organization's domains, CIDR ranges, and ASNs to find services that should not be reachable.

naabu 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
Nmap

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

Free / Commercial
RustScan

Modern Rust-based port scanner that maps open ports quickly and feeds results into Nmap for detailed follow-up service enumeration.

Open Source

Frequently Asked Questions

What is naabu?→

naabu is a port scanning tool written in Go that runs SYN, CONNECT, and UDP scans against hosts, host lists, CIDR ranges, and ASNs, and lists every port that returns a reply. It can enumerate ports passively from the Shodan InternetDB, skip full port scans of CDN and WAF addresses, and detect service versions with nmap-service-probes. Output is JSON, CSV, text, or Nmap-compatible XML, and results pipe into other ProjectDiscovery tools such as httpx.

What is naabu used for?→

Port discovery across many hosts during authorized assessments and bug bounty programs, feeding open ports into Nmap, httpx, or other tools.

What are the strengths of naabu?→
  • +Passive port enumeration from the Shodan InternetDB.
  • +Skips full port scans on CDN and WAF addresses and checks only ports 80 and 443 there.
  • +Writes Nmap-compatible XML and greppable output alongside JSON and CSV.
What are the limitations of naabu?→
  • +Requires the libpcap library, or Npcap on Windows, for packet capture.
  • +The README warns that raising the packet rate can increase false positives.
How is naabu used defensively?→

Inventorying exposed ports across an organization's domains, CIDR ranges, and ASNs to find services that should not be reachable.