Welcome to the Tuoni Plugin Examples repository!
This repository contains example plugins for the Tuoni Command and Control (C2) framework.
Each plugin consists of two parts:
- Shellcode: Written in C# and .NET.
- Server Plugin: Written in Java against the Tuoni plugin SDK, requiring Java 21 and Gradle for building.
Before you begin, ensure you have the following installed on your machine:
- Java 21
- Gradle
Each plugin's server part can be built using Gradle. Navigate to the individual plugin directory and run the following command:
./gradlew assemble
This command will compile the Java code and build the server plugin.
Here is a list of the example plugins included in this repository:
- Echo Command Plugin
- Shellcode:
shellcodes/CommandEcho/
- Server Plugin:
plugins/echo-command-plugin/
- Shellcode:
Each plugin folder contains both the shellcode source code and the Java plugin source code.
Build binaries for the shellcode can be found at
shellcodes/CommandEcho/bin/Release/CommandEcho.shellcode
and after building the plugin, the server plugin JAR can be found at
plugins/echo-command-plugin/build/libs/tuoni-example-plugin-echo-command-0.0.1.jar
.
Happy coding!
For more information on the Tuoni C2 framework, visit the official Tuoni GitHub repository.