Ansible Role: Adaptix C2 (Ludus)
An Ansible Role that installs Adaptix Framework server and/or client and all Extensions on a Debian based Linux host.
By default the server listens on port 4321 and endpoint /endpoint with password pass. Any username is accepted. You can change these with role variables, see below.
On the client machine, run the command adaptixclient to start the GUI, and then log into the server using the settings above (unless changed via variables).
None.
Available variables are listed below, along with default values (see defaults/main.yml):
ludus_adaptix_c2_version: 3af8e10c8c2d7d48e3636f48b0f9c80da4d6015d # 0.5 2024-05-28
ludus_adaptix_c2_install_server: false # Set this or the one below to true or the role won't do anything!
ludus_adaptix_c2_install_client: false
ludus_adaptix_c2_profile_url:
ludus_adaptix_c2_profile_raw:
ludus_adaptix_c2_server_args: # -debug can be used here
ludus_adaptix_c2_go_version: 1.24.3
# All options below are for the Adaptix GUI clients to connect to the server, not a c2 agent
ludus_adaptix_c2_port: 4321
ludus_adaptix_c2_endpoint: /endpoint
ludus_adaptix_c2_password: pass
ludus_adaptix_c2_generate_certificate: true
ludus_adaptix_c2_common_name: localhost
ludus_adaptix_c2_organization_name: Adaptix C2
ludus_adaptix_c2_subject_alt_name_array: "DNS:localhost,DNS:127.0.0.1,DNS:::1"
None.
- hosts: adaptix_server_host
roles:
- badsectorlabs.ludus_adaptix_c2
vars:
ludus_adaptix_c2_install_server: true
- hosts: adaptix_client_host
roles:
- badsectorlabs.ludus_adaptix_c2
vars:
ludus_adaptix_c2_install_client: true ludus:
- vm_name: "{{ range_id }}-adaptix-server"
hostname: "{{ range_id }}-adaptix"
template: debian-12-x64-server-template
vlan: 99
ip_last_octet: 1
ram_gb: 4
cpus: 2
linux: true
roles:
- badsectorlabs.ludus_adaptix_c2
role_vars:
ludus_adaptix_c2_install_server: true
- vm_name: "{{ range_id }}-kali-1"
hostname: "{{ range_id }}-kali-1"
template: kali-x64-desktop-template
vlan: 99
ip_last_octet: 2
ram_gb: 4
cpus: 2
linux: true
roles:
- badsectorlabs.ludus_adaptix_c2
role_vars:
ludus_adaptix_c2_install_client: trueGPLv3
This role was created by Bad Sector Labs, for Ludus.
