WinPEAS
Table of Contents
An automated local enumeration tool for Windows that identifies privilege escalation vectors after gaining initial low-privileged access. Scans for weak permissions, misconfigurations, unpatched services, and credential storage weaknesses.
Related: Password Cracking Methodology Windows Privilege Escalation
Description
WinPEAS automates the tedious manual enumeration process on a compromised Windows host. It performs hundreds of checks across system configuration, user data, permissions, services, scheduled tasks, and installed software, highlighting actionable findings by severity. Does not exploit — only identifies vectors.
Common Workflow
Download from GitHub releases or generate with msfvenom:
# Run with default output (console) .\winpeas.exe # Quiet mode for less output .\winpeas.exe quiet # Generate HTML report .\winpeas.exe systeminfo > report.html
Output highlights findings with color — red/yellow for critical issues, green/cyan for informational. Review high-priority findings first.
What It Checks
- OS version, architecture, installed patches
- User privileges, group membership
- Weak file/folder permissions on executables and config
- Unquoted service paths
- Services running as SYSTEM or Administrator with writable binaries
- Scheduled tasks with high privileges
- Cached credentials, browser history, private keys
- Vulnerable software versions
Tips
- Run it early in post-exploitation — captures the baseline configuration before changes
- Focus on actionable findings: unquoted paths, weak service permissions, writable scheduled task binaries are quick wins
- Compare findings against known exploits — WinPEAS identifies the vector, you choose the exploit (e.g., `setreg.exe` for unquoted path hijacking)
- HTML output is easier to review thoroughly than console spam
- If WinPEAS is blocked by AV, try renaming the binary or running in obfuscated form via msfvenom