4 ms·
> Let’s say that there’s a new zero day out for OpenSSH that’s owning boxes with impunity. Is anyone willing to argue that someone unleashing such an attack wou
by lmm 10y ago
> Let’s say that there’s a new zero day out for OpenSSH that’s owning boxes with impunity. Is anyone willing to argue that someone unleashing such an attack would be equally likely to launch it against non-standard port vs. port 22? If not, then your risk goes down by not being there, it’s that simple.
You need to compare equal-cost approaches to security. For the amount of effort it takes to use a non-standard port, you could use a real security measure like single-use passwords instead - which would increase your security more?
And you need to measure what your outcomes look like. If there's a new zero-day, do you really think those 5 attacks on the non-standard port won't use it? Do you think a targeted attack wouldn't use it? The result of getting caught in an ssh-scan of the whole internet is relatively benign - your server gets used to send some spam, you wipe it and rebuild. That's not the existential threat that security measures are about preventing.