Suspicious PowerShell Script Fetching Remote Batch File From Paste Site (via ps_script)

PremiumReviewedSigma · High · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-09-15
Updated
2026-09-15

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 script blocks that reference a paste site alongside a batch file extension, matching the download-and-execute behavior in Deep Instinct's Regex Gone Rogue analysis. The macro-launched PowerShell retrieves and runs a .bat file hosted on Pastebin. This indicates staged remote payload delivery and execution through a living-off-the-land interpreter.

Related detections9 linkedT1059.001 — drag to rearrange
Suspicious PowerShell Download of Disguised Payload to ProgramData
Suspicious PowerShell WebClient Download of Executable Payload
Suspicious PowerShell Remote Script Execution via IEX DownloadString
Suspicious PowerShell Download Cradle to Blogspot (via process_creation)
Suspicious Hidden PowerShell WebClient DownloadFile Cradle
Suspicious PowerShell Download Cradle with Spoofed User-Agent via MSIX
Malicious PowerShell In-Memory Download Cradle via Script Block (via ps_script)
Suspicious node.exe Execution Spawned by PowerShell
Suspicious PowerShell Download Cradle via IEX and DownloadString (via process_creation)
Suspicious PowerShell Script Fetching Remote Batch File From Paste Site (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.