Your computer mouse can be used to record your voice.
GitHub RepoImpressions3.3k

Your computer mouse can be used to record your voice.

@githubprojectsPost Author

Project Description

View on GitHub

Your Mouse is Secretly a Microphone

You probably think of your computer mouse as a simple pointing device. Click, scroll, maybe a couple of side buttons for shortcuts. But what if I told you that the humble mouse sitting on your desk right now has a hidden capability? It can record your voice.

This isn't about a new, fancy peripheral. This is about the standard, wired, optical computer mouse that's been on your desk for years. A research project from AICPS has demonstrated a fascinating side-channel: your mouse's laser can be repurposed as a laser microphone to capture audio.

What It Does

The Mic-E-Mouse project is a proof-of-concept that turns an ordinary optical mouse into a functional microphone. It doesn't require any hardware modifications. Instead, it exploits the fact that the mouse's laser sensor is incredibly sensitive to minute vibrations. These vibrations, caused by sound waves hitting the mouse's surface, cause subtle changes in the reflected laser light. The project's software captures and processes these sensor data fluctuations, reconstructing them into audible sound.

Why It's Cool

The cleverness here is in the implementation. The tool works by reading raw data directly from the mouse sensor—data that the operating system normally discards after translating it into cursor movement. It uses the libusb library to interface with the mouse at a low level, bypassing the standard HID drivers to tap into this unused data stream.

The potential implications are what make it truly interesting from a security and research perspective. It demonstrates a novel acoustic side-channel attack using a device no one would suspect. Beyond that, it's a brilliant example of hardware repurposing and shows just how much sensitive data is available in the components we use every day, data that our standard software stack intentionally ignores.

How to Try It

Ready to see it in action? The project is open source on GitHub.

  1. Check the repo: Head over to the Mic-E-Mouse GitHub repository.
  2. Review the requirements: You'll need a compatible optical mouse (wired is best for consistent data access), libusb, and the build tools listed in the README.
  3. Build and run: The repository contains the source code and instructions for compiling the tool. Follow the build steps to capture data from your own mouse.

Important Note: This is a research proof-of-concept. Results can vary dramatically based on the specific mouse model, surface material, and ambient conditions. Don't expect studio quality, but you might be surprised at what you can pick up.

Final Thoughts

As a developer, this project is a fantastic reminder to think outside the box about the hardware we interact with. The sensors in our everyday devices are often far more capable than their primary function suggests. While Mic-E-Mouse highlights a legitimate security concern, it also opens the door to creative thinking. Could this method be used for diagnostic purposes, or as an unconventional input method in a pinch? It's a great piece of work that blurs the lines between hardware, security, and creative engineering.

It makes you wonder what other "single-purpose" devices around you are secretly packed with untapped potential.


Follow for more interesting projects: @githubprojects

Back to Projects
Project ID: 4a96a6cb-58aa-4436-a137-124665df39fdLast updated: January 2, 2026 at 05:23 PM