lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 01 Dec 2006 13:17:26 +0100
From: Tonnerre Lombard <>
To: "J. Oquendo" <>
Subject: Re: SSH brute force blocking tool


On Fri, 2006-12-01 at 06:59 -0500, J. Oquendo wrote:
> >> Nov 27 16:31:21 local sshd[67010]: Illegal user dd from
> >> awk '($5=="Illegal"||$6=="Illegal")&&$9=="from"{print $10}'
> >
> > What if I set my user name to "bikermice from mars"? Are you going to
> > blacklist mars then?
> Apparently you are as stupid as your question is. The syntax won't allow 
> to pass off anything. Try it before responding idiotically

Did you even try it? And what exactly in this awk statement would
prevent me from inserting mars in this case? The log statement would
look like this:

Nov 27 16:31:21 local sshd[67010]: Illegal user bikermice from mars from

In this case, your awk statement checks that argument $6 is
"Illegal" (which it is) and argument $9 is "from" (which it is). So it
takes $10 and prints it (in this case, mars.)

If you check $10 to look like an IP address, I set my username to
"bikermice from", you're going to blacklist
because it is a valid IP.

SyGroup GmbH
Tonnerre Lombard

Solutions Systematiques
Tel:+41 61 333 80 33    Roeschenzerstrasse 9
Fax:+41 61 383 14 67    4153 Reinach BL

Download attachment "signature.asc" of type "application/pgp-signature" (826 bytes)

Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia -

Powered by blists - more mailing lists