main
Report a problem

Keylogging through the power cable

Elliot Harrison   on 13 July 2009 - 23:55 · 19 comments & 4736 views

Advertisement (Why?)
The BBC's Technology site has published an interesting story regarding computer security. However, what makes this piece of news a little different is that it does not regard viruses, or trojans, yet instead an electrical footprint which remains on a circuit board every time a key is typed.

Security researchers have been investigating this phenomenon, and have discovered that poor shielding on some keyboard cables, can leak potentially lucrative information regarding each typed character. This information is not logged via some program upon the computer being snooped, instead the analysis is drawn to the information appearing onto power circuits, where it can be deciphered into readable material.

It should be said that this research only regards keyboards which use the (almost redundant) PS/2 connection. The pair of researchers from the security firm Inverse Path, explain this occurrence thus:

"The six wires inside a PS/2 cable are typically close to each other and poorly shielded. This means that information travelling along the data wire, when a key is pressed, leaks onto the earth (ground in the US) wire in the same cable. The earth wire, via the PC's power unit, ultimately connects to the plug in the power socket, and from there information leaks out onto the circuit supplying electricity to a room."

It is further explained that this data which travels along PS/2 cables does so one bit at a time, and uses a clock speed far lower than any other PC component. Both these qualities make it easy to pick out voltage changes caused by key presses and decipher them accordingly.

"The PS/2 signal square wave is preserved with good quality... and can be decoded back to the original keystroke information."

Although this research might seem a little redundant even in its youth; given the age of the connectors it is being tested upon, the researchers assure that it is still a work in progress. They also expect the testing equipment to become more sensitive as it is refined. This, i can only interpret as a piece of research which hopes to potentially cover some different connections in the future, perhaps USB or Firewire, and analyze the electrical footprints they leave upon a circuit.

Tests so far have been accurate and have been demonstrated over relatively short distances between 1 and 15 meters of the target machine.

Post a comment · Send to friend Comments · There are 19 additional comments
#1 Tim Dawg on 14 Jul 2009 - 06:14
Great! Something else for us to worry about!

I guess it'll make becoming a super spy that much easier. There's no AV protection for this!
(12 replies) #2 Jimmy422 on 14 Jul 2009 - 06:30
Who uses PS/2 keyboards nowadays?
#2.1 IsLNdbOi on 14 Jul 2009 - 06:32
I do. I find the option to power the PC on (via a key press or key combo) pretty useful and AFAIK only works w/ PS/2 keyboards.
#2.2 Brandon on 14 Jul 2009 - 06:39
IsLNdbOi said,
I do. I find the option to power the PC on (via a key press or key combo) pretty useful and AFAIK only works w/ PS/2 keyboards.

Nope. Works with USB as well. Hell, even worked with my Wireless USB keyboard when I had a desktop
#2.3 kInG aLeXo on 14 Jul 2009 - 07:04
I do too, they are cheaper and more available here, I use the A4Tech KBS-8
http://www.ciao.co.uk/A4Tech_A_Shape_Natur...yboard__6873885
#2.4 RAID 0 on 14 Jul 2009 - 07:25
I JUST went back to a PS2 KB. My parents got the Logitech Wave (awesome KB and mouse BTW) and I snagged the PS2 Logitech they were using, as it wasn't beat to **** like the one I replaced. Yes, I do some gaming. Yes, I pound the hell out of the KB. No, I don't have a problem with that.
#2.5 icat on 14 Jul 2009 - 08:59
I do though I guess my next one going to be a USB one
#2.6 tiagosilva29 on 14 Jul 2009 - 09:31
I still do. My keyboard is a Microsoft Internet Keyboard.
#2.7 .Rik on 14 Jul 2009 - 10:15
I do too, an 11 year old Genius keyboard, just love it
#2.8 powerade01 on 14 Jul 2009 - 13:18
Jimmy422 said,
Who uses PS/2 keyboards nowadays?

It is idiodic to use a USB port rather than use a dedicated port for a keyboard.
Tell me things you can plug into a PS/2 port....
now
Tell me things you can plug into a USB port....

Why sacrifice a port?
You, my friend, have failed.
#2.9 FISKER_Q on 14 Jul 2009 - 14:48
powerade01 said,
It is idiodic to use a USB port rather than use a dedicated port for a keyboard.
Tell me things you can plug into a PS/2 port....
now
Tell me things you can plug into a USB port....

Why sacrifice a port?
You, my friend, have failed.


http://en.wikipedia.org/wiki/USB_hub
#2.10 ajua on 14 Jul 2009 - 16:34
powerade01 said,
It is idiodic to use a USB port rather than use a dedicated port for a keyboard.
Tell me things you can plug into a PS/2 port....
now
Tell me things you can plug into a USB port....

Why sacrifice a port?
You, my friend, have failed.

You don't fail when you have enough USB ports. I have like 10 ports plus 1 USB Hub to connect my sticks and external HDD's...

Maybe you have only two or three, which is still common. Also, peripheral ports are not "sacrificed", they are used....
#2.11 n_K on 14 Jul 2009 - 18:24
I've got a USB IBM keyboard, got a job lot of 10 of them for £15 inc PnP, bloody bargain! And they've got a choke near to the USB connector so they should be safe, invest ;p
#2.12 IsLNdbOi on 14 Jul 2009 - 23:10
Brandon said,
Nope. Works with USB as well. Hell, even worked with my Wireless USB keyboard when I had a desktop


None of the motherboards I've had could power on via USB keyboard. It would only work with PS/2 keyboards:

Asus P5E-VM HDMI
Asus P5Q-EM
Asus A8N-SLI Deluxe
Gigabyte GA-E7AUM-DS2H
XFX GeForce 9300 MI-9300-7AS9
Gigabyte GA-EP45-DS3R
(2 replies) #3 Locnav Livoc on 14 Jul 2009 - 11:36
what if you use a UPS?...
#3.1 Dead_Monkey on 14 Jul 2009 - 11:42
Locnav Livoc said,
what if you use a UPS?...

This is a good question, I was wondering this myself yesterday when I first saw this posted (on the forums). I don't understand enough of the technical side to be able to say.
#3.2 cobyhoff on 15 Jul 2009 - 15:57
My initial gut reaction says "Of course a UPS would block the signal," but upon further reflection, the ground connection (earth) remains unimpeded through a UPS. There is a chance that the circuitry and battery of the UPS would act as a capacitor and even-out the electrical noise to eliminate the PS/2 signal, but alas, it is all speculation until someone tests it.
#4 SakuraKira on 14 Jul 2009 - 13:33
I use one too, a PS/2 keyboard that came with my old Dell Dimension 8250 that I got about 6 yrs ago and have since replaced. I dislike the newer Dell keyboards, and this one works like a charm.

It will be very interesting to see this testing with other connections as the testing technology develops further. However, I'd like to know how long the signal stays alive. Does it degrade by passing through other devices like a surge protector? My computer is plugged into a battery backup device, which is then plugged into the wall socket. Does this act as any sort of buffer, or does that not factor at all?
#5 Eastwind on 15 Jul 2009 - 00:47
If someone tries that hard to steal my data and efforts that much, I say, my friends, they definitely well-deserved to get my data... I would give them volunteerly if they ask after

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)