Logo: Windows Mitigations Bypass

Windows Mitigations Bypass

Communautéit
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

Iwwersiicht

Editeurhypnguyen1209
Repositoryoffensive-claude
Skill-Nummwindows-mitigations-bypass
Stären
396
Forks
71
Matgeliwwert Dateien
12
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 12 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    hypnguyen1209 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Windows Mitigations Bypass an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/windows-mitigations
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Windows Mitigations Bypass an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Windows Mitigations Bypass automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Windows Mitigations Bypass net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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

Firwat Windows Mitigations Bypass op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Windows Mitigations Bypass besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Windows Mitigations Bypass an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/hypnguyen1209/offensive-claude/tree/main/skills/windows-mitigations an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Windows Mitigations Bypass benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Windows Mitigations Bypass benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Windows Mitigations Bypass domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Windows Mitigations Bypass gratis?

Jo. hypnguyen1209 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇