For the complete documentation index, see llms.txt. This page is also available as Markdown.

Windows Credential Hunting

Application Config Files

findstr /SIM /C:"password" *.txt *.ini *.cfg *.config *.xml

Chrome Dictionary Files

gc 'C:\Users\htb-student\AppData\Local\Google\Chrome\User Data\Default\Custom Dictionary.txt' | Select-String password

Unattended Installation Files

  • Check unattend.xml, sysprep.xml, sysprep.inf for plaintext or base64 passwords

  • Common locations: C:\Windows\Panther\, C:\Windows\System32\Sysprep\

PowerShell History

(Get-PSReadLineOption).HistorySavePath
gc (Get-PSReadLineOption).HistorySavePath
# Read all users' PS history
foreach($user in ((ls C:\users).fullname)){cat "$user\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt" -ErrorAction SilentlyContinue}

Process Command Lines

  • Look for deployment scripts, backup jobs, and service wrappers passing --user, --password, -p, tokens, or base64-looking strings.

  • Web dashboards that list running processes can leak the same data remotely if they expose command lines.

  • Always decode obvious encoded arguments:

PowerShell Credentials (DPAPI)

Cmdkey Saved Credentials

Browser Credentials (SharpChrome)

KeePass Database Cracking

Sticky Notes

  • DB location: C:\Users\<user>\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState\plum.sqlite

Windows AutoLogon (Registry)

  • Look for DefaultUserName and DefaultPassword

PuTTY Saved Sessions (Registry)

  • Look for ProxyUsername and ProxyPassword

WiFi Passwords

  • Look for Key Content field

LaZagne (All-in-One Credential Recovery)

  • Modules: browsers, chats, databases, games, git, mails, memory, multimedia, php, svn, sysadmin, wifi, windows

  • Chat and IM clients are worth checking. LaZagne can recover saved Psi/Psi-im credentials when DPAPI material is available.

SessionGopher

  • Extracts saved PuTTY, WinSCP, FileZilla, SuperPuTTY, RDP credentials

FileZilla Saved Credentials

FileZilla client can store recent FTP credentials in the user's roaming profile:

Look for base64-encoded passwords:

Decode the password:

Other Interesting Files

mRemoteNG Stored Credentials

  • Config file: %USERPROFILE%\APPDATA\Roaming\mRemoteNG\confCons.xml

  • Default master password is mR3m if user didn't set a custom one

  • Passwords encrypted in the Password attribute of Node elements

Firefox Cookies

Chromium-based Browser Cookies

Clipboard Monitoring

Installed Programs Enumeration

Mounting VHDX/VMDK Backups

  • Look for .vhd, .vhdx, .vmdk files on shares or locally

  • Extract SAM/SYSTEM/SECURITY hives for local hash dumping

Linux

Extract Hashes from Mounted Disk

Restic Backup Abuse

DbVisualizer Credential Decryption

Password Safe (.psafe3) Cracking

aureport — TTY Logs (Linux, adm group)

Pcredz — Extract Credentials from PCAP

Firefox Credential Extraction

Keytab File Extraction

ccache Ticket Impersonation

Linikatz — Machine Account Auth

Last updated