A file was deleted (logged but not archived by Sysmon — archive disabled or file too large).
Same as Sysmon 23 but without archiving. Useful when archiving is disabled. Attack cleanup detection.
Same as Sysmon 23. Alert: recently created malicious files being deleted.
ImageCommandLineParentImageUserHashes | Tactic | Technique |
|---|---|
| Defense Evasion | Indicator Removal: File Deletion (T1070.004) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
Event
| where EventLog == "Microsoft-Windows-Sysmon/Operational" and EventID == 26 // File delete logged (not archived)
// EventData holds: Image, CommandLine, ParentImage, User, Hashes
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=26
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# File delete logged (not archived) — add EventData fields: Image, CommandLine, ParentImage, User`
File delete logged (not archived). A file was deleted (logged but not archived by Sysmon — archive disabled or file too large).
Event 26 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 26 is associated with: Indicator Removal: File Deletion (T1070.004).
Same as Sysmon 23. Alert: recently created malicious files being deleted.