How whispergate/erebus works
Erebus is a Mythic initial-access payload and delivery-chain wrapper. An operator configures a build in Mythic; the builder coordinates plugin-backed payload, trigger, and container capabilities to produce delivery artifacts. Other documented branches include obfuscation, signing, persistence, infrastructure generation, and validation-oriented utilities. The graph reflects documented capabilities and indexed source references; many plugin implementations were not sampled, so uncertain internal call paths are omitted.
Main entry points: builder.py Build coordinator · plugin_loader.py Plugin loader · plugin_payload_maldocs.py Office documents · plugin_base.py Plugin interface
Components 17
Build orchestration
- Mythic runtime
- Build coordinator
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Plugin loader
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_loader.py - Plugin interface
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_base.py
Payload generation
- Payload loaders
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_loader.py - Office documents
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_payload_maldocs.py - VBA compiler
Payload_Type/erebus_wrapper/erebus_wrapper/agent_code/vba_compiler/compiler.py - MalDoc matrix
Payload_Type/erebus_wrapper/erebus_wrapper/maldoc_matrix.py
Delivery construction
- Trigger plugins
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules - Container plugins
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules
Build capabilities
- Shellcrypt options
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_shellcode_obfuscation.py - Code signing
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_codesigner.py - Persistence plugins
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules - Infrastructure tools
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules - PE and hunt tools
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules
Other components
- Operator
- Delivery artifact
Connections 16
- Operator → Mythic runtime: configures build
- Mythic runtime → Build coordinator: starts service
- Build coordinator → Plugin loader: loads plugins
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Plugin loader → Plugin interface: discovers implementations
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_base.py - Build coordinator → Payload loaders: builds payloads
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Office documents: builds documents
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Office documents → VBA compiler: compiles VBA
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/modules/plugin_payload_maldocs.py - Build coordinator → MalDoc matrix: runs matrix
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Trigger plugins: selects trigger
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Container plugins: packages payload
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Shellcrypt options: configures obfuscation
- Build coordinator → Code signing: applies signing
- Build coordinator → Persistence plugins: offers persistence
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Infrastructure tools: generates infrastructure
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → PE and hunt tools: offers validation
Payload_Type/erebus_wrapper/erebus_wrapper/erebus/builder.py - Build coordinator → Delivery artifact: produces build