This project enables MouseJacking attacks using the RF24 module with an Arduino Nano. It allows sniffing and transmitting wireless keyboard packets, offering insights into wireless keyboard security vulnerabilities.
For Educational and Research Purposes Only:
This project is intended to educate and assist researchers in understanding the vulnerabilities of wireless keyboards. Use responsibly, ensuring compliance with all applicable laws and ethical guidelines.
If you're interested in mastering HID-based wireless security techniques, including how to use the RF-NANO for MouseJacking attacks, explore this comprehensive course:
- Arduino IDE
- RF24 library
- nRF24L01 module
- Clone this repository.
- Open
MouseJacking-RF-Nano-V3.inoin the Arduino IDE. - Upload the sketch to your Arduino Nano.
tools/attack_generator.py- Python script to generate attack payloads.tools/keymap.py- Script to map keyboard keys to payloads.tools/script.txt- Attack payloads.
To set up the hardware, follow the diagram below:
Here is the pin mapping between the ATmega328P (on the Arduino Nano) and the nRF24L01+ module:
| ATmega328P | nRF24L01+ |
|---|---|
| D7 | CE |
| D8 | CSN |
| D11 | MOSI |
| D12 | MISO |
| D13 | SCK |
Here's an example of the hardware setup:
Important Notice:
- This project is for educational and research purposes only. Unauthorized use of this tool may violate applicable laws and regulations in your jurisdiction.
- The authors of this project and any contributors do not endorse or condone illegal activities or malicious use of the provided code.
- By using this project, you acknowledge and agree to take full responsibility for its usage. Always ensure compliance with local, national, and international laws.
This project is licensed under the MIT License. See the LICENSE file for details.


