Dns-Shell - An Interactive Rhythm Out Over Dns Channel


DNS-Shell is an interactive Shell over DNS channel. The server is Python based too tin flame piece of job on whatsoever operating arrangement that has python installed, the payload is an encoded PowerShell command.

Understanding DNS-Shell
The Payload is generated when the sever script is invoked too it merely utilizes nslookup to perform the queries too interrogation the server for novel commands the server too then listens on port 53 for incoming communications, in ane trial payload is executed on the target motorcar the server volition spawn an interactive shell.
Once the channel is established the payload volition continously interrogation the server for commands if a novel ascendence is entered, it volition execute it too furnish the number dorsum to the server.

Using DNS-Shell
Running DNS-Shell is relatively simple
DNS-Shell supports 2 trend of operations instantly too recursive modes:
  • Perform a git clone from our DNS-shell Github page
  • DNS-Shell instantly mode: sudo python DNS-Shell.py -l -d [Server IP]
  • DNS-Shell recursive mode: sudo python DNS-Shell.py -l -r [Domain]