Linux privilege escalation for fun profit and all around mischief
summary
Emphasizes avoiding fragile kernel exploits and instead exploiting configuration and tooling: sudo misconfigurations produce root 60–70% of the time, trivially vulnerable set‑UID programs add ~15% and push success toward 90–95%. Uses eltrace to find setuid/setgid, inspects cron, world‑writable directories (/usr/local/bin), path and interpreter abuses, editor/page utilities (vi/less/more), LD_PRELOAD and language shells (python/ruby/perl exec) and C wrappers for scripts; these file/permission techniques work reliably without crashing systems, while vmsplice/ptrace kernel exploits are a last resort.
AI-written summary · about
chapters (25)
- 0:00Intro
- 0:30Linux privilege escalation
- 3:27Agenda
- 4:23James Brown
- 6:06Binary Exploits
- 8:05Colonel Issues
- 13:58Services
- 20:57Cron jobs
- 21:49Scripts
- 23:41Thirdparty installs
- 24:56LD Preload
- 28:02Set UID
- 34:55Change password
- 35:59Not fail
- 36:10Less is actually never
- 36:31Less is definitely an editor
- 37:17Go to Less
- 38:05Dont Jump Back
- 38:19No More
- 38:52Page
- 41:12purge
- 42:56Demo Gods
- 43:14Script Interpreters
- 43:53Ben Sh
- 47:26Questions
