x32x01
  • by x32x01 ||
In the realm of cybersecurity, network scanning tools play a vital role in reconnaissance and vulnerability assessment. Among the array of options available, Rustscan has emerged as a formidable contender, offering speed, efficiency, and versatility that distinguish it from traditional tools like Nmap.

Table of Contents
  • What sets Rustscan apart?
  • Advantages of Rustscan over Nmap
  • Usage (Docker)
  • Installation and Usage (Standalone)
  • Rustscan flags
  • Conclusion

What sets Rustscan apart?​

Rustscan is an open-source network scanner developed in the Rust programming language. Its lightweight design, optimized algorithms, and user-friendly interface make it a preferred choice for both penetration testers and security professionals.

Advantages of Rustscan over Nmap:​

Speed: It is renowned for its rapid scanning capabilities. Its multithreaded architecture and optimized algorithms enable it to scan large networks significantly faster than traditional scanners like Nmap.

Efficiency: It prioritizes efficiency, utilizing resources intelligently and minimizing overhead. This ensures that scanning tasks are completed swiftly without excessive resource consumption.

Ease of Use: With its intuitive interface and simplified command structure, Rustscan is accessible to users of all levels of expertise. Its design minimizes the learning curve typically associated with network scanning tools.

Versatility: It offers a broad range of features and customization options, allowing users to tailor their scans to specific requirements. Whether performing basic port scanning or comprehensive service enumeration, Rustscan delivers.

Usage (Docker)
Rustscan can run by pulling an image using docker. The installation guide is available here https://github.com/RustScan/RustScan/wiki/Installation-Guide

To install docker use the command:
Code:
apt install docker.io
001.png
After the docker installation, rustscan can run from the following command:
Code:
docker run -it --rm --name rustscan rustscan/rustscan:2.1.1 -a 192.168.1.7
002.png

Installation and Usage (Standalone)
Installation of Rustscan can be performed using cargo, the following command can be used:
Code:
apt install cargo
003.png
Code:
cargo install rustscan
004.png
Make sure to add the /root/.cargo/bin to the path
005.png
Code:
echo $SHELL
nano .zshrc
006.png
Add the /root/.cargo/bin as export PATH.
007.png
After installation success, Rustscan is now ready to run.
008.png

Rustscan flags

There are a number of operations which can be performed using Rustscan, below listed are the flags to perform respective operation in Rustscan.

-a : To perform a comprehensive scan of all TCP ports.
Code:
rustscan -a 192.168.1.7
009.png

010.png

–ulimit : To adjust the ulimit for file descriptors to handle large-scale scans. If the scan is running slow adding this flag with a value of 5000 will make it run faster.
Code:
rustscan -a 192.168.1.7 --ulimit 5000
011.png

-p : To define specific ports to be scanned.
Code:
rustscan -a 192.168.1.7 -p 21,22,23
012.png

-r : To perform a range scan, specific range of ports will be scanned.
Code:
rustscan -a 192.168.1.7 -r 21-50
013.png

-sC -sV : To perform default script scan and service version scan.
Code:
rustscan -a 192.168.1.7 -- -sC -sV
014.png
Results of service version and default script scan can be seen below.
015.png

Rustscan can also be used to scan the entire subnet IP addresses by just adding a /24 after the IP address.
Code:
rustscan -a 192.168.1.0/24
016.png

-g : To enable the “greppable” output format for easy parsing and analysis.
Code:
rustscan -a 192.168.1.7 -g
017.png

–accessible : Turn on accessible mode, does not print ASCII art. Also does not print very large blocks of text, as this can cause some pain with screenreaders. This reduces the information you get.
Code:
rustscan -a 192.168.1.7 --accessible
018.png
Conclusion
Rustscan represents a significant advancement in network scanning technology. Its speed, efficiency, and versatility make it an invaluable tool for cybersecurity professionals. Whether conducting routine network audits or hunting for vulnerabilities, Rustscan is a must-have in your toolkit.
 

Similar Threads

x32x01
  • x32x01
Replies
0
Views
209
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
233
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
214
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
189
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
359
x32x01
x32x01
TAGs: Tags
rustscan rustscan tool

Register & Login Faster

Forgot your password?

Latest Resources

Forum Statistics

Threads
517
Messages
518
Members
45
Latest Member
Tacola
Back
Top