> For the complete documentation index, see [llms.txt](https://howto.thec2matrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://howto.thec2matrix.com/c2/mythic.md).

# Mythic

## Apfell was renamed to Mythic

Post: <https://posts.specterops.io/a-change-of-mythic-proportions-21debeb03617>

Github: <https://github.com/its-a-feature/Mythic>

Doc: <https://docs.mythic-c2.net/>

## Set up

Thanks to Aaron Herman for below notes.

### **Git clone the repository**

$ git clone <https://github.com/its-a-feature/Mythic>

$ cd Mythic

$ sudo ./mythic-cli start

### Get password for admin

$ cat .env | grep -i admin\_pass

### Install a payload Github repo

$ ./mythic-cli install github <https://github.com/MythicAgents/poseidon>

### Navigate to UI

<https://localhost:7443/new/login> and sign in with mythic\_admin and password from above

### Generating payloads

* Navigate to <https://localhost:7443/new/payloads> and click “Actions”, “Create New Payload”
* Follow prompts to add Target OS
* Target Payload Type
  * Poseidon
  * Medusa
    * Make sure you have a C2 profile - sudo ./mythic-cli c2 start http
* Add any additional commands (Poseidon doesn’t have any available ones)
* Select C2 profile (make sure you have a C2 profile created/running)
* Create Payload!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://howto.thec2matrix.com/c2/mythic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
