🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#275307
From: Alan Baker
Date: Mon, 20 Jul 2015 19:34
198 lines
11131 bytes
On 2015-07-20 18:59:10 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> 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...
> 
> What did I snip?  I looked back.  I don't think I snipped anything.


I apologize.

You didn't snip it.

You just failed to address it:

"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."

> 
>> ...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.
> 
> Depends on how many multiplication iterations take place in the actual code.

No. It doesn't. Because in real code, you don't get the literally 
millions of multiplications in a row you need to see a signal in the 
kilohertz range.

> Remember we are dealing with multi-thousand-bit numbers for these very
> large primes.  But maybe you should book a speaking engagement at the next
> crypto conference.

I don't need to know about crypto to know you can read a kilohertz 
signal that may be generated by executing the same instruction millions 
of times in a row when you're actually getting many DIFFERENT 
instructions.
Technical Details
Message-ID: <mojifc$gsk$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-alt.privacy.20150805.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.datemas.de!news.datemas.de!.POSTED!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> <moj8do$qng$1@news.datemas.de> <fbvncj9r.84aw@rooftop.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <mojifc$gsk$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 12:34:04 -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> <moj8do$qng$1@news.datemas.de> <fbvncj9r.84aw@rooftop.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20150805.mbox.gz!buffer1.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.datemas.de!news.datemas.de!.POSTED!not-for-mail
Newsgroups: comp.sys.mac.advocacy, comp.os.linux.advocacy, alt.privacy, alt.privacy.anon-server
 alt.privacy.anon-server
Organization: Datemas.de http://www.news.datemas.de
Lines: 198
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: w3bJVCJcsZxgY+b7uIM/RCDoVO3yf3qaV/jAdS4OzlNRkkin0pJHlxGyKnS7Y4BIXdRlBYM8V2awAva1zg0oVvcMGFQynQ4hbmQA/SWXoWh6vG395Ik14lz7F5R9VUbFOXPBwFU13olL68BR9lVqml58NkHQlbP3kaSOJGBxaE8=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Mon, 20 Jul 2015 19:34:05 +0000 (UTC)
User-Agent: Unison/2.2