Mythic C2 Framework

repository·master·Indexed 26 days ago

https://github.com/its-a-feature/mythic

A cross-platform, post-exploit red teaming framework for collaborative operations. It features a GoLang backend, Docker-based containerization for agents and C2 profiles, and a React-based web UI. The framework includes a CLI tool (mythic-cli) for environment management, support for custom agents and wrappers, and an eventing system for automating payload creation and response interception via GraphQL and Python libraries.

Tokens
35.5K
Snippets
107
Records
243
Agent score
87%

What's inside Mythic

  1. Understand the purpose of Mythic Wrappers

    master
    Wrappers are specialized payloads designed to embed or stage an agent. Unlike standard agents, wrappers do not contain their own commands or C2 profiles. Their primary purpose is to abstract payload creation components that are not agent-specific. For example, a service_wrapper can take shellcode and generate a C# Service executable, allowing multiple Windows agents to leverage service creation without implementing the logic themselves.
  2. Create a new chapter using the Hugo archetype

    master

    When using the hugo-theme-learn theme, you can create new chapters by using the chapter archetype. This archetype automatically sets the chapter front matter flag to true, assigns a default weight of 5, and prepares a placeholder title and date.

    To use this archetype with the Hugo CLI, run:

    hugo new chapter "your-chapter-name"

    Note: The title in the front matter is automatically generated from the filename by replacing hyphens with spaces and applying title casing.

  3. Install Agents and C2 Profiles via mythic-cli

    master

    Mythic does not host Payload Types (Agents) or C2 Profiles in its core repository. Instead, use the install github command to pull them directly from GitHub into your running Mythic instance. This allows for independent updates of agents and profiles without touching the Mythic Core.

    Command Syntax: ./mythic-cli install github <url> [-b branch name] [-f]

  4. Use internal documentation for Agents, C2 Profiles, and Wrappers

    master

    The internal documentation provides granular details for the following components:

    Agents

    • Overview information
    • Operational security (OpSec) considerations
    • Developer information
    • Detailed breakdown of each command

    C2 Profiles

    • Overview information
    • OpSec considerations
    • Developer information
    • Traffic flow analysis (wire representation)

    Wrappers

    • Overview information
    • OpSec considerations
    • Developer information regarding the wrapper's purpose and goals.
  5. Start Mythic using mythic-cli

    master

    Mythic is managed via the mythic-cli binary. To start the Mythic environment with all default containers, you must first generate the binary using make and then run the start command.

    Prerequisites:

    • You must have make installed.
    • Commands typically require sudo privileges to manage Docker containers.