An executable file was detected in a monitored location. TargetFilename and Hashes are key.
Detects executable files appearing in monitored directories without requiring the file to run. Useful for detecting dropped malware before execution — proactive detection of staged payloads.
Alert: executables appearing in web server directories, temp folders, or non-standard locations. Use hashes to check threat intel immediately.
ImageCommandLineParentImageUserHashes | Tactic | Technique |
|---|---|
| Initial Access | Exploit Public-Facing Application (T1190) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
Event
| where EventLog == "Microsoft-Windows-Sysmon/Operational" and EventID == 29 // File executable detected
// EventData holds: Image, CommandLine, ParentImage, User, Hashes
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=29
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# File executable detected — add EventData fields: Image, CommandLine, ParentImage, User`
File executable detected. An executable file was detected in a monitored location. TargetFilename and Hashes are key.
Event 29 is written to the Microsoft-Windows-Sysmon/Operational channel by Microsoft-Windows-Sysmon. Requires Sysmon installed with a config that logs this event (e.g. SwiftOnSecurity / Olaf Hartong).
Event 29 is associated with: Exploit Public-Facing Application (T1190).
Alert: executables appearing in web server directories, temp folders, or non-standard locations. Use hashes to check threat intel immediately.