Dominion is a monitoring tool with keylogging and clipboard monitoring capabilities, controlled via a Discord bot interface. It is designed to be built for both Linux and Windows systems.
- Keylogging: Captures keystrokes and sends them to a Discord webhook.
- Clipboard Monitoring: Monitors the clipboard for changes and sends the content to a Discord webhook.
- Discord Bot Interface: The agent is controlled through a Discord bot, allowing for remote management.
- Cross-Platform: Can be built to run on both Linux and Windows.
- Interactive Builder: A command-line interface is provided to easily configure and build the agent.
- Python 3
pipgit
xclipwine(for building the Windows executable)
-
Clone the repository:
git clone https://github.com/HackScaleTeam/Dominion.git cd Dominion -
Run the installer: The installer will check for dependencies and install them if they are missing.
sudo bash install.sh
-
Set up a Discord Bot:
- Go to the Discord Developer Portal and create a new application.
- In your application, go to the "Bot" tab and click "Add Bot".
- Enable the "Message Content Intent" under "Privileged Gateway Intents".
- Copy the bot token.
- In the "OAuth2" tab, go to "URL Generator". Select the
botscope, and then grant the "Send Messages" and "Read Message History" permissions. - Copy the generated URL and paste it into your browser to invite the bot to your server.
-
Set up a Discord Webhook:
- In your Discord server, go to "Server Settings" -> "Integrations" -> "Webhooks".
- Create a new webhook and copy the webhook URL.
The agent is built using an interactive command-line interface.
-
Run the builder:
python3 setup.py
-
Configure the agent: Use the
setcommand to configure the agent.Dominion > set guild-id <your-guild-id> Dominion > set bot-token <your-bot-token> Dominion > set channel-id <your-channel-id> Dominion > set webhook <your-webhook-url>guild-id: The ID of the Discord server the bot is in.bot-token: The bot token you copied from the Discord Developer Portal.channel-id: The ID of the channel the bot will listen for commands in.webhook: The webhook URL you copied from your Discord server.
-
Build the agent: Use the
buildcommand to build the agent for either Linux or Windows.Dominion > build linuxor
Dominion > build windowsThe executable will be located in the
distdirectory.
The following commands can be sent in the specified Discord channel to control the agent:
!exit: Shuts down the agent.
This tool is for educational purposes only. The author is not responsible for any misuse of this tool.
