Retrieving Credentials from PuTTY
Retrieve Credentials from Software: PuTTY
PuTTY is an SSH client commonly found on Windows systems. Rather than entering a connection's parameters every time, users can store sessions that hold the IP, user and other settings for later. PuTTY will not store the SSH password, but it does store proxy configurations, and those can include cleartext authentication credentials.
To pull the stored proxy credentials, search under the following registry key for ProxyPassword:
reg query HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\ /f "Proxy" /s
Note: Simon Tatham is the creator of PuTTY, and his name is part of the path, not the username whose password we are retrieving. The stored proxy username should also be visible after running the command above.
Just as PuTTY stores credentials, any software that saves passwords, including browsers, email clients, FTP clients, SSH clients, VNC software and others, has a method to recover whatever the user has saved.