Please see the installation page.
The config.json is in the project root. You can edit it for setting the bind address/port, domains, etc. Hermit automatically reads this configurations when starting the server.
If you're not particular about it, there's no problem leaving it as is.
Simply execute the hermit command in the project directory where you've installed Hermit.
./hermit
# or
./hermit serverHermit automatically reads the ./config.json file and setup the configuration from the file.
You can also specify the config file path as below:
./hermit -c /path/to/config.jsonNow the C2 server and console start and you can do all operations for the Hermit C2.
- As solo, you can use it as is in this server console.
- As team, proceed below to run the C2 client for each operator.
If you would like to use Hermit as team and use C2 client, please do the follow:
- Once the C2 server starts, the client config file is generated at
$HOME/.hermit/server/configs/client-config-<operator>.json. - Transfer this file to the C2 client computer.
- To generate a new config file for another operator, run the
client-config gencommand on the C2 server console.
Before starting the C2 client, please follow the previous "3. Transfer the Client Config File" section. You can edit the following config as needed:
- operator
Simply run the following command with specifying the client-config-<operator>.json.
./hermit-client -c /path/to/client-config-<operator>.jsonPlease see the Tutorial: Simple Implant Beacon.