4 ms·
>but it still reduces attacks by quite a bit. But that's a wrong metric to optimize for. Cutting down the number of "attacks" by 90% doesn't improve your secur
by gruez 7y ago
>but it still reduces attacks by quite a bit.
But that's a wrong metric to optimize for. Cutting down the number of "attacks" by 90% doesn't improve your security. If your server has a vulnerability that can be picked up by script kiddie scanners, changing the default port only delays the inevitable.
- Sohcahtoa82 7y agoI think the idea isn't to increase security, but to decrease log spam from attacks that are attempted but won't work. For example, if you don't have WordPress, then all the attempts to access /wp-admin will never work, but will fill your logs with 404 errors.
- Avamander 7y agoIt does improve security by improving the SNR in logs.
- CommieBobDole 7y agoI don't agree with this at all - 'delaying the inevitable' is 90% of security; it's the basic assumption when practicing defense in depth. You scan for and patch known vulnerabilities, and assume that some unknown ones still remain. You deploy WAF to block some of the unknowns or at least make them harder to exploit. You harden the host and segregate the network to make it harder for the attacker to move laterally when they manage to exploit something anyway. You use SIEM or just regular log review to hopefully catch attackers that have been delayed by your defensive measures. Putting your service on a non-default port is a perfectly valid measure as part of a larger defensive strategy. It has its pros and cons, you've got to be aware of what threats it mitigates and what it doesn't, but it can be useful.