{"id":20790968,"url":"https://github.com/outflanknl/external_c2","last_synced_at":"2025-05-05T20:50:52.225Z","repository":{"id":110172445,"uuid":"103825769","full_name":"outflanknl/external_c2","owner":"outflanknl","description":"POC for Cobalt Strike external C2","archived":false,"fork":false,"pushed_at":"2021-09-06T09:39:44.000Z","size":8,"stargazers_count":131,"open_issues_count":0,"forks_count":31,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T23:31:36.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outflanknl.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-17T12:07:43.000Z","updated_at":"2025-03-21T11:17:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"c13cdb5a-f3b4-4327-96c4-7b0772359309","html_url":"https://github.com/outflanknl/external_c2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2Fexternal_c2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2Fexternal_c2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2Fexternal_c2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outflanknl%2Fexternal_c2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outflanknl","download_url":"https://codeload.github.com/outflanknl/external_c2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252575962,"owners_count":21770662,"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":[],"created_at":"2024-11-17T15:39:39.353Z","updated_at":"2025-05-05T20:50:52.208Z","avatar_url":"https://github.com/outflanknl.png","language":"C","funding_links":[],"categories":["\u003ca id=\"e8d16b3301a2ab9109b503b89ec6eece\"\u003e\u003c/a\u003eCobalt Strike"],"sub_categories":["\u003ca id=\"f587c1f0baaf7aa1d9e9c5fe533c7a6d\"\u003e\u003c/a\u003e工具"],"readme":"## Synopsis\n\nCobalt Strike contains a new / experimental feature called external_c2. This bypasses the mallable profiles and allows the developper to craft it's own channels. \nThis code is a POC, that in the end appeared to be the solution to a real life problem.\n\n## Code content\n\n- c2file.c: a C implementation of the client (the process in talking to beacon)\n- c2file_dll.c, c2file_dll.h, c2file.py: A python implementation of the client (using a dll, the process in talking to beacon) allowing for quick development of complex channels\n- python_c2ex.py: The server talking to the external_c2 plugin of teamserver.\n- externalc2_start.cna: the script needed to start the external_c2 on teamserver.\n\n## Blog\n\nRead our blog for more info: https://outflank.nl/blog/2017/09/17/blogpost-cobalt-strike-over-external-c2-beacon-home-in-the-most-obscure-ways/\n\n## Installation\n\ni686-w64-mingw32-gcc -shared c2file_dll.c -o c2file.dll\n\n\n## Contributors\n\nThanks to @armitagehacker for providing info on external_c2 functionality including C sample code that was essentially to make this work.\nThanks to Marc Smeets (@mramsmeets), author of the blog and the one to implement this POC in a real assignment.\nCode written by Mark Bergman (@xychix) but heavily relying on @armitagehacker initial C example.\n\n## License\n\nBSD license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutflanknl%2Fexternal_c2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutflanknl%2Fexternal_c2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutflanknl%2Fexternal_c2/lists"}