CTI · corroborated · 2026-09-12
Phishing Campaign Abuses Windows Mshta.exe to Steal Credentials and Secrets
Actors
—
Malware / tools
—
Campaigns
ClickFix
CVEs
—
Victim sectors
—
Geography
spain
MITRE ATT&CK
Indicators
Observables tied to this case, from the curated feed. raw sidecar
Detections
Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.
Sigma raw
title: Mshta.exe Phishing Campaign Credential Theft via HTA Files
id: b8c9d0e1-f2a3-4567-bcde-678901234567
status: experimental
description: Detects phishing campaigns abusing mshta.exe to execute HTA files for credential theft
references:
- https://www.gbhackers.com/
- https://cyberpress.org/
author: Tia N. List
date: 2026-09-12
tags:
- attack.initial-access
- attack.t1566
- attack.stealth
- attack.t1170
logsource:
product: windows
category: process_creation
detection:
selection_mshta_execution:
Image|endswith:
- '\mshta.exe'
CommandLine|contains:
- '.hta'
- 'vbscript'
- 'jscript'
- 'http'
selection_mshta_from_email:
ParentImage|endswith:
- '\outlook.exe'
- '\thunderbird.exe'
- '\winmail.exe'
Image|endswith:
- '\mshta.exe'
selection_mshta_suspicious:
Image|endswith:
- '\mshta.exe'
CommandLine|contains:
- 'javascript'
- 'VBScript'
- 'Execute'
- 'CreateObject'
- 'WScript.Shell'
condition: selection_mshta_execution or selection_mshta_from_email or selection_mshta_suspicious
falsepositives:
- Legitimate HTA application usage
level: high
Splunk SPL raw
# phishing-campaign-abuses-windows-mshta-exe-to-steal-credentials — Splunk SPL variant (derived from phishing-campaign-abuses-windows-mshta-exe-to-steal-credentials.sigma via sigma convert)
# source-sha256: 0a945bd467f5933a4dfdeaf53f0287f9e6fc1dedef9747f3b4c31ce6e5d79290 v1
(Image="*\\mshta.exe" CommandLine IN ("*.hta*", "*vbscript*", "*jscript*", "*http*")) OR (ParentImage IN ("*\\outlook.exe", "*\\thunderbird.exe", "*\\winmail.exe") Image="*\\mshta.exe") OR (Image="*\\mshta.exe" CommandLine IN ("*javascript*", "*VBScript*", "*Execute*", "*CreateObject*", "*WScript.Shell*"))
KQL (Sentinel / Defender) raw
# phishing-campaign-abuses-windows-mshta-exe-to-steal-credentials — KQL variant (derived from phishing-campaign-abuses-windows-mshta-exe-to-steal-credentials.sigma via sigma convert)
# source-sha256: 0a945bd467f5933a4dfdeaf53f0287f9e6fc1dedef9747f3b4c31ce6e5d79290 v1
(Image endswith "\\mshta.exe" and (CommandLine contains ".hta" or CommandLine contains "vbscript" or CommandLine contains "jscript" or CommandLine contains "http")) or ((ParentImage endswith "\\outlook.exe" or ParentImage endswith "\\thunderbird.exe" or ParentImage endswith "\\winmail.exe") and Image endswith "\\mshta.exe") or (Image endswith "\\mshta.exe" and (CommandLine contains "javascript" or CommandLine contains "VBScript" or CommandLine contains "Execute" or CommandLine contains "CreateObject" or CommandLine contains "WScript.Shell"))