
A Python agent targeting Linux for Mythic C2
Hermes is a lightweight Linux agent written in Python, designed for Mythic 3.0 and newer. Named after Hermes, messenger of the gods — built for speed and discretion.
whoami, ps, netstat, ifconfig, systeminfo, env)ls, cat, cp, mv, rm, mkdir, chmod, chown, find, grep)upload, download)shell)sleep, exit, cd)1.) Install Mythic from here
2.) From the Mythic install directory, run the following command:
./mythic-cli install github https://github.com/0xbbuddha/hermes
Hermes communicates over the default HTTP profile used by Mythic. All taskings and responses are done via POST requests.
Note: The GET URI parameter is unused — only POST is supported.
Hermes can use a Notion database as a covert C2 channel. The agent communicates with Mythic by creating and reading pages in a shared Notion database, making traffic blend in with legitimate Notion API calls.
Requires:
integration_token)database_id)Hermes is a Python agent and requires Python 3.8+ to be present on the target system. This may increase the detection surface compared to a compiled binary.
| Format | Description |
|---|---|
Python script (.py) | Minimal footprint, requires Python on target |
| Directory bundle | Self-contained with dependencies, easier to deploy |
The default sleep interval directly impacts both stealth and performance. A high sleep interval reduces network noise but degrades SOCKS5 proxy throughput. Tune according to your operational requirements.
Hermes is built exclusively for Linux targets. Windows and macOS are not supported.
Because SOCKS5 traffic is relayed through the agent's HTTP polling loop, latency is directly tied to the sleep interval. Real-time protocols (e.g. RDP, interactive shells) may experience degraded performance at higher sleep values.