Suspicious Execution of Renamed Data File with Double Extension via STOCKSTAY (via process_creation)

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-05-22
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. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects execution of an image whose name ends in a data-to-executable double extension such as .dat.exe, matching the STOCKSTAY chain where an HTA renamed a styles.dat payload to styles.dat.exe and ran it through WScript.Shell. Adversaries use double extensions to disguise executable payloads as inert data files, so running such a file is a strong masquerading indicator.

Related detections9 linkedT1218.005 — drag to rearrange
Suspicious MSHTA VBScript WScript Shell Execution
Suspicious Remote HTA Payload Execution via MSHTA
Malicious Non-Interactive Encoded PowerShell Stager (via process_creation)
Suspicious Hidden PowerShell Executing Substring of Dropped File
Malicious Shell Spawned by Mshta Delivery (via process_creation)
PowerShell Encoded or Download-Cradle Command Line (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)
Obfuscated Encoded PowerShell Payload Deployed via Process Execution (via process_creation)
Suspicious Execution of Renamed Data File with Double Extension via STOCKSTAY (via process_creation)
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.