Suspicious Mshta Execution Of Remote HTA

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-05-19
Updated
2026-08-28

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule detects mshta.exe executing an HTA hosted at a remote http or https URL. In the WithSecure Initial Access Lab 2 the Koadic stager is delivered as a remote HTA run directly by mshta. Attackers use mshta to fetch and run remote HTML applications as a proxy execution and download technique.

Related detections9 linkedT1218.005 — drag to rearrange
Suspicious PowerShell Spawned by mshta.exe in FakeSG Chain (via process_creation)
Suspicious Hidden PowerShell Spawned by MSHTA for Boot Persistence (via process_creation)
Malicious HTA Payload Download and Execution via PowerShell One-Liner (via process_creation)
Suspicious RunMRU Entry Launching LOLBIN via ClickFix Run Dialog
Suspicious mshta Executing Remote Content via ClickFix Lure
Suspicious mshta Launched from Explorer via ClickFix Run Dialog (via process_creation)
Suspicious msdt Execution of Audio Diagnostic via UNC1069 ClickFix
Suspicious PowerShell Loader Spawned by mshta via UNC5142 ClickFix
Suspicious Script Interpreter Spawned by mshta
Suspicious Mshta Execution Of Remote HTA
Pivot detection · T1218.005 · 9 related

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