Live data from Hacker News

Facebook scans system libraries on Android and uploads them to their server

twitter.com

111–120 of 188 posts

Re: Facebook scans system libraries on Android and uploads them to their server

#111

Earlier quoted context omitted.

You need read access to actually use them. Even if some file system trickery would be made to prevent it so that you couldn't fopen it, the actual binary code will be in memory accessible for your app, because it has to be there in order to run.

Stupid idea: --X the pages for the library.

Does hardware allow that?

Re: Facebook scans system libraries on Android and uploads them to their server

#112
post #59

Earlier quoted context omitted.

As other commenters have mentioned, traditional sandboxing mechanisms would do little here. Applications are always given read access to system libraries because they need them to function.

im thinking about how we get to non traditional sandboxing

Fully homomorphic public key encryption is the solution. We need such a crypto that hides the instructions and operands but does not alter the visible arity of instructions, and allow arithmetic operations on operands.

Re: Facebook scans system libraries on Android and uploads them to their server

#113
post #24

Aside from fingerprinting, what other nefarious uses could this have in theory?

If you had some secret sauce library, e.g. developing some new revolutionary phone feature, it would now have been exfiltrated to facebook.

Re: Facebook scans system libraries on Android and uploads them to their server

#114

Earlier quoted context omitted.

That, or they don't care. Or they don't care enough.

If you do care, you get filtered out.

Theranos is the prime example of this. Whoever, was negative about the product in a way was removed. If one questioned a promise of the product because it was IMPOSSIBLE they got fired.

Re: Facebook scans system libraries on Android and uploads them to their server

#115

how was she able to capture / sniff those HTTP posts? Any kind of sniffer would just get encrypted SSL data...

The major HTTP proxy debuggers all support MitM of TLS traffic using a locally-generated CA trusted by the device.

Re: Facebook scans system libraries on Android and uploads them to their server

#116

Earlier quoted context omitted.

Edit: CANCEL MY KNEE-JERK REACTION TO A KNEE-JERK REACTION! A few tweets down (good [deity] twitter is a terrible way to transmit information, this is why I don't generally bother with it) she does say the full library is sent. -------------------- > copying and uploading the libraries is actually illegal (copyright violation) That isn't what is happening here - the headline is misleading. Further into the tweet (FFS…

Even further into the tweets it says: "Facebook can upload the entire files of all system libraries to their server through their Android apps" and "I found they have already collected metadata of 2233 system libraries from my phone, in which 1162 system libraries are pending to be uploaded" So they've already uploaded the metadata and are in process of uploading the whole files.

Are you sure it’s not the metadata that is pending to be uploaded?

Re: Facebook scans system libraries on Android and uploads them to their server

#117

Earlier quoted context omitted.

It's almost infinitely easier to track a library update if you have the actual libraries on hand to compare, rather than two hashes.

But that presumes a human engineer is going through and looking at the libraries in order to maintain fingerprints. I suppose it's possible that's what Facebook is doing, but it strikes me as a massive waste of time, particularly in comparison to all of the other metrics at their disposal.

There are a lot of techniques to compare binary similarity that don't require human intervention.

Edit: see for instance https://www.usenix.org/conference/usenixsecurity17/technical...

Re: Facebook scans system libraries on Android and uploads them to their server

#118

Earlier quoted context omitted.

How would uploading the library help with that?

It's almost infinitely easier to track a library update if you have the actual libraries on hand to compare, rather than two hashes.

You could do that more easily with file names though. I doubt libraries significantly (if at all) change their file names when they update.

Re: Facebook scans system libraries on Android and uploads them to their server

#119
post #24

Aside from fingerprinting, what other nefarious uses could this have in theory?

If you had some secret sauce library, e.g. developing some new revolutionary phone feature, it would now have been exfiltrated to facebook.

It would also have been exfiltrated to everyone who uses Android.
Post reply on HN