Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] SSH brute force blocking tool |
|---|---|
| Date: | Tue, 28 Nov 2006 16:32:42 +0000 |
On Tue, Nov 28, 2006 at 05:14:28PM +0100, Thierry Zoller wrote:
Dear Tavis, TO> J, you have made an attempt to fix it, but is is not sufficient. TO> An attacker can still add arbitrary hosts to the deny list. Can you propose a fix ? Apart from the aggressivness of this thread I find it interesting to read (from a tech standpoint).
openssh can be configured to log to btmp, I would suggest parsing this
file, it's format is documented in utmp(5).
I wouldnt use a shell script to do so, but I suppose you could use lastb
if you really wanted to, something like `lastb -ai ssh:notty | awk '{print
$(NF)}'`.
I think increasing the codepaths that an unauthenticated attacker can
access is always going to be a bad idea, enforcing good password
policies via cracklib or jtr and just ignoring the minor irritation of
these automated attacks would be a safer bet.
Thanks, Tavis.
--
-------------------------------------
taviso@sdf.lonestar.org | finger me for my pgp key.
-------------------------------------------------------
pgpCwLJBRTAfn.pgp
Description: PGP signature
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| Previous by Date: | Re: [Full-disclosure] SSH brute force blocking tool, Tavis Ormandy |
|---|---|
| Next by Date: | Re: [Full-disclosure] Sasser, ericscher@mac.com |
| Previous by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, Thierry Zoller |
| Next by Thread: | Re: [Full-disclosure] SSH brute force blocking tool, Brian Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |