{"id":22807957,"url":"https://github.com/b1narygl1tch/zerojack","last_synced_at":"2026-02-10T20:30:55.472Z","repository":{"id":267435096,"uuid":"885492975","full_name":"b1narygl1tch/zerojack","owner":"b1narygl1tch","description":"A tool for performing MouseJack keystrokes injection attack.","archived":false,"fork":false,"pushed_at":"2024-12-19T19:29:09.000Z","size":1341,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T09:09:41.274Z","etag":null,"topics":["2-4-ghz","keystroke-injection","mousejack","mousejack-attack","nrf24l01","raspberry-pi","raspberry-pi-gpio","raspberry-pi-zero-w","spi","wireless-security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b1narygl1tch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-08T17:33:23.000Z","updated_at":"2025-01-18T14:55:22.000Z","dependencies_parsed_at":"2024-12-10T10:36:35.931Z","dependency_job_id":"c43d9c5e-fa7f-42b9-977f-fcd577f10ed4","html_url":"https://github.com/b1narygl1tch/zerojack","commit_stats":null,"previous_names":["b1narygl1tch/zerojack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b1narygl1tch/zerojack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1narygl1tch%2Fzerojack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1narygl1tch%2Fzerojack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1narygl1tch%2Fzerojack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1narygl1tch%2Fzerojack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b1narygl1tch","download_url":"https://codeload.github.com/b1narygl1tch/zerojack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b1narygl1tch%2Fzerojack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29314705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2-4-ghz","keystroke-injection","mousejack","mousejack-attack","nrf24l01","raspberry-pi","raspberry-pi-gpio","raspberry-pi-zero-w","spi","wireless-security"],"created_at":"2024-12-12T11:07:20.541Z","updated_at":"2026-02-10T20:30:55.463Z","avatar_url":"https://github.com/b1narygl1tch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eZeroJack\u003c/h1\u003e\n  \u003cp\u003eA tool for performing MouseJack keystrokes injection attack.\u003c/p\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/b1narygl1tch/zerojack/refs/heads/main/images/Banner.png\" alt=\"banner\"\u003e\n\u003c/div\u003e\n\n### :warning: Disclaimer\nThe project was created for educational purposes. I am not responsible for any malicious usage of the project and the information provided here.\n\n### :space_invader: About the project\nThe project was created for educational purposes and as an alternative to Crazyradio PA device to play with vulnerable wireless mouses I own.\nIt consists of two main components:\n* **Software:** ZeroJack Python3 application\n* **Hardware:** Raspberry Pi Zero 2W and SPI-connected nRF24L01+ module  \nRaspberry Pi Zero 2W in headless setup was chosen as it is a good platform for all-in-one hacking device which can be used for MouseJacking, wardriving, Bluetooth attacks, etc.\nNo need to mess with firmware flashing, for example.\n  \nAs a payload the tool utilizes [Legacy DuckyScript (1.0)](https://github.com/hak5/usbrubberducky-payloads?tab=readme-ov-file#legacy-duckyscript-10) files.\n\n### :white_check_mark: Features\nThe software implements four modes:\n* **Main(manual) mode** Scan for vulnerable 2.4 GHz HID devices, choose found device(s) and launch keystrokes injection attack.\n* **Autopwn mode** Scans for vulnerable 2.4 GHz HID devices and automatically launches keystrokes injection attack. USE THIS MODE CAREFULLY!\n* **Targeted mode** Launches keystrokes injection attack for a particular device whose address could be found earlier by scanning in main mode.\n* **Sniffer mode** Assigns a targeted device address to nRF-module and displays raw radio packets.\n\n### :floppy_disk: Setup and installation\n#### Enable SPI \nFor RaspberryPi OS (Debian 12 Bookworm) it can be made in two ways: via CUI application or manually.  \n**CUI:**\n```\nsudo raspi-config\n```\nthen go to _```Interface Options -\u003e SPI```_, confirm enabling SPI and reboot.  \n\n**Manually:**\n```\nsudo nano /boot/firmware/config.txt\n```\nuncomment line _```dtparam=spi=on```_, save and reboot.\n\nCheck if SPI enabled: ```ls -al /dev/*spi*```. You should see devices like _```/dev/spidev0.0```_  \n  \n#### ZeroJack application installation\nClone the repository:\n```\ngit clone https://github.com/b1narygl1tch/zerojack.git\n```\nCreate a virtual environment:\n```\npython -m venv ./zerojack\n```\nActivate virtual environment:\n```\ncd ./zerojack\nsource bin/activate\n```\nLaunch setup script:\n```\npip install .\n```\nLaunch the tool:\n```\nzerojack --help\n```\n\n### :radio: Hardware\nThere are three hardware components that are used in the project:\n* Raspberry Pi Zero 2 W\n* nRF24L01 module (EByte E01-ML01DP5)\n* AMS1117-based power supply module (YL-105). Optional, but highly recommended!  \n\nConnection scheme is for Raspberry Pi \u003c-\u003e YL-105 \u003c-\u003e nRF24L01 variant. IRQ isn't used.  \n  \n![](./images/ConnectionScheme.png)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/b1narygl1tch/zerojack/refs/heads/main/images/Pinout.png\" alt=\"Pinout table\"\u003e\n  \u003cp\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n### :mouse: Tested mouse devices\n* Logitech M325 (unifying dongle C-U0007)\n* Microsoft Wireless Mouse 4000\n* Amazon Basics MG-0975\n\n### :thumbsup: Acknowledgements\nThe researches, libraries and projects are used in this project:\n* **Bastille original research** https://github.com/BastilleResearch/mousejack/blob/master/doc/pdf/MouseJack-whitepaper-v1.1.pdf\n* **Promiscuity is the nRF24L01+'s Duty** http://travisgoodspeed.blogspot.com/2011/02/promiscuity-is-nrf24l01s-duty.html\n* **RaspJack project** https://github.com/DigitalSecurity/raspjack\n* **JackIt project** https://github.com/insecurityofthings/jackit\n* **Python port of the RF24 library for NRF24L01+ radios** https://github.com/jpbarraca/pynrf24\n* **Mousejack for Arduino UNO** https://github.com/dnatividade/Arduino_mousejack\n\n### :scroll: License\nThe project is under BSD-3-Clause license and relies on the following projects:\n* **Python port of the RF24 library for NRF24L01+ radios** https://github.com/jpbarraca/pynrf24. Is under GPL-2.0 license.\n* **JackIt project** https://github.com/insecurityofthings/jackit. Is under BSD license.\n* **RaspJack project** https://github.com/DigitalSecurity/raspjack. Is under GPL-3.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1narygl1tch%2Fzerojack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb1narygl1tch%2Fzerojack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1narygl1tch%2Fzerojack/lists"}