Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


05:53 AM
Connect Directly

Microsoft's Wireless Keyboard Hacked

Researchers crack encryption, 'own' 27MHz keyboards

European researchers have hacked the 27Mhz radio-based wireless keyboard.

Max Moser and Phil Schrodel, researchers with Swiss-based Dreamlab Technologies and remote-exploit.org, have written a proof-of-concept for capturing and decrypting keystrokes from Microsoft's wireless keyboards. The POC lets an attacker capture confidential data as the victim inputs it.

"The attacker can listen to all affected Microsoft 27Mhz keyboards in range at the same time. Imagining what data he could collect is a bit harder -- that depends on the person using the keyboard," says Moser, senior security specialist with Dreamlab Technologies.

But the next phase of the hack -- in which the attacker could take full control of your keyboard -- may make you afraid to ever leave your desk: "What is much badder is that we are close to the simplification of injecting our own keystrokes into victims' keyboards. [This] is already working, but not that we can show publicly [yet]," he says.

"Using that technique, an attacker could wait till you go to the coffee machine and send your keyboard a sequence of commands that opens a bad Website and installs malware, or use the old 'debug' application to [put] malware directly on your keyboard and execute it," Moser warns.

Moser and Schrodel cracked the encryption key in the Microsoft Wireless Optical Desktop 1000/2000 keyboards, but the researchers say they expect similar weaknesses in Logitech's 27Mhz keyboards, although they haven't yet tested them fully. The pair used a radio receiver, sound card, wires, a Linux-based laptop, and some custom software to tap and decode the radio frequencies between the Microsoft keyboard and a notebook computer.

Breaking the simple encryption on the device was easy, Moser says. "The valid encryption key is transparent during the pairing process, which gives us the possibility to listen to the keyboard without even cracking the key because we have it," he says. "And the encryption uses only one byte of random data, which allows only 256 possible combinations, which is therefore very easy to attack."

The 27Mhz keyboards are actually less secure than Bluetooth ones, which researchers already have cracked, Moser says. "They [27MHz keyboards] use much weaker encryption and the key-handling is extremely unsafe, so they are less secure than Bluetooth keyboards," he says. "But they also have an advantage -- they use completely proprietary communication protocols, so the biggest challenge is to find the important information and understand the format of data," but that isn't especially difficult, he says.

The researchers were able to eavesdrop on keyboards from a distance of up to 10 meters, through walls and floors, with a very basic copper wire antenna. "With a directional antenna, you can get much more" distance," Moser says.

They have notified Microsoft about the hack, and have no plans to release the POC for now.

"This [hack] is significant -- I have seen companies buying the 'security' in this type of equipment," says Thierry Zoller, security engineer with nruns AG. And although wireless equipment tends to be banned in security-sensitive areas, he says, employees still bring in these devices from home.

For now, you're more secure if you use a Bluetooth-based keyboard rather than a 27Mhz one, Moser says. That's because decrypting Bluetooth isn't as simple. The safest bet: a wired keyboard, he says.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

  • Dreamlab Technologies Ltd.
  • Microsoft Corp. (Nasdaq: MSFT)
  • Logitech Ltd.
  • remote-exploit.org

    Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

    Recommended Reading:

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    COVID-19: Latest Security News & Commentary
    Dark Reading Staff 8/14/2020
    Lock-Pickers Face an Uncertain Future Online
    Seth Rosenblatt, Contributing Writer,  8/10/2020
    Hacking It as a CISO: Advice for Security Leadership
    Kelly Sheridan, Staff Editor, Dark Reading,  8/10/2020
    Register for Dark Reading Newsletters
    White Papers
    Current Issue
    7 New Cybersecurity Vulnerabilities That Could Put Your Enterprise at Risk
    In this Dark Reading Tech Digest, we look at the ways security researchers and ethical hackers find critical vulnerabilities and offer insights into how you can fix them before attackers can exploit them.
    Flash Poll
    The Changing Face of Threat Intelligence
    The Changing Face of Threat Intelligence
    This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2020-08-14
    Lack of authentication in the network relays used in MEGVII Koala 2.9.1-c3s allows attackers to grant physical access to anyone by sending packet data to UDP port 5000.
    PUBLISHED: 2020-08-14
    ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-10751. Reason: This candidate is a duplicate of CVE-2020-10751. Notes: All CVE users should reference CVE-2020-10751 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidenta...
    PUBLISHED: 2020-08-14
    ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2017-18270. Reason: This candidate is a duplicate of CVE-2017-18270. Notes: All CVE users should reference CVE-2017-18270 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidenta...
    PUBLISHED: 2020-08-14
    ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
    PUBLISHED: 2020-08-14
    Lack of mutual authentication in ZKTeco FaceDepot 7B 1.0.213 and ZKBiosecurity Server 1.0.0_20190723 allows an attacker to obtain a long-lasting token by impersonating the server.