A network share was removed.
Deletion of shares after staging data for exfiltration (cleanup). Or sabotage of legitimate shares.
Alert: deletion of critical business shares.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 5144 // A network share object was deleted
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=5144
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# A network share object was deleted — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
A network share object was deleted. A network share was removed.
Event 5144 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Object Access' subcategory (Success and/or Failure).
Alert: deletion of critical business shares.