News for hackers. Stuff that matters.
Re:Hackers send silent commands to speech recognition system... by baldfat on Friday September 08, 2017 @07:21AM (#15199396)
This is MUCH bigger deal than most understand. This will cost less than $10 to build and their is no hardware solution on phones or Alexia.

Phreaking is back.

Re:Hackers send silent commands to speech recognition system... by retSava on Friday September 08, 2017 @07:38AM (#15199453)
Yeah, those parts are easily available on Aliexpress in droves. Imagine this in the crowded subway.

"hey siri" "show me pictures of CENSORED" "send the first picture to mom" "yes, send it"

:S

Re:Hackers send silent commands to speech recognition system... by pls2halp on Friday September 08, 2017 @07:43AM (#15199472)
I’m pretty sure that Hey Siri is keyed to the users voice to some extent, so Siri should be safe. Not sure about Google, Cortana, Alexa etc.
Re:Hackers send silent commands to speech recognition system... by retSava on Friday September 08, 2017 @09:39AM (#15200041)
"We validated DolphinAttack on major speech recognition systems, including Siri, Google Now, Samsung S Voice, Huawei HiVoice, Cortana, and Alexa."

I take that as, Siri is probably not trained to only the wake-up phrase, and as such, seems to be _not_ trained to the voice at all since this attack worked.

That, or poorly trained. Don't know, can't verify.

Re:Hackers send silent commands to speech recognition system... by pluma on Friday September 08, 2017 @08:18AM (#15199618)
Emphasis on "to some extent". Relying on it is a bad idea even though it'll keep out most randos.

Speech fingerprinting, much like actual fingerprints, is not a reliable way to establish identity, especially if you want to avoid false negatives as you probably would in mass consumer facing technology.

Re:Hackers send silent commands to speech recognition system... by wwwv on Friday September 08, 2017 @07:45AM (#15199484)
Siri recognises the "hey siri" bit unique to the owner, further commands aren't validated.
Re:Hackers send silent commands to speech recognition system... by jlrbuellv on Friday September 08, 2017 @09:52AM (#15200108)
"OK Google" on my Pixel is keyed to my voice and can be used to unlock the phone (though I turned that feature off), but I'm not sure if it validates my voice when the phone is already unlocked, or if other google devices like the Home allow this.
Re:Hackers send silent commands to speech recognition system... by scott_s on Friday September 08, 2017 @11:34AM (#15200998)
You are correct that Apple claims that the opening "Hey, Siri" is trying to match against your voice specifically: https://techcrunch.com/2015/09/11/apple-addresses-privacy-qu...
Re:Hackers send silent commands to speech recognition system... by donohoe on Friday September 08, 2017 @09:36AM (#15200019)
No. It absolutely is not. There is no way (currently) to train Siri to just your voice.
Re:Hackers send silent commands to speech recognition system... by MikeTV on Friday September 08, 2017 @12:31PM (#15201637)
Cortana has that as an option in Settings, but it's not on by default.
Re:Hackers send silent commands to speech recognition system... by toyg on Friday September 08, 2017 @07:45AM (#15199481)
Siri is not keyed to anything . My daughter can talk to her as i do.
Re:Hackers send silent commands to speech recognition system... by wwwv on Friday September 08, 2017 @07:46AM (#15199486)
"Hey Siri" is.
Re:Hackers send silent commands to speech recognition system... by tonyedgecombe on Friday September 08, 2017 @09:37AM (#15200025)
Not on my phone, my whole family can trigger it.
Re:Hackers send silent commands to speech recognition system... by i_cant_speel on Friday September 08, 2017 @10:12AM (#15200261)
While it's locked?
Re:Hackers send silent commands to speech recognition system... by tonyedgecombe on Friday September 08, 2017 @04:23PM (#15203626)
Yes.
Re:Hackers send silent commands to speech recognition system... by kazagistar on Friday September 08, 2017 @10:14AM (#15200284)
How about forwarding password reset emails?
Re:Hackers send silent commands to speech recognition system... by retSava on Friday September 08, 2017 @11:56AM (#15201259)
"Siri, forward my Ashley Madison password email to my wife"
Re:Hackers send silent commands to speech recognition system... by maxerickson on Friday September 08, 2017 @08:48AM (#15199743)
Unplug Alexa, turn "Hey Siri" off. Schlep to store for Cheerios.
Re:Hackers send silent commands to speech recognition system... by krisdol on Friday September 08, 2017 @09:20AM (#15199927)
But how will the store acquire all my personal information that way?
Re:Hackers send silent commands to speech recognition system... by sangnoir on Friday September 08, 2017 @09:36AM (#15200024)
Loyalty cards.
Re:Hackers send silent commands to speech recognition system... by kleiba on Friday September 08, 2017 @09:50AM (#15200093)
By using the same credit card for each purchase.
Re:Hackers send silent commands to speech recognition system... by fredley on Friday September 08, 2017 @09:10AM (#15199869)
Turn Alexa on, order Cheerios, turn Alexa off.
Re:Hackers send silent commands to speech recognition system... by delinka on Friday September 08, 2017 @07:52AM (#15199519)
"...no hardware solution..."

There is for new hardware. It's relatively simple to include a couple components on the mic input to filter out ultrasound.

There is indeed no hardware fix for anything already manufactured.

Re:Hackers send silent commands to speech recognition system... by rmonroe on Friday September 08, 2017 @08:21AM (#15199634)
They are taking advantage of nonlinear properties in the microphone system, as described clearly in the article. There is no software filtering to protect against this using classical signal processing.

That said, it may be possible to detect the difference between human speech and the ultrasonic trick with a machine learning solution.

Re:Hackers send silent commands to speech recognition system... by delinka on Friday September 08, 2017 @09:43AM (#15200064)
The thing is, this is creating harmonic vibrations in the membrane at human speech frequencies. I really don't think you need to go with ML. It seems to me that if you remove the LPF, let the ADC access all the frequencies, then (either in the ADC or in software) detect the harmonics and ignore those with an ultrasound source.

Edit: suggest LPF removal.

Re:Hackers send silent commands to speech recognition system... by vel0city on Friday September 08, 2017 @10:00AM (#15200180)
Wouldn't it go through a bandpass filter to remove the ultrasonics before it makes it to the ADC? I thought that was common with DACs to reduce aliasing issues.
Re:Hackers send silent commands to speech recognition system... by delinka on Friday September 08, 2017 @10:18AM (#15200305)
Apologies - I was amidst edits when I was called away. I've addressed this by suggesting removal of the LPF.
Re:Hackers send silent commands to speech recognition system... by ZenoArrow on Friday September 08, 2017 @11:25AM (#15200909)
This has nothing to do with phreaking. Phreaking is about hacking the phone network, not covert use of the built-in features of a network-enabled device.
Re:Hackers send silent commands to speech recognition system... by baldfat on Saturday September 09, 2017 @07:20PM (#15209630)
well Phreaking seemed to me to be phone based.
Re:Hackers send silent commands to speech recognition system... by rachitgupta on Friday September 08, 2017 @07:28AM (#15199416)
This will be fixed with a simple software update that ignores all sounds at inaudible frequencies.
Re:Hackers send silent commands to speech recognition system... by femto on Friday September 08, 2017 @07:49AM (#15199502)
It's happening at the hardware level, so there is potentially limited scope to fix it in software. My guess is that when the author refers to "harmonics" they are really talking about intermodulation.

The idea is that if you want to create a frequency of "A", you can emit two powerful tones at frequencies "B" and "B+A", where the frequency B is high enough to be out of hearing range. The non-linearity of the microphone means the two tones mix together to produce a number of other frequencies, including the frequency "B+A"-"B" = "A".

Thus the conversion from ultrasonics to audible is happening in the microphone itself, before the software has a chance to distinguish the difference. The mixing process typically produces other frequencies other than "A", so there might be hope of a countermeasure if the microphone is able to pick up these other frequencies and the software is smart enough to use them to figure out that an attack is in progress. It's not a simple case of just filtering out a particular frequency and an intelligent choice of ultrasonic frequencies may leave only a single frequency in the band of the microphone.

It's the same principle that is used in ultrasonic beamforming speakers. That adds another element of stealth to the attack, in that the high frequencies can allow the sound to be beamformed and illuminate the microphone and not much else.

Re:Hackers send silent commands to speech recognition system... by jnbiche on Friday September 08, 2017 @08:21AM (#15199633)
> the author refers to "harmonics" they are really talking about intermodulation.

No, he's talking about harmonics. It's a different effect from intermodulation. It's true that intermodulation involves the sum and difference two or more frequencies. Harmonics, however, involves integer multiples of a single frequency.

But the impact is the same as intermodulation in that it's really a hardware issue and cannot be countered using a simple frequency filter.

Re:Hackers send silent commands to speech recognition system... by femto on Friday September 08, 2017 @08:54AM (#15199773)
Harmonics are multiples of the fundamental, so in this case they will also be ultrasonic.

Equation 2 in the paper and the subsequent paragraph shows what is going on. They use an ultrasonic carrier with modulation. The non-linearity causes the carrier to mix with the sidebands, the third-order intermodulation product being a copy of the modulation centred on 0Hz (ie. a baseband signal).

Edit: Figure 12 talks about harmonics, in the context of harmonics of the third order intermodulation product. What they are really refering to are the higher order: 5th, 7th, and so on intermodulation products, which in this case will be multiples of the third order product's frequency.

Re:Hackers send silent commands to speech recognition system... by tzs on Friday September 08, 2017 @08:15AM (#15199610)
> The idea is that if you want to create a frequency of "A", you can emit two powerful tones at frequencies "B" and "B+A", where the frequency B is high enough to be out of hearing range. The non-linearity of the microphone means the two tones mix together to produce a number of other frequencies, including the frequency "B-A"-"B" = "A".

Does this work for ears, too?

If so, are the non-linearities of different people's ears similar enough that two people hearing the same A and B would get the same results, or would person to person variations in non-linearity mean they might hear different results?

Re:Hackers send silent commands to speech recognition system... by femto on Friday September 08, 2017 @08:46AM (#15199735)
Yes it does:

https://makezine.com/2008/10/08/homebrew-parametric-speak/

http://www.soundlazer.com/

It's reasonably consistent. Differences in non-linearity will result in different amplitudes for each intermodulation product, but not different frequencies. Typically these systems use the "third order" product. I gather that the non-linearity exploited is as much a property of the air as the ear.

Re:Hackers send silent commands to speech recognition system... by tzs on Friday September 08, 2017 @09:40AM (#15200046)
I wonder if this has any implications for recording?

If someone is listening to a live musical instrument that is producing both audible sound and ultrasonic sound [1], is what the person perceives affected by intermodulation in the ear?

If the performance is also recorded using a technology that for all practical purposes reproduces perfectly everything in the audible range, then I can see a couple possible cases.

1. The microphone is designed to filter out ultrasonics or is sufficient linear to not have intermodulation.

In this case, the recording is what would be heard with no intermodulation. When played back, all the listener gets is the audible portion of the original sound, without any ultrasonics. Thus there is nothing to produce intermodulation in the listner's ear, and so the listener might perceive the recording as having a different timbre than the live instrument.

2. The microphone does not filter ultrasonics and is non-linear enough to have intermodulation. The audible intermodulation products will then be included in the recording.

When played back the listener will hear intermodulation products, but they will be the ones from the microphone's non-linearity, not the ear's non-linearity.

The question then is how close are microphone non-linearities to ear non-linearities. If they are similar, then the timbre of the recording should match live. If they are sufficiently different, the timbre could sound off.

It should be possible to design a system that records only audible frequencies and plays back only audible frequencies and sounds identical to live, but it may require specifically taking into account ultrasonics instead of just cutting them out like I think we currently do.

[1] A trumpet with a Harmon mute playing a quiet note has about 2% of its energy above 20 KHz. Playing a loud note drops that to about 0.5%. A cymbal crash is about 40% above 20 KHz. (Keys jangling are almost 70% above 20 KHz, which probably has something to do with why back in the early days of TV remote controls when they were ultrasonic instead of IR or RF people would report that if someone's keys jangled the channel would sometimes change). See: https://www.cco.caltech.edu/~boyk/spectra/spectra.htm

Re:Hackers send silent commands to speech recognition system... by maxerickson on Friday September 08, 2017 @08:47AM (#15199739)
There are (marginally) commercialized ultrasonic speakers:

https://en.wikipedia.org/wiki/Sound_from_ultrasound

The air acts as the demodulator though.

Shaping the ultrasound to modulate the eardrum sounds scary.

Re:Hackers send silent commands to speech recognition system... by ChrisRR on Friday September 08, 2017 @07:36AM (#15199444)
If I understand this correctly, the phone cannot tell if the audio is outside of human hearing range. The point of the LPF is to filter out all audio that is outside of that range.

The attack they are using is transmitting the audio at a high frequency, that when detected by the microphone generates harmonics that are within the normal range and can pass through the filter. By the time the audio signal gets to the processor, it is within audible range.

Re:Hackers send silent commands to speech recognition system... by j_s on Friday September 08, 2017 @07:36AM (#15199446)
> This is MUCH bigger deal than most understand.

>> This will be fixed with a simple software update that ignores all sounds at inaudible frequencies.

In the most helpful and constructive way I can possibly say this directly: the group of individuals not understanding may include you, rachitgupta.

According to my very limited understanding, the attack occurs in hardware prior to digitization. See yesterday's discussion for more details.

Re:Hackers send silent commands to speech recognition system... by dboreham on Friday September 08, 2017 @07:33AM (#15199432)
If you were to read the article you'd see this isn't how it works. They're inducing harmonic signals within the speech passband.
Re:Hackers send silent commands to speech recognition system... by carlps on Friday September 08, 2017 @07:31AM (#15199426)
Except the inaudible sounds are used for marketing purposes. Most companies aren't going to want to just close that door.
Re:Hackers send silent commands to speech recognition system... by arkad on Friday September 08, 2017 @07:54AM (#15199525)
I'm genuinely curious - can you share a link how it works please? I've never heard of it.
Re:Hackers send silent commands to speech recognition system... by j_s on Friday September 08, 2017 @08:42AM (#15199711)
Watch the 33c3 presentation linked elsewhere in this discussion, or just skip to solutions/Q&A: https://youtu.be/WW1-xnTIDjQ?t=35m05s

You can also read the paper: https://petsymposium.org/2017/papers/issue2/paper18-2017-2-s...

Here is the blurb from their talk:

Cross-device tracking (XDT) technologies are currently the "Holy Grail" for marketers because they allow to track the user's visited content across different devices to then push relevant, more targeted content. For example, if a user clicks on a particular advertisement while browsing the web at home, the advertisers are very interested in collecting this information to display, later on, related advertisements on other devices belonging to the same user (e.g., phone, tablet).

Currently, the most recent innovation in this area is ultrasonic cross-device tracking (uXDT), which is the use of the ultrasonic spectrum as a communication channel to "pair" devices for the aforementioned tracking purposes. Technically, this pairing happens through a receiver application installed on the phone or tablet. The business model is that users will receive rewards or useful services for keeping those apps active, pretty much like it happens for proximity-marketing apps (e.g., Shopkick), where users receive deals for walk-ins recorded by their indoor-localizing apps.

-- https://www.blackhat.com/eu-16/briefings.html#talking-behind...

Re:Hackers send silent commands to speech recognition system... by mholmes680 on Friday September 08, 2017 @08:42AM (#15199718)
Not sure if this will help, but I was surprised by this: https://arstechnica.com/tech-policy/2015/11/beware-of-ads-th...

SilverPush has since stopped, it seems, but that might just mean others are doing it more profitably that they were...

Re:Hackers send silent commands to speech recognition system... by sangnoir on Friday September 08, 2017 @09:44AM (#15200068)
I know of traditional media ad-tech that uses ultrasound markers embedded in ads to track/verify if the ads were really broadcast as promised (number of times & in the correct time slots.

So the steps are:

1. Inject ultrasound markers into ad during post-production.

2. Have a server with multiple tuner cards to monitor multiple stations, grab the audio.

3. Filter audio on specific ultrasound frequencies, search for the pre-injected patterns.

4. Generate reports.

5. Get paid.

Re:Hackers send silent commands to speech recognition system... by mjlee on Friday September 08, 2017 @07:35AM (#15199441)
The post specifically addresses why it's not that simple - they're taking advantage of harmonics to generate signal in the audible frequencies on the microphone itself.