Re:Who's Attacking My Server?
by arjvik on Sunday March 13, 2022 @12:12PM
(#30662602)
How long did scanning the entire IPv4 space take?
[ Parent
| on HN ]
Re:Who's Attacking My Server?
by chockchocschoir on Sunday March 13, 2022 @12:42PM
(#30662978)
masscan with the right setup (namely hardware + drivers but 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: https://www.alchemistowl.org/pocorgtfo/pocorgtfo15.pdf (Page 66) [Note: PDF is both a valid PDF + valid ZIP file with source code]
That depends on the machine you are using. Tools like mass scan to locate open ssh ports and then testing them doesn’t need to take long if you have a beefy machine and pipe to the internet.