Installation

The source code of AdaptixС2 is available on github. The main branch is a stable version and does not contain the latest changes.

git clone https://github.com/Adaptix-Framework/AdaptixC2.git
cd AdaptixC2

Preinstall

To build extenders you need updated Mingw. Advice on building server and extenders (tested): using Ubuntu 24, Debian 12, or Dockerfile.

To build Server and Extenders, you need to install additional dependencies. Please note that golang 1.24.4 is required to compile and run AdaptixServer (and special patched golang for win7 gopher agent).

sudo apt install mingw-w64 make gcc g++ g++-mingw-w64

wget https://go.dev/dl/go1.24.4.linux-amd64.tar.gz -O /tmp/go1.24.4.linux-amd64.tar.gz
sudo rm -rf /usr/local/go /usr/local/bin/go
sudo tar -C /usr/local -xzf /tmp/go1.24.4.linux-amd64.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/local/bin/go

# for windows 7 support by gopher agent
git clone https://github.com/Adaptix-Framework/go-win7 /tmp/go-win7
sudo mv /tmp/go-win7 /usr/lib/

To build Client, you need to install additional dependencies

sudo apt install gcc g++ build-essential make cmake mingw-w64 g++-mingw-w64 libssl-dev qt6-base-dev qt6-websockets-dev qt6-declarative-dev

Server

AdaptixServer and Extenders (goplugins) must be built with the same version of the golang package.

make server
make extenders

All compiled files will be located in the dist directory.

Client

Linux / MacOS

The AdaptixClient is compiled from the cmake configuration.

make client

AdaptixClient file will be located in the dist directory.

Windows

Download QT online installer from the official website: https://www.qt.io/download-qt-installer-oss.

After launching the installer, on the package download page, check the boxes as shown in the screenshot below.

In QT Creator, select Open Project and select the CMakeLists.txt file. After Configuration the project, change the build type to Release and build the project.

Create a directory for the client where all dependencies will be copied. Move the AdapticClient.exe executable to this directory, open cmd.exe and run windeployqt.exe.

The directory with the application and dependencies can be transferred to any computer.

Last updated