Skip to content
davila7 avatar

Windows Privilege Escalation

Structured guide for Windows privilege escalation covering enumeration, credential harvesting, service abuse, token impersonation, and kernel exploits.

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

Own this skill? Claim it

What it does

  • Covers the escalation workflow from system and user enumeration through credential harvesting, service exploitation, token impersonation, and kernel exploitation
  • Includes command sets for SAM/SYSTEM extraction, HiveNightmare (CVE-2021-36934), unattend.xml and WiFi credentials, plus Potato-family token attacks
  • Lists specific misconfiguration checks such as unquoted service paths, AlwaysInstallElevated, and dangerous service permissions via accesschk.exe
  • Designed for authorized penetration testing engagements with written permission, where the operator already holds shell or RDP access as a standard user

Install

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

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

Files

Windows Privilege Escalation

Purpose

Provide systematic methodologies for discovering and exploiting privilege escalation vulnerabilities on Windows systems during penetration testing engagements. This skill covers system enumeration, credential harvesting, service exploitation, token impersonation, kernel exploits, and various misconfigurations that enable escalation from standard user to Administrator or SYSTEM privileges.

Inputs / Prerequisites

  • Initial Access: Shell or RDP access as standard user on Windows system
  • Enumeration Tools: WinPEAS, PowerUp, Seatbelt, or manual commands
  • Exploit Binaries: Pre-compiled exploits or ability to transfer tools
  • Knowledge: Understanding of Windows security model and privileges
  • Authorization: Written permission for penetration testing activities

Outputs / Deliverables

Details

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

Questions

What does the Windows Privilege Escalation skill do?

It gives systematic methods for finding and exploiting privilege escalation vulnerabilities on Windows systems during penetration testing. It covers system enumeration, credential harvesting, service exploitation, token impersonation and kernel exploits to move from a standard user to Administrator or SYSTEM.

How do I install the Windows Privilege Escalation skill?

Run npx -y skills add davila7/claude-code-templates --skill 'Windows Privilege Escalation' -y in a project. The skill then lets the agent walk through Windows privilege escalation steps on a system you are authorized to test.

Who is the Windows Privilege Escalation skill for?

It is for penetration testers and security practitioners who already have shell or RDP access as a standard user on a Windows system. The workflow assumes written authorization for the testing engagement.

What do I need before using the Windows Privilege Escalation skill?

You need initial shell or RDP access as a standard user on the Windows target and an enumeration tool such as WinPEAS, PowerUp or Seatbelt, or manual commands. Pre-compiled exploit binaries or a way to transfer tools to the target are also required.

Where does the Windows Privilege Escalation skill sit in its category?

It is listed under Security on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. It focuses on Windows post-exploitation rather than cloud or compliance auditing.

More from davila7/claude-code-templates

All 398

Similar to Windows Privilege Escalation

More Security