Windows PowerShell In-Memory Assembly Loading via Reflection.Assembly::Load

Flags PowerShell script blocks that reference [Reflection.Assembly]::load for potential in-memory assembly loading.

FreeReviewedSigma · Medium · v5
Product
windows
Category
ps_script
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-12-25
Updated
2026-10-21

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags PowerShell script block content that contains the pattern "[Reflection.Assembly]::load", indicating an attempt to dynamically load an assembly from memory using .NET reflection. Attackers can use this technique to execute code in a stealthier way than dropping binaries to disk. The detection relies on Script Block Logging telemetry that records the PowerShell script block text.

Related detections9 linkedT1620 — drag to rearrange
Malicious Reflective Assembly Loading via PowerShell (via ps_script)
Suspicious PowerShell Reflective Assembly Load With Registry Property Read via Script Block (via ps_script)
Suspicious In-Memory .NET Assembly Load via PowerShell Base64 Payload (via process_creation)
Suspicious Fileless Execution From Memory File Descriptor via PUMAKIT
Suspicious DllHost Spawned By MMC Without Arguments via PASTALOADER
Suspicious PowerShell Reflective Assembly Load With GZip Decompression (via process_creation)
PowerShell Reflective Shellcode Loader via Dynamic API Delegates (via ps_script)
Obfuscated XE Group Reflective Loader via PowerShell Spawned by IIS Worker Process (via process_creation)
Suspicious Reflective Assembly Load in PowerShell (via ps_script)
Windows PowerShell In-Memory Assembly Loading via Reflection.Assembly::Load
Pivot detection · T1620 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-10-21
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.