RustScan
RustScan is a port scanner written in Rust. It is open source under the GPL-3.0-only license. It runs on Linux and macOS.
Updated
- Pricing
- Open Source
- License
- GPL-3.0-only
- Platforms
- Linux, macOS
- Category
- Port and Network Scanners
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| Tool | License | Platforms | Pricing |
|---|---|---|---|
| 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. | AGPL-3.0-only | Linux, Windows, macOS, FreeBSD | Open Source |
| naabu Go port scanner from ProjectDiscovery that runs SYN, CONNECT, and UDP scans and passes open ports to Nmap or httpx. | MIT | Linux, macOS, Windows | Open Source |
| Nmap Network discovery scanner and port auditor for discovering live hosts, open ports, running services, and OS fingerprints. | NPSL-0.95 (Nmap Public Source License, not OSI-approved) | Linux, macOS, Windows | 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.