Sysmon blocked a file shredding operation (secure deletion of evidence).
Attacker attempting to securely wipe evidence of their tools or activity. Secure deletion tools (sdelete, cipher /w) leave no forensic artifacts — this event blocks and records the attempt.
Alert on occurrences from unexpected processes. Secure file deletion by attackers = evidence of malicious intent.
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 == 28 // File block shredding
// EventData holds: Image, CommandLine, ParentImage, User, Hashes
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=28
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# File block shredding — add EventData fields: Image, CommandLine, ParentImage, User`
File block shredding. Sysmon blocked a file shredding operation (secure deletion of evidence).
Event 28 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 28 is associated with: Indicator Removal: File Deletion (T1070.004).
Alert on occurrences from unexpected processes. Secure file deletion by attackers = evidence of malicious intent.