Categories
tech

goDoH – A DNS-over-HTTPS C2

godoh is a evidence of idea Command and Regulate framework, written in Golang, that makes use of DNS-over-HTTPS as a shipping medium. Lately supported suppliers come with Google, Cloudflare but additionally comprises the power to make use of conventional DNS.
releases web page as a part of tagged releases.
To construct godoh from supply, observe the next steps:

  • Be sure you have dep put in (move get -v -u github.com/golang/dep/cmd/dep)
  • Clone this repository in your $GOPATH‘s src/ listing in order that it’s in sensepost/godoh
  • Run dep ensure that to unravel dependencies
  • Run make key to generate a singular encryption key to make use of for communique
  • Use the move construct equipment, or run make to construct the binaries within the construct/ listing

utilization

$ godoh -h  A DNS (over-HTTPS) C2      Model: dev      Via @leonjza from @sensepost    Utilization:    godoh [command]    Utilization:    godoh [command]    To be had Instructions:    agent       Attach as an Agent to the DoH C2    c2          Begins the godoh C2 server    assist        Assist about any command    obtain     Obtain a report by means of DoH    ship        Ship a report by means of DoH    take a look at        Check DNS communications    Flags:    -d, --domain string     DNS Area to make use of. (ie: instance.com)    -h, --help              assist for godoh    -p, --provider string   Most popular DNS carrier to make use of. [possible: google, cloudflare, raw] (default "google")    Use "godoh [command] --help" for more info a couple of command.  
Obtain goDoH