/Clover

Clover P2P Reverse Shell allows you to establish a a decentralized peer-to-peer (P2P) connection between two computers and execute shell commands on the remote computer.

Primary LanguagePythonApache License 2.0Apache-2.0

Clover P2P C2

Clover P2P Reverse Shell

Clover P2P C2 allows you to establish a a decentralized peer-to-peer (P2P) connection between two computers and execute shell commands on the remote computer.

Features

  • Secure communication using AES encryption
  • Ability to execute shell commands on the remote computer
  • Option to choose between listening for incoming connections or connecting to a peer
  • Automatic key generation or manual key specification for added security
  • Decentralized peer-to-peer communication
  • Cross-platform compatibility.
  • Add a command in queue with "-q" flag

Requirements

To use Clover P2P C2, you must have Python 3 installed on both computers.

Installation


Clone or download the repository to your local machine. Install the required packages by running pip install -r requirements.txt in your terminal or command prompt.

Prerequisites

  • Python 3.x
  • PyCryptodome

Usage


Start the script on both computers by running python clover.py in your terminal or command prompt. Choose the mode you want to use: either listen for incoming connections or connect to a peer. Follow the on-screen instructions to enter the necessary information, such as the local port to listen on, the peer host to connect to, and the encryption key. Once connected, you can execute shell commands on the remote computer by entering them in the command prompt.

Example

Clover P2P C2


Clover P2P C2

Security

Clover P2P C2 uses AES encryption for secure communication between the peers. By default, a new key is generated automatically when the script is started in listen mode. Alternatively, you can specify a key manually when starting the script.

It is recommended that you use a strong, random key and keep it confidential. You should also be careful not to leak the key over an insecure channel.

Disclaimer:

This project is intended for educational purposes only. The goal of this project is to learn how to establish a peer-to-peer (P2P) connection between two computers and execute shell commands on the remote computer. The project is not intended to be used for malicious purposes or to cause harm to any individual or organization. The author of this project do not condone any illegal or unethical use of this software.