News for hackers. Stuff that matters.
Re:Who's Attacking My Server? by NavinF on Sunday March 13, 2022 @11:55AM (#30662389)
Eh I’ve scanned the entire IPv4 space and tested default passwords over ssh from both AWS and my Comcast connection at home and never got banned from either one. I’m sure it can happen, but it’s no big deal.

The GP is right: If you use ed25519 keys, looking at logs and playing whack a mole with countries is just security theater for people who are new to the internet and get scared when their MOTD says “500 failed logins”.

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?
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]

Re:Who's Attacking My Server? by kkirsche on Sunday March 13, 2022 @12:22PM (#30662704)
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.
Re:Who's Attacking My Server? by NavinF on Sunday March 13, 2022 @12:21PM (#30662696)
~4 hours on a 1G port, IIRC

I’m sure you could do it a lot faster with a better CPU and 20% commit on a 10G port