Saved Kitty Password Extraction

Solution 1:

To recover your password, saved in KiTTY follow this simple steps:

  1. Load the session with the stored password into KiTTY
  2. Go to the Session -> Options
  3. Enable logging for SSH packets and raw data
  4. Uncheck the Omit known passwords fields box
  5. Start the session, wait until it logs you in
  6. Close the KiTTY window
  7. Go to your KiTTY folder and open the log file
  8. Find the "Send automatic password" block to get your plain-text password.

It will look like this, where "YourPassword" in the password stored in KiTTY:

Event Log: Send automatic password
Outgoing packet #0x7, type 50 / 0x32 (SSH2_MSG_USERAUTH_REQUEST)
  00000000  00 00 00 04 72 6f 6f 74 00 00 00 0e 73 73 68 2d  ....root....ssh-
  00000010  63 6f 6e 6e 65 63 74 69 6f 6e 00 00 00 08 70 61  connection....pa
  00000020  73 73 77 6f 72 64 00 00 00 00 0c 59 6F 75 72 50  ssword.....YourP
  00000030  61 73 73 77 6F 72 64                             assword