Suspicious Hidden PowerShell Spawned by MSHTA for Boot Persistence (via process_creation)

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-10-22
Updated
2026-10-22

ATT&CK techniques

Execution → Defense Evasion
  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. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects mshta.exe spawning a hidden-window PowerShell process, a chain TA584 used for boot persistence via a WScript.Shell one-liner that decodes a remote Base64 script on each logon.

Related detections9 linkedT1059.001 — drag to rearrange
Malicious HTA Payload Download and Execution via PowerShell One-Liner (via process_creation)
Suspicious PowerShell Loader Spawned by mshta via UNC5142 ClickFix
Suspicious Script Interpreter Spawned by mshta
Malicious mshta Spawning PowerShell Loader via ClickFix
Malicious Forfiles Proxy Execution Launching PowerShell and MSHTA in PEAKLIGHT Chain (via process_creation)
Malicious ClickFix PowerShell Launching mshta with Remote URL (via process_creation)
Suspicious PowerShell Query of MSHTA Application Class in PEAKLIGHT Chain (via ps_script)
Windows: PowerShell-triggered HTA retrieval and execution with registry and process disruption
Suspicious PowerShell Download to Temp and In-Memory Execution via IEX (via process_creation)
Suspicious Hidden PowerShell Spawned by MSHTA for Boot Persistence (via process_creation)
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.