Skip to content

OSCP · Module 13

Windows Privilege Escalation

Enumerate misconfigurations, abuse dangerous privileges, and exploit services to escalate from low-privilege user to SYSTEM on Windows.

~5 h 25 resources Last updated September 25, 2026

After gaining initial access to a Windows host, escalating from a low-privilege user to SYSTEM or Administrator is the next objective. PEN-200 covers manual enumeration, automated tools like winPEAS and PowerUp, service misconfigurations, dangerous privileges, token manipulation, and kernel exploits. Windows privilege escalation follows a repeatable methodology: enumerate, identify a vector, exploit, verify.

Enumeration and Automated Tools

Before exploiting anything, you need a full picture of the target: OS version, patch level, installed software, running services, user privileges, and scheduled tasks. Automated tools (winPEAS, Seatbelt, PowerUp) speed up the search, but understanding the manual checks behind them is essential for the exam. Enumeration output tells you which escalation vectors exist on this specific host.

Service and Configuration Exploits

Misconfigured services are the most common Windows privilege escalation vector. Writable service binaries, unquoted service paths, weak service permissions, DLL hijacking, and scheduled task abuse all lead to code execution as SYSTEM. Registry-based attacks (autoruns, weak registry ACLs) and AlwaysInstallElevated provide additional paths. UAC bypass techniques let you move from medium to high integrity when the user is a local administrator.

Privilege Abuse and Credential Escalation

Certain Windows privileges (SeImpersonate, SeBackup, SeRestore) are direct escalation paths when assigned to your compromised user or service account. Potato exploits abuse SeImpersonatePrivilege through NTLM relay to get SYSTEM. Token manipulation lets you steal or duplicate tokens from higher-privileged processes. Credential hunting (SAM dumps, LSASS, DPAPI, stored credentials, registry secrets) provides hashes and passwords that unlock lateral movement or direct privilege escalation through pass-the-hash.

Read

The core material for this module. Where a guide goes deeper than needed, the relevant sections are highlighted.

Practice

Apply the module hands-on.

  • Access HackTheBox Easy
  • Bastion HackTheBox Easy
  • Cicada HackTheBox Easy
  • Squid Proving Grounds Easy
  • Jacko Proving Grounds Intermediate
  • Tally HackTheBox Hard
  • Vault Proving Grounds Hard
All OSCP practice machines