offensive-windows-privesc

offensive-windows-privesc is a skill for Claude Code, Codex from SnailSploit/Claude-Red. It costs 309 tokens per session (5,923 once invoked), scanned B, original, MIT.

A guide for escalating privileges on Windows: moving from a normal user account to a highly privileged account such as local Administrator or NT AUTHORITY\SYSTEM.

In plain words
What is it for?
Authorized security testing of Windows machines, including service, DLL, scheduled-task, installer, token, and User Account Control weaknesses.
Why use it?
It provides a structured way to find misconfigured services, permissions, tokens, registry settings, and unpatched software that may allow higher access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Authorized security testing of Windows machines, including service, DLL, scheduled-task, installer, token, and User Account Control weaknesses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/snailsploit/claude-red/offensive-windows-privesc
About the project

claude-red is a library of structured skills that give Claude specialized offensive-security methods for areas such as web vulnerabilities, shellcode, exploit development, and identity systems. It is intended for authorized red-team work, bug-bounty triage, security research, CTF preparation, and operator training. Its catalogue contains the project's skills for loading these security specializations into Claude.

SnailSploit/Claude-Red · 11,780 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SnailSploit/Claude-Red --skill offensive-windows-privesc
Clone the repo
git clone --depth 1 https://github.com/SnailSploit/Claude-Red

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for offensive-windows-privesc

README.md
[![agentmods](https://agentmods.dev/badge/skills/snailsploit/claude-red/offensive-windows-privesc/github.svg)](https://agentmods.dev/skills/snailsploit/claude-red/offensive-windows-privesc)
Your own site
<a href="https://agentmods.dev/skills/snailsploit/claude-red/offensive-windows-privesc"><img src="https://agentmods.dev/badge/skills/snailsploit/claude-red/offensive-windows-privesc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for offensive-windows-privesc

Your own site · 80×15
<a href="https://agentmods.dev/skills/snailsploit/claude-red/offensive-windows-privesc"><img src="https://agentmods.dev/badge/skills/snailsploit/claude-red/offensive-windows-privesc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 309 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,923 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high YARA Match · line 128
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high YARA Match · line 434
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • high YARA Match · line 439
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00309 $0.05923
Opus 5.5 $0.00124 $0.02369
Sonnet 5.5 $0.00062 $0.01185
Haiku 4.5 $0.00031 $0.00592

Measured 3mo ago against content hash cfb83e47118e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

offensive-windows-privesc scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variablesmediumData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

8. Harvest credentials from SAM, DPAPI, LSA secrets, and Credential Manager.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Skills/privesc/offensive-windows-privesc/SKILL.md · 581 lines

How it starts

The opening of the file, as written. The whole thing — 581 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Windows Privilege Escalation

You have a standard user shell on a Windows target. Your objective is to escalate to NT AUTHORITY\SYSTEM or local Administrator through systematic enumeration and exploitation of misconfigurations, vulnerable services, and unpatched software. This skill provides a structured methodology that moves from passive reconnaissance through increasingly aggressive techniques.

Windows privilege escalation differs fundamentally from Linux. The attack surface centers on services, tokens, the registry, DLL loading mechanics, and the Windows access control model. Master these primitives and you can chain findings from any enumeration tool into a working escalation path.

Quick Workflow

  1. Run automated enumeration (WinPEAS, PowerUp, Seatbelt) to surface misconfigurations.
  2. Check current privileges -- SeImpersonate/SeAssignPrimaryToken are immediate wins.
  3. Enumerate services for unquoted paths, weak DACLs, and writable binaries.
  4. Check AlwaysInstallElevated registry keys for MSI-based escalation.
  5. Identify DLL hijacking opportunities in privileged processes.
  6. Attempt UAC bypass if running as a local admin without elevated context.
  7. Inspect scheduled tasks, registry autoruns, and writable PATH directories.
  8. Harvest credentials from SAM, DPAPI, LSA secrets, and Credential Manager.
  9. Check for PrintNightmare and other unpatched vulnerabilities as a last resort.

Automated Enumeration

Run automated tools first to build a comprehensive picture of the attack surface. Review output methodically -- these tools surface findings you would otherwise miss.

# WinPEAS
.\winPEASx64.exe > C:\Users\Public\winpeas.txt 2>&1
.\winPEASx64.exe servicesinfo  # Specific checks only

# PowerUp
Import-Module .\PowerUp.ps1
Invoke-AllChecks | Out-File -FilePath C:\Users\Public\powerup.txt

# SharpUp / Seatbelt / BeRoot
.\SharpUp.exe audit
.\Seatbelt.exe -group=all > C:\Users\Public\seatbelt.txt
.\beRoot.exe

Token Impersonation

Read the full file on GitHub · 581 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 581 lines · 309 tokens per session scan B cfb83e47118e

Subscribe to this mod's changes

offensive-windows-privesc is a skill published in the GitHub repository SnailSploit/Claude-Red (11,780 stars, last pushed 14d ago), licensed MIT. It adds 309 tokens to every session and 5,923 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it B with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

offensive-windows-privesc compared with skills from other repositories

offensive-windows-privesc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
offensive-windows-privescSnailSploit/Claude-RedSkill12k14d agoMITB309Claude Code, Codex
app-store-opportunity-researchrobertguss/claude-code-toolkitSkill1433d agoMITA130Claude Code, Codex
ghost-writerrobertguss/claude-code-toolkitSkill1433d agoMITA77Claude Code, Codex
dhh-writingrobertguss/claude-code-toolkitSkill1433d agoMITA56Claude Code
voice-capturerobertguss/claude-code-toolkitSkill1433d agoMITA45Claude Code
writing-orchestrationrobertguss/claude-code-toolkitSkill1433d agoMITA60Claude Code
brainstormrobertguss/claude-code-toolkitSkill1433d agoMITA91Claude Code, Codex