Fsutil.exe

File System Utility

Paths

  • C:\Windows\System32\fsutil.exe
  • C:\Windows\SysWOW64\fsutil.exe

Commands

Tamper

Zero out a file

Use case: Can be used to forensically erase a file

Privileges: User

fsutil.exe file setZeroData offset=0 length=9999999999 {PATH_ABSOLUTE}

Tamper

Delete the USN journal volume to hide file creation activity

Use case: Can be used to hide file creation activity

Privileges: User

fsutil.exe usn deletejournal /d c:

Execute

Executes a pre-planted binary named netsh.exe from the current directory.

Use case: Spawn a pre-planted executable from fsutil.exe.

Privileges: User

fsutil.exe trace decode

Detection

Resources