July 22, 2010

SSH Patch – Record Failed Login Passwords

I wanted to find a way to record passwords for failed login attempts. I spoke to some openssh dev’s using their mailing list and it was suggested to modify auth-passwd.c. I inspected the code, made the changes, recompiled and tested it out with success. I constructed this patch below for the world. This was done on openssh 5.5p1. See below for a copy of the patch.

Navigation

Alan Neville

Alan Neville, Bio

Dia Guit. My name is Alan Neville. I am currently sitting a Masters (MS.c) programme in Dublin City University (DCU) focused around Security and Forensics in Computing. This blog has been created to host various bits and pieces I come across in relation to my thesis.