Last updated
Last updated
This guide will assume you can install Mythic on a box that has Internet access and then migrate to your offline testing/development environment.
Install Mythic following the normal installation
With Mythic running, install any other agents or profiles you might need/want.
3. Export your docker containers. Make sure you also save the tags.
4. Download donut from pypi. (this is apollo specific, so there might be others depending on your agent)
Download Apollo dependencies (apollo specifically installs these dynamically within the Docker container at build-time, so pre-fetch these)
5. Tar Mythic directoy.
6. Push mythic_images.tar
, mythic_tags
, and mythic.tar.gz
to your offline box.
7. Import docker images and restore tags.
8. Extract Mythic directory.
10. Start Mythic
Normally, Mythic containers will try to re-build every time you bring them down and back up. This might not be great for an offline environment. The configuration variable, REBUILD_ON_START
, can be set to false
to tell Mythic that the containers should specifically NOT be rebuilt when restarted.
9. Update Apollo's Dockerfile (at the time of use, it might not be 0.1.1 anymore, check the latest). This is apollo specific, so you might need to copy in pieces for other agents/c2 profiles depending on what components they dynamically try to install.
How to install Mythic and agents in an offline environment