File System Utility Located at: C:\Windows\System32\fsutil.exe; C:\Windows\SysWOW64\fsutil.exe.
fsutil fsutil Sandbox: execFile · Timeout: 30s
security.defense-evasion.tamper security.execution.command Outputs
process.output Command execution output
filesystem_writeprocess_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Zero out a file (Can be used to forensically erase a file)
fsutil.exe file setZeroData offset=0 length=9999999999 {PATH_ABSOLUTE} Delete the USN journal volume to hide file creation activity (Can be used to hide file creation activity)
fsutil.exe usn deletejournal /d c: Executes a pre-planted binary named netsh.exe from the current directory. (Spawn a pre-planted executable from fsutil.exe.)
fsutil.exe trace decode | Type | Rule / Indicator |
|---|---|
| ioc | fsutil.exe should not be run on a normal workstation |
| ioc | file setZeroData (not case-sensitive) in the process arguments |
| ioc | Sysmon Event ID 1 |
| ioc | Execution of process fsutil.exe with trace decode could be suspicious |
| ioc | Non-Windows netsh.exe execution |
| sigma | https://github.com/SigmaHQ/sigma/blob/ff5102832031425f6eed011dd3a2e62653008c94/rules/windows/process_creation/proc_creation_win_susp_fsutil_usage.yml |
fsutil is a Windows LOLBin. File System Utility Located at: C:\Windows\System32\fsutil.exe; C:\Windows\SysWOW64\fsutil.exe.