What problem does it solve?
During authorized penetration tests, testers often obtain an unprivileged shell but miss viable privilege escalation paths because they stop at surface-level checks like sudo -l. This Skill provides a systematic methodology for finding and confirming Linux local privilege escalation vectors that are commonly overlooked.
Core Features & Use Cases
- Sudo Rule Abuse: Exploit GTFOBins shell-outs (vim, less, awk, find) and preserved environment variables (LD_PRELOAD, BASH_ENV, PYTHONPATH) to gain root code execution.
- SUID/SGID Exploitation: Hijack SUID binaries that call commands without absolute paths via PATH manipulation or exported bash functions, and abuse root-owned wrappers running writable scripts.
- Cron & Wildcard Injection: Exploit writable cron scripts, cron PATH hijacking, and glob argument injection against privileged tar/rsync/zip/chown/tcpdump invocations.
- Use Case: After gaining a low-privilege shell on a Linux target, run the enumeration workflow, discover a root cron job running
tar -czf backup.tgz * in a writable directory, plant --checkpoint-action files, and obtain a root shell on the next cron run.
Quick Start
Enumerate sudo rules, SUID binaries, and cron jobs on this Linux host and identify a confirmed privilege escalation path to root.