Windows File Events: Flag Files With Double Extensions (e.g., .docx.exe)

Alerts on Windows filenames that look like double extensions, including .rar.exe/.zip.exe masquerading patterns.

FreeReviewedSigma · High · v2
Product
windows
Category
file_event
Author
Nasreddine Bencherchali (Nextron Systems), frack113 (SigmaHQ), DRL 1.1
Published
2022-06-19
Updated
2026-07-31

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 flags Windows file creation or rename events where the target filename matches patterns consistent with double extensions, such as ending in executable archive/document types or containing an additional extension marker (e.g., '.pdf.' or '.docx.'). Attackers use double extensions to disguise executable or risky content, taking advantage of default Windows behaviors that may hide known file extensions. The detection relies on file event telemetry that includes the full target filename, including its suffix and embedded extension-like segments, and excludes icon-path noise under '/usr/share/icons/'.

Related detections7 linkedT1036.007 — drag to rearrange
Suspicious Double Extension docx Executable Execution (via process_creation)
Suspicious MSC File with Double Extension (via file_event)
Suspicious MSHTA Execution of Polyglot PDF File Spawned by cmd (via process_creation)
Masquerading Noodlophile Payload Execution via Video File Double Extension (via process_creation)
Suspicious Double Extension PDF Executable via Process Creation
Windows Suspicious Double-Extension Execution via Parent Command Line
Windows File Creation: Suspicious LNK Double-Extension Targeted by Document/Image Prefixes
Windows File Events: Flag Files With Double Extensions (e.g., .docx.exe)
Pivot detection · T1036.007 · 7 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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