News for hackers. Stuff that matters.
Re:Facebook has been paying people to install a “Research” VPN by aresant on Tuesday January 29, 2019 @07:03PM (#19031218)
Some of the highlights from Will Strafach, who did the actual app research for TechCrunch:

#1 "they didn't even bother to change the function names, the selector names, or even the "ONV" class prefix. it's literally all just Onavo code with a different UI."

#2 "the Root Certificate they have users install so that they can access any TLS-encrypted traffic they'd like."

My editorializing - I have been suspicious of Facebook getting the "submarine" treatment (1) but the insane scuminess of #1 above, which essentially is a big fuck you to Apple, pretty well supports the recent view that FB will essentially break any rule that serves to further their own ends.

via https://twitter.com/chronic/status/1090394419902197761

(1) http://www.paulgraham.com/submarine.html

Re:Facebook has been paying people to install a “Research” VPN by varenc on Tuesday January 29, 2019 @07:08PM (#19031247)
Side note: This wouldn't get around cert-pinning? Even if a new trusted CA is installed on the system, an app implementing cert pinning still wouldn't trust this new CA. Seems that could be a wise move for Facebook's rivals that want to limit snooping.

Edit: on 2nd thought even if Facebook can't decrypt a particular app's traffic, just knowing how many requests it makes, how large they are, and how often, could still provide some useful insights into an app's usage.

Re:Facebook has been paying people to install a “Research” VPN by Gregordinary on Tuesday January 29, 2019 @09:47PM (#19032183)
If the app is hard coded it shouldn't trust another cert. Note though that browsers, like Chrome, ignore cert pinning if the cert chains up to a locally trusted CA. So the answer is more "It Depends".

> Chrome does not perform pin validation when the certificate chain chains up to a private trust anchor. A key result of this policy is that private trust anchors can be used to proxy (or MITM) connections, even to pinned sites. “Data loss prevention” appliances, firewalls, content filters, and malware can use this feature to defeat the protections of key pinning.

http://www.chromium.org/Home/chromium-security/security-faq#...

EDIT: Spaced on the fact this is a phone app. While Chrome on Windows ignores certificate pins, I'm unsure if this also applies to Android / iOS root stores as well.

Re:Facebook has been paying people to install a “Research” VPN by dzhiurgis on Tuesday January 29, 2019 @11:10PM (#19032572)
So what DOES pinning protect against? Certs generated by state actors with access to CA’s?
Re:Facebook has been paying people to install a “Research” VPN by frankchn on Tuesday January 29, 2019 @11:12PM (#19032585)
That, and (more commonly) CAs mis-issuing certificates to malicious actors due to bugs or weak internal controls.
Re:Facebook has been paying people to install a “Research” VPN by jevinskie on Wednesday January 30, 2019 @12:46AM (#19032987)
You can enforce certificate pinning in your own native app. You can even go as far as not trusting the hookable (on a JBen device) system libraries and link in your own OpenSSL or something similar.
Re:Facebook has been paying people to install a “Research” VPN by lol768 on Wednesday January 30, 2019 @04:25AM (#19033747)
I was under the impression Chrome was dropping HPKP support (it was deprecated in 2017), so I imagine this would be across all products - desktop and mobile.
Re:Facebook has been paying people to install a “Research” VPN by Leace on Wednesday January 30, 2019 @07:41AM (#19034576)
Chrome is dropping support for dynamic HPKP pins (pins that sites can add via headers) but not for static pins (Google domains etc.)

Source: https://bugs.chromium.org/p/chromium/issues/detail?id=779166

> OK, we're looking at removing dynamic PKP in M69. Static PKP will remain until further notice (we have no active plans to remove it right now).

Re:Facebook has been paying people to install a “Research” VPN by saagarjha on Tuesday January 29, 2019 @07:11PM (#19031270)
AFAIK, yes. You would have to modify the application itself to disable certificate pinning.
Re:Facebook has been paying people to install a “Research” VPN by gcbw2 on Tuesday January 29, 2019 @07:14PM (#19031295)
you have root. Might be inconvenient but hardly impossible to modify files to drop your own pinned cert in other binaries.
Re:Facebook has been paying people to install a “Research” VPN by saagarjha on Tuesday January 29, 2019 @07:17PM (#19031326)
As I've mentioned elsewhere in other threads, this app doesn't actually obtain root access (that is, it's not a jailbreak); the article/title is confusing a "root certificate" with "root access".
Re:Facebook has been paying people to install a “Research” VPN by judge2020 on Tuesday January 29, 2019 @10:19PM (#19032337)
I know Uber and a few other apps certificate pin, since running a mitm proxy myself made Uber non-functional.
Re:Facebook has been paying people to install a “Research” VPN by QualityReboot on Tuesday January 29, 2019 @10:44PM (#19032465)
You can fix that with https://www.frida.re/
Re:Facebook has been paying people to install a “Research” VPN by saagarjha on Tuesday January 29, 2019 @11:16PM (#19032603)
Not without access to a jailbroken device.
Re:Facebook has been paying people to install a “Research” VPN by lozaning on Tuesday January 29, 2019 @11:10PM (#19032571)
Is it possible to set this up to work like charles proxy?
Re:Facebook has been paying people to install a “Research” VPN by QualityReboot on Sunday February 03, 2019 @08:39PM (#19073357)
Yeah, the idea is to remove pinning with frida and then your proxy will see all the traffic. There's some sample scripts here, and if you google around you'll find one for iOS: https://codeshare.frida.re/

Jailbreak required, of course.

Re:Facebook has been paying people to install a “Research” VPN by willstrafach on Tuesday January 29, 2019 @10:37PM (#19032421)
You are correct!

Many apps do not do pinning currently.

Re:Facebook has been paying people to install a “Research” VPN by me551ah on Wednesday January 30, 2019 @06:46AM (#19034330)
Installing a root certificate is a major breach of privacy. This is what Fiddler does on windows when you need development access to a machine and want to view data being transferred between all websites including https.

By using a VPN they forced all traffic to go through their servers, and with the root certificate, they are able to monitor and gather data from every single app and website users visit/use. Which would include medical apps, chat apps, Maps/gps apps and even core operating system apps. So for users using Facebook's VPN they are effectively able to mine data which actually belongs to other apps/websites.

Re:Facebook has been paying people to install a “Research” VPN by diamondo25 on Wednesday January 30, 2019 @06:55AM (#19034363)
Lets not forget they can modify the content as well!
Re:Facebook has been paying people to install a “Research” VPN by zjs on Wednesday January 30, 2019 @01:09PM (#19037580)
Imagine the malicious things someone could do with this level of access. And none of the usual mechanisms to, say, detect widespread compromise of a Certificate Authority would apply here.

They could drain your bank account, hiding the transactions and adjusting the balance whenever you viewed the mobile banking website or used your mobile banking app and adjusting any emailed statements.

They could send messages to your friends and family from your account asking them to send money to you in a certain way or donate money to a "charity", hiding the entire conversation from your view.

They could make some services you use slower or less reliable in subtle ways, to steer you towards the ones they want you to use— the ones that are easier for them to manipulate the traffic to/from.

They could make you think you're going insane, in any one of a variety of ways.

They could gather all of your private information, and then lock you out of your entire digital life all at once. Two-factor authentication wouldn't protect you; they could present you with a fake "re-confirm your settings" process to collect the information necessary to disable or replace the settings. (If you pay your rent using your phone, they could lock you out of your physical life too; they could prevent the payment from going through, show you a confirmation, and suppress notifications of unpaid rent and e-mails from your landlord.)

They could control which news you see, slowly shifting your views on things like privacy and security.

If you get suspicious about any of this, they could plant false information in your search results.

Re:Facebook has been paying people to install a “Research” VPN by dathinab on Wednesday January 30, 2019 @06:04AM (#19034149)
Hm,

- installing root certificate to access encrypted data (potentially of websites? including banking websites?)

- means bypassing security mechanism put in place to prevent people to access data send to a server (from a browser/app)

- means potentially bypassing DRM, too

=> isn't that illegal even if the user agrees to it? (at last in the US where some especially DRM related laws are strange)

Re:Facebook has been paying people to install a “Research” VPN by Ninn on Wednesday January 30, 2019 @07:13AM (#19034434)
No that is absurd, this is standard practice for almost all enterprise setups, as a central component in the deep packet inspection solutions used in network security. So the chance of it being illegal as the user has agreed to participate is absurd. The only thing that would make it so would be to lie about the functionality and intrusiveness.
Re:Facebook has been paying people to install a “Research” VPN by danesparza on Wednesday January 30, 2019 @08:38AM (#19034886)
Remember that in the case of the Facebook VPN, they were asking teens to install it -- which means the teens involved (according to US law) are a protected class: under adult age. Under age folks can't legally agree to participate in anything.
Re:Facebook has been paying people to install a “Research” VPN by salawat on Wednesday January 30, 2019 @12:09PM (#19036951)
Keep in mind, just because everyone does it doesn't mean squat for is it legal or not. It means it hasn't been tested in the legal system, such that a judgement has been passed regarding legality.

If somehow, the practice were found to be a key part of circumventing some large industry's means of controlling something, it could realistically end up becoming illegal once subject to legal scrutiny.

Re:Facebook has been paying people to install a “Research” VPN by Retr0spectrum on Wednesday January 30, 2019 @06:43AM (#19034321)
How would this bypass DRM?
Re:Facebook has been paying people to install a “Research” VPN by Wowfunhappy on Wednesday January 30, 2019 @10:09AM (#19035613)
I think the parent is implying that HTTPS encryption is a form of DRM. It's a reasonable question because AFAIK, the DMCA doesn't specifically call out DRM but rather any security/protection measures, so I can see how HTTPS would fall into that.

(However, upthread comments indicate that using certificates to see HTTPS traffic is a fairly common practice in enterprise setups)

Re:Facebook has been paying people to install a “Research” VPN by Avery3R on Tuesday January 29, 2019 @09:32PM (#19032101)
On most devices the cert the VPN server uses has to chain up to a trusted root ca.
Re:Facebook has been paying people to install a “Research” VPN by nebulous1 on Wednesday January 30, 2019 @04:52AM (#19033849)
The article didn't actually mention whether Facebook were MITMing TLS connections by default or whether they'd observed them doing it at all.
Re:Facebook has been paying people to install a “Research” VPN by ericlnu on Tuesday January 29, 2019 @09:53PM (#19032214)
Duh ;). FB isn't the only one... So many do this, your head would spin twice and it wouldn't even hurt. People need to see the bigger picture. FB is just one example.
Re:Facebook has been paying people to install a “Research” VPN by mathnmusic on Wednesday January 30, 2019 @01:26AM (#19033142)
> So many do this

Point out a few? This needs to be common knowledge.

Re:Facebook has been paying people to install a “Research” VPN by princekolt on Wednesday January 30, 2019 @05:35AM (#19034030)
[citation needed]