Sounds of Typing Give Messages Away

Join Our Community of Science Lovers!


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


The clickety-clack of your keyboard might be enough to spill your secrets. A team of researchers in California has successfully decoded what was typed into a computer from an audio recording.

Doug Tygar of the University of California, Berkeley and his colleagues used a standard microphone to record 10 minutes of noise generated by computer typists. Because the sound generated by each keystroke is slightly different, the researchers were able to generate a computer program to decode what was written. "Using statistical learning theory, the computer can categorize the sound of each key as it's struck and develop a good first guess with an accuracy of 60 percent for characters, and 20 percent for words," explains team member Li Zhuang also of U.C. Berkeley. "We then use spelling and grammar check to refine the result, which increased the accuracy to 70 percent and the word accuracy to 50 percent."

The scientists also developed an iteration program that replayed the recording on a loop to improve the computer's performance at deciphering the text, which increased the accuracy to 88 percent for words and 96 percent for characters. Things that are not accounted for and thus could throw the system off include the use of keys such as shift, control or caps lock. "It's a form of acoustical spying that should raise red flags among computer security and privacy experts," Tygar says. "If we were able to figure this out, it's likely that people with less honorable intentions can, or have, as well." The researchers plan to present their results at the 12th Association for Computer Machinery Conference on Computer and Communications Security in November.

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe