Adaptix Framework
AdaptixC2 GitHubExtension-Kit
  • Welcome
  • Adaptix C2
    • Getting Starting
      • Installation
      • Starting
    • User Interface
    • Listeners and Agents
    • Agent Browsers
      • File Browser
      • Process Browser
    • Data management
      • Tasks storage
      • Downloads Storage
      • Screenshots Storage
    • BOF and Extensions
    • Pivoting
    • Linking Agents
  • Extenders
    • Listeners
      • Beacon HTTP
      • Beacon SMB
      • Beacon TCP
      • Gopher TCP
    • Agents
      • Beacon
        • Beacon BOFs
      • Gopher
  • Development
    • Plugins
    • Listener plugin
    • Agent plugin
  • AX Support Soft
    • AxChecker
    • CmdChecker
  • Changelog
    • v0.1 -> v0.2
    • v0.2 -> v0.3
    • v0.3 -> v0.4
Powered by GitBook
On this page
  • AdaptixServer
  • AdaptixClient
  1. Adaptix C2
  2. Getting Starting

Starting

PreviousInstallationNextUser Interface

Last updated 19 days ago

AdaptixServer

The necessary parameters for starting the AdaptixServer can be passed via command line parameters or via a configuration file.

The configuration file is specified in the -profile parameter and must contain a profile in JSON format.

{
  "Teamserver": {
    "port": 4321,
    "endpoint": "/endpoint",
    "password": "pass",
    "cert": "server.rsa.crt",
    "key": "server.rsa.key",
    "extenders": [
      "extenders/listener_beacon_http/config.json",
      "extenders/listener_beacon_smb/config.json",
      "extenders/listener_beacon_tcp/config.json",
      "extenders/agent_beacon/config.json",
      "extenders/listener_gopher_tcp/config.json",
      "extenders/agent_gopher/config.json"
    ]
  },

  "ServerResponse": {
    "status": 404,
    "headers": {
      "Content-Type": "text/html; charset=UTF-8",
      "Server": "AdaptixC2",
      "Adaptix Version": "v0.4"
    },
    "page": "404page.html"
  }
}

Teamserver:

  • port - port for client connection

  • endpoint - URN for connecting clients

  • password - authenticator for clients

  • cert and key - SSL Certificate and Key for web server

  • extender - array of strings-paths to go-plugins

ServerResponse:

  • status - web server response code in case of an illegitimate request

  • headers - web server HTTP Headers

  • page - the path to the file whose contents will be returned in the web server's response

To run adaptixserver you need an SSL certificate. You can generate your own using the ssl_gen script.

openssl req -x509 -nodes -newkey rsa:2048 -keyout server.rsa.key -out server.rsa.crt -days 3650

After starting AdaptihServer, a data directory will be created next to the server executable file. The server database file and all other files will be created in the data directory.

./adaptixserver -profile profile.json

AdaptixClient

After the AdaptixClient is launched, a directory named .adaptix will be created in the user's home directory. The AdaptixClient database file will be saved in the .adaptix directory. In the authorization form, you must specify the profile data, user nickname, and the name of the local project.

After synchronizing data with the server, the main AdaptixClient window will be available.