🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #275304

Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable

#275304
From: Alan Baker
Date: Mon, 20 Jul 2015 16:42
165 lines
9517 bytes
On 2015-07-18 21:18:31 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> On 2015-07-18 17:46:35 +0000, owl said:
> 
>>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>>> On 2015-07-18 04:23:11 +0000, owl said:
>>> 
>>>>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>>>>> On 2015-07-17 07:03:33 +0000, Jack Ryan said:
>>>>> 
>>>>>>> http://www.foxnews.com/tech/2015/07/09/no-one-is-safe-300-gadget-
>>>>>>> steals-encryption-keys-out-air-and-its-
>>>>>>> nearly/?intcmp=ob_article_footer_text&intcmp=obnetwork
>>>>>>> 
>>>>>>> Just when you thought you were safe, a new hacking toy comes
>>>>>>> along and rocks your world. Imagine a tool exists that lets
>>>>>>> hackers pluck encryption keys from your laptop right out of the
>>>>>>> air. You can’t stop it by connecting to protected Wi-Fi networks
>>>>>>> or even disabling Wi-Fi completely. Turning off Bluetooth also
>>>>>>> won’t help you protect yourself.
>>>>>>> 
>>>>>>> Why? Because the tiny device that can easily be hidden in an
>>>>>>> object or taped to the underside of a table doesn’t use
>>>>>>> conventional communications to pull off capers. Instead it reads
>>>>>>> radio waves emitted by your computer’s processor, and there’s
>>>>>>> really nothing you can do to stop it.
>>>>>>> 
>>>>>>> DON’T MISS: It’s Time to Rain On Apple’s Parade
>>>>>>> 
>>>>>>> Researchers at Tel Aviv University and another Israeli research
>>>>>>> center called Technion have created a terrifying new hacking
>>>>>>> tool that can steal encryption keys out of the air. The device,
>>>>>>> which is assembled using about $300 worth of parts that are
>>>>>>> widely available, is about the size of a piece of pita bread.
>>>>>>> Not by coincidence, the team is calling it PITA (Portable
>>>>>>> Instrument for Trace Acquisition).
>>>>>>> 
>>>>>>> Here’s how it works: the PITA consists of a bunch of off-the-
>>>>>>> shelf parts and it runs on four AA batteries. Using an antenna
>>>>>>> that can read electromagnetic waves emitted by computer
>>>>>>> processors from up to 19 inches away, the device can swipe RSA
>>>>>>> and ElGamal data and decrypt it. Stolen data is then stored
>>>>>>> locally on the device’s microSD card, or the PITA can transmit
>>>>>>> data over Wi-Fi to the attacker’s computer.
>>>>>>> 
>>>>>>> Here’s a deeper dive from the team’s paper:
>>>>>>> 
>>>>>>> "We demonstrate the extraction of secret decryption keys from
>>>>>>> laptop computers, by nonintrusively measuring electromagnetic
>>>>>>> emanations for a few seconds from a distance of 50 cm. The
>>>>>>> attack can be executed using cheap and readily-available
>>>>>>> equipment: a consumer-grade radio receiver or a Software Defined
>>>>>>> Radio USB dongle. The setup is compact and can operate
>>>>>>> untethered; it can be easily concealed, e.g., inside pita bread.
>>>>>>> Common laptops, and popular implementations of RSA and ElGamal
>>>>>>> encryptions, are vulnerable to this attack, including those that
>>>>>>> implement the decryption using modern exponentiation algorithms
>>>>>>> such as sliding-window, or even its side-channel resistant
>>>>>>> variant, fixed-window (m-ary) exponentiation.
>>>>>>> 
>>>>>>> "We successfully extracted keys from laptops of various models
>>>>>>> running GnuPG (popular open source encryption software,
>>>>>>> implementing the OpenPGP standard), within a few seconds. The
>>>>>>> attack sends a few carefully-crafted ciphertexts, and when these
>>>>>>> are decrypted by the target computer, they trigger the
>>>>>>> occurrence of specially-structured values inside the decryption
>>>>>>> software. These special values cause observable fluctuations in
>>>>>>> the electromagnetic field surrounding the laptop, in a way that
>>>>>>> depends on the pattern of key bits (specifically, the key-bits
>>>>>>> window in the exponentiation routine). The secret key can be
>>>>>>> deduced from these fluctuations, through signal processing and
>>>>>>> cryptanalysis."
>>>>>>> 
>>>>>>> So now you’re obviously wondering, “how can I block this crazy
>>>>>>> attack?” Bad news: You can’t.
>>>>>>> 
>>>>>>> “Physical mitigation techniques of electromagnetic radiation
>>>>>>> include Faraday cages,” the team wrote on its website. “However,
>>>>>>> inexpensive protection of consumer-grade PCs appears difficult.
>>>>>>> Alternatively, the cryptographic software can be changed, and
>>>>>>> algorithmic techniques employed to render the emanations less
>>>>>>> useful to the attacker. These techniques ensure that the rough-
>>>>>>> scale behavior of the algorithm is independent of the inputs it
>>>>>>> receives; they usually carry some performance penalty, but are
>>>>>>> often used in any case to thwart other side-channel attacks.
>>>>>>> This is what we helped implement in GnuPG.”
>>>>>>> 
>>>>>>> The team plans to present its creation at the Workshop on
>>>>>>> Cryptographic Hardware and Embedded Systems this coming
>>>>>>> September.
>>>>> 
>>>>>> I call bullshit on this one:
>>>>> 
>>>>>> "A good way to visualize the signal is as a spectrogram, which plots
>>>>>> the measured power as a function of time and frequency. For example, in
>>>>>> the following spectrogram (recorded using the first setup pictured
>>>>>> above), time runs vertically (spanning 2.1 seconds) and frequency runs
>>>>>> horizontally (spanning 1.6-1.75 MHz).  During this time, the CPU
>>>>>> performs loops of different operations (multiplications, additions,
>>>>>> memory accesses, etc.). One can easily discern when the CPU is
>>>>>> performing each operation, due to the different spectral signatures."
>>>>> 
>>>>>> And then the illustration shows just 12 instructions executed in 2.1 seconds?
>>>>> 
>>>>>> No.
>>>>> 
>>>>> *Loops* of instructions.
>>> 
>>>> Um...
>>> 
>>>> ...no.
>>> 
>>>> It shows INDIVIDUAL instructions; a grand total of 12.
>>> 
>>> Well, the algorithm uses recursive multiplication, so what makes you
>>> think you're seeing just one MUL or FMUL at a time there?
> 
>> Because you don't typical get runs of what would have to be literally
>> thousands if not millions of multiplication operations in a row.
> 
>> And even assuming the multiplications made sense, can you see any
>> scenario where you run nothing but NOP (no operation) instructions for
>> fully 0.25 seconds? On a modern CPU, that would definitely be MILLIONS
>> of NOPs
> 
>> Then there's the little fact that knowing what instructions are carried
>> out tells you next to nothing about the value of the data on which they
>> are acting.
> 
>> IT IS BULLSHIT.
> 
> That particular set of instructions apparently comes not from the gpg
> code, but from their own test code, which is described in an article by
> Genkin and two other researchers in this book:
> 
> https://books.google.com/books?id=cWQlBAAAQBAJ&source=gbs_navlinks_s
> <quote>
> The two volume-set, LNCS 8616 and LNCS 8617, constitutes the refereed
> proceedings of the 34th Annual International Cryptology Conference,
> CRYPTO 2014, held in Santa Barbara, CA, USA, in August 2014.
> </quote>
> 
> Screenshot of an excerpt from that article, describing the test code:
> 
> http://i.imgur.com/HNbpftX.png
> 
> Here's more detail about the original post:
> http://eprint.iacr.org/2015/170.pdf
> 
> If it's bullshit, they sure went to a hell of an effort just to make
> a joke, and while all this cryptology stuff is way over *my* head, I doubt
> that they could fool the crypto professionals at that conference.
> 
> But hey, if it's an NSA psyop, well ok then.  But that spectro screenshot
> is not evidence of it.

But none of that deals at all with my second objection...

....which you snipped...

....not to mention that being able to distinguish a whole run of 
identical instructions is a far cry from being able to decipher the 
signal that is varying in billions of second by looking at kilohertz RF 
noise.
Technical Details
Message-ID: <moj8do$qng$1@news.datemas.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
References: <30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us> <mob6s1$f99$1@news.datemas.de> <shgncj0.3wafe@rooftop.invalid> <mod33j$ji5$1@news.datemas.de> <tuef.vmzj3@rooftop.invalid> <moeb36$bsi$1@news.datemas.de> <fnxbvjd8.ap3@rooftop.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <moj8do$qng$1@news.datemas.de>
Subject: Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
Date: Mon, 20 Jul 2015 09:42:32 -0700
From: Alan Baker <email@domain.com>
References: <30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us> <mob6s1$f99$1@news.datemas.de> <shgncj0.3wafe@rooftop.invalid> <mod33j$ji5$1@news.datemas.de> <tuef.vmzj3@rooftop.invalid> <moeb36$bsi$1@news.datemas.de> <fnxbvjd8.ap3@rooftop.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
Newsgroups: comp.sys.mac.advocacy,alt.privacy,comp.os.linux.advocacy,alt.privacy.anon-server
Organization: Datemas.de http://www.news.datemas.de
Lines: 166
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 2Sy8a4m7qJ3J9TkZ2I5eYrdg2pVxOJIDOhmUzvYrtPoWxzwHXncCbXHngyfx7ZfKV6gWUZwoSc5zEahssverHoKMLINfBlHMjpsqVCMflbwB+sBHyfSraH5csGZqkrrm2ZRLMOp5lZshzXjcZqoKdbGg/R9uczxWttr2+NY1MgE=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Mon, 20 Jul 2015 16:42:32 +0000 (UTC)
User-Agent: Unison/2.2
X-Received-Body-CRC: 3844056273
X-Received-Bytes: 9370