Catalog LOLBAS

LOL · Binary

Tar.exe

3 techniques WindowsLOLBAS GPL-3.0

ADS

Defense EvasionFile Write Windows

Compress one or more files to an alternate data stream (ADS).

Use Can be used to evade defensive countermeasures, or to hide as part of a persistence mechanism

tar -cf {PATH}:ads {PATH_ABSOLUTE:folder}
Context
user
Native
ADS
Detection
IOC: tar.exe extracting files from a remote host within the environment
IOC: Abnormal processes spawning tar.exe
IOC: tar.exe interacting with alternate data streams (ADS)

ADS

Defense EvasionFile Write Windows

Decompress a compressed file from an alternate data stream (ADS).

Use Can be used to evade defensive countermeasures, or to hide as part of a persistence mechanism

tar -xf {PATH}:ads
Context
user
Native
ADS
Detection
IOC: tar.exe extracting files from a remote host within the environment
IOC: Abnormal processes spawning tar.exe
IOC: tar.exe interacting with alternate data streams (ADS)

Copy

File Copy Windows

Extracts archive.tar from the remote (internal) host to the current host.

Use Copy files

tar -xf {PATH_SMB:.tar}
Context
user
Native
Copy
MITRE
T1105
Detection
IOC: tar.exe extracting files from a remote host within the environment
IOC: Abnormal processes spawning tar.exe
IOC: tar.exe interacting with alternate data streams (ADS)