Academy Node
Windows Local Privilege Escalation
Windows local privilege escalation is the process of turning a low-privilege shell into local administrator or SYSTEM.
Intermediate100 XPWindows PrivEsc
Why it matters
PEN-200 explicitly covers Windows privilege escalation after initial compromise, including enumeration, services, scheduled tasks, and exploit usage.
How to identify it
- Run whoami /all
- Check privileges
- Check services
- Check scheduled tasks
- Search config files
Linux commands
python3 -m http.server 8000nc -lvnp LPORTExpected output
- Interesting privileges
- Writable service path
- Stored creds
- Scheduled task misconfig
Success looks like
- Administrator shell
- NT AUTHORITY\\SYSTEM shell
- proof.txt readable
Failure looks like
- No obvious privesc after first pass
- AV blocks payload
- Access denied
Troubleshooting
- Use manual commands before automated tools
- Check architecture
- Use built-in commands if AV blocks scripts
Common mistakes
- Not checking whoami /priv
- Not checking service binary permissions
- Not checking ProgramData
- Not checking PowerShell history
Alternative attacks
- SeImpersonate
- Writable services
- Scheduled tasks
- Unquoted service paths
What to try next
- SeImpersonate
- Writable services
- Proof collection
- Credential hunting
Recommended next lessons
ASREP Roast
ASREP roasting abuses AD users with Kerberos pre-authentication disabled. You can request encrypted ASREP material and attempt to crack it offline.
Kerberoast
Kerberoasting targets domain users with SPNs. You request service tickets and crack them offline.
GenericWrite
GenericWrite means you can modify certain attributes on the target AD object.
GenericAll
GenericAll is effectively full control over the target AD object.