Cloud dead-drop C2 channel plugin for Adaptix C2 v1.2.
Beacons communicate through Azure cloud storage or OneDrive instead of direct HTTP callbacks. All traffic is outbound HTTPS to Microsoft endpoints. No public IP or inbound ports needed.
Supports two storage backends:
- Azure Blob Storage (recommended)
- OneDrive (Microsoft Graph API)
For authorized red team and penetration testing use only.
For a full walkthrough, see the deployment guide.
- Adaptix C2 v1.2 installed and built
- Go 1.25.4+ (must match the server binary version)
- MinGW cross-compilers (
x86_64-w64-mingw32-g++,i686-w64-mingw32-g++)
git clone https://github.com/stillbigjosh/adaptix-graph-c2.git
cd adaptix-graph-c2
./scripts/install.sh /path/to/AdaptixC2The script does everything: patches the source, builds the listener plugin, rebuilds the server, compiles beacon objects, and restarts the service.
- Open the Adaptix Client.
- Go to Listeners > Create Listener.
- Set Protocol to
external (graph), Config toBeaconGraph. - Set Storage Backend to
bloboronedriveand fill in the required fields. - Click Create, then Start the listener.
- Generate a beacon payload from the graph listener and deploy it.
./scripts/uninstall.sh /path/to/AdaptixC2| Problem | Fix |
|---|---|
go: not found |
The script adds /usr/local/go/bin to PATH. If Go is elsewhere: export PATH="/your/go/path/bin:$PATH" |
missing go.sum entry |
Run cd listener && go mod tidy, then re-run install |
| All commands "Command not found" | Make sure ax_config_graph_commands.patch was applied: grep BeaconGraph dist/extenders/beacon_agent/ax_config.axs |
Beacon hits login.microsoftonline.com in blob mode |
Re-apply agent_generate_profiles.patch and regenerate the payload |
objects_graph/config.cpp missing |
Run bash scripts/build_objects.sh /path/to/AdaptixC2 |
agent_kharon build error |
Pre-existing Adaptix issue, does not affect this plugin |
| 403 on blob ops | SAS must use version 2020-10-02 without signedEncryptionScope |
| No callback | Target cannot reach {account}.blob.core.windows.net:443 |