Windows mshta.exe launched with URL-based arguments (http/https/ftp)

Alerts when mshta.exe is executed with HTTP/HTTPS/FTP URLs in the command line, consistent with remote HTA execution.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-08-08
Updated
2026-07-30

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 flags process creation where the executable is mshta (mshta.exe / OriginalFileName MSHTA.EXE) and its command line includes an external URL scheme such as http://, https://, or ftp://. Attackers commonly use mshta to load and execute content from a remotely hosted HTA, enabling stealthy execution via a signed Windows binary. The detection relies on Windows process creation telemetry including the process image name and full command line.

Related detections9 linkedT1218.005 — drag to rearrange
Suspicious MSHTA Execution Spawned by Browser or Document Reader via Mispadu (via process_creation)
Suspicious Office Application Spawning Mshta With Remote HTA
Suspicious MSHTA VBScript WScript Shell Execution
Suspicious Remote HTA Payload Execution via MSHTA
Malicious Shell Spawned by Mshta Delivery (via process_creation)
Malicious Kimsuky Remote HTA Execution via URL Shortener (via process_creation)
ClickFix Paste-Jacking Execution of mshta Retrieving Remote Payload (via process_creation)
Suspicious mshta Execution of Remote HTA Payload
Suspicious Mshta Executed From Non-System Path (via process_creation)
Windows mshta.exe launched with URL-based arguments (http/https/ftp)
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.