Home / miosa-osa / osa · priv/skills/offensive-windows-privesc/SKILL.md · GitHub

offensive-windows-privesc skillA

offensive-windows-privesc is agent-read markdown (skill) from miosa-osa/osa: Comprehensive Windows privilege escalation methodology for offensive security engagements. Covers the full attack surface from a standard user shell to NT AUTHORITY\\SYSTEM: token impersonation via SeImpersonate and SeAssignPrimaryToken privileges using JuicyPotato, PrintSpoofer, GodPotato, SweetPotato, and RoguePotato; service misconfigurations including unquoted service paths, weak service DACLs, writable service binaries, and insecure service creation permissions; AlwaysInstallElevated MSI ex.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 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.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add miosa-osa/osa/offensive-windows-privesc@git:20260913.e13b6b8
Exact content
mdr add miosa-osa/osa/offensive-windows-privesc@sha256:1b4405ac0126ddf3

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_r3cdck377uuhtgfp.svg)](https://markdownregistry.com/a/art_r3cdck377uuhtgfp)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260913.e13b6b8 latest2026-09-13 e13b6b8 23,200 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (23200 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

miosa-osa/osa · 74 stars · license NOASSERTION · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_r3cdck377uuhtgfp
GET https://markdownregistry.com/api/v1/resolve?ref=miosa-osa/osa/offensive-windows-privesc
GET https://markdownregistry.com/api/v1/blob/1b4405ac0126ddf3255eb93ebc678b395e7a50469fc10eaf8acdea76bb1a4361

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from miosa-osa/osa

AGENTS.md@canopy/backend agents
miosa-osa/osa · canopy/backend/AGENTS.md
git:20260322.d94d08a · audit A · 74 stars
code-review skill
miosa-osa/osa · examples/skills/code-review/SKILL.md · Analyze pull requests and diffs for bugs, security vulnerabilities, performance issues, style violations, and test…
git:20260319.dccc501 · audit A · 74 stars
content-writer skill
miosa-osa/osa · examples/skills/content-writer/SKILL.md · Draft blog posts, social media content, email campaigns, and marketing copy
git:20260319.dccc501 · audit A · 74 stars
customer-support skill
miosa-osa/osa · examples/skills/customer-support/SKILL.md · Triage incoming support tickets, draft responses, detect customer sentiment, suggest knowledge base articles, and track…
git:20260319.dccc501 · audit A · 74 stars
daily-briefing skill
miosa-osa/osa · examples/skills/daily-briefing/SKILL.md · Generate a morning business briefing with weather, calendar, news, and task priorities
git:20260319.dccc501 · audit A · 74 stars
email-assistant skill
miosa-osa/osa · examples/skills/email-assistant/SKILL.md · Triage inbox, flag urgent emails, summarize threads, and draft replies
git:20260319.dccc501 · audit A · 74 stars
meeting-prep skill
miosa-osa/osa · examples/skills/meeting-prep/SKILL.md · Research attendees, prepare talking points, and summarize previous interactions before meetings
git:20260319.dccc501 · audit A · 74 stars
research-assistant skill
miosa-osa/osa · examples/skills/research-assistant/SKILL.md · Conduct deep, multi-source research on technologies, companies, markets, and topics — synthesizing findings into…
git:20260319.dccc501 · audit A · 74 stars
sales-pipeline skill
miosa-osa/osa · examples/skills/sales-pipeline/SKILL.md · Monitor sales pipeline, track deals, send follow-up reminders, and forecast revenue
git:20260319.dccc501 · audit A · 74 stars
arsenal-tool-validation skill
miosa-osa/osa · priv/skills/arsenal-tool-validation/SKILL.md · Tool-arsenal validation and risk gating for offensive engagements: risk-tier classification of tools…
git:20260913.e13b6b8 · audit A · 74 stars
attack-simulation skill
miosa-osa/osa · priv/skills/attack-simulation/SKILL.md · Run cyber defense attack simulations against isolated lab targets, compare detection gaps, apply a lab patch and rerun…
v1.0.200 · audit A · 74 stars
code-review skill
miosa-osa/osa · priv/skills/code-review/SKILL.md · Analyze pull requests and diffs for bugs, security vulnerabilities, performance issues, style violations, and test…
git:20260430.84eced6 · audit A · 74 stars

Every file in miosa-osa/osa

Other files named offensive-windows-privesc

offensive-windows-privesc skill
snailsploit/claude-red · Skills/privesc/offensive-windows-privesc/SKILL.md · Comprehensive Windows privilege escalation methodology for offensive security engagements. Covers the full attack…
git:20260825.900e4c2 · audit A · 6,831 stars

Browse by kind, by grade A, or by owner.