Credentials & Environment Security — Quick Reference¶
This is a quick reference page. For detailed exploitation steps, see the dedicated pages:
- Credential Hunting — Searching registry, Unattend.xml, PS history, cmdkey, DPAPI, IIS configs
- Restricted Environment Breakouts — Escaping Citrix, Constrained Language Mode, and AppLocker
Top 5 Quick Wins (Check These First!)¶
During an exam, these take 2 minutes to check and often yield immediate results:
1. Saved Credentials (cmdkey)¶
2. PowerShell History¶
3. Unattend.xml Files¶
4. AutoLogon Registry Keys¶
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" 2>nul | findstr /i "DefaultUserName DefaultPassword"