Esentutl.exe

Binary for working with Microsoft Joint Engine Technology (JET) database

Paths

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

Commands

Copy

Copies the source VBS file to the destination VBS file.

Use case: Copies files from A to B

Privileges: User

esentutl.exe /y {PATH_ABSOLUTE:.source.vbs} /d {PATH_ABSOLUTE:.dest.vbs} /o

ADS

Copies the source EXE to an Alternate Data Stream (ADS) of the destination file.

Use case: Copy file and hide it in an alternate data stream as a defensive counter measure

Privileges: User

esentutl.exe /y {PATH_ABSOLUTE:.exe} /d {PATH_ABSOLUTE}:file.exe /o

ADS

Copies the source Alternate Data Stream (ADS) to the destination EXE.

Use case: Extract hidden file within alternate data streams

Privileges: User

esentutl.exe /y {PATH_ABSOLUTE}:file.exe /d {PATH_ABSOLUTE:.exe} /o

ADS

Copies the remote source EXE to the destination Alternate Data Stream (ADS) of the destination file.

Use case: Copy file and hide it in an alternate data stream as a defensive counter measure

Privileges: User

esentutl.exe /y {PATH_SMB:.exe} /d {PATH_ABSOLUTE}:file.exe /o

Download

Copies the source EXE to the destination EXE file

Use case: Use to copy files from one unc path to another

Privileges: User

esentutl.exe /y {PATH_SMB:.source.exe} /d {PATH_SMB:.dest.exe} /o

Copy

Copies a (locked) file using Volume Shadow Copy

Use case: Copy/extract a locked file such as the AD Database

Privileges: Admin

esentutl.exe /y /vss c:\windows\ntds\ntds.dit /d {PATH_ABSOLUTE:.dit}

Detection

Resources