MythicAgents / poseidon

Poseidon is a Golang agent targeting Linux and macOS
Other
120 stars 33 forks source link

Poseidon

Poseidon Logo

Poseidon is a Golang agent that compiles into Linux and macOS x64 executables. This Poseidon instance supports Mythic 3.0.0 and will be updated as necessary. It does not support Mythic 2.3 and lower.

Poseidon's Icon

poseidon's icon made by Eucalyp from www.flaticon.com

How to install an agent in this format within Mythic

When it's time for you to test out your install or for another user to install your agent, it's pretty simple. Within Mythic you can run the mythic-cli binary to install this in one of three ways:

Now, you might be wondering when should you or a user do this to properly add your agent to their Mythic instance. There's no wrong answer here, just depends on your preference. The three options are:

Documentation

The Poseidon documentation source code can be found in the documenation-payload/poseidon directory. View the rendered documentation by clicking on Docs -> Agent Documentation in the upper right-hand corner of the Mythic interface.

Building Outside of Mythic

If you want to build outside of Mythic, you can use the Makefile included in the project's agent_code directory. You will need to modify the variables at the top of the Makefile to match the C2 profile information you want to build into your agent. To get all the pieces you need (like UUID and AES key), you need to build the agent within Mythic (or at least kick off an unsuccessful build), then copy that information. To find the information you need, simply go to the Payloads page and click the blue info icon. You'll see the UUID, encryption key, and any other information you need for building to put into your Makefile.