Giter VIP home page Giter VIP logo

c2's Introduction

C2

About

A simple C2 framework. Made in pure C for agent, Python for teamserver, web UI for clients.

Main panel: image

Screenshare: image

HVNC example: image

Features

  • Scriptable
  • Beacon object files
  • Usermode unhooking
  • Modular C2
  • Traffic encryption
  • Screenshare support
  • HVNC
  • SOCKS5 proxy
  • Process migration
  • Revive on crash
  • Privilege escalation
  • Persistence

Compilation

Designed to compile with the mingw GCC Compiler. Compile agent with x86_64-w64-mingw32-gcc agent/main.c -s -Os -lws2_32 -lwininet -m64 -luser32 -lgdi32 -lole32 -lshlwapi -ladvapi32 -lurlmon -mwindows -o main.exe, sample BOF with x86_64-w64-mingw32-gcc bof/dlldemo.c -shared -o dlldemo.dll -m64, run server with python3 server/server.py

Scripting

Sample script:

unhook
sandbox
print "test" -> popint
shc_inject_apc "C:\Windows\System32\notepad.exe" hex([hex]) FALSE
print "asdf"
exec "echo \"lorem ipsum dolor sit\""
msgbox "title" "data \"big data\""
exec "dir"
sleep 3000
exec "whoami"
swap_c2 socks 127.0.0.1 6968 1000

Future plans

  • Add more documentation
  • Add more commands
  • Make stager/shellcode
  • Add agent builder UI

c2's People

Contributors

fern89 avatar

Stargazers

 avatar SaiRson 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.