/windows-mitigations
Use when bypassing a Windows exploit/platform mitigation — ASLR/DEP/CFG/XFG/CET, ACG/CIG, WDAC/App Control, ASR/AMSI/ETW, PPL/LSA Protection, BYOVD/VBS/HVCI
$ npx -y skills add hypnguyen1209/offensive-claude --skill windows-mitigations --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/windows-mitigations
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when bypassing a Windows exploit/platform mitigation — ASLR/DEP/CFG/XFG/CET, ACG/CIG, WDAC/App Control, ASR/AMSI/ETW, PPL/LSA Protection, BYOVD/VBS/HVCI
SKILL.md
windows-mitigations.SKILL.mdname: windows-mitigations-bypass
description: Use when bypassing a Windows exploit/platform mitigation — ASLR/DEP/CFG/XFG/CET, ACG/CIG, WDAC/App Control, ASR/AMSI/ETW, PPL/LSA Protection, BYOVD/VBS/HVCI
metadata:
type: offensive
phase: exploitation
tools: [WinDbg, IDA, x64dbg, Process Hacker, ROPgadget, mona.py, PPLmedic, nanodump, EDRSandblast]
mitre: [T1211, T1218, T1562.001, T1562.004, T1562.006, T1003.001, T1068, T1620, T1140]
kill_chain:
phase: [exploit, installation]
step: [4, 5]
attck_tactics: [TA0002, TA0004, TA0005]
attck_techniques: [T1211, T1218, T1562.001, T1562.004, T1562.006, T1003.001, T1068, T1620, T1112]
depends_on: [exploit-development, reverse-engineering]
feeds_into: [shellcode-dev, edr-evasion, windows-boundaries]
inputs: [mitigation_config, binary_analysis, target_os_build]
outputs: [bypass_technique, finding_record, mitigation_fingerprint]
references:
- references/memory-safety-mitigations.md
- references/acg-cig-dynamic-code.md
- references/wdac-app-control-bypass.md
- references/asr-amsi-etw-blinding.md
- references/ppl-lsa-protection.md
- references/byovd-vbs-hvci.md
scripts:
- scripts/mitigation_recon.ps1
- scripts/Get-ProcessMitigationMap.ps1
- scripts/find_nonaslr_modules.py
- scripts/cfg_dispatch_gadget_finder.py
- scripts/extract_asr_exclusions.py
- scripts/check_driver_blocklist.py
Windows Mitigations & Bypass
Defeating both **exploit mitigations** (ASLR/DEP/CFG/XFG/CET/ACG) and **platform security controls** (WDAC, ASR, AMSI/ETW, PPL/LSA Protection, VBS/HVCI). Every technique is paired with detection + OPSEC so it doubles as defensive hardening guidance. Assumes an authorized engagement.
When to Activate
- Fingerprinting a target's mitigation landscape before weaponizing an exploit
- Designing a memory-corruption exploit that must defeat ASLR + DEP + CFG/CET in one chain
- Bypassing application control (WDAC / App Control for Business) to run unsigned code
- Disabling or blinding telemetry (ASR, AMSI, ETW) ahead of post-exploitation
- Dumping a PPL/LSA-protected process (LSASS) or killing a PPL-protected EDR
- Deciding between userland-only vs BYOVD/kernel approaches based on VBS/HVCI state
Technique Map
| Technique | ATT&CK | CWE | Reference | Script | |-----------|--------|-----|-----------|--------| | ASLR/HEASLR defeat (info leak, partial overwrite, non-ASLR module) | T1211 | CWE-330 | references/memory-safety-mitigations.md | scripts/find_nonaslr_modules.py | | DEP/NX bypass (ROP→VirtualProtect, ret2libc) | T1211 | CWE-119 | references/memory-safety-mitigations.md | scripts/cfg_dispatch_gadget_finder.py | | CFG/XFG bypass (valid-target dispatch gadget, type-hash collision) | T1211 | CWE-1240 | references/memory-safety-mitigations.md | scripts/cfg_dispatch_gadget_finder.py | | CET shadow stack / IBT evasion (non-CET process, JOP, exception unwind) | T1211 | CWE-1419 | references/memory-safety-mitigations.md | scripts/Get-ProcessMitigationMap.ps1 | | ACG/CIG bypass (signed-code reuse, JIT exemption, cross-process) | T1211, T1055 | CWE-94 | references/acg-cig-dynamic-code.md | scripts/Get-ProcessMitigationMap.ps1 | | WDAC / App Control bypass (LOLBin, signed Electron/V8, sideload) | T1218 | CWE-693 | references/wdac-app-control-bypass.md | scripts/mitigation_recon.ps1 | | ASR rule bypass (excluded path/process hollow, COM, syscalls) | T1562.001 | CWE-693 | references/asr-amsi-etw-blinding.md | scripts/extract_asr_exclusions.py | | AMSI bypass (amsiInitFailed, AmsiScanBuffer patch, hardware bp) | T1562.001 | CWE-693 | references/asr-amsi-etw-blinding.md | scripts/mitigation_recon.ps1 | | ETW blinding (EtwEventWrite patch, provider disable, NtTraceControl) | T1562.006 | CWE-778 | references/asr-amsi-etw-blinding.md | scripts/mitigation_recon.ps1 | | PPL / LSA Protection bypass (PPLmedic userland chain, BYOVD) | T1003.001, T1562.001 | CWE-269 | references/ppl-lsa-protection.md | scripts/Get-ProcessMitigationMap.ps1 | | BYOVD kernel R/W (unblocked driver, EPROCESS.Protection wipe) | T1068, T1562.001 | CWE-822 | references/byovd-vbs-hvci.md | scripts/check_driver_blocklist.py | | VBS/HVCI/Credential Guard evasion (blocklist evasion, data-only) | T1068, T1562.001 | CWE-693 | references/byovd-vbs-hvci.md | scripts/check_driver_blocklist.py |
Quick Start
# 1. Fingerprint system + per-process mitigations, AMSI/ETW/ASR/WDAC/VBS state
powershell -ep bypass -f scripts/mitigation_recon.ps1 -OutJson recon.json
powershell -ep bypass -f scripts/Get-ProcessMitigationMap.ps1 # rank weak processes
# 2. If memory-corruption target: locate non-ASLR modules + CFG-valid dispatch gadgets
python scripts/find_nonaslr_modules.py C:\Target\*.dll
python scripts/cfg_dispatch_gadget_finder.py target.dll # ROP/JOP under CFG/CET
# 3. If application control (WDAC) blocks execution: pick a signed bypass vessel
# MSBuild inline C#, signed legacy Teams (Electron), or signed Node .node module
# 4. Blind telemetry before post-ex (use sparingly — patching is itself an IOC)
# AMSI: patch AmsiScanBuffer / amsiInitFailed ETW: patch EtwEventWrite
# 5. Credential access vs PPL/LSA: userland PPLmedic chain (no driver) or BYOVD
python scripts/extract_asr_exclusions.py # find ASR-excluded paths
python scripts/check_driver_blocklist.py mydriver.sys # is driver blocklisted/HVCI-safe?
OPSEC & Detection (summary)
| Technique | Telemetry / IOC | Detection (Sigma / EDR) | OPSEC note | |-----------|-----------------|--------------------------|------------| | ROP/JOP exploit | crash dumps, WER, #CP/#PF exceptions, RWX alloc | EDR stack-walk on VirtualProtect/VirtualAlloc; CFG/CET #CP telemetry | prefer data-only; reuse signed gadgets; avoid RWX | | WDAC LOLBin | 4688 w/ MSBuild/mshta parent, child of office/explorer | Sigma proc_creation_win_lolbin_*; CodeIntegrity 3076/3077 audit | use Microsoft-signed Electron/V8 — looks like normal app | | AMSI patch | RWX in ams
Read more
name: windows-mitigations-bypass description: Use when bypassing a Windows exploit/platform mitigation — ASLR/DEP/CFG/XFG/CET, ACG/CIG, WDAC/App Control, ASR/AMSI/ETW, PPL/LSA Protection, BYOVD/VBS/HVCI metadata: type: offensive phase: exploitation tools: [WinDbg, IDA, x64dbg, Process Hacker, ROPgadget, mona.py, PPLmedic, nanodump, EDRSandblast] mitre: [T1211, T1218, T1562.001, T1562.004, T1562.006, T1003.001, T1068, T1620, T1140] kill_chain: phase: [exploit, installation] step: [4, 5] attck_tactics: [TA0002, TA0004, TA0005] attck_techniques: [T1211, T1218, T1562.001, T1562.004, T1562.006, T1003.001, T1068, T1620, T1112] depends_on: [exploit-development, reverse-engineering] feeds_into: [shellcode-dev, edr-evasion, windows-boundaries] inputs: [mitigation_config, binary_analysis, target_os_build] outputs: [bypass_technique, finding_record, mitigation_fingerprint] references: - references/memory-safety-mitigations.md - references/acg-cig-dynamic-code.md - references/wdac-app-control-bypass.md - references/asr-amsi-etw-blinding.md - references/ppl-lsa-protection.md - references/byovd-vbs-hvci.md scripts: - scripts/mitigation_recon.ps1 - scripts/Get-ProcessMitigationMap.ps1 - scripts/find_nonaslr_modules.py - scripts/cfg_dispatch_gadget_finder.py - scripts/extract_asr_exclusions.py - scripts/check_driver_blocklist.py
Windows Mitigations & Bypass
Defeating both **exploit mitigations** (ASLR/DEP/CFG/XFG/CET/ACG) and **platform security controls** (WDAC, ASR, AMSI/ETW, PPL/LSA Protection, VBS/HVCI). Every technique is paired with detection + OPSEC so it doubles as defensive hardening guidance. Assumes an authorized engagement.
When to Activate
- Fingerprinting a target's mitigation landscape before weaponizing an exploit
- Designing a memory-corruption exploit that must defeat ASLR + DEP + CFG/CET in one chain
- Bypassing application control (WDAC / App Control for Business) to run unsigned code
- Disabling or blinding telemetry (ASR, AMSI, ETW) ahead of post-exploitation
- Dumping a PPL/LSA-protected process (LSASS) or killing a PPL-protected EDR
- Deciding between userland-only vs BYOVD/kernel approaches based on VBS/HVCI state
Technique Map
| Technique | ATT&CK | CWE | Reference | Script | |-----------|--------|-----|-----------|--------| | ASLR/HEASLR defeat (info leak, partial overwrite, non-ASLR module) | T1211 | CWE-330 | references/memory-safety-mitigations.md | scripts/find_nonaslr_modules.py | | DEP/NX bypass (ROP→VirtualProtect, ret2libc) | T1211 | CWE-119 | references/memory-safety-mitigations.md | scripts/cfg_dispatch_gadget_finder.py | | CFG/XFG bypass (valid-target dispatch gadget, type-hash collision) | T1211 | CWE-1240 | references/memory-safety-mitigations.md | scripts/cfg_dispatch_gadget_finder.py | | CET shadow stack / IBT evasion (non-CET process, JOP, exception unwind) | T1211 | CWE-1419 | references/memory-safety-mitigations.md | scripts/Get-ProcessMitigationMap.ps1 | | ACG/CIG bypass (signed-code reuse, JIT exemption, cross-process) | T1211, T1055 | CWE-94 | references/acg-cig-dynamic-code.md | scripts/Get-ProcessMitigationMap.ps1 | | WDAC / App Control bypass (LOLBin, signed Electron/V8, sideload) | T1218 | CWE-693 | references/wdac-app-control-bypass.md | scripts/mitigation_recon.ps1 | | ASR rule bypass (excluded path/process hollow, COM, syscalls) | T1562.001 | CWE-693 | references/asr-amsi-etw-blinding.md | scripts/extract_asr_exclusions.py | | AMSI bypass (amsiInitFailed, AmsiScanBuffer patch, hardware bp) | T1562.001 | CWE-693 | references/asr-amsi-etw-blinding.md | scripts/mitigation_recon.ps1 | | ETW blinding (EtwEventWrite patch, provider disable, NtTraceControl) | T1562.006 | CWE-778 | references/asr-amsi-etw-blinding.md | scripts/mitigation_recon.ps1 | | PPL / LSA Protection bypass (PPLmedic userland chain, BYOVD) | T1003.001, T1562.001 | CWE-269 | references/ppl-lsa-protection.md | scripts/Get-ProcessMitigationMap.ps1 | | BYOVD kernel R/W (unblocked driver, EPROCESS.Protection wipe) | T1068, T1562.001 | CWE-822 | references/byovd-vbs-hvci.md | scripts/check_driver_blocklist.py | | VBS/HVCI/Credential Guard evasion (blocklist evasion, data-only) | T1068, T1562.001 | CWE-693 | references/byovd-vbs-hvci.md | scripts/check_driver_blocklist.py |
Quick Start
# 1. Fingerprint system + per-process mitigations, AMSI/ETW/ASR/WDAC/VBS state powershell -ep bypass -f scripts/mitigation_recon.ps1 -OutJson recon.json powershell -ep bypass -f scripts/Get-ProcessMitigationMap.ps1 # rank weak processes # 2. If memory-corruption target: locate non-ASLR modules + CFG-valid dispatch gadgets python scripts/find_nonaslr_modules.py C:\Target\*.dll python scripts/cfg_dispatch_gadget_finder.py target.dll # ROP/JOP under CFG/CET # 3. If application control (WDAC) blocks execution: pick a signed bypass vessel # MSBuild inline C#, signed legacy Teams (Electron), or signed Node .node module # 4. Blind telemetry before post-ex (use sparingly — patching is itself an IOC) # AMSI: patch AmsiScanBuffer / amsiInitFailed ETW: patch EtwEventWrite # 5. Credential access vs PPL/LSA: userland PPLmedic chain (no driver) or BYOVD python scripts/extract_asr_exclusions.py # find ASR-excluded paths python scripts/check_driver_blocklist.py mydriver.sys # is driver blocklisted/HVCI-safe?
OPSEC & Detection (summary)
| Technique | Telemetry / IOC | Detection (Sigma / EDR) | OPSEC note | |-----------|-----------------|--------------------------|------------| | ROP/JOP exploit | crash dumps, WER, #CP/#PF exceptions, RWX alloc | EDR stack-walk on VirtualProtect/VirtualAlloc; CFG/CET #CP telemetry | prefer data-only; reuse signed gadgets; avoid RWX | | WDAC LOLBin | 4688 w/ MSBuild/mshta parent, child of office/explorer | Sigma proc_creation_win_lolbin_*; CodeIntegrity 3076/3077 audit | use Microsoft-signed Electron/V8 — looks like normal app | | AMSI patch | RWX in ams
A spec-driven offensive security framework for Claude Code — structured engagement workflows based on the Cyber Kill Chain, 31 kill-chain skills (multi-file progressive-disclosure) plus a discipline layer (a SessionStart dispatcher + 6 process/discipline
Repo: hypnguyen1209/offensive-claude
Other skills on offensive-claude.
- /active-directory-attack
Use when attacking a Windows Active Directory domain — Kerberos roasting/delegation, coercion + NTLM/Kerberos relay (CVE-2025-33073), ADCS ESC1-16 (EKUwu), ticket forgery & DCSync, dMSA BadSuccessor (CVE-2025-53779), BloodHound attack-path enumeration, domain dominance
Open skill - /advanced-redteam
--- name: advanced-redteam-ops description: Use when designing C2 infrastructure or OPSEC for a long-haul red-team op — redirectors, malleable profiles, tiered/segregated infra, living-off-the-land, data exfiltration metadata: type: offensive phase: operations kill_chain: phase:
Open skill - /ai-agent-redteam
Use when red-teaming an agentic AI / LLM application — indirect & zero-click prompt injection, MCP tool poisoning, persistent memory poisoning, excessive-agency tool abuse, multi-turn jailbreaks, PyRIT/Garak/Promptfoo harnesses
Open skill - /ai-security
Use when attacking an AI/ML system or model — prompt injection & jailbreaks (Crescendo, Skeleton Key, Best-of-N), RAG/vector poisoning, agentic/MCP exploitation (CVE-2025-54136), ML supply-chain RCE (pickle CVE-2025-32434), model extraction / membership inference / adversarial
Open skill - /browser-exploitation
Use when building a client-side browser exploit — V8/JSC JIT type confusion to renderer R/W, V8 heap-sandbox escape, renderer-to-browser sandbox escape (Mojo IPC, GPU/Dawn/ANGLE), Electron/webview IPC abuse, 1-click RCE chains
Open skill - /cicd-supply-chain
Use when attacking or auditing a CI/CD pipeline or software supply chain — pwn requests, poisoned pipeline execution, compromised/mutable-tag actions, dependency confusion, registry worms, runner backdoors, OIDC trust abuse, SLSA/provenance
Open skill

