Windows Mitigations Bypass logo

Windows Mitigations Bypass

Community
hypnguyen1209
windows-mitigations-bypass

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

Overview

Publisherhypnguyen1209
Repositoryoffensive-claude
Skill namewindows-mitigations-bypass
Stars
396
Forks
71
Bundled files
12
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 12 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hypnguyen1209 on GitHub. Read the source before you install it.

Installation

Install the Windows Mitigations Bypass AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/windows-mitigations
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hypnguyen1209/offensive-claude.git /tmp/offensive-claude
mkdir -p .claude/skills
cp -r /tmp/offensive-claude/skills/windows-mitigations .claude/skills/windows-mitigations-bypass
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Windows Mitigations Bypass in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Windows Mitigations Bypass on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Windows Mitigations Bypass is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

TechniqueATT&CKCWEReferenceScript
ASLR/HEASLR defeat (info leak, partial overwrite, non-ASLR module)T1211CWE-330references/memory-safety-mitigations.mdscripts/find_nonaslr_modules.py
DEP/NX bypass (ROP→VirtualProtect, ret2libc)T1211CWE-119references/memory-safety-mitigations.mdscripts/cfg_dispatch_gadget_finder.py
CFG/XFG bypass (valid-target dispatch gadget, type-hash collision)T1211CWE-1240references/memory-safety-mitigations.mdscripts/cfg_dispatch_gadget_finder.py
CET shadow stack / IBT evasion (non-CET process, JOP, exception unwind)T1211CWE-1419references/memory-safety-mitigations.mdscripts/Get-ProcessMitigationMap.ps1
ACG/CIG bypass (signed-code reuse, JIT exemption, cross-process)T1211, T1055CWE-94references/acg-cig-dynamic-code.mdscripts/Get-ProcessMitigationMap.ps1
WDAC / App Control bypass (LOLBin, signed Electron/V8, sideload)T1218CWE-693references/wdac-app-control-bypass.mdscripts/mitigation_recon.ps1
ASR rule bypass (excluded path/process hollow, COM, syscalls)T1562.001CWE-693references/asr-amsi-etw-blinding.mdscripts/extract_asr_exclusions.py
AMSI bypass (amsiInitFailed, AmsiScanBuffer patch, hardware bp)T1562.001CWE-693references/asr-amsi-etw-blinding.mdscripts/mitigation_recon.ps1
ETW blinding (EtwEventWrite patch, provider disable, NtTraceControl)T1562.006CWE-778references/asr-amsi-etw-blinding.mdscripts/mitigation_recon.ps1
PPL / LSA Protection bypass (PPLmedic userland chain, BYOVD)T1003.001, T1562.001CWE-269references/ppl-lsa-protection.mdscripts/Get-ProcessMitigationMap.ps1
BYOVD kernel R/W (unblocked driver, EPROCESS.Protection wipe)T1068, T1562.001CWE-822references/byovd-vbs-hvci.mdscripts/check_driver_blocklist.py
VBS/HVCI/Credential Guard evasion (blocklist evasion, data-only)T1068, T1562.001CWE-693references/byovd-vbs-hvci.mdscripts/check_driver_blocklist.py

Quick Start

powershell
# 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)

TechniqueTelemetry / IOCDetection (Sigma / EDR)OPSEC note
ROP/JOP exploitcrash dumps, WER, #CP/#PF exceptions, RWX allocEDR stack-walk on VirtualProtect/VirtualAlloc; CFG/CET #CP telemetryprefer data-only; reuse signed gadgets; avoid RWX
WDAC LOLBin4688 w/ MSBuild/mshta parent, child of office/explorerSigma proc_creation_win_lolbin_*; CodeIntegrity 3076/3077 audituse Microsoft-signed Electron/V8 — looks like normal app
AMSI patchRWX in amsi.dll, AMSI scan gapsAMSI bypass detections, mem scan of amsi.dll .textindirect syscalls; restore bytes; HWBP avoids byte edits
ETW patchEtwEventWrite first byte = 0xC3/0xCCETW-TI sensor; integrity scan of ntdll EtwEventWriterestore after use; or disable provider not whole API
PPL LSASS dumphandle to lsass w/ VM_READ, MiniDump call, 4656/4663Sysmon 10 GrantedAccess 0x1010/0x1410; Defender ASR 9e6c...userland PPLmedic avoids driver IOC; rename per ASR excl.
BYOVDSysmon 6 driver load, svc create reg, unsigned-by-MS driverSysmon EID6 + reg EID13; MDE LOLDrivers hash hunt; blocklistpick driver NOT in MS blocklist/LOLDrivers; HVCI may still block
VBS/HVCI offbcdedit hypervisorlaunchtype off, DeviceGuard reg writesreg EID13 on DeviceGuard; boot config change eventsrequires admin+reboot — loud; data-only attack instead

Deep Dives

  • references/memory-safety-mitigations.md — ASLR/HEASLR, DEP/NX, CFG/XFG, Intel CET shadow stack + IBT, SEHOP: how each works on Win11 24H2 and concrete bypass chains (info leak → dispatch gadget → VirtualProtect).
  • references/acg-cig-dynamic-code.md — Arbitrary Code Guard, Code Integrity Guard, Dynamic Code policy: signed-code-only reuse, JIT/browser exemptions, cross-process pivots, SEC_IMAGE section abuse.
  • references/wdac-app-control-bypass.md — WDAC / App Control for Business: recommended-block-rule LOLBins, signed Electron (Loki C2) + signed Node .node/V8 exploitation, DLL sideloading, allow-list reality check.
  • references/asr-amsi-etw-blinding.md — ASR rule bypasses (global exclusion abuse, process hollowing into trusted images), AMSI bypass variants, ETW blinding (full patch vs selective provider disable).
  • references/ppl-lsa-protection.md — PPL levels & LSA Protection (RunAsPPL), userland PPLmedic exploit chain, PPLBlade/nanodump dumping, Credential Guard reality, BYOVD PPL kill.
  • references/byovd-vbs-hvci.md — BYOVD kernel R/W primitive build, Microsoft driver blocklist + LOLDrivers + HVCI/Secure Boot evasion (Silver Fox amsdk.sys case), VBS/Credential Guard limits, kernel shadow stack.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Windows Mitigations Bypass AI skill do?

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

Why use Windows Mitigations Bypass on TypingMind?

Because you install it once and use it with any model. Windows Mitigations Bypass is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Windows Mitigations Bypass in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/windows-mitigations. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Windows Mitigations Bypass?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Windows Mitigations Bypass?

As many as you like. As long as a model supports skills, you can use Windows Mitigations Bypass with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Windows Mitigations Bypass AI skill free?

Yes. It is published on GitHub by hypnguyen1209 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇