Skip to content

DShield-ISC/IPv6DNSExfil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPv6DNSExfil

This script will create AAAA records that can be used as a C&C channel. The output of the file2ipv6.sh script is intended to be piped to nsupdate, which will then take care of sending the updates to the appropriate authoritative DNS server.

You will need to configure the correct DNS server in the script, as well as the zone you want to use for the C&C channel.

To run the script:

./file2ipv6 sample.txt | nsupdate -k dns.key  

sample.txt is any file that you would like to encode. Typically a simple text file with a shell command to be executed. dns.key is the update key for your DNS server. This is optional, and if you need it or not will depend on your name server configuration.

server.sh contains the oneliner that will execute the command on the compromised system.

More details: https://isc.sans.edu/diary.html?storyid=21301

About

Data Exfiltration and Command Execution via AAAA Records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages