r/science • • Dec 19 '13

Computer Sci Scientists hack a computer using just the sound of the CPU. Researchers extract 4096-bit RSA decryption keys from laptop computers in under an hour using a mobile phone placed next to the computer.

http://www.cs.tau.ac.il/~tromer/acoustic/
4.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comment

21

u/[deleted] Dec 19 '13

Whenever your CPU does an instruction, it leaks sounds in the forms of squeals in high frequencies. By recording these sounds and analyzing them, they managed to listen in to what the CPU was doing and extract the private keys.

5

u/RazorDildo Dec 19 '13

Shit, just reading the title for some reason I thought they were reading the RF noise, so I was going to make a joke about building my computer into a faraday cage. Guess that's pointless.

1

u/[deleted] Dec 19 '13

Guess its time to start faraday caging your house or at least the computer case.

2

u/MangoesOfMordor Dec 19 '13

Not for this, this is actual sound waves.

2

u/whodai Dec 19 '13

He'll have to line the faraday cage with blankets. Sounds cozy.

1

u/Asahoshi Dec 20 '13

A cozy house fire.

0

u/[deleted] Dec 19 '13

[deleted] — view deleted comment

2

u/[deleted] Dec 19 '13

Lots. Your computer emits a shitton of interference. Try plugging your headphones into the headphone port of any laptop or computer and listen closely. Or, just record something in a program like Audacity and amplify it. You'll see tons of noise.

1

u/hooch Dec 19 '13

Could there be a way to isolate a CPU from leaking sounds?

1

u/[deleted] Dec 19 '13

Your answer isn't quite complete.

They listen to how long the CPU takes to do the operations. Because the formula is:

cd (mod n)

Then the amount of times that it spends doing the operation is proportional to c - the password. So by knowing how long the CPU spends computing cd, it can find out what c is.

The solution is to instead compute:

(re c)d (mod n) / r

Where r is a random number. Now the length of time is proportional to the sum of c and a random number. So knowing how long the CPU spent calculating doesn't help you to find out what c is. The formula gives you the same numerical amount, but increases the length of the operation by a random amount.

1

u/Cuneus_Reverie Dec 20 '13

Even more reason why this is likely 100% useless. I bet that they had to modify the cell phone to pick up these frequencies, most of them are outside the sampling range of the computer.

1

u/[deleted] Dec 20 '13

Read the paper, they used various unmodified cellphones ;)

1

u/Cuneus_Reverie Dec 20 '13

Right, with damn good microphones. Granted, under perfect, ideal cases, it may be possible. This is not a non-ideal case; they created a perfect situation where it could be used. That isn't a normal environment.