Fsutil.exe

type: OSBinaries
File System Utility

Full path

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

Commands

  1. TamperUser T1485

    Can be used to forensically erase a file

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

    Zero out a file

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

  2. TamperUser T1485

    Can be used to hide file creation activity

    fsutil.exe usn deletejournal /d c:

    Delete the USN journal volume to hide file creation activity

    os: Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

  3. ExecuteUser T1218

    Spawn a pre-planted executable from fsutil.exe.

    fsutil.exe trace decode

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

    os: Windows 11

    Execute: EXE

Detection

Resources

acknowledgement: Elliot Killick @elliotkillick, Jimmy @bohops, Grzegorz Tworek @0gtweet