Skip to content

Course

Linux Privilege Escalation

A hands-on practitioner's path through sudo mistakes, SUID binaries, Linux capabilities, cron weaknesses, kernel exploits, and the defenses that actually hold up.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Identity, Enumeration, and sudo

Understand Linux privilege boundaries, enumerate them without noise, and dissect sudo rules before abusing them.

  1. 01The Linux Privilege Model and Enumeration That MattersModel users, groups, processes, files, and credentials as privilege boundaries, then enumerate the few facts that change exploitation decisions.24mOpen
  2. 02Reading sudo Rules Like an AuditorParse sudoers output precisely, understand aliases and ordering, and separate benign administration access from exploitable ambiguity.21mOpen
  3. 03Abusing Misconfigured sudo Without Fooling YourselfTurn permissive sudo entries into command execution through interpreters, editors, output redirection, less obvious argument abuse, and environment confusion.27mOpen

Local Execution Primitives

Exploit and defend SUID programs, file capabilities, cron jobs, PATH mistakes, and writable-service mistakes.

  1. 01SUID Execution: Finding, Abusing, and Auditing setuid BinariesUnderstand the setuid boundary, exploit unsafe privileged programs, and audit custom SUID binaries with defender-grade skepticism.26mPremium
  2. 02Linux Capabilities: The Quiet Root FragmentsInspect file and process capabilities, understand dangerous grants such as CAP_SYS_ADMIN and CAP_DAC_OVERRIDE, and design least-privilege alternatives.25mPremium
  3. 03Cron Holes, PATH Mistakes, and Writable AutomationAnalyze scheduled execution as a trust pipeline, exploit writable scripts and PATH confusion, and redesign jobs so operators can audit them.27mPremium

Kernel Paths and Defensive Proof

Treat kernel exploits as fragile tools, build layered defenses, and prove whether privilege was actually gained.

  1. 01Kernel Exploits: Risk, Reality, and Responsible UseEvaluate kernel exploit applicability with patch-awareness, understand reliability and detection costs, and choose safer alternatives first.23mPremium
  2. 02Service Managers, Containers, and Root-Equivalent Control PlanesRecognize Docker, LXD, systemd, package managers, and configuration management as privilege planes that often bypass traditional escalation entirely.25mPremium
  3. 03Detection, Hardening, and Proving Privilege Escalation ResponsiblyValidate escalation without unnecessary damage, preserve evidence, and turn findings into layered hardening and detection controls.28mPremium