Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sensepost/DNS-Shell
DNS-Shell is an interactive Shell over DNS channel
https://github.com/sensepost/DNS-Shell
Last synced: about 2 months ago
JSON representation
DNS-Shell is an interactive Shell over DNS channel
- Host: GitHub
- URL: https://github.com/sensepost/DNS-Shell
- Owner: sensepost
- Created: 2016-10-05T13:51:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-11T16:26:14.000Z (about 4 years ago)
- Last Synced: 2024-08-03T17:12:02.652Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 520
- Watchers: 35
- Forks: 135
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - sensepost/DNS-Shell - DNS-Shell is an interactive Shell over DNS channel (Python)
README
DNS-shell
DNS-Shell is an interactive Shell over DNS channel. The server is Python based and can run on any operating system that has python installed, the payload is an encoded PowerShell command.
Understanding DNS-Shell
The Payload is generated when the sever script is invoked and it simply utilizes nslookup to perform the queries and query the server for new commands the server then listens on port 53 for incoming communications, once payload is executed on the target machine the server will spawn an interactive shell.
Once the channel is established the payload will continously query the server for commands if a new command is entered, it will execute it and return the result back to the server.
Using DNS-Shell
Running DNS-Shell is relatively simple
DNS-Shell supports two mode of operations direct and recursive modes:
- Perform a git clone from our DNS-shell Github page
- DNS-Shell direct mode: sudo python DNS-Shell.py -l -d [Server IP]
- DNS-Shell recursive mode: sudo python DNS-Shell.py -l -r [Domain]