Skip to main content

What Is RustScan?

RustScan is a port scanner written in Rust. Its README states that it can scan all 65k ports in as little as 3 seconds. It passes open port lists to Nmap for detailed service enumeration. The tool also supports custom follow-up commands through Nmap or user-defined scripts.

Use Cases

Use RustScan to get a quick port inventory of a host or network, then hand off open ports to Nmap or other tools for deeper inspection.

Strengths and Limitations

Strengths

  • +Adaptive learning features tune scan settings to the host OS and environment.
  • +Pipes results directly into Nmap to combine speed and depth.
  • +Supports CIDR ranges, IPv6, and custom scripts for follow-up actions.

Limitations

  • -The default rate of about 3,000 ports per second makes scans obvious to the target and can get the source IP address blocked.
  • -Requires follow-up tools such as Nmap to identify service versions and exact banner data.
  • -Windows is not officially supported, although release binaries and the Docker image can run there.

Defensive Use

Use RustScan during asset-discovery exercises to build an accurate inventory of exposed services, then close or restrict unnecessary open ports.

RustScan 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 RustScan?→

RustScan is a port scanner written in Rust. Its README states that it can scan all 65k ports in as little as 3 seconds. It passes open port lists to Nmap for detailed service enumeration. The tool also supports custom follow-up commands through Nmap or user-defined scripts.

What is RustScan used for?→

Use RustScan to get a quick port inventory of a host or network, then hand off open ports to Nmap or other tools for deeper inspection.

What are the strengths of RustScan?→
  • +Adaptive learning features tune scan settings to the host OS and environment.
  • +Pipes results directly into Nmap to combine speed and depth.
  • +Supports CIDR ranges, IPv6, and custom scripts for follow-up actions.
What are the limitations of RustScan?→
  • +The default rate of about 3,000 ports per second makes scans obvious to the target and can get the source IP address blocked.
  • +Requires follow-up tools such as Nmap to identify service versions and exact banner data.
  • +Windows is not officially supported, although release binaries and the Docker image can run there.
How is RustScan used defensively?→

Use RustScan during asset-discovery exercises to build an accurate inventory of exposed services, then close or restrict unnecessary open ports.