
Privilege Escalation Methods
This is a pentesting reference that walks Claude through privilege escalation techniques for compromised Linux and Windows systems. It assumes you already have initial shell access and covers the standard post-exploitation toolkit: Mimikatz, PowerView, Impacket, and friends. Both Socket and Snyk flagged it, which makes sense given the subject matter. You'd use this during red team engagements or security assessments when you need to document escalation paths from low-privileged access to root or admin. It's essentially a structured knowledge base for the exploitation phase, not automated tooling. Worth noting it includes Active Directory attack vectors if you have domain credentials.
- GitHub stars
- 30.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill 'Privilege Escalation Methods' --agent claude-codeInstalls into .claude/skills of the current project.
Files
Privilege Escalation Methods
Purpose
Provide comprehensive techniques for escalating privileges from a low-privileged user to root/administrator access on compromised Linux and Windows systems. Essential for penetration testing post-exploitation phase and red team operations.
Inputs/Prerequisites
- Initial low-privilege shell access on target system
- Kali Linux or penetration testing distribution
- Tools: Mimikatz, PowerView, PowerUpSQL, Responder, Impacket, Rubeus
- Understanding of Windows/Linux privilege models
- For AD attacks: Domain user credentials and network access to DC
Outputs/Deliverables
- Root or Administrator shell access
- Extracted credentials and hashes
- Persistent access mechanisms
- Domain compromise (for AD environments)
Core Techniques
Linux Privilege Escalation
1. Abusing Sudo Binaries
Exploit misconfigured sudo permissions using GTFOBins techniques:
# Check sudo permissions
sudo -l
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- 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
- Writing Hookify Rules
- Senior Data Scientist3.2K
- Senior Backend2.7K
- Markitdown2.5K
- Senior Frontend2.1K
- Scientific Writing2K
- Literature Review2K
- Market Research Reports1.9K
- Ui Ux Pro Max1.9K
- Exploratory Data Analysis1.9K
- Mobile Design1.8K