How mythicmeta/examplecontainers works
ExampleContainers demonstrates Mythic service containers in Go and Python. The principal workflow is container startup registering payload, C2, translation, webhook, logging, and eventing capabilities with Mythic; payload and C2 definitions support operator tasking and agent communication. The Go entry point explicitly initializes services, while Python imports service modules before starting Mythic’s service runner. README documents RabbitMQ for payload/C2/logger/webhooks and gRPC for translation. Some Python integrations and several Go implementations are unsampled, so their internal calls are not inferred.
Main entry points: main.go Go Runner · main.py Python Runner · websocket.py Websocket Profile · basic_python_agent Apfell Payload
Components 21
Go Services
- Go Runner
Payload_Type/go_services/main.go
Python Services
- Python Runner
Payload_Type/python_services/main.py
Payload Capabilities
- Go Agent Payload
Payload_Type/go_services/basic_agent/agentfunctions/builder.go - Apfell Payload
Payload_Type/python_services/basic_python_agent - Command Augment
Payload_Type/python_services/basic_command_augment
C2 Profiles
- HTTP C2 Definition
Payload_Type/go_services/http/c2functions/builder.go - Websocket Profile
Payload_Type/python_services/websocket/mythic/c2_functions/websocket.py - Websocket Server Runner
Payload_Type/python_services/websocket/c2_code/src/main.go - Websocket Server
Payload_Type/python_services/websocket/c2_code/src/pkg/servers/server.go
Shared Services
- Go Translation
Payload_Type/go_services/no_actual_translation/translationfunctions/translations.go - Go Webhooks
Payload_Type/go_services/my_webhooks - Go Logger
Payload_Type/go_services/my_logger/initialize.go - Go Eventing
Payload_Type/go_services/my_event_processor - Go Auth
Payload_Type/go_services/my_auth/initialize.go - Python Eventing
Payload_Type/python_services/basic_eventer/my_eventing.py - Python Translation
Payload_Type/python_services/translator/translator.py - Python Logger
Payload_Type/python_services/my_logger/logger.py - Python Webhook
Payload_Type/python_services/mywebhook/webhook.py
Other components
- Mythic Server
- RabbitMQ
- gRPC
Connections 30
- Go Runner → Go Agent Payload: initializes
Payload_Type/go_services/main.go - Go Runner → HTTP C2 Definition: initializes
Payload_Type/go_services/main.go - Go Runner → Go Translation: initializes
Payload_Type/go_services/main.go - Go Runner → Go Webhooks: initializes
Payload_Type/go_services/main.go - Go Runner → Go Logger: initializes
Payload_Type/go_services/main.go - Go Runner → Go Eventing: initializes
Payload_Type/go_services/main.go - Go Runner → Go Auth: initializes
Payload_Type/go_services/main.go - Go Runner → Mythic Server: starts services
Payload_Type/go_services/main.go - Python Runner → Apfell Payload: imports
Payload_Type/python_services/main.py - Python Runner → Websocket Profile: imports
Payload_Type/python_services/main.py - Python Runner → Python Translation: imports
Payload_Type/python_services/main.py - Python Runner → Python Logger: imports
Payload_Type/python_services/main.py - Python Runner → Command Augment: imports
Payload_Type/python_services/main.py - Python Runner → Python Eventing: imports
Payload_Type/python_services/main.py - Python Runner → Mythic Server: starts services
Payload_Type/python_services/main.py - Websocket Server Runner → Websocket Server: creates and runs
Payload_Type/python_services/websocket/c2_code/src/main.go - Websocket Profile → Websocket Server Runner: configures binary
Payload_Type/python_services/websocket/mythic/c2_functions/websocket.py - Apfell Payload → Mythic Server: syncs definitions
- Command Augment → Mythic Server: syncs definitions
- Websocket Profile → Mythic Server: syncs definitions
- Go Agent Payload → RabbitMQ: connects via
- HTTP C2 Definition → RabbitMQ: connects via
- Go Logger → RabbitMQ: connects via
- Go Webhooks → RabbitMQ: connects via
- Go Translation → gRPC: connects via
- Apfell Payload → RabbitMQ: connects via
- Websocket Profile → RabbitMQ: connects via
- Python Logger → RabbitMQ: connects via
- Python Webhook → RabbitMQ: connects via
- Python Translation → gRPC: connects via