Masscan – Worlds fastest scanner can scan the entire Internet in under 6 minutes, transmitting 10 million packets per second.
Masscan is an Internet-scale port scanner, useful for large-scale surveys of the Internet, or of internal networks.
While the default transmit rate is only 100 packets/second, it can optionally go as fast as 25 million packets/second, a rate sufficient to scan the Internet in 3 minutes for one port.
It produces results similar to Nmap, the most famous port scanner. Internally, it operates more like scanrand, unicornscan, and ZMap, using asynchronous transmission.
The major difference is that it’s faster than these other scanners. In addition, it’s more flexible, allowing arbitrary address ranges and port ranges. In this Kali Linux tutorial, we introduce you to Massscan.
Also Read How to perform Information Gathering in Kali using NMAP – A Detailed Explanation
NOTE: It uses a custom TCP/IP stack. Anything other than simple port scans will cause conflict with the local TCP/IP stack. This means you need to either use the -S option to use a separate IP address or configure your operating system to firewall the ports that Masscan uses.
On Debian/Ubuntu:
$ sudo apt-get install git gcc make libpcap-dev
$ git clone https://github.com/robertdavidgraham/masscan
$ cd masscan
$ make
The source consists of a lot of small files, so building goes a lot faster by using the multi-threaded build:
$ make -j
Here is how you might use it:
masscan 10.0.0.0/8 -p443 -S 10.1.2.53 --rate 100000 --heartbleed
This command explained:
The output on the command line will look like the following:
Discovered open port 443/tcp on 10.20.30.143 Banner on port 443/tcp on 10.20.30.143: [ssl] cipher:0xc014 Banner on port 443/tcp on 10.20.30.143: [vuln] SSL[heartbeat] SSL[HEARTBLEED]
You can follow us on Linkedin, Twitter, and Facebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep yourself self-updated.
Also, Read
10 Best Vulnerability Scanner Tools For Penetration Testing – 2023
The VIPKeyLogger infostealer, exhibiting similarities to the Snake Keylogger, is actively circulating through phishing campaigns. …
INTERPOL has called for the term "romance baiting" to replace "pig butchering," a phrase widely…
Cybersecurity experts are sounding the alarm over a new strain of malware dubbed "I2PRAT," which…
A new cyber campaign by the advanced persistent threat (APT) group Earth Koshchei has brought…
Recent research has linked a series of cyberattacks to The Mask group, as one notable…
RiseLoader, a new malware family discovered in October 2024, leverages a custom TCP-based binary protocol…