Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sensepost/godoh
🕳 godoh - A DNS-over-HTTPS C2
https://github.com/sensepost/godoh
c2 command-and-control dns dns-over-https doh golang
Last synced: 10 days ago
JSON representation
🕳 godoh - A DNS-over-HTTPS C2
- Host: GitHub
- URL: https://github.com/sensepost/godoh
- Owner: sensepost
- License: gpl-3.0
- Created: 2018-10-23T07:24:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T07:21:45.000Z (11 months ago)
- Last Synced: 2024-05-02T05:05:58.561Z (6 months ago)
- Topics: c2, command-and-control, dns, dns-over-https, doh, golang
- Language: Go
- Homepage: https://sensepost.com/blog/2018/waiting-for-godoh/
- Size: 131 KB
- Stars: 735
- Watchers: 31
- Forks: 120
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - sensepost/godoh - 🕳 godoh - A DNS-over-HTTPS C2 (Go)
README
🕳 godoh
A DNS-over-HTTPS Command & Control Proof of Concept
## introduction
`godoh` is a proof of concept Command and Control framework, written in Golang, that uses DNS-over-HTTPS as a transport medium. Currently supported providers include Google, Cloudflare but also contains the ability to use traditional DNS.
## installation
All you would need are the `godoh` binaries themselves. Binaries are available for download from the [releases](https://github.com/sensepost/goDoH/releases) page as part of tagged releases.
To build `godoh` from source, follow the following steps:
* Ensure you have Go 1.13+
* Clone this repository with `git clone https://github.com/sensepost/goDoH.git`
* Run `make key` to generate a unique encryption key to use for communication
* Build the project with one of the following options:
* `go build` which will drop you a new `godoh` binary for the current architecture
* `make` which will drop binaries in the `build/` directory for various platforms## usage
```txt
A DNS (over-HTTPS) C2
By @leonjza from @sensepostUsage:
godoh [flags]
godoh [command]Available Commands:
agent Connect as an Agent to the DoH C2
c2 Starts the godoh C2 server
help Help about any command
receive Receive a file via DoH
send Send a file via DoH
test Test DNS communicationsFlags:
-d, --domain string DNS Domain to use. (ie: example.com)
-h, --help help for godoh
-p, --provider string Preferred DNS provider to use. [possible: googlefront, google, cloudflare, quad9, raw] (default "google")
-K, --validate-certificate Validate DoH provider SSL certificatesUse "godoh [command] --help" for more information about a command.
```## license
`godoh` is licensed under a [GNU General Public v3 License](https://www.gnu.org/licenses/gpl-3.0.en.html). Permissions beyond the scope of this license may be available at http://sensepost.com/contact/.