You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The back-channel below uses HTTP and has the URL in a weirdly configurable place. This could be improved by giving the option to use HTTP and HTTPs communications (or any other TLS wrapped encryption like mTLS).
Then the option to configure the back-channel server at compile time using a compiler argument would be nice or at least have it as a constant at the top of some file so the user does not need to dig into the code to change the server/host information.
Proposed Solution
Implement layer to decide channel of communication:
HTTP
HTTPS
mTLS
Implement compile time decision for those using a switch case.
Compile time definition of C2 server IP address.
Many of this could be done by one of two ways:
Have a variable file or a config.go that the code references on compile time.
What is the Issue?
The back-channel below uses HTTP and has the URL in a weirdly configurable place. This could be improved by giving the option to use HTTP and HTTPs communications (or any other TLS wrapped encryption like mTLS).
Hawk/main.go
Lines 58 to 71 in 49c2b25
Then the option to configure the back-channel server at compile time using a compiler argument would be nice or at least have it as a constant at the top of some file so the user does not need to dig into the code to change the server/host information.
Proposed Solution
Implement layer to decide channel of communication:
Implement compile time decision for those using a switch case.
Compile time definition of C2 server IP address.
Many of this could be done by one of two ways:
go build -ldflags "-X main.c2server=http://beans.evil.com:1337"
The text was updated successfully, but these errors were encountered: