r/javascript • u/magenta_placenta • Jan 06 '17
Ultrasounds emitted by ads or JavaScript code hidden on a page accessed through the Tor Browser can deanonymize Tor users by making nearby phones or computers send identity beacons back to advertisers
https://science.slashdot.org/story/17/01/05/2159219/ultrasound-tracking-could-be-used-to-deanonymize-tor-users53
u/9thHokageHimawari Jan 06 '17
so, target has to be targeted both on PC and Mobile device.
he has to enable Javascript on Tor.
I doubt it works outside or theory
30
u/Jestar342 Jan 06 '17
the article itself actually says "could be used" and is presenting the theory. OP decided to sensationalise.
7
u/kenman Jan 06 '17
To be fair, OP did use the phrase "can deanonymize" (emphasis mine), which doesn't imply that it's actually being done.
10
u/JitGoinHam Jan 06 '17
The PC also has to have unmuted speakers capable of generating rather loud ultrasound frequencies.
16
6
u/PlNG Jan 06 '17
What does TOR have to do with it?
While de-anonymization on TOR is a larger and more noteworthy threat, I am seriously not chill with advertisers casually farming my mobile information just because I keep my phone near my PC.
5
u/jocull Jan 06 '17
Let's ask OK Google, Hey Siri, Amazon Alexa, etc etc what they think about this. I'm sure they're listening.
1
u/Mr-Yellow Jan 06 '17
Unless you're a state actor who already has access to all of the above.
There are many devices with microphones which feature very poor implementations, wide open, in the same way IP cameras are.
1
Jan 06 '17
2) he has to enable Javascript on Tor.
Not necessarily. The article mentions that an easier method is to embed the ultrasonic audio in a video or audio file that the user has downloaded.
That won't necessarily get you the Tor information, but it will get you other information. The theory is still sound.
5
1
u/bcgoss Jan 09 '17
Target has to be using a device which can emit ultrasound and a device that can listen to ultrasound which has been configured to report data upon hearing a given ultrasound signal. The two devices will become associated based on the specifics of the signal, devices and timing.
The specifics of PC or mobile, Javascript or not are not nailed down. They are for a proof of concept for one version of this attack.
0
Jan 06 '17
[deleted]
0
Jan 06 '17
[deleted]
5
u/Ajedi32 Jan 06 '17
In which chase you need an app or website with "record audio" permission on the mobile device.
9
u/InconsiderateBastard Jan 06 '17
Like how the Cast/Home app can hear the ultrasound tones Chromecast puts out of a TV and react to them.
But Google isn't interested in better tracking of people on the internet, are they?
2
u/Ajedi32 Jan 06 '17
Interesting, I wasn't aware the Chromecast did that, though it's pretty neat if true. I thought it just used WiFi.
10
u/InconsiderateBastard Jan 06 '17
It does it for transmitting the pin for guest mode. It sends inaudible tones over the TV speakers that the cast app on your phone picks up and then it can send the pin back to the chromecast to verify. It was a clever way to make it so a guest standing right in front of the TV doesn't have to manually type in the pin without broadcasting it to all devices within wifi distance.
It's mentioned here: https://support.google.com/chromecast/answer/6109292?hl=en
1
u/EternallyMiffed Jan 07 '17
So what you're saying is, I need a parabolic directional microphone or a laser microphone and can take over random people's TV's from outside their houses. Neat.
0
Jan 06 '17
[deleted]
2
u/nodealyo Jan 06 '17
Yes, though it sounds like the audio played is generated via code rather than through audio files.
1
u/bcgoss Jan 09 '17
HTML is easy to inspect and filter. That is a possible vector, but its also the easiest to block. Browsers add and remove elements from html documents all the time, it would be trivial to write a script that disabled <audio autoplay='true'> tags.
11
u/parlezmoose Jan 06 '17
Are standard speakers capable of putting out ultrasonic frequencies?
8
3
u/aerandir92 Jan 06 '17
I would expect so, we use ultrasound in our products at work and we have some cheap monitors where the build in speakers have no trouble playing the ultrasound
1
u/Daniel15 React FTW Jan 07 '17
Curious, what types of products use ultrasound frequencies?
2
u/aerandir92 Jan 07 '17 edited Jan 25 '17
We use it for automatic pairing between our apps for smartphones and PCs, and our hardware products. It's part of the Cisco Spark ecosystem.
Edit: http://www.crn.com/slide-shows/networking/300083506/12-reasons-why-ciscos-spark-board-is-its-coolest-product-ever.htm/pgno/0/2?itc=hp_slideshow1
u/Daniel15 React FTW Jan 08 '17
Oh cool! Samsung's "Smart Switch" app uses ultrasound frequencies for a similar purpose.
1
7
u/BHSPitMonkey Jan 06 '17
The idea of needing to think of and treat audio (and video?) output as a kind of networking instead of just an IO device is pretty interesting. Part of securing a workstation will have to include "firewalling" sound in addition to IP.
17
u/myrrlyn Jan 07 '17
Where I work, the really secure computers are airgapped, have neither microphones nor speakers, and are kept in insulated rooms with the monitors facing away from the doors. Among other features.
Our security briefing specifically mentioned cell phones and ultrasound as a threat vector, which is one reason that phones are left outside and the PA system can't reach inside those rooms.
Security is wild
11
Jan 06 '17
inb4 people start to tape over their speakers
13
u/Ajedi32 Jan 06 '17
Or just mute them. It's not like a JavaScript program embedded in a webpage can unmute them.
11
u/paypaypayme Jan 06 '17
Just disable javascript on tor. Pretty sure most people trying to stay anonymous on tor have it disabled.
9
u/acbabis Jan 06 '17
Does disabling JS disable
<video>tags?6
u/paypaypayme Jan 06 '17
No but you could probably get an extension to block certain types e.g. https://addons.mozilla.org/en-US/firefox/addon/image-video-block/?src=search. Didn't think of that though, good catch :D
1
u/jvnk Jan 06 '17
uMatrix does, I believe. You can block/allow every kind of request the browser can make on a subdomain basis.
0
Jan 06 '17
[deleted]
2
u/ThePenultimateOne Jan 07 '17
Tor browser is Firefox-based, so it's trivial to disable autoplaying videos. There's an option in about:config that I usually turn on.
8
3
u/Arancaytar Jan 06 '17
Solution: headphones.
9
u/fingerofchicken Jan 06 '17
But malicious advertisers COULD play audio which hypnotizes you and compels you to enter your identity into a form on their site.
6
u/dzScritches Jan 07 '17
The best mind control defense is this thin metallic headgear I have for sale on my website. Just $19.99!
3
u/Arancaytar Jan 07 '17
This is laughable now, but just wait until we get the first malware targeting brain implants.
3
u/agentf90 Jan 07 '17
it really has nothing to do with javascript since its audio based. If someone downloads a video or audio file over Tor and plays it in VLC, their other devices that are listening (ie: Amazon Echo, iPhone w/ audio recording app permission enabled) can hear the ultrasonic frequencies and report back to mother ship.
1
1
u/hunyeti Jan 07 '17
I don't know about you, but i'd be suspicious when i see the speaker icon, but i don't hear anything (which is kind of unlikely since anyone with good hearing will hear it, because at 20 khz there is a VERY steep filter, so you'd probably hear something.)
The only solution is to make websites request permission to output sound, just like the input. The only problem is that it would annoy most people.
1
0
76
u/Jestar342 Jan 06 '17
Why are you linking to slashdot and not the article itself?
https://www.bleepingcomputer.com/news/security/ultrasound-tracking-could-be-used-to-deanonymize-tor-users/