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 Payload From Pastebin (via process_creation)
Suspicious PowerShell Remote Download and Execution via Invoke-WebRequest
Suspicious PowerShell Download Cradle via ClickFix Fake CAPTCHA (via process_creation)
Suspicious PowerShell Download of lib.zip Archive
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
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.