• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    Go
  • Created about 4 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Decentralised P2P botnet using toxcore.

Toxnet

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.

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. πŸ˜…

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
  • Place your Tox-ID (from qTox) 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