Centox is an injection handler written in python3 and is designed to generate keystroke injection payloads to deploy using any Hak5 product that supports their ducky script language. After generating the payload the user can then take the output/file to the Hak5 PayloadStudio to be compiled. This project contains payloads designed for establishing remote access, deploying and running executables and more in as short time as possible. Centox comes with payloads designed for Windows, Mac and Linux with the assumption that the target has not modified their default shortcuts.
This project was designed for educational purposes ONLY and is not to be used without explicit permission. Hacking without permission is not encouraged and the author is not responsible for any illegal use of this tool.
- USB Rubber Ducky
- O.MG Cable
- Bash Bunny
- Key Croc
Downloading and running setup.py:
$ git clone https://github.com/Sigurd-Pettersen/Centox.git
$ sudo python3 Centox/setup.py
running setup.py will automatically generate a centox executable to be run in terminal.
Starting the centox handler:
$ centox
the handler commands can be listed using the help
command:
[Centox] $ help
Command Description
--------- ------------------------------------
list lists all available payloads
use choose a payload to use
set configure payload arguments
options show all available payload arguments
generate generates the current payload
help shows this help message
how to generate payloads:
[Centox] $ use windows/shell/python
[+] initializing payload: windows/shell/python
[Centox] $ options
Payload: windows/shell/python
Generator arguments Value
--------------------- -------
TYPING_DELAY 0
TYPING_DELAY_OFFSET 0
Payload arguments Value
------------------- -------
START_DELAY 3000
RUN_DELAY 500
IP
PORT 9999
[Centox] $ set IP 192.168.68.42
[Centox] $ generate ducky_payload
[+] generating payload
[+] creating file: ducky_payload