Full Disclosure mailing list archives

Re: Modifying SSH to Capture Login Credentials from Attackers


From: "Fernando A. Lagos B." <fernando () zerial org>
Date: Wed, 30 Sep 2009 11:12:16 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/

Exists a "PAM" module exploit/utility to save the typed passwords via
ssh, "normal login", etc.


Intended for novices interested in honeypots.



- --
Fernando A. Lagos Berardi - Zerial
Desarrollador y Programador Web
Seguridad Informatica
Linux User #382319
Blog: http://blog.zerial.org
Skype: erzerial
Jabber: zerial () jabberes org
GTalk && MSN: fernando () zerial org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrDdU8ACgkQIP17Kywx9JRbtgCZAfXuMqNhJoUHodwsbo0Fi7N9
/V4AnRqg8R/tDVs0Tt1v9PerQlPrGzw1
=mFb4
-----END 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/


Current thread: