PowerShell Reflective Shellcode Loader via Dynamic API Delegates (via ps_script)

PremiumReviewedSigma · High · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-08-22
Updated
2026-08-28

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects a PowerShell Cobalt Strike loader that resolves Windows APIs through reflection helper functions and allocates executable memory before copying and running shellcode. Adversaries leverage dynamic delegate creation and VirtualAlloc to execute a beacon in memory while avoiding static API imports.

Related detections9 linkedT1059.001 — drag to rearrange
Obfuscated XE Group Reflective Loader via PowerShell Spawned by IIS Worker Process (via process_creation)
Suspicious PowerShell Reflective Assembly Load Invoking VAI Method (via process_creation)
Windows PowerShell: Base64 Encoded Reflective .NET Assembly Load
PowerShell Script Block WinAPI Calls Indicative of Injection or Token Abuse (Windows)
Suspicious Scheduled Task Running PowerShell Every Minute (via process_creation)
Malicious Script Host Spawning PowerShell With Invoke-Expression (via process_creation)
Hidden PowerShell Archive Extraction via ExtractToDirectory
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
Malicious Non-Interactive Encoded PowerShell Stager (via process_creation)
PowerShell Reflective Shellcode Loader via Dynamic API Delegates (via ps_script)
Pivot detection · T1059.001 · 9 related

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