Overview
Windows local privilege escalation (LPE) involves exploiting misconfigurations, weak permissions, vulnerable services, or stored credentials to elevate from a standard user to SYSTEM/Administrator. The best automated enumeration tool is WinPEAS.System Information Enumeration
1
OS Version and Patches
2
Environment Variables
3
PowerShell History and Transcripts
4
Drives and Shares
WSUS Exploitation
If Windows Update uses HTTP instead of HTTPS:http:// and UseWUServer=1, inject fake updates using Wsuxploit or pyWSUS.
AlwaysInstallElevated
If both registry keys are set to0x1, any user can install MSIs as SYSTEM:
Service Exploitation
Enumerate Services
Enumerate Services
Weak Service Permissions
Weak Service Permissions
SERVICE_CHANGE_CONFIGWRITE_DACWRITE_OWNERGENERIC_WRITE/GENERIC_ALL
Unquoted Service Paths
Unquoted Service Paths
Windows resolves unquoted paths with spaces by trying each partial path:Find unquoted service paths:
Service Registry Permissions
Service Registry Permissions
User and Group Enumeration
Running Processes Analysis
Windows Credentials
Winlogon Auto-Login Credentials
Winlogon Auto-Login Credentials
Credential Manager
Credential Manager
DPAPI Master Keys
DPAPI Master Keys
WiFi Passwords
WiFi Passwords
Unattended Installation Files
Unattended Installation Files
Sticky Notes Database
Sticky Notes Database