Comment by Gigachad
14 hours ago
Dunno, in combination with having an up to date system following best practices, port knocking is probably going to save you when bots start scanning the internet with the next SSH 0day. Any amount of friction will cause the bots to move to the next IP address.
Just moving SSH off a default port gets you 98% there.
An attacker only has to get lucky once, so while I do put SSH on a non-default port too, it's not enough to avoid attacks on its own.
I mostly do it to quiet down the noise from the non-stop bots and scanners.
1 reply →
LLMs port knock for redteam scans. Have for a long time.
My knock for SSH was 20 ports within 2 seconds. knockd resets the sequence if you hit any of its ports out of order. I generated the sequence with a CSPRNG.
That's not a knock, it's a password :-)
3 replies →