Skip to content

maxDcb/C2Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploration C2 Core

Overview

Exploration C2 Core is the foundational submodule/package shared across all components of the Exploration Command and Control (C2) framework, including C2Implant, C2LinuxImplant and C2TeamServer. Written in C++, it provides core data structures, communication protocols, and serialization mechanisms to enable modular and cross-platform development of C2 components.

This repository is intended to be used as a dependency in both Windows and Linux builds of the Exploration C2 framework in the forme of a subomdule or a package.

Features

  • Unified message format across all C2 transport channels
  • Serialization and deserialization of C2 messages using nlohmann/json
  • Utilities for modules development
  • Designed for portability and reuse across multiple platforms

Dependencies

Prerequisites

  • CMake 3.24
  • C++17 compatible compiler (e.g., g++, or MSVC)

Build, Tests and Package

cmake -S . -B build
cmake --build build
cmake --install build --prefix <install_root>
ctest --test-dir build --output-on-failure
mkdir build
cd build
cmake -G "Visual Studio 17 2022" ..
msbuild .\C2Core.sln /property:Configuration=Release -m
cmake --install . --prefix <install_root>
cd ..
ctest --test-dir build -C Release

About

Core Submodule of Exploration C2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published