Functionality for Mythic C2 Containers
Project description
Mythic C2 Container
The mythic_c2_container
package creates an easy way to get everything set up in a new C2 container for a Mythic supported C2 Profile. Mythic is a Command and Control (C2) framework for Red Teaming. The code is on GitHub (https://github.com/its-a-feature/Mythic) and the Mythic project's documentation is on GitBooks (https://docs.mythic-c2.net). This code will be included in the default Mythic C2 containers, but is available for anybody making custom containers as well.
Installation
You can install the mythic scripting interface from PyPI:
pip install mythic-c2-container
How to use
Version 0.0.23 of the mythic_c2_container
package supports version 2.2.12 of the Mythic project. This container reports to mythic as version 4 (PyPi version 0.0.23).
For the main execution of the heartbeat and service functionality, simply import and start the service:
from mythic_c2_container import mythic_service
mythic_service.start_service_and_heartbeat(debug=False)
You can also pass debug=True
to the start_service_and_heartbeat() function to get detailed debugging information
For a C2 Profile's code to leverage the C2ProfileBase or RPC functionality:
from mythic_c2_container import C2ProfileBase
from mythic_c2_container.MythicRPC import MythicRPC
response = await MythicRPC().execute("function name", **kwargs)
You can get the Mythic version of this package with the get_version_info
function:
from mythic_c2_container.mythic_service import get_version_info
get_version_info()
Where is the code?
The code for this PyPi package can be found at https://github.com/MythicMeta/Mythic_C2Profile_Container
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mythic_c2_container-0.0.31.tar.gz
.
File metadata
- Download URL: mythic_c2_container-0.0.31.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a5603320dbd7bcd65e4de8833bd3890d9d04e8842b2f8ecff23c8ecc42be6b |
|
MD5 | b6324b94733308e684c142a8cf6ab8ce |
|
BLAKE2b-256 | 5546f8f47289e1d8fee26994a4211fead2845be193abf47972f4eb62fccb99b5 |
File details
Details for the file mythic_c2_container-0.0.31-py3-none-any.whl
.
File metadata
- Download URL: mythic_c2_container-0.0.31-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab52be56b5e66310845b9f7f406822f7eead7c3689ce5aa28f976f763c39c236 |
|
MD5 | 2c512c9d07b09c367de6929770bfc65c |
|
BLAKE2b-256 | ff86f8ed58b7ccfdb0ca2133bd976ef84a146e0acb635c114f34204d4ef170d8 |