Godoh - A Dns-Over-Https C2


godoh is a proof of concept Command in addition to Control framework, written inwards Golang, that uses DNS-over-HTTPS equally a carry medium. Currently supported providers include Google, Cloudflare merely also contains the mightiness to utilisation traditional DNS.

Installation
All y'all would postulate are the godoh binaries themselves. Binaries are available for download from the releases page equally purpose of tagged releases.
To gear upward godoh from source, follow the next steps:
  • Ensure y'all convey dep installed (go larn -v -u github.com/golang/dep/cmd/dep)
  • Clone this repository to your $GOPATH's src/ directory in addition to thus that it is inwards sensepost/godoh
  • Run dep ensure to resolve dependencies
  • Run make key to generate a unique encryption primal to utilisation for communication
  • Use the go gear upward tools, or run make to gear upward the binaries inwards the build/ directory

usage
$ godoh -h  Influenza A virus subtype H5N1 DNS (over-HTTPS) C2      Version: dev      By @leonjza from @sensepost    Usage:    godoh [command]    Usage:    godoh [command]    Available Commands:    agent       Connect equally an Agent to the DoH C2    c2          Starts the godoh C2 server    assist        Help nearly whatever ascendence    have     Receive a file via DoH    shipping        Send a file via DoH    bear witness        Test DNS communications    Flags:    -d, --domain string     DNS Domain to use. (ie: example.com)    -h, --help              assist for godoh    -p, --provider string   Preferred DNS provider to use. [possible: google, cloudflare, raw] (default "google")    Use "godoh [command] --help" for to a greater extent than information nearly a command.