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
Malicious Metasploit Stager Delivery via mshta Remote HTA (via process_creation)
Malicious mshta Launching WScript VBScript Loader
Suspicious Kimsuky Remote HTA Payload Execution via mshta (via process_creation)
Suspicious mshta Execution of Inline JavaScript
Suspicious Command Interpreter Spawned by mshta (via process_creation)
Suspicious mshta Execution Spawned by Scheduled Task Service Host (via process_creation)
Suspicious Scheduled Task Creation Launching mshta via schtasks (via process_creation)
Suspicious HTA File Dropped into Startup Folder
Suspicious PowerShell Spawned by mshta.exe in FakeSG Chain (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.