01 / TRADECRAFT
4 examplesCommand reference
Tamper3
EXAMPLE 01T1485
Zero out a file
COMMAND
fsutil.exe file setZeroData offset=0 length=9999999999 {PATH_ABSOLUTE}EXAMPLE 02T1485
Delete the USN journal volume to hide file creation activity
COMMAND
fsutil.exe usn deletejournal /d c:EXAMPLE 03T1562.001
Instantly creates a new file of any specified size to exhaust free disk space.
COMMAND
fsutil.exe file createnew {PATH_ABSOLUTE} {LENGTH_IN_BYTES}Execute1
EXAMPLE 01T1218
Executes a pre-planted binary named netsh.exe from the current directory.
COMMAND
fsutil.exe trace decode02 / ON DISK
Known paths
C:\Windows\System32\fsutil.exeC:\Windows\SysWOW64\fsutil.exe03 / DEFENSIVE INTELLIGENCE
1 resourcesDetection & indicators
Indicators & detection notes
- IOC
fsutil.exe should not be run on a normal workstation
- IOC
file setZeroData (not case-sensitive) in the process arguments
- IOC
file createnew (not case-sensitive) in the process arguments
- IOC
Sysmon Event ID 1
- IOC
Sysmon Event ID 11
- IOC
Execution of process fsutil.exe with trace decode could be suspicious
- IOC
Non-Windows netsh.exe execution
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Elliot Killick@elliotkillick
Jimmy@bohops
Grzegorz Tworek@0gtweet
MSNightmare@MSNightmare
DevCop95@DevCop95