Microsoft wireless keyboard hacked from 50 metres

Swiss researchers say they can log keystrokes from Microsoft's wireless keyboards from up to 50 metres away using special radio equipment, and are close to being able to control affected computers remotely.

The protocol for securing some of Microsoft's wireless keyboards has been cracked, opening up the possibility of keystroke logging, according to Swiss security company Dreamlab Technologies.

Microsoft's Wireless Optical Desktop 1000 and 2000 keyboards communicate by transmitting radio signals to the sound card in a user's computer. The data stream is encrypted using an exclusion-or (XOR) cipher, which is not strong enough to secure the communication, according to Dreamlab's senior security specialist, Max Moser.

"This is nothing like a crypto-algorithm," Moser told ZDNet Australia sister site ZDNet.co.uk. "An exclusion-or binary is really a simple mathematical idea. You can crack the cipher by hand. You take two values, write both lines and look at the different digits. When either the top or the lower line is 1, you write 1. If both are 0, you write 0. For me, this is just obfuscation [rather than encryption]."

Dreamlab started their cracking efforts six months ago. They first identified the radio frequency used by the keyboards. They then used a piece of copper wire to intercept the signal, which is effective to a range of 10 metres, including through walls and floors.

However, because the radio frequency is in the citizens' band -- that is, it is used by CB radios -- Moser said it would be possible to obtain radio equipment that could intercept the transmissions from up to 50 metres away. "Range is not a problem," said the security specialist.

But Moser said that, although he could log keystrokes, he hadn't yet been able to take control of a compromised computer remotely, because there were still some parts of the keyboards' protocol that were unknown to him. Because the protocol is proprietary to Microsoft, meaning the researchers do not have access to the source code, they decided to analyse the data on a binary level, rather than use reverse engineering.

"The real challenge was to understand the keyboard protocol," said Moser. "With 40 bytes per keystroke, it's difficult to understand which [byte] holds the data. From the binary stream, we built the data into meaningful sets and groups."

Moser then wrote a software tool which automatically sifted the data. Moser said he has not publicly released the tool because he does not want it to fall into the wrong hands. He added that he has informed Microsoft of his findings.

Each keyboard transmits its own identifier, so, if two or more keyboards are working in close proximity, the signals don't interfere with each other. While this means user are unlikely to find themselves typing on a neighbour's computer, it also allows intercepted signals to be hacked because each unique identifier can be used as a key.

It takes between 30 and 50 intercepted keystrokes to break the protocol. As exclusion-or is used as a cipher mechanism, even if the user changes the key by reconnecting the keyboard, it is easy to crack the code, said Moser.

Moser said that, to mitigate this possible attack vector, companies could invest in wired or Bluetooth keyboards.

Microsoft's director of security response, Mark Miller, said the company was investigating Dreamlab's claims. He said Microsoft was unaware of any attacks exploiting the claimed vulnerability or any customer impact.

"We will take steps to determine how customers can protect themselves should we confirm the vulnerability," Miller added.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Seriously, every business is slow to start off, that's common sense. But the NBN is attempting to replace an incumbent monopoly. So wait ...

8 minutes ago by Beta on NBN users opt for 100Mbps

Microsoft is serious about open source: 10 proof points http://t.co/iv2ji74q

Ok, for all of those that are complaining about price lets look at it this way, Australia started using copper wiring back in the late 18...

13 minutes ago by Kalthae on NBN users opt for 100Mbps

Ah so you have an anti-NBN website then...ok!

24 minutes ago by Beta on NBN users opt for 100Mbps

@ Doubt, I think you should be a policy advisor to Tony Abbott. I can see it now pre-election 2013, Press Club - Journo: Mr Abbott, yo...

25 minutes ago by Beta on NBN users opt for 100Mbps

@beachking, that's why the first N in NBN is of importance, because while this may come as a shock, the universe does not revolve around ...

31 minutes ago by Beta on NBN users opt for 100Mbps

Err the words give it away "world class"... it's not Huawei class, China class or India class, it's world class! World Class from Farlex...

34 minutes ago by Beta on NBN users opt for 100Mbps

How many billions of dollars have they spent for these 3500 connections? Whats the return in profit? How long are they going to keep subs...

38 minutes ago by Dazza152 on NBN users opt for 100Mbps

Accelerator targets 'clean-tech' start-ups http://t.co/p9VPCzCa

RT @vexnews: NBN users opt for highest speed plan http://t.co/8eUvvVvQ

OutsourcingLive: #Outsourcing is still on the rise http://t.co/5U6R431A ^NK http://t.co/B8HtVvAD

In Facebook IPO fiasco the 'smart money' got burnt - ZDNet (blog): TIMEIn Facebook IPO fiasco the 'smart money' ... http://t.co/3iD1g6lG

So thats $2000 per premise just to replace the NTU...wow. Somebody is making a fortune on that work

55 minutes ago by Coops1 on NBN's Tassie upgrade to cost $1.3 million

But will we actually get 100mps Internet speeds often overstated RT@vexnews: NBN users opt for highest speed plan http://t.co/1uTiHXrd

RT @JamesVickery: NBN users opt for 100Mbps http://t.co/atP8fi1L

I guess fixed connections are not for the free spirits amongst us. Long live choice, it seems prepaid wireless for you is the go.

1 hour ago by Doubt on NBN users opt for 100Mbps

more cloud TV recording services tumble in wake of court victory for copyright monopolies - http://t.co/FEWm6Z7Y

Mike Quigley | Only 3500 NBN customers with active fibre services to date http://t.co/6eB525Ur via #auspol NBN very expensive failure

The take up figures are all a bit meaningless until NBN hits the big population centres.

1 hour ago by Doubt on NBN users opt for 100Mbps

Allow me to take your money if you are keen to give it away, a Western Union transfer is ok.

1 hour ago by Doubt on NBN users opt for 100Mbps

NBN users opt for highest speed plan http://t.co/8eUvvVvQ

The choice of connecting to fibre rests entirely in your hands, if you are so desperate to have a fibre connection, pack your bags and mo...

1 hour ago by Doubt on NBN users opt for 100Mbps

Funny argument the term "world class" , what does that mean when considering data networks. If NBN rolled out fibre but use Huawei equipm...

1 hour ago by Doubt on NBN users opt for 100Mbps

http://t.co/ZWOl5p8F

I agree it would (will) be nice to have a common platform. People are funny creatures and like to have choice. Some may feel they get bet...

1 hour ago by Doubt on NBN users opt for 100Mbps

Mr Quigley has to be politically aware, as does any CEO.

1 hour ago by Doubt on NBN users opt for 100Mbps

In essence the waiver of charges by NBN appears to be a subsidy to smaller or more remote areas. Idea! Setup a number of smaller service ...

1 hour ago by Doubt on NBN users opt for 100Mbps

http://t.co/JWINuozI

Remember, these are the high speeds that Mr Abbott believes you guys don't want.... http://t.co/Jtqnwb2M

Three tips for businesses to support connected customers http://t.co/to8fCl1N via @zite

Which Windows will make for a better tablet? http://t.co/wxr95itf via @zite

Cloud based TV recording services in Australia shutdown after negative ruling. http://t.co/9zlnSVJd

AD on azure, is all about APPS .. http://t.co/EMdsrHZF

children porn video

4 hours ago by nmhcqogu on Google to encrypt searches by default

#Biometric bugs too dangerous for public? http://t.co/IdIBiRUJ (via @zdnetau by @mukimu)

#Outsourcing is still on the rise http://t.co/ANaHIofI ^NK

#NBN users opt for 100Mbps
http://t.co/SmMFpItP #auspol

IBM's Intelligent Clusters - an old idea done well: IBM's pre-configured, pre-tested clusters take the uncertain... http://t.co/Z64vEYiL

33 must-have business and marketing iPad apps from Docstoc http://t.co/Bu7BhFRv

when and if NBN gets to Cairns FNQ, it is going to be a big white elephant tooo costly and to much of a monthly commitment. I am qui...

6 hours ago by beachking on NBN users opt for 100Mbps

Dell Secureworks talks with ZDNet about Android's biggest #security flaws - http://t.co/08kaKg6R #infosec RT @dellenterprise

33 must-have business and marketing iPad apps from Docstoc http://t.co/0XqdwbAN

33 must-have business and marketing iPad apps from Docstoc http://t.co/pf1m0CNP

RT @sergicles: Google vs Oracle, that was a quick one. http://t.co/AFIEf8vG Oracle trolling pw4ned

RT @MobiMediaMarket: Mobile Devices Were Wrecking My Health. Here's How I Plan to Change That. - ZDNet (blog) http://t.co/zMWCOZOr #mobiledevices

B.S Artist ? (M.A Oxford )

7 hours ago by Abel Adamski on NBN FUD: will Abbott ever learn?

B.S Artist ? (M.A Oxford )

7 hours ago by Abel Adamski on NBN FUD: will Abbott ever learn?

Mobile Devices Were Wrecking My Health. Here's How I Plan to Change That. - ZDNet (blog) http://t.co/zMWCOZOr #mobiledevices

"@ECCOUNCIL: Cybercrime golden age over in two years? http://t.co/PiR0zeF1 #infosec #hack #cybersecurity"

Cool: NZ will host part of Square Km Array http://t.co/a2mz3DC5. Sad: @smh couldn't bring themselves to acknowledge it http://t.co/l90oLuYp

Build your own smartphone stand http://t.co/I0avWsRO

SKA bid ends in three-way tie: The bid to host the world's largest radio telescope, the Square Kilometre Array (... http://t.co/vA11Otks

SKA bid ends in three-way tie: The bid to host the world's largest radio telescope, the Square Kilometre Array (... http://t.co/FqSe1Uju

SKA bid ends in three-way tie AU/NZ/ZA http://t.co/aGw6dndH < interesting outcome

Is #PR dying at the hands of #SocialMedia? Check out how #UnitedAirlines suffered a Social PR hiccup in 2008 http://t.co/OVpYX8Uv

This story has been voted 12000 times in the last 24 hours!

1 day ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

3 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

3 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar