Windows Privilege Escalation

Automated Enumeration

git clone https://github.com/pentestmonkey/windows-privesc-check.git

windows-privesc-check2.exe -h
windows-privesc-check2.exe --dump -G

Information Gathering

What's the OS? What version? What architecture?

systeminfo

systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"

Who are we? Where are we?

whoami
net user <username>
dir

Who uses the box? What users? (And which ones have a valid shell)

What's currently running on the box? What active network services are there?

What's installed? What kernel is being used?

Check Scheduled Tasks

Readable/Writable Files and Directories

Check Users Privilege

Add Local Admin User

Run CMD as Admin

Binaries That AutoElevate

Device Drivers and Kernel Modules

Last updated

Was this helpful?