Researchers find ways to sniff keystrokes from thin air

By Robert McMillan, IDG News Service |  Security, vulnerability 11 comments

That PC keyboard you're using may be giving away your passwords. Researchers say they've discovered new ways to read what you're typing by aiming special wireless or laser equipment at the keyboard or by simply plugging into a nearby electrical socket.

Two separate research teams, from the Ecole Polytechnique Federale de Lausanne and security consultancy Inverse Path have taken a close look at the electromagnetic radiation that is generated every time a computer keyboard is tapped. It turns out that this keystroke radiation is actually pretty easy to capture and decode -- if you're a computer hacker-type, that is.

[ Related reading: Free tool to capture Conficker scans and probes; Power grid is found susceptible to cyberattack ]

The Ecole Polytechnique team did its work over the air. Using an oscilloscope and an inexpensive wireless antenna, the team was able to pick up keystrokes from virtually any keyboard, including laptops. "We discovered four different ways to recover the keystroke of a keyboard," said Matin Vuagnoux, a Ph.D. student at the university. With the keyboard's cabling and nearby power wires acting as antennas for these electromagnetic signals, the researchers were able to read keystrokes with 95 percent accuracy over a distance of up to 20 meters (22 yards), in ideal conditions.

Laptops were the hardest to read, because the cable between the keyboard and the PC is so short, making for a tiny antenna. The researchers found a way to sniff USB keyboards, but older PS/2 keyboards, which have ground wires that connect right into the electric grid, were the best.

Even encrypted wireless keyboards are not safe from this attack. That's because they use a special algorithm to check which key is pressed, and when that algorithm is run, the keyboard gives off a distinctive electromagnetic signal, which can be picked up via wireless.

Vuagnoux and co-researcher Sylvain Pasini were able to pick up the signals using an antenna, an oscilloscope, an analog-digital converter and a PC, running some custom code they've created. Total cost: about US$5,000.

Spies have long known about the risk of data leaking via electromagnetic radiation for about 50 years now. After the U.S. National Security Agency found strange surveillance equipment in a U.S. Department of State communications room in 1962, the agency began looking into ways that radiation from communications equipment could be tapped. Some of this research, known as Tempest, has now been declassified, but public work in this area didn't kick off until the mid-1980s.

The idea of someone sniffing out keystrokes with a wireless antenna may seem ripped from the pages of a spy thriller, but criminals have already used sneaky techniques such as wireless video cameras placed near automated teller machines and Wi-Fi sniffers to steal credit-card numbers and passwords.

"If you are a company using highly confidential data, you have to know that the keyboard is a problem," Vuagnoux said.

If pulling keystrokes out of thin air isn't bad enough, another team has found a way to get the same kind of information out of a power socket. Using similar techniques, Inverse Path researchers Andrea Barisani and Daniele Bianco say they get accurate results, picking out keyboard signals from keyboard ground cables.

Their work only applies to older, PS/2 keyboards, but the data they get is "pretty good," they say. On these keyboards, "the data cable is so close to the ground cable, the emanations from the data cable leak onto the ground cable, which acts as an antenna," Barisani said.

That ground wire passes through the PC and into the building's power wires, where the researchers can pick up the signals using a computer, an oscilloscope and about $500 worth of other equipment. They believe they could pick up signals from a distance of up to 50 meters by simply plugging a keystroke-sniffing device into the power grid somewhere close to the PC they want to snoop on.

Because PS/2 keyboards emanate radiation at a standard, very specific frequency, the researchers can pick up a keyboard's signal even on a crowded power grid. They tried out their experiment at a local university's physics department, and even with particle detectors, oscilloscopes and other computers on the network were still able to get good data.

Barisani and Bianco will present their findings at the CanSecWest hacking conference next week in Vancouver. They will also show how they've been able to read keystrokes by pointing a laser microphone at reflective surfaces on a laptop, such as the screen. Using the laser's very precise measurements of the vibrations on the screen's surface caused by typing, they can figure out what is being typed.

Previously researchers had shown how the sound of keystrokes could be analyzed to figure out what is being typed, but using the laser microphone to pick up mechanical vibrations rather than sound makes this technique much more effective, Barisani said. "We extend the range because with the laser microphone, you can be hundreds of meters away," he said.

The Ecole Polytechnique team has submitted their research for peer review and hopes to publish it very soon.

11 comments

    Anonymous 2 years ago
    I loved the editorial. It is very interesting. Thank you for the information. I will be back. online payday loans
    Anonymous 2 years ago
    ... I just want to say to those who does not know anything about it to shut off their mouth!!!Mr Anonymous this is not bullshit! I have seen in live the experiments conducted by these researchers and it is amazing.No other publication about such work has been made previously. So those who said that it is old, please cite your reference (that is the way how things are done in scientific circles!)I would like to encourage these guys for the work they have done, and which them success in any research they conduct! RESPECT.
    jeenymorph
    jeenymorph 2 years ago
    All are talking is about decade ago matter if researcher got success i would say it been revolution for present and future as well.Florida Cable Company
    Anonymous 2 years ago
    Our rulers see us, we the people, as their enemy. They are fighting us,destroying our pursuits and seizing our earnings as though it were theirs. The attempts to control our every move proves that it is us that is their enemy. See the truth and take pre-emptive action to remove them from positions of control. If they are not with us and don't have our best interests in mind and action, then they are against us. Vanquish the enemies.
    Anonymous 2 years ago
    They love to spy on us using "national security" and "terrorism" as a guisethen most terror attacks are state sponsored, like 911 was. Except in this case the planners were right here in the USA- sitting in the White House and Pentagon (and their billionaire handlers like Buffett, Rockefeller, Rothschild, Queen of England, Pope)http://patriotsquestion911.comSo if they aren't spying on you to stop "terror" attacks, then why are they? I think you know.
    Anonymous 2 years ago
    But we were doing it over ranges better than 20 meters, and that was 15 + years ago.We got 6 kms in line of sight.
    Anonymous 2 years ago
    Spying like this is OLD OLD OLD news.One can obtain keyboard, video, disk drive, printer, mouse activity, etc. data using radio reception and analyses.Anything electronic produces radio signals, and these can be received and analyzed using the right equipment.As said earlier this spying has been going on for decades.Military and commercial products have long been available to reduce the ability of others to spy on your activity...everything from designing circuits to emit signals more difficult to interpret (often by waveform shaping), to Faraday cages in which you install all your equipment to prevent the signals from being wirelessly propagated.
    Anonymous 2 years ago
    I remember back in the day reading the text files on how to make a crt remote scanner. This isn't far-feteched at all given the right equipment. In a world that can read a license plate from a satellite, I highly doubt it's "BS". If anything, a satellite can -know which key's your typing-, god forbid if we get on the topic of ultraviolet cameras and looking through your walls.Sleep tight.
    Anonymous 2 years ago
    As previously mentioned, this was an NSA/US Army program codenamed "TEMPEST". There is now some open-source information about it on the internet.
    Anonymous 2 years ago
    I remember that over 30 years ago it was already known in military circles at least that it was possible to spy keyboard strikes from a distance due to their electromagnetic radiations.
    Anonymous 2 years ago
    And I type major cow dunk !!!!!!Hello .... its BULLSHIT !!!!!!

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      SecurityWhite Papers & Webcasts

      White Paper

      A Proactive Approach to Server Security

      Learn why security-conscious organizations are taking a more proactive approach to server security. Download this Spire Research whitepaper to understand how you can eliminate the threat caused by today's more advanced threats and protect your organization's most valuable data.

      White Paper

      Protection Against Modern Cybersecurity Threats

      Download this case study to learn how this accounting and consulting giant uses Bit9's adaptive application whitelisting to offer employees flexibility without jeopardizing enterprise safety.

      White Paper

      Stop Hackers Before They Attack

      Hacktivism, Identify Theft, Financial Gain, Cyber War - regardless of motivation, stopping today's hackers requires a new proactive approach to protecting endpoints. Learn how this New England hospital, breached multiple times by targeted attacks, put an end to the malware with Bit9 Parity. Their IT team can now identify malware and secure PCs and workstations -protecting patient care and privacy.

      White Paper

      From the Frontline - Preventing APT

      Is your company's network secure? Are your endpoints and servers secured? Before you answer, read this case study on a US Military Command that discovered no matter how much you educate users, hackers can get through traditional defenses. This targeted attack blew through all layers of their security, except one: Bit9 Parity's advanced threat protection.

      White Paper

      Protecting Point of Sale Systems from Targeted Attack

      If you are responsible for protecting retail systems, download this case study to learn how this retailer eliminated the threat of malware on their POS systems using Bit9's award winning solutions.

      See more White Papers | Webcasts

      Ask a question

      Ask a Question