🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
30 messages
30 total messages Started by Jack Ryan Fri, 17 Jul 2015 07:03
No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275257
Author: Jack Ryan
Date: Fri, 17 Jul 2015 07:03
81 lines
5194 bytes
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275259
Author: Ezekiel
Date: Fri, 17 Jul 2015 11:32
46 lines
3139 bytes
"Jack Ryan" <noreply@remailer.cpunk.us> wrote in message 
news:30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us...
> 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
>
>
> "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."
>

In the DoD this was called "Tempest."

I'll believe this after it's independently verified. Being able to measure 
"fluctuations in the electromagnetic field" around the laptop to steal my 
decryption keys sounds fishy.

-- 
'Dell loses money on every PC they sell'

The Windows PC would not be able to benefit from the i7 processor

Apple's Macs sell for almost 5 times the price of similarly configured 
Windows 7 PCs

Apple spent roughly $1 billion to sell 1 million iPhones over 3 years.

Apple was willing to consider 1 million iPhones to be a smashing success, 
rather than a dismal failure

It takes 6 Windows servers to do the work of 1 Linux system running on the 
same hardware.


A sample of Linux "advocacy" posted here in COLA
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275260
Author: Slimer
Date: Fri, 17 Jul 2015 12:35
100 lines
6079 bytes
On Fri, 17 Jul 2015 03:03:33 -0400, Jack Ryan <noreply@remailer.cpunk.us>  
wrote:

> 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 guess that if the NSA, FBI or CIA wants information out of us, there  
truly is nowhere to hide. It's sad to see.

-- 
Slimer
Proud "Wintroll"
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275261
Author: Alan Baker
Date: Fri, 17 Jul 2015 15:26
97 lines
6176 bytes
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275262
Author: Melzzzzz
Date: Fri, 17 Jul 2015 15:31
11 lines
1920 bytes
On 7/17/15 5:26 PM, Alan Baker wrote:
>
> And then the illustration shows just 12 instructions executed in 2.1
> seconds?

It is abacus ;)

>
> No.
>
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275265
Author: Slimer
Date: Fri, 17 Jul 2015 15:45
136 lines
7619 bytes
On Fri, 17 Jul 2015 11:26:57 -0400, 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.

Anal, you bring up a good point. It _is_ possible that such an article  
popped up only to make the point for the NSA that no matter what you do,  
they will always be able to decrypt your communications. After all,  
certain areas of the world, like the United Kingdom, want to criminalize  
encryption. It is certainly possible that they have instead decided to  
send out propaganda to make it sound as though encryption is futile to  
discourage people from even trying out something that has, so far, always  
been the best way of maintaining privacy during an era where such a thing  
is not respected at all by the authorities.

-- 
Slimer
Proud "Wintroll"
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275266
Author: GreyCloud
Date: Fri, 17 Jul 2015 20:08
35 lines
3136 bytes
Ezekiel wrote:

> 
> "Jack Ryan" <noreply@remailer.cpunk.us> wrote in message
> news:30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us...
>> 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
>>
>>
>> "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."
>>
> 
> In the DoD this was called "Tempest."
> 

Yep.  And Tempest measures include shielding the machine.  I believe that 
the metal enclosures on Towers made of steel prevent such intercepts.

> I'll believe this after it's independently verified. Being able to measure
> "fluctuations in the electromagnetic field" around the laptop to steal my
> decryption keys sounds fishy.
> 
It sort of does... and to utilize spectrum analysis is still quite costly.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275267
Author: Anonymous
Date: Sat, 18 Jul 2015 00:44
8 lines
1519 bytes
> After all, certain areas of the world, like the United Kingdom, want
> to criminalize encryption.

  It is not the United Kingdom that wants to criminalize 
encryption, it their fool Prime Minister, David Cameron that wants 
to criminalize it.  As bad as it is getting in America, can you 
imagine how bad it would be in England if Cameron was a nigger.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275268
Author: owl
Date: Sat, 18 Jul 2015 04:23
102 lines
6314 bytes
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.

Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275271
Author: Alan Baker
Date: Sat, 18 Jul 2015 08:35
108 lines
6659 bytes
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275273
Author: owl
Date: Sat, 18 Jul 2015 17:46
113 lines
6923 bytes
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?
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275277
Author: Alan Baker
Date: Sat, 18 Jul 2015 19:57
128 lines
7731 bytes
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275278
Author: owl
Date: Sat, 18 Jul 2015 21:18
154 lines
8773 bytes
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275280
Author: Anonymous
Date: Sat, 18 Jul 2015 23:27
15 lines
1597 bytes
In article <30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us>
Jack Ryan <noreply@remailer.cpunk.us> wrote:
>
> 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. ....

Didn't we talk about this alrady? Wasn't general opinion that it's 
not a real world problem?
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275295
Author: Anonymous
Date: Sun, 19 Jul 2015 22:26
22 lines
2032 bytes
In article 
<b0b86f3edbee109f08c86545d3a1c0b1@remailer.paranoici.org>
Anonymous <nobody@remailer.paranoici.org> wrote:
>
> In article <30ce7b258610913ceefdcd49b3b44375@remailer.cpunk.us>
> Jack Ryan <noreply@remailer.cpunk.us> wrote:
> >
> > 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. ....
>
> Didn't we talk about this alrady? Wasn't general opinion that it's
> not a real world problem?

Depends whether it's your keys or not.  If it's not your keys, 
it's not your problem.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275304
Author: 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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275306
Author: owl
Date: Mon, 20 Jul 2015 18:59
174 lines
9885 bytes
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.

> ...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.
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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275307
Author: 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.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275308
Author: owl
Date: Mon, 20 Jul 2015 20:52
227 lines
12486 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> 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.

Well, you can accept the following or not.

https://www.tau.ac.il/~tromer/radioexp/
<quote>
Q7: How can low-frequency (kHz) leakage provide useful information about a much faster (GHz) computation?

We use two main techniques.

Leakage self-amplification. Individual CPU operations are too fast
for our measurement equipment to pick up, but long operations (e.g.,
modular exponentiation in RSA and ElGamal) can create a characteristic
(and detectable) spectral signature over many milliseconds. Using a
suitably chosen ciphertext, we are able to use the algorithm's own
code to amplify its own key leakage, creating very drastic changes,
detectable even by low-bandwidth means.

Data-dependent leakage. While most implementations (such as GnuPG) attempt
to decouple the secret key from the sequence of performed operations,
the operands to these operations are key-dependent and often not fully
randomized. The attacker can thus attempt to craft special inputs (e.g.,
ciphertexts to be decrypted) to the cryptographic algorithm that "poison"
the intermediate values inside the algorithm, producing a distinct leakage
pattern when used as operands during the algorithm's execution. Measuring
leakage during such a poisoned execution can reveal in which operations
the operands occurred, and thus leak secret-key information.
</quote>

Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275311
Author: owl
Date: Mon, 20 Jul 2015 21:08
186 lines
10466 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> 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."

Sorry, it appears I failed to address it again.  Oops. :)

If by "data" you are talking about the decrypted text, then no,
probably not possible.

But what they apparently are after is the secret key, which would
enable them to decrypt at will any future intercepted ciphertext.
Apparently these patterns allow them to determine the secret key.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275315
Author: Alan Baker
Date: Tue, 21 Jul 2015 01:06
231 lines
13186 bytes
On 2015-07-20 20:52:06 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> 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.
> 
> Well, you can accept the following or not.
> 
> https://www.tau.ac.il/~tromer/radioexp/
> <quote>
> Q7: How can low-frequency (kHz) leakage provide useful information 
> about a much faster (GHz) computation?
> 
> We use two main techniques.
> 
> Leakage self-amplification. Individual CPU operations are too fast
> for our measurement equipment to pick up, but long operations (e.g.,
> modular exponentiation in RSA and ElGamal) can create a characteristic
> (and detectable) spectral signature over many milliseconds. Using a
> suitably chosen ciphertext, we are able to use the algorithm's own
> code to amplify its own key leakage, creating very drastic changes,
> detectable even by low-bandwidth means.
> 
> Data-dependent leakage. While most implementations (such as GnuPG) attempt
> to decouple the secret key from the sequence of performed operations,
> the operands to these operations are key-dependent and often not fully
> randomized. The attacker can thus attempt to craft special inputs (e.g.,
> ciphertexts to be decrypted) to the cryptographic algorithm that "poison"
> the intermediate values inside the algorithm, producing a distinct leakage
> pattern when used as operands during the algorithm's execution. Measuring
> leakage during such a poisoned execution can reveal in which operations
> the operands occurred, and thus leak secret-key information.
> </quote>

Sorry, but that is delightful gobbledigook.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275316
Author: Alan Baker
Date: Tue, 21 Jul 2015 01:06
193 lines
11269 bytes
On 2015-07-20 21:08:19 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> 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."
> 
> Sorry, it appears I failed to address it again.  Oops. :)
> 
> If by "data" you are talking about the decrypted text, then no,
> probably not possible.
> 
> But what they apparently are after is the secret key, which would
> enable them to decrypt at will any future intercepted ciphertext.
> Apparently these patterns allow them to determine the secret key.

That is a part of the data.

And they don't actually say that anywhere.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275319
Author: owl
Date: Tue, 21 Jul 2015 02:18
199 lines
11294 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> On 2015-07-20 21:08:19 +0000, owl said:

>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>> 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."
>> 
>> Sorry, it appears I failed to address it again.  Oops. :)
>> 
>> If by "data" you are talking about the decrypted text, then no,
>> probably not possible.
>> 
>> But what they apparently are after is the secret key, which would
>> enable them to decrypt at will any future intercepted ciphertext.
>> Apparently these patterns allow them to determine the secret key.

> That is a part of the data.

And it is a part of the data that apparently reveals itself with chosen
ciphertext.

> And they don't actually say that anywhere.

Actually they do.  Multiple times.  Did you read the paper?
http://eprint.iacr.org/2015/170.pdf
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275321
Author: owl
Date: Tue, 21 Jul 2015 02:33
249 lines
13858 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> On 2015-07-20 20:52:06 +0000, owl said:

>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>> 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.
>> 
>> Well, you can accept the following or not.
>> 
>> https://www.tau.ac.il/~tromer/radioexp/
>> <quote>
>> Q7: How can low-frequency (kHz) leakage provide useful information 
>> about a much faster (GHz) computation?
>> 
>> We use two main techniques.
>> 
>> Leakage self-amplification. Individual CPU operations are too fast
>> for our measurement equipment to pick up, but long operations (e.g.,
>> modular exponentiation in RSA and ElGamal) can create a characteristic
>> (and detectable) spectral signature over many milliseconds. Using a
>> suitably chosen ciphertext, we are able to use the algorithm's own
>> code to amplify its own key leakage, creating very drastic changes,
>> detectable even by low-bandwidth means.
>> 
>> Data-dependent leakage. While most implementations (such as GnuPG) attempt
>> to decouple the secret key from the sequence of performed operations,
>> the operands to these operations are key-dependent and often not fully
>> randomized. The attacker can thus attempt to craft special inputs (e.g.,
>> ciphertexts to be decrypted) to the cryptographic algorithm that "poison"
>> the intermediate values inside the algorithm, producing a distinct leakage
>> pattern when used as operands during the algorithm's execution. Measuring
>> leakage during such a poisoned execution can reveal in which operations
>> the operands occurred, and thus leak secret-key information.
>> </quote>

> Sorry, but that is delightful gobbledigook.

I guess one man's math is another man's gobbledygook.
The authors are all either PhD or PhD candidates in Computer Science.
And their work was sponsored by:
<quote>
This work was sponsored by the Check Point Institute for Information
Security; by the European Union's Tenth Framework Programme
(FP10/2010-2016) under grant agreement 259426 ERC-CaC; by the Leona M. &
Harry B. Helmsley Charitable Trust; by the Israeli Ministry of Science
and Technology; by the Israeli Centers of Research Excellence I-CORE
Program (center 4/11); and by NATO's Public Diplomacy Division in the
Framework of "Science for Peace".
</quote>

What are your qualifications again?

Wait... maybe this is just a Mossad mind game...
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275323
Author: Alan Baker
Date: Tue, 21 Jul 2015 02:55
205 lines
11974 bytes
On 2015-07-21 02:18:51 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> On 2015-07-20 21:08:19 +0000, owl said:
> 
>>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>>> 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."
>>> 
>>> Sorry, it appears I failed to address it again.  Oops. :)
>>> 
>>> If by "data" you are talking about the decrypted text, then no,
>>> probably not possible.
>>> 
>>> But what they apparently are after is the secret key, which would
>>> enable them to decrypt at will any future intercepted ciphertext.
>>> Apparently these patterns allow them to determine the secret key.
> 
>> That is a part of the data.
> 
> And it is a part of the data that apparently reveals itself with chosen
> ciphertext.

So you have to feed a system multiple cybertexts AND have close enough 
access that you can read the computers RF leakage?

> 
>> And they don't actually say that anywhere.
> 
> Actually they do.  Multiple times.  Did you read the paper?
> http://eprint.iacr.org/2015/170.pdf
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275324
Author: owl
Date: Tue, 21 Jul 2015 03:40
14 lines
1872 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> On 2015-07-21 02:18:51 +0000, owl said:
...
>> 
>> And it is a part of the data that apparently reveals itself with chosen
>> ciphertext.

> So you have to feed a system multiple cybertexts AND have close enough 
> access that you can read the computers RF leakage?

You can accept getting the device close enough, but the idea of clicking
"send" on a batch of chosen ciphertext exceeds your acceptable complexity
limit?
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275326
Author: Alan Baker
Date: Tue, 21 Jul 2015 03:56
19 lines
2394 bytes
On 2015-07-21 03:40:54 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> On 2015-07-21 02:18:51 +0000, owl said:
> ...
>>> 
>>> And it is a part of the data that apparently reveals itself with chosen
>>> ciphertext.
> 
>> So you have to feed a system multiple cybertexts AND have close enough
>> access that you can read the computers RF leakage?
> 
> You can accept getting the device close enough, but the idea of clicking
> "send" on a batch of chosen ciphertext exceeds your acceptable complexity
> limit?

1. Where do you get at that I accept "getting the device close enough".

2. How do you guarantee that a target accepts your ciphertexts?
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275327
Author: owl
Date: Tue, 21 Jul 2015 04:32
26 lines
2318 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> On 2015-07-21 03:40:54 +0000, owl said:

>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>> On 2015-07-21 02:18:51 +0000, owl said:
>> ...
>>>> 
>>>> And it is a part of the data that apparently reveals itself with chosen
>>>> ciphertext.
>> 
>>> So you have to feed a system multiple cybertexts AND have close enough
>>> access that you can read the computers RF leakage?
>> 
>> You can accept getting the device close enough, but the idea of clicking
>> "send" on a batch of chosen ciphertext exceeds your acceptable complexity
>> limit?

> 1. Where do you get at that I accept "getting the device close enough".

Because that would be impossible?

> 2. How do you guarantee that a target accepts your ciphertexts?

What do you mean "accepts"?  A gpg email plugin could auto-decrypt, as
described in the paper that you might consider -- after all this time --
actually *reading*.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275328
Author: Alan Baker
Date: Tue, 21 Jul 2015 04:36
40 lines
3213 bytes
On 2015-07-21 04:32:50 +0000, owl said:

> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>> On 2015-07-21 03:40:54 +0000, owl said:
> 
>>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>>> On 2015-07-21 02:18:51 +0000, owl said:
>>> ...
>>>>> 
>>>>> And it is a part of the data that apparently reveals itself with chosen
>>>>> ciphertext.
>>> 
>>>> So you have to feed a system multiple cybertexts AND have close enough
>>>> access that you can read the computers RF leakage?
>>> 
>>> You can accept getting the device close enough, but the idea of clicking
>>> "send" on a batch of chosen ciphertext exceeds your acceptable complexity
>>> limit?
> 
>> 1. Where do you get at that I accept "getting the device close enough".
> 
> Because that would be impossible?

Where did I write antying that suggests that I "accept" the idea of 
getting the device close enough?

> 
>> 2. How do you guarantee that a target accepts your ciphertexts?
> 
> What do you mean "accepts"?  A gpg email plugin could auto-decrypt, as
> described in the paper that you might consider -- after all this time --
> actually *reading*.

"Could".

And again: it's the combination. Both getting the target to accept your 
ciphertexts and decrypt them and getting your device close enough...

....and I'm still doubtful that you can actually get the secret key from 
sending the ciphertexts in the first place.
Re: No one is safe: $300 gadget steals encryption keys out of the air, and it's nearly unstoppable
#275329
Author: owl
Date: Tue, 21 Jul 2015 05:19
70 lines
4174 bytes
In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
> On 2015-07-21 04:32:50 +0000, owl said:

>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>> On 2015-07-21 03:40:54 +0000, owl said:
>> 
>>>> In comp.os.linux.advocacy Alan Baker <email@domain.com> wrote:
>>>>> On 2015-07-21 02:18:51 +0000, owl said:
>>>> ...
>>>>>> 
>>>>>> And it is a part of the data that apparently reveals itself with chosen
>>>>>> ciphertext.
>>>> 
>>>>> So you have to feed a system multiple cybertexts AND have close enough
>>>>> access that you can read the computers RF leakage?
>>>> 
>>>> You can accept getting the device close enough, but the idea of clicking
>>>> "send" on a batch of chosen ciphertext exceeds your acceptable complexity
>>>> limit?
>> 
>>> 1. Where do you get at that I accept "getting the device close enough".
>> 
>> Because that would be impossible?

> Where did I write antying that suggests that I "accept" the idea of 
> getting the device close enough?

I don't know that you did, not that it matters.  But your statement: 

 "So you have to feed a system multiple cybertexts AND have close enough
  access that you can read the computers RF leakage?"

suggests that it is the combination of requirements that makes it
improbable.  Given that we had been going on and on about the actual
technique employed gave me reason to believe that you accepted the
premise of getting the device within range to start with.

But since you are now implying that you *don't* accept that it would
be possible to get the device within range, I have to question the
the level of detail involved in your thought process.

>> 
>>> 2. How do you guarantee that a target accepts your ciphertexts?
>> 
>> What do you mean "accepts"?  A gpg email plugin could auto-decrypt, as
>> described in the paper that you might consider -- after all this time --
>> actually *reading*.

> "Could".

So you accept it now?

> And again: it's the combination. Both getting the target to accept your 
> ciphertexts and decrypt them and getting your device close enough...

So?

> ...and I'm still doubtful that you can actually get the secret key from 
> sending the ciphertexts in the first place.

Does it really matter that you are skeptical?  So far you have shown nothing
to discredit this method -- just your disbelief, based initially on your 
ridiculous observation that we were looking at "Just 12 instructions!"

Personally, I'm more inclined to believe that government agencies have
capabilities that far exceed my imagination than I am to scoff at novel
approaches by amateurs.  Hell, it still amazes me when I take my FLIR
out in the backyard at night and see my dogs glowing like something from
"Predator."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads