The Administrator Fixed the Problem — And Deleted the Evidence
The alert was real.
The administrator moved quickly.
The suspicious file was deleted. The process was stopped. The account was reset.
By the time the SOC began the investigation, the immediate problem looked fixed.
There was just one complication.
Some of the best evidence had been cleaned up with it.

Contain Fast. Preserve First.
Remediation can stop an attack while also changing the scene investigators need to understand it.
The incident was already being fixed
The current state looked reassuring
Start with the process history
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
let TargetDevice = "WKSTN-218";
DeviceProcessEvents
| where Timestamp > ago(7d)
| where DeviceName startswith TargetDevice
| where FileName in~ ("invoice-viewer.exe", "powershell.exe", "cmd.exe")
or InitiatingProcessFileName =~ "invoice-viewer.exe"
| project Timestamp, DeviceName,
AccountName, FileName, ProcessCommandLine,
InitiatingProcessFileName,
InitiatingProcessCommandLine
| order by Timestamp asc
The deleted file still had a history
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
let TargetDevice = "WKSTN-218";
DeviceFileEvents
| where Timestamp > ago(7d)
| where DeviceName startswith TargetDevice
| where FileName =~ "invoice-viewer.exe"
| project Timestamp, ActionType,
FileName, FolderPath,
SHA1, SHA256,
InitiatingProcessAccountName,
InitiatingProcessFileName,
InitiatingProcessCommandLine
| order by Timestamp asc
Then separate attacker activity from administrator activity
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
let TargetDevice = "WKSTN-218";
let CleanupStart = datetime(2026-09-08 10:30:00);
DeviceProcessEvents
| where DeviceName startswith TargetDevice
| where Timestamp between (CleanupStart .. CleanupStart + 20m)
| project Timestamp, AccountName,
FileName, ProcessCommandLine,
InitiatingProcessFileName,
InitiatingProcessAccountName
| order by Timestamp asc
Fixing the problem and investigating it are different jobs
What Agent Foskett checked
What the evidence can and cannot prove
The investigation finding
Related investigations
Final thought
Fix the problem. Preserve the story.
Otherwise Agent Foskett arrives to investigate the crime scene... and somebody has already vacuumed it. 😂🔎
The Logs Already Knew!

