12 ms·
Facebook Helped Develop a Tails Exploit
- mrb 6y ago«They also paid a third party contractor "six figures" to help develop a zero-day exploit in Tails: a bug in its video player that enabled them to retrieve the real I.P. address of a person viewing a clip.» This sounds like they describe the well-known WebRTC leak: https://restoreprivacy.com/webrtc-leaks/ https://restoreprivacy.com/webrtc-leaks/
- bawolff 6y agoOther than webRTC being related to video playing, i dont see the connection. They don't really describe the exploit, so hard to say, but the webrtc leak isn't really in the video player part, its super well known (literally a feature not a bug) so i dont think you would need to pay six figures for it, and tails uses tor browser which doesn't support webrtc.
- marci 6y agoBut you can install WebRTC enabled browsers in tails. Depending on how tech-savvy someone is, they could be motivated to install one of them.
- bawolff 6y agoThe article specificly says the issue was in code that used to be in tails and isnt anymore. Additionally, the motherboard article describes the payload as a video file uploaded to dropbox, which doesnt sound like webrtc.
- mirimir 6y agoYes, I doubt that it's WebRTC. Or at least, I recall similar vulnerabilities in video player code that predated WebRTC. There used to be a Metasploit leak-testing site (Metasploit Decloaking Engine) which checked for IP leaks via video, PDFs, etc. And it included an early version of the NIT that the FBI has used since ~2011.[0] 0) https://securityaffairs.co/wordpress/43442/cyber-crime/fbi-used-nit-against-pedo.html https://securityaffairs.co/wordpress/43442/cyber-crime/fbi-u...
- marci 6y agoI wasn't saying that's how it happened (regarding the article). It was to expand on: > and tails uses tor browser which doesn't support webrtc. and how (in other instances than the situation in the article) the WebRTC flaw could be used. I wasn't specific enough.
- dillondoyle 6y agoIf it is that simple, this is used in most widespread adtech analytics..
- mtgx 6y agoSo now you have the most powerful surveillance platform ever invented directly working for the state. What could possibly go wrong?!
- uinerimak 6y agoThe fact that it took thousands of dollars and an entire company to write an exploit shows how secure Tails really is.
- akerro 6y agoLooks like the bug wasn't really in Talis but in other software they use, Firefox/Tor-Browser?
- ChrisMarshallNY 6y agoWeakest link. That’s one of the issues an aggregate system (which describes any system of meaningful size, these days) has to deal with. How many of the massive breaches we hear about, originate with dependencies or subcontractors?
- RNCTX 6y agoSpeaking of, I always find it very telling that the knee-jerk reaction is to blame a dependency or subcontractor. That's the same mentality that says "paid for code must be better" when, last I checked, there aren't any more Windows phones, are there? But there was a Windows password hash method in the early 2000s that could be brute forced on a single consumer grade CPU in less than 24 hours on their current-at-the-time flagship network server OS. So there's that...
- ChrisMarshallNY 6y agoI have no idea why you made that post.
- Macuyiko 6y agoThe Vice article mentions the video was sent over Dropbox. I'd say the default Gnome videos app making a network request is also possible.
- eeZah7Ux 6y agoTails is the sum of all components including browser and video players.
- suizi 6y agoFacebook could at-least have had the decency to report the bug after they were done, who knows what the FBI / NSA are using it for now.
- ivann 6y agoAccording to this article [1] the code involved with this exploit should be removed at some point. " A factor that convinced Facebook’s security team that this was appropriate, sources said, was that there was an upcoming release of Tails where the vulnerable code had been removed. Effectively, this put an expiration date on the exploit, according to two sources with knowledge of the tool. As far as the Facebook team knew, Tails developers were not aware of the flaw, despite removing the affected code. One of the former Facebook employees who worked on this project said the plan was to eventually report the zero-day flaw to Tails, but they realized there was no need to because the code was naturally patched out. " [1] https://www.vice.com/en_us/article/v7gd9b/facebook-helped-fbi-hack-child-predator-buster-hernandez https://www.vice.com/en_us/article/v7gd9b/facebook-helped-fb...
- suizi 6y agoGiven their track record, I don't really trust Facebook, but if I take this at it's face, reporting the exploit could get it patched faster and may help in finding similar issues in the code.
- ivann 6y agoTrue. Also this information, if true, could help locate the vulnerable code. I'm not sure if it would be worth it however, it depends on how many outdated tails are in the wild and the exploit complexity.
- rakoo 6y agoIt's a little bit short-sighted, divulging the exploit makes sure it is known and reduces the chances it happens again in the future
- suizi 6y agoThis guy deserves what was coming to him, I can understand how it would be very tiresome to deal with a pest like this who keeps coming back, but breaking norms about reporting bugs to vendors like this sets a very nasty precedent. As does a company like Facebook spending large sums of money to narrow down on specific people, it could be someone you hate today and an activist the next.
- cryptica 6y agoFacebook are masters when it comes to controlling the narrative (damage control is their expertise). There is almost certainly something else under the surface. I find it implausible that Facebook would care enough to go after a single individual. No matter how bad that individual was. If they did this for every criminal of that level who uses Facebook, they'd run out of money. They simply cannot do this. Whenever the media or a big company focuses on a single individual, it's never actually about that individual. It's either about some higher social concept or it's simply a PR stunt to control the narrative. I think anything of this sort which comes out of Facebook is more likely to be damage control. They probably came up with the narrative before they even implemented this backdoor. Facebook has teams of people whose entire job is covering Facebook's ass. Before Facebook even does something bad, they already figured out an excuse for it before they even started doing it. If they didn't have an alibi, they wouldn't even do the crime. That's the kind of operation they run. They preemptively create the narrative, then they act. Why do people treat Facebook as if it were a conscientious person?
- WhyNotHugo 6y agoWell, Facebook actively campaigns against privacy, and the FBI actively campaigns against encryption. This is great PR for themm to say that both privacy and encryption are bad and should be outlawed. Wouldn't be surprising at all if that's how they spin it.
- TheMblabla 6y ago>Facebook actively campaigns against privacy Source? I know FB is pretty bad with the privacy of users of it's own services, but I'd be curious to see how they've campaigned against privacy.
- forgingahead 6y agoSeems like the lede is buried -- what is the video player exploit? Is there really a way to modify video files such that playing them locally can broadcast an IP address? Think this is less about Tails and more about this "video-tagging" tech.
- bluesign 6y agosome DRM video formats can ping the servers for sure.
- resfirestar 6y agoWithout a zero day in the actual decoder (which is probably a possibility given the resources they poured into this), one way would be to send someone a playlist file that tells the player to fetch the video from some URL. Does the player on Tails obey proxy settings when playing URLs from an m3u? Maybe it was that easy or maybe they had to abuse something like fragmented nature of Linux media playback to find a neglected component that carelessly makes network connections, or find a way to call youtube-dl which is often integrated with these players.
- dtx1 6y agoThere's an easy way to fix the Web RTC Leak issue network wide: Use a VPN on your Router so your network clients literally don't know their "real" ip and therefore can't leak it. Same thing works for TOR. In my experience OpenWRT and an Wireguard VPN Provider works best
- alex_duf 6y agoI don't think it was a WebRTC issue, I think they crafted a video such that the decoder would end up executing code. Similar to what happen to Jeff Bezos.
- mikece 6y agoEven so, wouldn't running Tails on a VPN have only exposed the IP address of the VPN connection?
- stefan_ 6y agoThe point is that you can't have the Tails machine decide what connections are proxied through Tor and which are not. If you have an external device like a router or a Raspberry that transparently tunnels the data, a compromise of the Tails machine can't trivially expose your real network connection.
- schoen 6y agoOne thing that I've thought about this is that whether you do the firewalling on the end-user device or on another device, the firewall will normally permit connections to every Tor guard. That means that if an attacker can make the device make a "special" TCP connection of any kind (e.g. just an HTTP request) to an arbitrary IP address and port number, it could make that connection to an actual Tor guard node run by an affiliate of the attacker. Then the attacker can distinguish that connection from other Tor activity because it isn't Tor traffic. The point of that is to say that "only allowing the machine to talk to Tor nodes" wouldn't stop an exploit from effectively bypassing Tor—by talking in a slightly unusual way to an adversary-controlled Tor node! If they're not already doing it, it might be safer for Tails to learn the specific guard that its copy of Tor is using at a particular time, and only allow outbound traffic to that guard rather than to any Tor node. (Another precaution which they might already be taking: only the Tor daemon process should be able to open remote sockets at all.)
- wodenokoto 6y ago> For years, a California man harassed and terrorized young girls, extorting them for nude photos and videos and threatening to kill and rape them or shoot up their schools. Much of this abuse took place on Facebook, and now, months after the man, Buster Hernandez or “Brian Kil,” pleaded guilty, From Engadget coverage [1], I feel a bit of context is missing in TFA. [1] https://www.engadget.com/facebook-fbi-hacking-tool-targeted-child-abuser-171753372.html https://www.engadget.com/facebook-fbi-hacking-tool-targeted-...
- seek3r00 6y agoThe vulnerability should have been disclosed to Tails developers as soon as Hernandez was arrested.
- andrewflnr 6y agoWell yes, but the fact that it was already patched in the next Tails release, and that was the reason they pulled the trigger when they did, makes even that concern less of a practical problem. It was basically going to get fixed in short order no matter what they did.
- rsanek 6y agoSince they never released the exploit, in reality we have no way of verifying this is actually true. It very well could be the case Tails still has this vulnerability.
- jaifraic 6y agoLet's hope somebody works backwards and looks at patches made to the Tails video player and looks for something that could have been an exploit
- mirimir 6y agoIn my opinion, Hernandez screwed up by not appreciating the risk profiles for Tails and Whonix. Tails is a LiveOS, which doesn't leave traces in RAM or on disk. Whonix is a pair of VMs, one with the Tor process, and the other with user apps. Using Whonix, exploits like this are impossible, because the apps VM has no public IP address, and can hit the Internet only via Tor.
- coolspot 6y agoI can imagine for high-value target there are stacking exploits: 1) escape from browser into VM 2) escape from VM into host 3) run exploit on host
- whoopdedo 6y agoThis is something to consider in the recent development of Amazon and Microsoft saying they won't sell facial recognition to law enforcement. I expect police will approach this minor inconvenience by outsourcing to a private company who will do the face scanning for them.
- gxon 6y agoThis is why I think we need to be careful when considering a ban on facial recognition. Pandora's box is open. Even if we do decide on some kind of ban, we need to assume facial recognition will always be used by someone, somewhere, and design our social systems to account for that fact.
- blaser-waffle 6y agoGovernment contractors like General Dynamics are already all over facial and license plate recognition. AMZN and MSFT not getting on board isn't going to slow it down, just delay it from landing in consumer software.
- hoistbypetard 6y agoIt's worth reading the original article in full. I simultaneously understand why they did it and am deeply uncomfortable with the tactic. https://www.vice.com/en_us/article/v7gd9b/facebook-helped-fbi-hack-child-predator-buster-hernandez https://www.vice.com/en_us/article/v7gd9b/facebook-helped-fb...
- dang 6y agoUrl changed to that from https://www.schneier.com/blog/archives/2020/06/facebook_helped.html https://www.schneier.com/blog/archives/2020/06/facebook_help.... Thanks!
- peterwwillis 6y agoTo deepen the ethical quandary: what if Facebook had developed the exploit for this case, and then the FBI used it for an unrelated, not-child-molesty case? At some point you have to wrestle with the fact that law enforcement is predicated upon having strong tools with which to deal with law breakers of all kinds, not just the few you find particularly onerous. They're going to need to perform ethical hacking to prosecute people under laws or circumstances you disagree with. And it would probably be better for us if they didn't always have to hack to get the information. I think we need to work much more closely with law enforcement, not just technically on being able to lawfully intercept private communications, but in what laws and what cases its use is allowed. Nobody trusts the government in this age, but I think that needs to change, and it's the people that need to step up to reign in their government, not vice versa. That means more oversight, restrictions on when and how powerful tools can be used, periodic review, input into the design phase of new technologies, and so on. We can use our brains to both make it more difficult for them to abuse advanced tools, and also make it more convenient to use them to solve serious crimes. We don't have to live in a black and white world where we either allow everything or allow nothing. We can live in a world of gray, but we have to step up to create that world; we can't just expect to keep saying 'no' to law enforcement and them being able to do their jobs, which is keeping our people safe.
- thephyber 6y ago> and then the FBI used it for an unrelated, not-child-molesty case? You must assume this is the case. The FBI isn't going to stop using a tool just because they caught one suspect in once case.
- mindslight 6y agoFacebook also doesn't report the browser exploits they use to track people, nor the wetware exploits they use to drive engagement. Just sayin'.
- muststopmyths 6y agoFascinating part in the story about his arrest (first link in the vice article) is that the FBI set up cameras outside his home to correlate his physical presence with internet activity from the IP address. You frequently get people on the internet saying "Your IP address doesn't prove anything", but I was always curious how that worked in the real world.
- mi100hael 6y agoIIRC the authorities did something similar to bust one of the LulzSec members in Chicago. Once they identified a suspect, they surveilled his residence and correlated his physical presence with online chat logs despite his use of tor.
- schoen 6y agoJeremy Hammond.
- blaser-waffle 6y agoA slightly more complicated timing attack...
- wratz 6y agoI don't know about the US, but it is generally very easy: go to the ISP with the IP+date and an order from a judge and they'll tell you who was using it.
- thephyber 6y ago> they'll tell you who was using it IP only tells the investigator whose name is on the ISP account, not which person was at the keyboard. Your recommendation only helps the police know where to set up the surveillance, not who to bring charges against.
- jaifraic 6y agoThey'll tell you who pays for the connection. They can't reliably tell you who uses it. Maybe it was a family member, roommate or anybody who knows the wifi password.
- 627467 6y agoIn my apparent ignorance, when I first read the title I actually imagined Facebook developing a backdoor of some kind into Tails, given that Tails is open source. Then I understood that "developing" an exploit means taking advantage of existing properties/vulnerabilities. Is this standard wording in security circles?
- badRNG 6y ago> Is this standard wording in security circles? Yes. There is a large industry that develops products for law enforcement and intelligence agencies focused on "exploit development," which is largely focused on developing exploits for zero day vulnerabilities in widely used software.
- zemnmez 6y ago"develop" here refers to the process of (potentially) researching and then subsequently writing the software that exploits a vulnerability (an 'exploit'). It's used in the same sense as any other software development. The process of discovering a vulnerability is called 'vulnerability research'. So when Schneier says Facebook paid for an exploit to be developed, it means they paid for software that exploits a vulnerability. In the case of paying for such exploits, it's not always clear who exactly did the research. Often the research comes from a third party who put together a simple proof of concept that demonstrates only that the security control can be breached (the PoC) -- then, a contractor may buy this vulnerability ('0day') from e.g. zerodium and develop an exploit for it, which will usually be pretty much point and shoot so you don't need an exploit dev team to leverage it. Hope that makes sense.
- bagacrap 6y agoI think it would have said "backdoor" somewhere if they had developed the actual vulnerability.
- deleted 6y ago[deleted]
- quotz 6y agoIts so uncomfortable that they also hold all our data too
- jsploit 6y ago> The firm worked with a Facebook engineer and wrote a program that would attach an exploit taking advantage of a flaw in Tails’ video player to reveal the real IP address of the person viewing the video. Doesn't Tails route all traffic through Tor by default?
- wolco 6y agoThe video player must not use the default protocols.
- wolco 6y ago"We knew it was gonna be used for bad guys,” And everyone else. Facebook is a honeypot.
- paddlepop 6y agoI will admit to not being a fan of FB also, but discouraged by the number of Slippery Slope arguments on this piece.
- Lineup 6y agoOr a widely publicized and plausible parallel construction.
- suizi 6y agoStopping random strangers from talking to kids over TOR could help to stop pests like this as-well and it wouldn't cost six figures or undermine privacy.
- abotsis 6y ago“The FBI then got a warrant and the help of a victim who sent a booby-trapped video to Hernandez” Seriously, Vice, “booby-trapped”..? It’d be funny if it wasn’t minors. Actually, it’s still kind of funny.
- torified 6y agoI don't believe most of the technical details of this story and it sounds like parallel construction created to avoid revealing the technique. How would they know he was running tails particularly? And what a happy coincidence that the 0day was patched before they even had a moral obligation to notify anyone about it. Quelle chance!