Privilege Escalation
General Methodology
1. Situational Awareness
# Who am I?
whoami
id
hostname
# What system is this?
uname -a # Linux
systeminfo # Windows
cat /etc/*release # Linux distro
# Network information
ip a / ifconfig # Linux
ipconfig /all # Windows
netstat -antup # Linux
netstat -ano # Windows2. Users & Groups
3. Running Processes & Services
4. Installed Software
5. Scheduled Tasks
Automated Enumeration Tools
Linux
Windows
Common Privilege Escalation Vectors
Linux
Vector
Description
Detection
Windows
Vector
Description
Detection
Quick Reference
GTFOBins (Linux)
LOLBAS (Windows)
Resources
Last updated
Was this helpful?