
Linux Privilege Escalation
This is a systematic privilege escalation framework for security testing on Linux systems. You start with low-privilege shell access and work through enumeration and exploitation of kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS weaknesses. The skill assumes you have basic Linux knowledge and can compile exploits with gcc when needed. It failed Gen Agent Trust Hub and Snyk audits, which makes sense given it's literally designed to exploit security weaknesses. Use this for authorized penetration testing and CTFs, not production systems you don't have explicit permission to test. The systematic approach means you're less likely to miss common escalation vectors.
- GitHub stars
- 30.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill 'Linux Privilege Escalation' --agent claude-codeInstalls into .claude/skills of the current project.
Files
Linux Privilege Escalation
Purpose
Execute systematic privilege escalation assessments on Linux systems to identify and exploit misconfigurations, vulnerable services, and security weaknesses that allow elevation from low-privilege user access to root-level control. This skill enables comprehensive enumeration and exploitation of kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS weaknesses.
Inputs / Prerequisites
Required Access
- Low-privilege shell access to target Linux system
- Ability to execute commands (interactive or semi-interactive shell)
- Network access for reverse shell connections (if needed)
- Attacker machine for payload hosting and receiving shells
Technical Requirements
- Understanding of Linux filesystem permissions and ownership
- Familiarity with common Linux utilities and scripting
- Knowledge of kernel versions and associated vulnerabilities
- Basic understanding of compilation (gcc) for custom exploits
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Automation & Workflows, CLI & Terminal
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Linux Production Shell Scripts
- MCP Integration
- Metasploit Framework
- Network 101
- PDF Processing
- PDF Processing Pro
- Pentest Checklist
- Pentest Commands
- Plugin Settings
- Plugin Structure
- Privilege Escalation Methods
- Red Team Tools And Methodology
- Security Scanning Tools
- SEO Optimizer
- Shodan Reconnaissance And Pentesting
- Skill Development
- SMTP Penetration Testing
- SQL Injection Testing
- SQLMap Database Penetration Testing
- SSH Penetration Testing
- Top 100 Web Vulnerabilities Reference
- Windows Privilege Escalation
- Wireshark Network Traffic Analysis
- WordPress Penetration Testing