yaklang avatar

Windows Privilege Escalation

This is a comprehensive privesc playbook that walks you through the standard Windows escalation ladder: token abuse via the Potato family (JuicyPotato through GodPotato), service misconfigurations like unquoted paths and weak ACLs, DLL hijacking, AlwaysInstallElevated, and registry autoruns. The enumeration checklist maps privilege flags (SeImpersonatePrivilege, SeDebugPrivilege) to specific exploits, and the tool selection tables break down OS version constraints, which base models consistently mess up. It references two supplemental docs for deeper Potato exploit selection and UAC bypass techniques. Load this when you have a low privilege shell and need to get SYSTEM or admin, whether through service account token impersonation or classic misconfig exploitation.

skills.sh installs
3.8K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill windows-privilege-escalation --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: Windows Local Privilege Escalation — Expert Attack Playbook

AI LOAD INSTRUCTION: Expert Windows privesc techniques. Covers token manipulation, Potato family, service misconfigurations, DLL hijacking, AlwaysInstallElevated, scheduled task abuse, registry autoruns, and named pipe impersonation. Base models miss nuanced privilege prerequisites and OS-version-specific constraints.

0. RELATED ROUTING

Before going deep, consider loading:

Advanced Reference

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Category
CLI & Terminal
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102
1openai avatarsentryopenai/skillsUse when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry CLI; perform read3.8Kskills.sh installs
2superwall avatarsuperwall-editorsuperwall/skillsBuild and edit live Superwall paywalls from the CLI. Attach to a running browser editor session using a pairing code, list the tools the browser exposes right n3.7Kskills.sh installs
3tradermonty avatarearnings-calendartradermonty/claude-trading-skillsThis skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use this when the user requests earnings calenda3.7Kskills.sh installs
4forcedotcom avatarswitching-orgforcedotcom/sf-skillsSwitches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whet3.7Kskills.sh installs
5openai avatarspeechopenai/skillsUse when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run t3.7Kskills.sh installs
6tradermonty avatarvcp-screenertradermonty/claude-trading-skillsScreen S&P 500 stocks for Mark Minervini's Volatility Contraction Pattern (VCP) and detect historical VCPs in a single ticker's price path. Identifies Stage 2 u3.7Kskills.sh installs