Detection: Fsutil Zeroing File
Description
This search is to detect a suspicious fsutil process to zeroing a target file. This technique was seen in lockbit ransomware where it tries to zero out its malware path as part of its defense evasion after encrypting the compromised host.
Annotations
No annotations available.
Implementation
To successfully implement this search, you need to be ingesting logs with the process name, parent process, and command-line executions from your endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA. Tune and filter known instances where renamed net.exe may be used.
Known False Positives
System administrators or scripts may delete user accounts via this technique. Filter as needed.
Associated Analytic Story
Risk Based Analytics (RBA)
Risk Message | Risk Score | Impact | Confidence |
---|---|---|---|
An instance of $parent_process_name$ spawning $process_name$ was identified on endpoint $dest_device_id$ by user $dest_user_id$ atempting to perform file deletion. | 54 | 60 | 90 |
References
-
https://app.any.run/tasks/e0ac072d-58c9-4f53-8a3b-3e491c7ac5db/
-
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-file
Version: 4