MrBruz / toxnet

Decentralised P2P botnet using toxcore.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toxnet

Description

Toxnet is a proof-of-concept E2EE P2P C2.
Thanks to xbee and the developers of TokTok this project was simple to create.
The Toxnet code has been commented and is very easy to understand.
This project works by setting up a C2 and having it act as a relay for incoming and outgoing messages.
A better explanation and more features are yet to come! It's getting late, I'll do this tomorrow. 😅

Warning: Only use this software according to your current legislation. Misuse of this software can raise legal and ethical issues which I don't support nor can be held responsible for.

C2 is written in Go and uses go-toxcore-c.
Client is written in C and uses c-toxcore.

Setup

Installation is straight forward on Debian-based Linux distributions:

  • sudo apt install libsodium-dev libtoxcore-dev golang -y
  • go get github.com/TokTok/go-toxcore-c
  • Download qTox
  • Get your Tox-ID (from qTox), strip NoSpam/Checksum(blue/grey on end of address) off it and place it into net/config.go in the "Admins" array on line 4. View
  • Run go run main.go
  • Upon starting the C2, this will present a "TOX-ID", add this Tox-ID using qTox.
  • Once the server has accepted the incoming friend request and establishes a connection, send "help" as a message to the server.
  • This will send instructions on how to use Toxnet. Example
Generate Linux payload: go run main.go -t linux

About

Decentralised P2P botnet using toxcore.


Languages

Language:Go 100.0%