I came across an interesting tool and immediately used it to solve a problem I had solved once before. The problem? I inherited a PC with filezilla installed and a load of ftp accounts set up with passwords I did not know. How to get the passwords?
The tool is the Microsoft User Mode Process Dumper. What is does is it dumps the memory image of a running process to disk where it can be inspected. I used this to dump a running image of filezilla. I ran the image through the 'strings' utility from cygwin to strip out everything but english looking strings and then opened the resulting file in vim. Search through this for the ftp account names and there in all their glory are the passwords. Easy. Took about two minutes, most of this figuring out the command line for userdump which is merely:
userdump 1072
where 1072 was the process ID of filezilla from Task Manager.
This technique would work with any software that loaded all passwords into memory and held them in there in an unencrypted state. The beauty of this is the speed, no messing with debuggers, ploughing through hex memory dumps, get the command line to do the work.
Moral: security is not easy.

