
A tool for performing MouseJack keystrokes injection attack.
A tool for performing MouseJack keystrokes injection attack.
The project was created for educational purposes. I am not responsible for any malicious usage of the project and the information provided here.
The project was created for educational purposes and as an alternative to Crazyradio PA device to play with vulnerable wireless mouses I own. It consists of two main components:
As a payload the tool utilizes Legacy DuckyScript (1.0) files.
The software implements four modes:
For RaspberryPi OS (Debian 12 Bookworm) it can be made in two ways: via CUI application or manually.
CUI:
sudo raspi-config
then go to Interface Options -> SPI, confirm enabling SPI and reboot.
Manually:
sudo nano /boot/firmware/config.txt
uncomment line dtparam=spi=on, save and reboot.
Check if SPI enabled: ls -al /dev/*spi*. You should see devices like /dev/spidev0.0
Clone the repository:
git clone https://github.com/b1narygl1tch/zerojack.git
Create a virtual environment:
python -m venv ./zerojack
Activate virtual environment:
cd ./zerojack
source bin/activate
Launch setup script:
pip install .
Launch the tool:
zerojack --help
There are three hardware components that are used in the project:
Connection scheme is for Raspberry Pi <-> YL-105 <-> nRF24L01 variant. IRQ isn't used.

The researches, libraries and projects are used in this project:
The project is under BSD-3-Clause license and relies on the following projects: