Brute-Force SSH Server Attacks Surge (InformationWeek)
Brute-Force SSH Server Attacks Surge (InformationWeek)
Posted May 14, 2008 17:23 UTC (Wed) by endecotp (guest, #36428)In reply to: Brute-Force SSH Server Attacks Surge (InformationWeek) by kssingvo
Parent article: Brute-Force SSH Server Attacks Surge (InformationWeek)
No, don't use fail2ban or denyhosts or any of the similar tools. They are in the "line of fire" and any bugs that they contain are security bugs. This isn't a theoretical problem: see http://lwn.net/Articles/216217/; denyhosts could be exploited by an attacker to add arbitrary addresses to its blocklist, including for example the IP addresses of its legitimate users. That's a serious bug and there could be more. We want less code in the line-of-fire, not more, and we want that code to be of the highest quality (as openssh is, except when it has been hacked around by an incompetent maintainer). Simple rule: use strong passwords, or disable password authentication, and don't worry about all of those failure messages in your auth log.
