dsquery, LAPS) belongs in the Active Directory section instead, this page covers the local host only.
Automated Enumeration
- winPEAS
- JAWS
System Information
- CMD
- PowerShell
Users & Groups
- CMD
- PowerShell
whoami /priv is this page’s equivalent of sudo -l on Linux, the single highest-value command here. A token privilege like SeImpersonatePrivilege or SeBackupPrivilege showing as enabled is a direct lead for the privilege escalation page.Domain Awareness
A quick check for whether this box is domain-joined, worth knowing before deciding whether the AD section is relevant at all. Full domain enumeration (net group /domain, dsquery, LAPS, trusts) lives there, not here.
Network Information
- CMD
- PowerShell
Processes & Services
- CMD
- PowerShell
Files & Shares
- CMD
- PowerShell
Credential & Sensitive File Hunting
Credentials embedded in PowerShell scripts and Windows setup files
Credentials embedded in PowerShell scripts and Windows setup files
A Windows setup/unattended-install files frequently still contain the local administrator password set during imaging, base64-encoded but not otherwise protected.
Import-Clixml-saved credential object stores the password encrypted with DPAPI, readable back out by the same user/machine that created it, worth checking any .xml found during the sweeps above.Interesting file paths worth checking directly
Interesting file paths worth checking directly
Automated Sensitive-File Hunting
Metasploit Post Modules
| Module | Description |
|---|---|
post/windows/gather/enum_logged_on_users | Currently logged-on users |
post/windows/gather/enum_applications | Installed applications |
post/windows/gather/enum_computers | Computers visible to this host |
post/windows/gather/enum_patches | Installed patches |
post/windows/gather/enum_shares | Accessible shares |
post/multi/gather/ping_sweep | Ping sweep from the compromised host |
Breaking Out of Restricted Environments
Kiosk mode, Citrix, and other locked-down desktop environments need their own escape techniques before any of the enumeration above is even possible.Breaking Out of Windows Environments
General kiosk/restricted-desktop escape techniques.
Breaking Out of Citrix
Citrix and similar remote-desktop-specific escapes.
Quick Reference Tools
LOLBAS
Lookup table of legitimate Windows binaries abusable for privilege escalation, the Windows equivalent of GTFOBins.
winPEAS
Automated enumeration, see above.
JAWS
Lighter automated enumeration script, see above.
Snaffler
Automated sensitive-file and credential hunting across shares and the local disk.

