VolchockC2 is a custom-built Command & Control (C2) framework, currently under active development. Designed for red team operations and adversary simulation, VolchokC2 focuses on flexibility, stealth, and efficient post-exploitation capabilities.
git clone https://github.com/ProcessusT/VolchockC2
cd VolchockC2
# for the teamserver :
python -m teamserver.main --config .\config\config.json
# for the client :
cd client
python client.py
- Encryption:
string → xor → base64
- Decryption:
base64 → xor → string
{
"agent_id": "<ID>",
"hostname": "<HOSTNAME>",
"username": "<USERNAME>",
"process_name": "<PROCESS_NAME>",
"results": "<RESULTS>"
}
{
"task": {
"<TYPE>": "<CONTENT>"
}
}
- cmd: Execute the content value as a command using cmd.exe and return the result
{
"task": {
"cmd": "whoami"
}
}
- download: Download a file from the target machine to the server.
{
"task": {
"download": "<remote_file_path>"
}
}
- upload: Upload a file from the server to the target machine.
{
"task": {
"upload": "<local_file_path>"
}
}
- exec-pe: In-memory execution of a local PE on the target machine.
{
"task": {
"exec-pe": {
"filename": "<filename>",
"content": "<b64_encoded_file>",
"args": "<b64_encoded_args>"
}
}
}
The shellcode payload is based on a DLL with a reflective position-independant loader (aka Stephen Fewer sRDI) :
- Implement HTTP listener
- Implement basic DNS listener [REMOVED]
- Implement command execution queue
- Implement upload and download commands
- Implement multi-agent support (handle multiple victims/sessions simultaneously)
- Implement multi-user support:
- The teamserver supports an administrative listening port
- Develop a client application for operators to connect to the teamserver
- Implement a configuration/profile file for the teamserver to customize communication parameters
- Implement DLL agent
- Implement sRDI execution of shellcode agent
- Implement agent generation for specific listeners
- Implement basic obfuscation
- Implement in-memory PE (Portable Executable) execution for C/C++ payloads
- Implement in-memory PE execution for C# payloads
- Implement Beacon Object File (BOF) support
- Develop a ugly graphical user interface:
- Logs view: teamserver logs
- User view: user connections and activity
- Agent view: list of connected agents with interaction to send commands
- Try to make the GUI acceptable
- Record all commands and output for each agents (sqlite db maybe ?)
- Make contributors rich and famous
- Stop all wars in the world
A big thank to my bros for their support and help :