Code Monkey home page Code Monkey logo
  • πŸ‘‹ Hi, I’m @xXIamNoOneXx

  • πŸ‘€ I’m interested in ...everything computer

  • 🌱 I’m currently learning ...all that I can

  • πŸ’žοΈ I’m looking to collaborate on ...anything...well almost anything.

  • πŸ“« How to reach me ... [email protected]

"Concussion" a C2 Server Framework

This is currently a work in progress. I am currently learning about command and control servers and I always feel like I learn the most when I do it so I started making one. Any feedback or suggestions are welcome. Thank YOU

P.S. This is for educational purposes only. What you do with my code from here is your responsibility.

Description of "Concussion" C2 System

"Concussion" is a simple command and control (C2) system consisting of a server (c2_server.py), a client with a GUI (c2_client.py), and an optional simple C++ server (simple_server.cpp) for demonstration purposes. Here's what it can do

Server (c2_server.py)
    Listens for incoming connections.
    Accepts encrypted commands from the client.
    Executes commands on the server's machine.
    Sends encrypted command output back to the client.
    Supports command history and an "exit" command to close the connection.

Client with GUI (c2_client.py)
    Provides a user-friendly interface for sending commands to the server.
    Sends encrypted commands to the server.
    Displays the encrypted output received from the server.
    Allows viewing command history.
    Provides an "exit" button to close the connection gracefully.

Optional Simple C++ Server (simple_server.cpp)
    A demonstration server that listens on port 12345.
    Accepts connections and sends a welcome message.

Installation Instructions

Server (c2_server.py)

Place c2_server.py on your server machine.
Install the required Python packages by running pip install cryptography.
Configure the server's host and port in the script.
Generate a shared symmetric key and replace 'YOUR_SHARED_SYMMETRIC_KEY' with it.
Run the server script with python c2_server.py.

Client with GUI (c2_client.py)

Place c2_client.py on your client machine.
Install the required Python packages by running pip install cryptography tkinter.
Configure the server's host and port, and replace 'YOUR_SERVER_IP' and 12345 with the server's details.
Replace 'YOUR_SHARED_SYMMETRIC_KEY' with the same symmetric key used on the server.
Run the client script with python c2_client.py.

Optional Simple C++ Server (simple_server.cpp)

Compile simple_server.cpp using a C++ compiler.
Place the compiled executable on a machine where you want to run the simple server.
Run the server executable.

Ensure that the server and client machines can communicate over the network and that you have proper authorization for any activities involving system manipulation or penetration testing.

xXIamNoOneXx's Projects

xXIamNoOneXx doesn’t have any public repositories yet.

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.