CyberKit

ATT&CK map

T1220: XSL Script Processing

Tactics: Stealth. Platforms: Windows.

Adversaries may bypass application control and obscure execution of code by embedding scripts inside XSL files.

MITRE's description

Adversaries may bypass application control and obscure execution of code by embedding scripts inside XSL files. Extensible Stylesheet Language (XSL) files are commonly used to describe the processing and rendering of data within XML files. To support complex operations, the XSL standard includes support for embedded scripting in various languages. Adversaries may abuse this functionality to execute arbitrary files while potentially bypassing application control.

Telemetry that detects it

  • Module Load
  • Process Creation

Mitigations

Execution Prevention
If msxsl.exe is unnecessary, then block its execution to prevent abuse by adversaries.

D3FEND countermeasures

  • D3-CF: Content Filtering (Isolate)
  • D3-CM: Content Modification (Isolate)
  • D3-CQ: Content Quarantine (Isolate)
  • D3-DA: Dynamic Analysis (Detect)
  • D3-DF: Decoy File (Deceive)
  • D3-EAL: Executable Allowlisting (Isolate)
  • D3-EDL: Executable Denylisting (Isolate)
  • D3-EFA: Emulated File Analysis (Detect)
  • D3-FA: File Analysis (Detect)
  • D3-FE: File Encryption (Harden)
  • D3-FEV: File Eviction (Evict)
  • D3-FIM: File Integrity Monitoring (Detect)
  • D3-HBPI: Hardware-based Process Isolation (Isolate)
  • D3-LFP: Local File Permissions (Isolate)
  • D3-PSA: Process Spawn Analysis (Detect)
  • D3-RF: Restore File (Restore)
  • D3-RFAM: Remote File Access Mediation (Isolate)
  • D3-SCA: System Call Analysis (Detect)
  • D3-SCF: System Call Filtering (Isolate)

Procedure examples

  • Astaroth executes embedded JScript or VBScript in an XSL stylesheet located on a remote domain.
  • Cobalt Group used msxsl.exe to bypass AppLocker and to invoke Jscript code from an XSL file.
  • Higaisa used an XSL file to run VBScript code.
  • During Operation Dream Job, Lazarus Group used a remote XSL script to download a Base64-encoded DLL custom downloader.

T1220 on attack.mitre.org

MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.