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 page as part of tagged releases.
To build godoh
from source, follow the following steps:
go get -v -u github.com/golang/dep/cmd/dep
)$GOPATH
‘s src/
directory so that it is in sensepost/godoh
dep ensure
to resolve dependenciesmake key
to generate a unique encryption key to use for communicationgo
build tools, or run make
to build the binaries in the build/
directoryAlso Read – A List Of Services & How To Claim Subdomain With Dangling DNS Records
Usage
$ godoh -h
A DNS (over-HTTPS) C2
Version: dev
By @leonjza from @sensepost
Usage:
godoh [command]
Usage:
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 communications
Flags:
-d, –domain string DNS Domain to use. (ie: example.com)
-h, –help help for godoh
-p, –provider string Preferred DNS provider to use. possible: google, cloudflare, raw
Use “godoh [command] –help” for more information about a command.
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…