Skip to main content
How to install Mythic and agents in an offline environment
This guide will assume you can install Mythic on a box that has Internet access and then migrate to your offline testing/development environment.

Setup

  1. Install Mythic following the normal installation
  2. 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.