mythic-crate
mythic-crate copied to clipboard
:crossed_swords: :package: An Ubuntu 18.04 box for Mythic C2 framework development
mythic-crate
:crossed_swords: :package: 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.
Instructions
Setup
Ensure Virtualbox and Vagrant are installed.
git clone https://github.com/mattreduce/mythic-crate.gitcd mythic-crate- Run
export VAGRANT_EXPERIMENTAL=disksto be able to customize the disk size of your VM - Run
vagrant upto 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_adminwith the password found asMYTHIC_ADMIN_PASSWORDin the.envfile inside the Mythic folder (on the VM) - Guest VM's
/vagrantdirectory is shared with project directory on host
Administration
- 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 resumeto continue in about 30 seconds - To safely and completely power off, run
vagrant halt; likewisevagrant upwill power up - Run
vagrant destroyto remove the VM and clean up your work
Ports
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 |
Resources
- https://www.vagrantup.com/docs
- https://docs.mythic-c2.net/