Hacker GitHub

← All repos

robertdavidgraham/masscan

View on GitHub ↗ ★ 26,121 C

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.

51 mentions on Hacker News by 49 people: 7 stories, 44 comments · first 2013-09-14 · latest 2025-10-13

Mentions per year 51 mentions · busiest year 2020 (10)
20082026
  1. Agree re: no need for heap allocation - for others: I recommend reading thru whole masscan source ( https://github.com/robertdavidgraham/masscan ), it's a pleasure btw - iirc rather few/sparse malloc()s which are part of regular I/O…
  2. …at his code (for a port scanner that can scan the entire Internet in 5 minutes, whew) on GitHub: https://github.com/robertdavidgraham/masscan
    comment by nostrademons · 2025-09-24 · in That Secret Service SIM farm story is bogus
  3. …battleship game, but scanning the whole internet on the other hand only take a few minutes[1] [1]: https://github.com/robertdavidgraham/masscan
    comment by augusto-moura · 2025-08-10 · in How I use Tailscale
  4. …requests to open web ports. [1] Turns out you can port-scan the entire internet in under 5 minutes: https://github.com/robertdavidgraham/masscan
  5. …a lot. It's a nice dream of "owning" the attackers but it doesn't have a real security value. [1] https://github.com/robertdavidgraham/masscan
  6. banner checking to a large degree. e.g. https://github.com/robertdavidgraham/masscan
  7. A lot of these seem to use zmap ( https://github.com/zmap/zmap ) or masscan ( https://github.com/robertdavidgraham/masscan ) for the initial scan. Often with default parameters such as zmap setting ip id to 54321, having tcp initial window…
  8. I'm not sure about the article, but the blazingly-fast IP scanner sounds a lot like Masscan: https://github.com/robertdavidgraham/masscan It can scan the entire Internet in 5 minutes and has received a lot of press.…
    comment by troydavis · 2023-03-02 · in Ask HN: Looking for an Old Article
  9. "Not hard", to say the least, yeah: https://github.com/robertdavidgraham/masscan
  10. …also connection obviously) can scan the entire IPv4 space (+ all ports) in ~5 minutes. Source Code: https://github.com/robertdavidgraham/masscan Article from PoC || GTFO with more internal details on how it works:…
    comment by chockchocschoir · 2022-03-13 · in Who's Attacking My Server?
  11. …and well-built tool. Excellent use of sequence numbers for stateless send/receive (SYN cookies): https://github.com/robertdavidgraham/masscan/blob/master/src... (very well-documented source too, a pleasure to read). I once (2016) used it…
  12. Well, keep reading the README, then :) see PF_RING: https://github.com/robertdavidgraham/masscan#pf_ring
  13. …and find targets in an automated fashion. It advertises scanning the internet in 5 minutes. [0]: https://github.com/robertdavidgraham/masscan
  14. If you read these comments organizations are threatening legal action and reports to law enforcement. https://github.com/robertdavidgraham/masscan/blob/master/dat...
  15. …#Information Security Officer #General Dynamics #Electric Boat # #C 860-625-0605 #P 860-433-1553 https://github.com/robertdavidgraham/masscan/blob/master/dat...
  16. The tool that can do it in 6 minutes is massscan, the original repo of which is the link of the post: https://github.com/robertdavidgraham/masscan Note that "scan the internet in 6 minutes" only means this tool is capable of generating…
  17. …explicitly acknowledges that the tool is meant to mass-scan the internet and that it's a bad thing: https://github.com/robertdavidgraham/masscan#how-to-scan-the... >While useful for smaller, internal networks, the program is really…
  18. …to the maintainer/author of this software. You can read them here, in the ip range blacklist: https://github.com/robertdavidgraham/masscan/blob/master/dat... If you don't want people on the internet to connect to your server, then you…
  19. This is entertaining: https://github.com/robertdavidgraham/masscan/blob/master/dat...
  20. …probably run massscan[1] while out at lunch and probably touch every ipv4 host on the internet. https://github.com/robertdavidgraham/masscan
  21. …proverbial script kiddie running a scan from home, but are those really a threat to your SSH setup? https://github.com/robertdavidgraham/masscan
  22. …You'd still be advised to disable password-based auth and/or configure fail2ban, though. [1] https://github.com/robertdavidgraham/masscan
    comment by kees99 · 2020-01-23 · in Persistant SSH Threats?
  23. …is a tire fire, but it worked well for what we needed :) [1] https://github.com/sdshlanta/ssher [2] https://github.com/robertdavidgraham/masscan
  24. In fact, there's a tool that claims to scan the internet in 6 minutes: https://github.com/robertdavidgraham/masscan
  25. …useful, let me know :)). [1]: https://en.wikipedia.org/wiki/Format-preserving_encryption#T... [2]: https://github.com/robertdavidgraham/masscan/blob/6c15edc280... [3]: https://github.com/bbc2/shuffled
    comment by berbc · 2019-02-14 · in Fast Perfect Hashing
  26. …defcon.org/DEF%20CON%2024/DEF%20CON%2024%20pre... [1] https://www.youtube.com/watch?v=o7qDVZr0t2c [2] https://github.com/robertdavidgraham/masscan
    comment by DyslexicAtheist · 2019-02-09 · in I scanned Austria
  27. https://zmap.io/ https://github.com/robertdavidgraham/masscan it will be attacked within minutes, you should start a honeypot and see for yourselves
  28. …but I would expect many instances of scanning would be seen everyday. [0]: https://zmap.io/ [1]: https://github.com/robertdavidgraham/masscan [2]: https://memcachedscan.shadowserver.org/
  29. I wonder if you could use nmap or something like masscan( https://github.com/robertdavidgraham/masscan ) to figure the IP addresses of people using a certain software(say mongodb on port 27017). And then reverse looking up those IPs to…
    comment by RabbitmqGuy · 2017-01-12 · in How We Found All of Optimizely's Clients
  30. https://github.com/robertdavidgraham/masscan
  31. …dangers of making queries on a user's behalf. Good list of ipv4 ranges you should not allow: https://github.com/robertdavidgraham/masscan/blob/master/dat...
    comment by Pharaoh2 · 2016-10-10 · in EC2's most dangerous feature
  32. masscan: https://github.com/robertdavidgraham/masscan
  33. Scanning. See for example: https://github.com/robertdavidgraham/masscan
  34. Yep, worth a read, especially if you're considering doing this kind of scan for yourself. https://github.com/robertdavidgraham/masscan/blob/master/dat...
    comment by voltagex_ · 2016-08-10 · in MASSCAN: Mass IP port scanner
  35. …send the packets that fast. No promises the target will be able to respond that fast. See https://github.com/robertdavidgraham/masscan
    comment by devicenull · 2016-05-22 · in TOTP SSH port fluxing
  36. another, newer alternative is https://github.com/robertdavidgraham/masscan note that doing this is a very good way to get angry letters from your ISP
    comment by ATsch · 2016-03-27 · in VNC Roulette
  37. Pentester: I'll use mass scan, someone else already solved this problem. https://github.com/robertdavidgraham/masscan
  38. …analyze, or generate traffic on levels which are at least the the scale of a large company (e.g. https://github.com/robertdavidgraham/masscan ).
  39. …if you don't want to pay shodan for search results, you could run your own port scan using masscan( https://github.com/robertdavidgraham/masscan ) by running the command masscan -p27017 0.0.0.0/0 --excludefile data/exclude.conf Be warned…
  40. Here ya go: https://github.com/robertdavidgraham/masscan @collinrm I just took masscan, changed the HTTP request, then tweeked the code to generate a small TTL. Source: https://twitter.com/ErrataRob/status/583433175302479872
    comment by itistoday2 · 2015-04-02 · in Pin-pointing China's attack against GitHub
  41. …to hit every space and they've never been quite as efficient in space/time complexity as his. [ https://github.com/robertdavidgraham/masscan#randomization ]
  42. …back at their source IPs. Massscan ships with an exclude list which you would do well to utilize: https://github.com/robertdavidgraham/masscan/blob/master/dat... If you try to run an internet wide massscan without this list, it will stop…
  43. not related to this project, but rob is the instigator for massscan ( https://github.com/robertdavidgraham/masscan ) as well, whic claims to scan the entire ipv4 space in approx 6 minutes!!!
  44. Reading through the source code, there's actually a reasonably well used goto ( https://github.com/robertdavidgraham/masscan/blob/master/src... )
    comment by swalsh · 2013-09-14 · in We scanned the Internet for port 22