Full Disclosure mailing list archives

Re: Modifying SSH to Capture Login Credentials from Attackers


From: Kurth Bemis <kurth.bemis () gmail com>
Date: Tue, 29 Sep 2009 15:58:00 -0400

Aren't all auth failures stored in /var/log/auth (or something similar)?
and won't most log-watching and reporting packages report failed login
attempts already?

~k
On Tue, 2009-09-29 at 12:25 -0700, my.hndl wrote:
If you've ever had your SSH server dictionary attacked and wondered
what usernames / passwords the attackers were trying...

I've posted detailed instructions on modifying openssh on Ubuntu 9.04
in order to log username / password attempts made by bots.  This
information can then be used to track down the tools / dictionaries
being used against you, and may even lead to discovery of IRC command
& control channels used by the botnet herders/masters (the topic of my
next post).

Full username / password logs included for your enjoyment:
http://paulmakowski.wordpress.com/2009/09/28/hacking-sshd-for-a-pass_file/

Intended for novices interested in honeypots.
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: