⚔️ 📦 An Ubuntu 18.04 box for Mythic C2 framework development
Takes care of Mythic dependencies and setup, port forwarding and folder sharing, using Virtualbox and Vagrant.
Ensure Virtualbox and Vagrant are installed.
git clone https://github.com/mattreduce/mythic-crate.git
cd mythic-crate
- Run
export VAGRANT_EXPERIMENTAL=disks
to be able to customize the disk size of your VM - Run
vagrant up
to boot and setup the VM - SSH access: run
vagrant ssh
- Admin UI access: browse to https://localhost:7443 on your host machine
- Log in as
mythic_admin
with the password found asMYTHIC_ADMIN_PASSWORD
in the.env
file inside the Mythic folder (on the VM) - Guest VM's
/vagrant
directory is shared with project directory on host
- Run Mythic admin scripts right from your host OS like
vagrant ssh -c "sudo -E ./mythic-cli status"
- To suspend the VM, run
vagrant suspend
; runvagrant resume
to continue in about 30 seconds - To safely and completely power off, run
vagrant halt
; likewisevagrant up
will power up - Run
vagrant destroy
to remove the VM and clean up your work
Ports exposed on your host system, mapped to their normal Mythic C2 port:
VM | Host | Purpose |
---|---|---|
7443 | 7443 | Admin UI |
80 | 8080 | HTTP C2 traffic |
443 | 4443 | HTTPS C2 traffic |