Repository navigation
Linux Privilege Escalation
Common Linux local privilege escalation vectors.
Purpose: Covers the path from an unprivileged shell on a Linux host to root - the standard set of misconfigurations and kernel vulnerabilities that show up repeatedly across real-world Linux systems and CTF-style privilege escalation challenges alike. Unlike the AD-focused checklists in this repo, most items here are host-local rather than network/protocol-based.
Function: The list spans three categories: kernel-level vulnerabilities (Dirty Cow, Baron Samedit - actual CVEs with specific affected version ranges), misconfiguration abuse (SUID binaries, sudo permissions, cron jobs, PATH hijacking - legitimate system features configured too permissively), and technique classes rather than single bugs (wildcard injection is a pattern that applies to any privileged script calling tar/rsync/chown unsafely, not a single fixed vulnerability).
Goal: Establish whether a foothold on a Linux system can be escalated to root, and specifically how - kernel exploits and sudo/SUID misconfigurations require different remediation entirely (patch the kernel vs. fix a permissions file), so this checklist's real value is in categorizing the finding correctly, not just proving root is reachable.
When & how to use this: Run automated enumeration first (LinPEAS or similar - see Homelab/HomeLab_Setup.md for setup) to shortlist which of these vectors are actually present before manually working through the list - kernel version alone rules out most of the CVE-specific items immediately. Check sudo/SUID/cron misconfigurations before reaching for a kernel exploit; they're lower-risk (no chance of a kernel panic) and far more common in practice.
๐ PDF reference: Linux_Privilege_Escalation.pdf
- LPE-01 - Dirty Cow
- LPE-02 - SUID Executables
- LPE-03 - Sudo Users
- LPE-04 - Wildcard Injection
- LPE-05 - Kernel Exploits
- LPE-06 - Path Hijacking
- LPE-07 - Misconfigured Cron jobs
- LPE-08 - Baron Samedit
๐ Use These Checklists Responsibly: Authorization is MANDATORY
Attack techniques are powerful - use them ethically and legally.
Repository: ULTIMATE CYBERSECURITY MASTER GUIDE
Maintained by: Pacific Northwest Computers
โญ Star this repo if you find it useful! โญ
๐ Source: Checklists/Linux-Privilege-Escalation.md | โ๏ธ Suggest an edit | โฌ
๏ธ Back to Checklists
- ๐บ๏ธ Browse by Topic
- ๐ All Repository Files
- ๐งญ Learning Paths
- ๐ Master Guide
- ๐ค Glossary
- โ๏ธ Legal & Disclaimer
๐ Foundations & Learning
๐ก๏ธ Defense & Investigations
- Incident Response
- Open Source Intelligence (OSINT)
- Reverse Engineering
- Operations Security (OPSEC)
- Compliance
โ๏ธ Platforms & Infrastructure
๐ก Hardware, Wireless & Field Projects
- PNWC Cyberdeck
- Hardware Testing
- Hardware Hacking
- Software-Defined Radio
- Wardriving
- uConsole
- Space Security
๐งฐ Assessment & Field Reference
๐ฆ Downloads & Project Resources
๐๏ธ Additional Topics