Windows File Events: Legitimate Applications Writing Executables to Uncommon Locations

Alerts when selected Windows binaries write files to typically uncommon directories such as Temp, ProgramData, AppData, or system areas.

FreeReviewedSigma · High · v2
Product
windows
Category
file_event
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-12-10
Updated
2026-07-31

ATT&CK techniques

Defense Evasion → C2
  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. Exfiltration

  12. Impact

What it detects

This rule flags Windows file creation events where the target process image matches known legitimate application binaries (such as common Office apps and LOLBins) and the file is written to locations that are uncommon for normal application data handling. Attackers can abuse trusted binaries to drop or download payloads into paths like Temp, ProgramData, Perflogs, AppData, or startup-related directories to blend in with routine system activity. It relies on Windows file event telemetry containing the process Image filename and the TargetFilename path.

Related detections9 linkedT1105 — drag to rearrange
Suspicious File Download via certutil urlcache
Windows Process Access: Suspicious WebDAV target execution via iediagcmd.exe or CustomShellHost.exe (CVE-2025-33053)
Windows Process Creation: Possible CVE-2025-33053 WebDAV RCE via utility search-order manipulation
Windows Scheduled Task Creation via schtasks.exe with curl and PowerShell Command Line Indicators
macOS chflags Hidden Flag Set via chflags hidden parameter
Windows Process Execution: Suspicious cmd.exe Command-Line Combinations (Pikabot-like)
Windows: Detect Ldifde.exe LDAP import (-i -f) usage
Windows findstr.exe Subfolder and Case-Insensitive Search Flags
Windows Process Creation: MpCmdRun.EXE Used to Download Files via DownloadFile url
Windows File Events: Legitimate Applications Writing Executables to Uncommon Locations
Pivot detection · T1105 · 9 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.