Course contentsShow
← Security
Lesson 2138 of 3,05242. Penetration Testing and Red TeamingFree lesson

Windows Privilege Escalation Enumeration and Tools

Systematic enumeration techniques and automated tools like WinPEAS, PowerUp, and PrivescCheck to identify privilege escalation vectors.

Windows Privilege Escalation Enumeration and Tools

What you'll learn: How to systematically discover privilege escalation opportunities on Windows systems using manual checks and automated enumeration tools.

Why Enumeration Matters

Before you can escalate privileges, you need to know what's vulnerable. Windows systems contain dozens of potential escalation vectors—from misconfigured services to weak registry permissions to unpatched kernels. Manually checking every possibility is time-consuming and error-prone. That's where systematic enumeration comes in.

Think of enumeration as a security audit of your current foothold: you're cataloging every weakness that could elevate your access from standard user to SYSTEM or Administrator.

Manual vs. Automated Enumeration

Manual enumeration involves running Windows commands to check specific conditions:

  • Service permissions (accesschk)
  • Running processes and their privileges
  • Registry ACLs
  • Scheduled tasks
  • Installed software versions

Automated tools bundle these checks into comprehensive scanners that highlight likely escalation paths.

Key Enumeration Tools

WinPEAS (Windows Privilege Escalation Awesome Scripts)

A comprehensive PowerShell/batch script that checks for nearly every known Windows privilege escalation vector. It color-codes findings by severity and provides clear output on what's vulnerable and why.

PowerUp

A PowerShell script focused on common misconfigurations like unquoted service paths, weak service permissions, DLL hijacking opportunities, and always-install-elevated registry keys.

PrivescCheck

A more modern PowerShell tool that performs detailed enumeration of user privileges, scheduled tasks, services, registry permissions, and driver vulnerabilities. It generates structured reports ideal for documentation.

Systematic Approach

Run these tools early in post-exploitation to quickly identify all available escalation paths. They check the vectors you've already learned—UAC bypasses, token manipulation opportunities, service exploits, DLL hijacking, registry weaknesses, and kernel vulnerabilities—saving hours of manual reconnaissance.

Key Takeaway: Automated enumeration tools like WinPEAS, PowerUp, and PrivescCheck systematically identify privilege escalation opportunities by checking dozens of misconfigurations and vulnerabilities simultaneously, transforming hours of manual work into minutes of actionable intelligence.