offensive-windows-mitigations

offensive-windows-mitigations is a skill for Claude Code, Codex from Miosa-osa/OSA. It costs 73 tokens per session (1,865 once invoked), scanned A, original, Apache-2.0.

A guide to Windows exploit mitigations, which are operating-system protections intended to make memory and code attacks harder. It explains protections such as ASLR, DEP/NX, Control Flow Guard, CET, SEHOP, Heap Guard, and Arbitrary Code Guard, along with known ways they may be bypassed.

In plain words
What is it for?
It is for researching Windows defenses, assessing protection coverage, planning authorized bypass tests, and understanding how mitigations affect an exploit.
Why use it?
It helps security researchers understand what each Windows protection blocks and where its limits are. This supports more accurate exploit analysis and mitigation reviews.

Skill for Claude CodeCodex

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

Good fit It is for researching Windows defenses, assessing protection coverage, planning authorized bypass tests, and understanding how mitigations affect an exploit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miosa-osa/osa/offensive-windows-mitigations
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 Miosa-osa/OSA --skill offensive-windows-mitigations
Clone the repo
git clone --depth 1 https://github.com/Miosa-osa/OSA

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-mitigations

README.md
[![agentmods](https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-windows-mitigations/github.svg)](https://agentmods.dev/skills/miosa-osa/osa/offensive-windows-mitigations)
Your own site
<a href="https://agentmods.dev/skills/miosa-osa/osa/offensive-windows-mitigations"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-windows-mitigations/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-mitigations

Your own site · 80×15
<a href="https://agentmods.dev/skills/miosa-osa/osa/offensive-windows-mitigations"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/offensive-windows-mitigations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00073 $0.01865
Opus 5.5 $0.00029 $0.00746
Sonnet 5.5 $0.00015 $0.00373
Haiku 4.5 $0.00007 $0.00186

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

Security

Grade A, and why

offensive-windows-mitigations scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

priv/skills/offensive-windows-mitigations/SKILL.md · 146 lines

How it starts

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

SKILL: Week 6: Understanding Windows Mitigations

Metadata

Description

Deep-dive on Windows exploit mitigations: ASLR, DEP/NX, CFG, CET/Shadow Stack, SEHOP, Heap Guard, ACG, Arbitrary Code Guard. Covers both the protection mechanism and known bypass techniques. Use when researching Windows exploit mitigations, planning bypass strategies, or understanding protection depth.

Trigger Phrases

Use this skill when the conversation involves any of: Windows mitigations, ASLR, DEP, NX, CFG, CET, shadow stack, SEHOP, heap guard, ACG, mitigation bypass, exploit mitigation, Windows hardening

Full Methodology

Week 6: Understanding Windows Mitigations

Overview

created by AnotherOne from @Pwn3rzs Telegram channel.

Last week you learned basic exploitation in an environment without protections. This week, you'll learn about the defensive mechanisms that modern Windows systems employ to prevent those attacks. Understanding these mitigations is essential before learning to bypass them (Week 8). Week 7 continues with enterprise security topics (offensive reconnaissance, Windows 11 24H2/25H2 mitigations, cross-platform defenses).

This Week's Focus:

  • Understand how each mitigation works
  • Learn to detect active mitigations
  • Verify mitigation effectiveness
  • Test exploits against protected binaries
  • Prepare for Week 7's boundaries and Week 8's bypass techniques

Prerequisites

Before starting this week, ensure you have:

  • Completed Week 5: Basic Exploitation (Linux) - you should be able to exploit stack overflows, build ROP chains, and use pwntools
  • A Windows 11 VM (isolated, snapshot before each exercise)
  • Visual Studio 2022 Build Tools installed
  • WinDbg Preview installed
  • Basic familiarity with x64 assembly and calling conventions

Week 6 Deliverables

By the end of this week, you should have completed the following:

Read the full file on GitHub · 146 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 146 lines · 73 tokens per session scan A 356ea93a2f05

Subscribe to this mod's changes

offensive-windows-mitigations is a skill published in the GitHub repository Miosa-osa/OSA (78 stars, last pushed 11d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,865 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.