News for hackers. Stuff that matters.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by anfractuosity on Thursday September 07, 2017 @11:46AM (#15192912)
I guess you could also use https://en.wikipedia.org/wiki/Sound_from_ultrasound, which would mean unless you're in it's line of sight you shouldn't hear it.

I'm specifically thinking of the parametric array type.

I'd love to see how directional that is sometime, as there are cheapish implementations of hardware for it.

Edit: Originally I thought a human might be able to hear their sound, but reading a bit more I don't think that's the case since it's exploiting non-linearity of the microphone

Also it seems ultrasound can be used to affect other MEMS devices:

https://arstechnica.co.uk/gadgets/2017/07/sounds-bad-researc...

I wonder if there's any acoustic metamaterial that you could place over the mic etc. to filter ultrasound out before it reaches it.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by Animats on Thursday September 07, 2017 @08:17PM (#15196966)
Those sound-from-ultrasound systems have been around for a while. The principle is similar - both exploit nonlinearities in the receiving medium. The sound-from-ultrasound people seem to have finally brought up the audio quality to an acceptable level for music. The nonlinear process by which two ultrasonic signals combine in air to produce an audible signal introduces distortion. So the signal-generating software has to compensate somehow.

(Why is backspace so slow in this text box? Firefox 54, Ubuntu 16.04.)

Re:DolphinAttack: Inaudible Voice Commands [pdf] by sjbase on Thursday September 07, 2017 @11:33AM (#15192784)
Seems easy to defeat with frequency bounds checks.

But presumably there exist adversarial sounds that to a human seem like music, or gibberish, or a different phrase, but sound like "pay joe 1000 dollars" to the machine.

The sonic equivalent to these: https://arxiv.org/abs/1703.08603

Re:DolphinAttack: Inaudible Voice Commands [pdf] by TeMPOraL on Thursday September 07, 2017 @11:42AM (#15192864)
Not sure what you mean by "frequency bounds check", but if you mean a bandpass filter, then it is not going to save you. The attack, as I understand the paper, works by having the AM-encoded ultrasound demodulate to the audible frequencies at the microphone, before frequency filtering and ADC. This would imply you could use this method to inject voice even to simple recording software (or even analog hardware!) - it's not limited to machine-learning voice recognition systems!

The paper describes possible ways to mitigate the attack, though. One of them is to let the whole signal pass, and then try to detect ultrasonic AM in software, demodulate it and subtract from the audible frequencies. This is pretty much correcting for the physical structure of the microphone in software.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by sjbase on Thursday September 07, 2017 @01:25PM (#15193928)
Wow, yeah you're right. I gave the feasibility analysis a more thorough read and it seems like they're exploiting the amplifier inside the mic itself to down-convert the frequency on portions of the signal. I don't fully understand what nonlinearity is being taken advantage of, but to as an acoustics layman this seems pretty impressive!
Re:DolphinAttack: Inaudible Voice Commands [pdf] by AstralStorm on Thursday September 07, 2017 @02:37PM (#15194593)
Which means they're not using the membrane but the crummy amplifier electronics. Fixed with one or two capacitors.

Alternatively they're using almost deadly signal levels to overdrive a microphone at a distance.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by AstralStorm on Thursday September 07, 2017 @02:36PM (#15194584)
I'd say it would require extremely good placement of the emitter and knowledge of exact microphone mechanics to pull it off anywhere else than in the lab.

I'd be impressed if it even worked in a lab.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by o_____________o on Thursday September 07, 2017 @01:29PM (#15193962)
Re:DolphinAttack: Inaudible Voice Commands [pdf] by rayuela on Thursday September 07, 2017 @01:38PM (#15194054)
Found a similar system off a recommended video from that one.

https://www.youtube.com/watch?v=wF-DuVkQNQQ

Accompanying paper: https://arxiv.org/pdf/1708.07238.pdf

This stuff is pretty damn cool!

Re:DolphinAttack: Inaudible Voice Commands [pdf] by Upvoter33 on Thursday September 07, 2017 @11:02AM (#15192469)
Thus begins the wave of security attacks on machine learning. Buckle up - we're going to see a lot of papers like this in the next months and years.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by cool_username on Thursday September 07, 2017 @11:33AM (#15192778)
I agree that this and the 'adversarial road signs' work indicate a growing interest in security attacks on ML.

https://medium.com/self-driving-cars/adversarial-traffic-sig...

However, in this case, it's not just machine learning. It will affect non-ML audio-processing systems just as much.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by j_s on Thursday September 07, 2017 @11:27AM (#15192726)
Launch HN: D-ID (YC S17) – Protecting Identities from Face Recognition Tech | https://news.ycombinator.com/item?id=14849555
Re:DolphinAttack: Inaudible Voice Commands [pdf] by sailfast on Thursday September 07, 2017 @11:39AM (#15192848)
Can this level of signal be broadcast over TVs? Could this be embedded in an advertisement that triggers a bunch of devices to read from somewhere?

I too, eagerly await the pre-processing software that blocks all inaudible frequencies. Not sure why this was not done in the first place.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by TeMPOraL on Thursday September 07, 2017 @11:48AM (#15192933)
> I too, eagerly await the pre-processing software that blocks all inaudible frequencies. Not sure why this was not done in the first place.

This won't save you. By the time the signal leaves the microphone and reaches the ADC, it's already in the audible range.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by morsch on Thursday September 07, 2017 @01:41PM (#15194081)
For most of the tests, they used a dedicated ultrasonic speaker. However, they also tested it with a Samsung S6 Edge controlling an Apple watch; it worked. So you don't strictly need specialized hardware.

Whether or not it works for TV depends on the broadcast signal (processing, audio codec) and the playback device speaker. The latter should work out somehow, given that a smartphone speaker can do it. Most audio codecs go up to 44 or even 96 kHz, so the range should be there. But digital TV signals carry lossy audio, designed to save space by throwing away data not discernible by humans. I'm not sure how high the fidelity of AAC is beyond 20 kHz. Should be easy enough to find out.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by confounded on Friday September 08, 2017 @12:38AM (#15197878)
Old news!

https://arstechnica.com/tech-policy/2015/11/beware-of-ads-th...

(Note: Does not require the sophistication of this attack, just the ability to play inaudible sound, mic permissions, and a total lack of regulation.)

Re:DolphinAttack: Inaudible Voice Commands [pdf] by lunchables on Thursday September 07, 2017 @05:30PM (#15195931)
How about a completely inaudible: "Alexa, buy me a leather mask".
Re:DolphinAttack: Inaudible Voice Commands [pdf] by nayuki on Thursday September 07, 2017 @04:57PM (#15195642)
This is somewhat related to the recent discussion against the distribution of music at a 192 kHz sample rate, which would allow inaudible ultrasonic content: https://news.ycombinator.com/item?id=15127633
Re:DolphinAttack: Inaudible Voice Commands [pdf] by rfreytag on Thursday September 07, 2017 @11:42AM (#15192863)
"Hidden Voice Commands" prior art (2016): https://www.georgetown.edu/hidden-voice-commands-sherr
Re:DolphinAttack: Inaudible Voice Commands [pdf] by burkaman on Thursday September 07, 2017 @06:30PM (#15196391)
https://www.georgetown.edu/sites/www/files/Hidden%20Voice%20...

This is a little different, it's about audible commands that don't sound like speech to a human.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by acd on Thursday September 07, 2017 @03:14PM (#15194865)
Clever attack! Then the phone AI voice command system must start to recognize that the speakers voice is the original speaker via user finger printing. Then the attacker will counter attack with another new system that emulates the original speakers voice and speech rate via deep learning. You will then as a counter measure have to press a hardware button to use voice commands. Seems like microphone proximity sensing and frequency filtering are easy first starts as counter measure as already mentioned in this thread.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by bsenftner on Thursday September 07, 2017 @11:19AM (#15192647)
This is like the altered eyeglass frames that make some facial recognition systems misidentify. Carefully constructed 'inaudible' could also mean 'transparent to our perception' for this class of exploit. I could envision an exploit that monitors the ambient noise in a location and mimics A/C startups, vacuum running, blender, whatever could be used to cover almost anything.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by powrtoch on Thursday September 07, 2017 @11:08AM (#15192509)
I'm surprised that this works. I always assumed Siri etc. would do some bare-minimum pre-processing of the audio input, if only to reduce noise, of which the simplest kind would be cutting frequencies that cannot be produced or registered by humans. Any insight into why this isn't already the case?
Re:DolphinAttack: Inaudible Voice Commands [pdf] by anonymfus on Thursday September 07, 2017 @11:39AM (#15192840)
This attack exploits non-linearity in microphones and amplifiers. ADC receives signal already demodulated to an audible frequency.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by virgil_disgr4ce on Thursday September 07, 2017 @11:15AM (#15192590)
This was my question. Seems bizarre to not bandpass everything as the first stage!
Re:DolphinAttack: Inaudible Voice Commands [pdf] by TeMPOraL on Thursday September 07, 2017 @11:28AM (#15192731)
From skimming the paper it seems they're making the signal demodulate itself directly on the microphone - by the time it hits a low-pass filter and ADC, the audible frequencies are already injected.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by _jal on Thursday September 07, 2017 @11:25AM (#15192707)
Eagerly awaiting audio firewalls for our phones.

https://en.wikipedia.org/wiki/Acoustic_coupler#/media/File:A...

Re:DolphinAttack: Inaudible Voice Commands [pdf] by greesil on Thursday September 07, 2017 @12:21PM (#15193231)
If they are not using a strong enough anti-aliasing filter the emitted audio can appear in-band looking just like normal speech.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by yborg on Thursday September 07, 2017 @10:56AM (#15192415)
Inaudible to most human beings. Your dog won't like this.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by DannyB2 on Thursday September 07, 2017 @12:06PM (#15193090)
You're thinking ultrasonic TV remotes from a different millennium, long ago swept away in the sands of time.

Dogs aren't bothered by the pitch, but by the loudness. Ultrasonic remotes were amazingly LOUD. Loud enough for some humans to perceive.

Re:DolphinAttack: Inaudible Voice Commands [pdf] by johnhenry on Thursday September 07, 2017 @11:00AM (#15192450)
Just because a dog can hear something doesn't mean that it will be bothered by it.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by gnicholas on Thursday September 07, 2017 @11:31AM (#15192763)
True. But isn't this basically like a dog whistle (which is at high frequencies and is used as a deterrent)? If this were super low frequencies, I'd be less likely to make the leap from [inaudible to humans but audible to dogs] -> [annoying to dogs]. But if we already use high frequencies to annoy/discourage/train dogs, isn't that evidence of what dogs think of these frequencies?
Re:DolphinAttack: Inaudible Voice Commands [pdf] by johnhenry on Thursday September 07, 2017 @12:40PM (#15193473)
It's noise from the whistle itself that drives dogs crazy, not it's pitch. The reason this isn't basically a dog whistle is because a normal whistle produces a bunch of random annoying noise. If you continually blow a normal whistle, most things that can hear it will be annoyed. So, a dog whistle is simply a normal annoying whistle that humans can't hear. This, on the other hand, isn't a bunch of random annoying noise. If humans could hear it, it would just sound like someone speaking. There's no reason to believe that dogs would be especially annoyed.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by logfromblammo on Thursday September 07, 2017 @01:03PM (#15193726)
I'm pretty annoyed by Munchkins, and enraged by Alvin and the Chipmunks, so maybe there is a reason.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by TeMPOraL on Thursday September 07, 2017 @11:30AM (#15192755)
And even if it would be, the attacker is not likely to care about your dog's happiness.
Re:DolphinAttack: Inaudible Voice Commands [pdf] by jaclaz on Thursday September 07, 2017 @11:44AM (#15192879)
Well, you could train your dog to attack anyone that emits an ultrasound "Ok, Google", then the attacker will care. ;)