Skip to content
Misconfiguration Write-up Advanced

When Your Mouse/Keyboard Turns Against You: Drone-Powered Keystro

The nRF24L chip used in many wireless mice and keyboards accepts any properly formatted signal without verifying its source. An attacker who intercepts the MAC address of a wireless adapter can impersonate the peripheral and inject keystrokes into the connected computer.

Rasul Mansurov Follow

Published on medium.com

In the age of AI and smart devices, it’s easy to forget that even the most innocent-looking gadgets — like your wireless mouse — can be turned against you. Behind the plastic shell of many wireless mice and keyboards lies a silent vulnerability: the nRF24L chip.

Rasul Mansurov, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker within radio range could inject keystrokes and run commands on the victim's computer without malware or password guessing, and the lack of input logging makes detection difficult.

What the attacker needed

Attacker within 10-15 metres; wireless peripheral using nRF24L; ability to sniff the MAC address

How it was found

  1. Scan for active nRF24L communications in the 2.4GHz band.
  2. Extract the target device's MAC address through passive sniffing.
  3. Create a fake keyboard payload, often a command to download and run a file.
  4. Broadcast the payload using the same MAC address.
  5. The victim's system accepts it as genuine input and executes it.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Many wireless mice and keyboards use a cheap radio chip called nRF24L to talk to a small USB receiver plugged into your computer. This chip does not check who sent a signal, so someone nearby with the right radio hardware can pretend to be your keyboard and type commands on your machine. The article describes building such an attacker device on a drone, but the core issue is that the receiver trusts any signal that looks correct.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.