Re: SSH brute forcing attacks
[email protected] Tue, 17 May 2005 15:02:52 -0600 (MDT)
| Newsgroups | gmane.comp.security.intrusions |
|---|---|
| Message-ID | <[email protected]> |
> However, in view of these attacks I have implemented a dynamic filter > via system-wide logging - multiple login failures across monitored > machines will result in the source being blocked. I'm curious about how you implemented this. Would you care to share? I hacked together something that greps for failed logins once a minute, and adds all the IPs to the hosts.deny list. It is a terrible hack, isn't efficient, and if I mess up my own login, I'll block MYSELF for the next week. It tangles up the scripts a little, but even so, it doesn't work all that well -- in the less-than-sixty seconds between an attack and a block, the attackers can try quite a few logins. I've been sorely tempted to add blocking directly into the SSH server, but it hasn't bothered me enough, yet. Perhaps a little tarpitting is in order, here? _______________________________________________ Intrusions mailing list [email protected] http://www.dshield.org/mailman/listinfo/intrusions