Skip to content
davila7 avatar

Privilege Escalation Methods

Reference guide covering privilege escalation techniques for Linux and Windows post-exploitation, including Active Directory attacks.

CCM score
62 of 100
skills.sh installs
187
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Linux sudo, cron, capability, NFS, and MySQL abuse alongside Windows token, service, and GPO techniques and AD attacks
  • Includes Kerberoasting, AS-REP roasting, golden and silver ticket creation, pass-the-ticket, and DCSync workflows with Rubeus, Mimikatz, and Impacket commands
  • Lists a quick-reference table mapping each technique to OS, domain requirement, and tool, plus a troubleshooting table
  • Designed for authorized penetration testing and red team engagements where initial low-privilege shell access has already been obtained

Install

$ npx -y skills add davila7/claude-code-templates --skill 'Privilege Escalation Methods' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/davila7/claude-code-templates
Category
Security
First seen
Jun 3, 2026

Questions

What does the Privilege Escalation Methods skill do?

Privilege Escalation Methods gives guidance for raising access from a low-privileged user to root or administrator on compromised Linux and Windows systems. It covers sudo abuse, SUID binaries, Kerberoasting, pass-the-ticket and token impersonation during post-exploitation work.

Who is Privilege Escalation Methods for?

Privilege Escalation Methods is for penetration testers and red team operators who already hold an initial low-privilege shell on a target. It is meant for the post-exploitation phase of authorized engagements.

How do I install the Privilege Escalation Methods skill?

Run npx -y skills add davila7/claude-code-templates --skill 'Privilege Escalation Methods' -y in your project. Once installed, the skill lets the agent walk through Linux and Windows escalation techniques using the tools it lists, such as Mimikatz, PowerView and Rubeus.

What does Privilege Escalation Methods need before I use it?

Privilege Escalation Methods needs initial shell access on the target system, and for Active Directory attacks, domain user credentials with network access to the domain controller. Its listed tools include Mimikatz, PowerView, PowerUpSQL, Responder, Impacket and Rubeus.

Is Privilege Escalation Methods used for security work in the Security category?

Privilege Escalation Methods sits in the Security category on Claude Marketplaces. It differs from audit-style skills in that it focuses on offensive post-exploitation techniques for gaining root or administrator access.

More from davila7/claude-code-templates

All 398

Similar to Privilege Escalation Methods

More Security