Unprivileged IMU side channel recovers keystrokes with up to 97.5% accuracy
Unprivileged access to a MacBook's built-in IMU can infer typed keys, desk surface, and user identity
Security & privacy arXiv 18 Sep 2026 Attack Prototype evidence
Published as “Et Tu, MacBook? Unprivileged Keystroke Inference and Context Profiling via the Built-in IMU Side Channel”
Why it matters
Unrestricted local access to the built-in IMU enables covert keylogging and profiling, so operating systems must extend sensor access controls to undocumented hardware interfaces.
Summary
BRUTUS can read the undocumented MacBook IMU without root and infer keystrokes with 89.1%-97.5% character-level accuracy, achieving 2.5%-10.9% character error rate on unseen users and devices and 100% sentence reconstruction with a language model. The attack also clusters users and desk surfaces without any labels. Evidence comes from experiments on ten MacBook Airs (M3-M5) and ten participants, showing cross-device AUC >91% and strong degradation when the sensor is rate-limited or noisy, indicating the results are solid but depend on high-rate access.
What they found 2
- High character-level keystroke recovery accuracy
“BRUTUS achieves a character-level accuracy of 89.1% to 97.5% in key recovery.”
- Key-dependent signatures transfer across devices
“All held-out devices exceed 91% AUC: D8, D9, and D10 achieve 91.2%, 98.5%, and 96.2%, respectively.”
Caveats 5
- Only MacBook Speaker caused clear degradation, lowering AUC to 95.0%, 76.9%, and 52.1% at 5×, 10×, and 25×.
- Table 6 shows substantial degradation: password Top-5 recovery falls from 96.00% at 800 Hz to 31.00%, 8.00%, and 0% at 200, 100, and 50 Hz, while password CER reaches 62.00% at 50 Hz.
- The IMU path requires the process to run under the active console user’s UID and that account to belong to the administrator group (Section 4.2); the initial, typically sole Mac user commonly satisfies both.
- Fast User Switching also disconnects the stream within three seconds, without an error or handle invalidation.
- A secondary SSH or su user, even an administrator, receives kIOReturnNotPrivileged at IOHIDDeviceOpen because its UID differs from the console owner.
What’s new here 4
- Unprivileged processes can read raw IMU data via IOKit, bypassing prior assumptions that root is required.
- Uses content-free system metadata interfaces (HIDIdleTime, CGEventSource) to obtain precise keystroke timestamps without exposing key values.
- First comprehensive side-channel framework that extracts typed content, user identity, and laptop placement from built-in IMU vibrations.
- Demonstrates cross-device and cross-surface generalization without any labeled profiling data.