Malicious PowerShell IEX DownloadString One-Liner

PremiumReviewedSigma · Medium · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-07-16
Updated
2026-08-28

ATT&CK techniques

Execution → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. Exfiltration

  12. Impact

What it detects

This rule detects PowerShell using Invoke-Expression together with a WebClient DownloadString call to fetch and run remote code in memory. This one-liner is delivered through the Win+R fake CAPTCHA lure used to distribute Lumma Stealer. Catching the fetch-and-execute pattern flags fileless staging before the stealer touches disk.

Related detections9 linkedT1059.001 — drag to rearrange
Malicious ActiveMQ Exploitation Java Spawning PowerShell Downloader (via process_creation)
Malicious In-Memory Payload Execution via PowerShell DownloadString (via process_creation)
Suspicious Remote Script Download and Execution via iwr Piped to iex
Suspicious PowerShell Invoke-WebRequest Download of Executable Payload
Suspicious Hidden PowerShell Download and Archive Expansion
Malicious Cloud Atlas PowerShell Download Cradle via IEX WebClient (via process_creation)
Suspicious PowerShell Downloader Spawned by Batch Script (via process_creation)
Suspicious Curl Download and Script Execution Chain via Command Line
Suspicious PowerShell Download of scrss or ekrn Masquerading Scripts
Malicious PowerShell IEX DownloadString One-Liner
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.