Practical documentation · Authorized use only
RustScan
RustScan rapidly identifies reachable TCP ports and can hand results to Nmap for controlled service inspection. Its speed makes scope control especially important: use explicit hosts, low-impact settings, and do not interpret an open port as a vulnerability.
Start safely and get useful results
Best for
- • Authorized port inventory
- • Lab service discovery
Not for
- • Internet-wide probing
- • Automatic exploitation
Before you run anything
- • Document the authorized target, time window, success criteria, data-handling rules, and a named stop contact before you begin.
- • Confirm the installed version with the tool’s version or help command, then compare its documented behavior with the linked upstream project before relying on any option.
Practical workflows
Scan one local lab host
Scenario: Confirm exposed services on a disposable virtual machine.
rustscan -a 127.0.0.1 --ulimit 5000Target only localhost and use the documented file-descriptor setting for the local test.
Expected use: Expect a list of reachable TCP ports; validate service ownership before deeper inspection.
Hand bounded results to service detection
Scenario: A lab host needs a service inventory after port discovery.
rustscan -a 192.0.2.10 -- -sV -PnPass only the approved single host to Nmap service/version detection; -Pn avoids host discovery assumptions.
Expected use: Version banners are hypotheses and may be suppressed or proxied.
Interpret results like an analyst
- • Open means a TCP handshake was possible at that time; it does not define protocol, exposure, or business owner.
- • Compare results with firewall rules and the declared service inventory.
Common mistakes and operating tips
Avoid
- • Using high concurrency on shared or fragile systems.
- • Passing discovery output directly into broad scripts without validating scope.
Operational discipline
- • Treat command output as evidence, not a conclusion: retain the command, version, scope, timestamp, and a redacted result in the engagement record.
- • Start with the smallest safe scope, validate expected behavior in a lab or pilot, then expand only when the authorization and monitoring plan support it.
Verify against the current upstream
Tool behavior and release syntax can change. Treat this guide as practical operating context, then verify version-specific details against the upstream project before an assessment.
Open authoritative upstream documentation