233 points · by exceptione · 4y ago · 90 comments
The terrifying result is that google can easily see (1) which sender sends (2) what (3) to who at (4) what time, and (5) when the user uses the app (6) for how long. It does so by even sending phone numbers and Android ID.
Reportedly, Google will clarify something in some legal text after this report came out. I would expect this would be totally illegal in at least the EU. It is about time top executives will receive jail time for these kind of breaches.
From the abstract:
We report on measurements of the data sent to Google by the Google Messages and Google Dialer apps on an Android hand- set. We find that these apps tell Google when message/phone calls are made/received. The data sent by Google Messages includes a hash of the message text, allowing linking of sender and receiver in a message exchange, and by Google Dialer the call time and duration, again allowing linking of the two handsets engaged in a phone call. Phone numbers are also sent to Google. In addition, the timing and duration of user interactions with the apps are sent to Google. There is no opt out from this data collection. The data is sent via two channels, the Google Play Services (i) Clearcut logger and (ii) Google/Firebase Analytics. This study is therefore one of the first to cast light on the actual telemetry data sent by Google Play Services, which to date has largely been opaque.
This allows to restore the message if it is short. Let's say a typical user knows 2×10^4 words and the message contains 3 words. If each word can be chosen with equal probability independently of others then one can guess the message content after an average of 4×10^12 attempts. And of course, one can check all the hashes at the same time.
So the hash function is effectively reversible for short pieces of data, like phone numbers, DOB, card numbers, emails and so on.
How are you assuming a known dictionary and a known word count? And for the other examples, you’re somehow assuming a fully precalculated rainbow table of all possible such PII. Seriously…?
> sha256HashMsg value is a hash of the time, in hours since 1st Jan 1970, that the message was sent and of the message content i.e the message text, truncated to 128 bits.
If the user is from country A, there is high probability that they use language of country A. Regarding word count, you don't need to know it. First, try to calculate hashes of all one-word messages. Then, all hashes of two-word messages. And so on.
Google also can collect statistics on which words and word combinations are used more often (for example, from gmail messages) and use this to accelerate bruteforce.
> And for the other examples, you’re somehow assuming a fully precalculated rainbow table of all possible such PII. Seriously…?
Let's take phone numbers as an example. Russian phone number starts with +7 which is followed by 10 random digits. Therefore, there can be maximum of 10^10 = 10 billions numbers. This answer [1] states that a GPU can calculate up to 10 billion MD5 or SHA1 hashes per second. Therefore, recovering a phone number from a hash would take approximately one second on a typical consumer hardware.
Note that one could build a custom CPU optimized for calculating hashes and get higher throughput.
Regarding credit card numbers, there is larger search space: you have to guess 15 digits (16th digit is a checksum). But it is not like there are 10^15 credit cards in the world. This search space can be significantly reduced, for example, by filtering by BIN (first 6 digits that identify the issuer bank).
This is why hashing short identifiers (like phone number or card number) doesn't make much sense and such hash can be easily reversed.
Obviously deciphering all messages is not feasible but I think GPs point was that you could put together a table that would get you some decent proportion of messages. For example, if you assume an alphabet of [a-zA-Z0-9 ] then you'd only need to calculate ~63.5 billion hashes to get all messages up to 6 chars. Similarly you could use a dictionary to put together tables for short sentences.
I'm afraid jail time is not yet provided for in the GDPR.
Fines are usually something to laugh at and well worth the cost. Even if not, the burden is on the company and not the executive.
We need to have a system where the current executives get jail time for these kind of crimes. This ensures that executives will only accept such a role when they are certain that the company is "clean", i.e. they wont risk jail time because of previous CEO's fuckups.
I need to take a closer look at the report and see if I am with a reasonably chance affected. So that I can send a complaint to my data protection agency in Schleswig-Holstein (German state I am residing in).
At least that is what yi can do. And I can only urge any EU citizen (rightly) enraged by that to create an official complaint with their respective data protection agency.
If you want to say what you think is important about an article, that's fine, but do it by adding a comment to the thread. Then your view will be on a level playing field with everyone else's: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...
But as someone who has made every effort to remove both of these companies from my life as much as possible, if I communicate with someone who uses Android or someone who allows Facebook complete access to their contacts and other data... those companies still get MY data without my consent.
Somehow it has become legal for these companies to allow someone else to consent for them to get my data.
Is it? If you want a modern smartphone experience (I don't mean one from 2005) you only get to choose which option you find 'less bad' between Apple and Google.
> If you want a modern smartphone experience (I don't mean one from 2005) you only
> get to choose which option you find 'less bad' between Apple and Google.
This is a market failure, is it not? I would perfectly happy to pay twice what I paid for my Samsung Note 10 to another company that provides me with: - A useful stylus
- A useful contacts suite and dialer that can sync CardDav (I use True Phone).
- A useful calendar that can sync CalDav (I use Business Calendar 2).
- Runs an Anki implementation (I use Ankidroid)
- Can sync text files with a desktop computer (I sync .org and .md files via ADB)
- Has a voice recorder
However, nobody makes such a phone. And this model of Note is not supported by e.g. LineageOS, though I suppose that I could buy an older Note. The real problem is the stylus, no other phone has one.Even with Google you have a choice (ish) in just how much data of yours they gather up since there are alternatives.
But true, the choice not super there but I trust Apple more than Google personally.
Curious as to what the basis for this is? As I understood it much if not most of Apple's OS and software is a pandoras box so we have no real idea as to what it tracks and/or sends back to Apple.
In fact, the author of the present study published an article on the former topic last year:
> We investigate what data iOS on an iPhone shares with Apple and what data Google Android on a Pixel phone shares with Google. We find that even when minimally configured and the handset is idle both iOS and Google Android share data with Apple/Google on average every 4.5 mins. The phone IMEI, hardware serial number, SIM serial number and IMSI, handset phone number etc are shared with Apple and Google. Both iOS and Google Android transmit telemetry, despite the user explicitly opting out of this. When a SIM is inserted both iOS and Google Android send details to Apple/Google. iOS sends the MAC addresses of nearby devices, e.g. other handsets and the home gateway, to Apple together with their GPS location. Users have no opt out from this and currently there are few, if any, realistic options for preventing this data sharing.
Leith, D. J. (2021, September). Mobile Handset Privacy: Measuring The Data iOS and Android Send to Apple And Google. URL: https://www.scss.tcd.ie/doug.leith/apple_google.pdf
It's impossible to install privacy tools (like AFWall) before being subjected to built-in spyware. The bootloader was locked by default and could only be unlocked after creating a Google account (which involves accepting their terms and conditions). It was also impossible to go through initial setup using a proxy server. It did use the proxy server I had setup to contact Google, but it wouldn't accept the connection as having internet connectivity (and refuse to go any further) until traffic was routed through the default gateway.
I think it would be reasonable to add warnings to so-called "smart" devices the same way as packs of cigarettes. It'll never happen, sadly. If anything, the Powers That Be would rather make it illegal to "circumvent" or "tamper" with the locked-down computers that we used to own.
I recently tried to setup a Bluetooth speaker my mom had bought (with me at her side). I had carefully looked at the packaging and there were no red flags visible.
At her flat I tried to connect it to her laptop. It just wasn't visible.
I looked at the user manual. For initial setup you had to install the vendors app (and accept it to transmit any filename you listen to, any streaming account, any song/audiobook/radio station you are listening to.
There was now way of getting it to just connect via Bluetooth without allowing full data harvesting.
It instantly went back into its packaging, back to the shop.
In hindsight I should probably have filed a GDPR complaint as this goes against the GDPR as the data tracking is not necessary for the functionality (Bluetooth connection). And was not available as information before I bought it.
I was able to remotely lead my mom through the process on the phone.
What I know for sure is that Sonos does it as well - but they aren't bluetooth speakers
This entire report is damning, but I thought this was an especially silly tidbit towards the bottom of the report. I wonder if this is even legal.
I'm sure there are other OSS alternatives but this one just works for me.
That said, this is disgraceful. I'm amazed that someone thought this was a good idea. I already use Signal for SMS, but I guess I need to find a new dialer app now. Anyone have suggestions?
Use Signal for voice calls with friends.
You can also threaten to get lawyers involved, that often helps deal with shitty customer service and they just give you what you want.
Honestly this is the kind of stuff Google Assistant should be automating with piles of conversational data, not some stupid haircut appointment. They have the data to know when is the optimal time to mention some hypothetical lawyers and can leverage that data to engineer the conversation on behalf of and in favor of the user.
>Google also provided clarification on the purposes of some of the data collection observed. Namely:
>1) The message hash is collected for detecting message sequencing bugs.
>2) Phone numbers are collected to improve regex pattern matching for automatic recognition of one-time pass- words sent over RCS. Messages automatically recognizes incoming One-Time Password (OTP) codes to avoid the user having to fill them in. This can be a frequent point of failure and the phone number data is used to improve recognition by providing ground-truth based on known OTP sender numbers.
> 3) The ICCID data is used to support Google Fi.
> 4) Firebase Analytics logging of events (not including phone numbers) is used to measure the effectiveness of app download promotions (for Messages and Dialer specif- ically). Namely, to measure not only whether the app was downloaded but also whether it was used once downloaded.
It's a shame that user laziness is cause for lack of privacy.
This detection is done entirely on-device. In what way is it injurious to the user's privacy?
Dumb shill, but I have a Twitter account to collect instances of tech companies doing shady stuff. It's called "Programmers Against Humanity" (@software_crimes), and I would love if people could send me more. I want to bring awareness to how tech companies harm us.
Reminder: US police use Google as a database of people who were at a particular place at a certain time. Of which people by definition most aren't subjects of investigation: https://www.nytimes.com/2019/04/13/technology/google-sensorv...
It wouldn't be used of course, but a little sunlight can do wonders.
Now please audit iMessage and iPhone’s dialer, I’ll pay to help commission this important work!
> when a request was made through Google Takeout for the Google Account data associated with the apps used for testing, the data Google provided did not include the telemetry data observed.
That google collects it is unsurprising. That they deny having it is somewhat surprising to me.
I feel like this is the start of Google being another billion dollars poorer, and EU taxpayers being each a few euros richer...
TL;DR: The EU could pay a couple of reverse engineers for 2 months and print money out of fines.
I was shocked to discover that (back then?) apps could just straight up read the list of user accounts on the phone without any special permission... Which is mostly fine, except many apps use your email/phone-number as account name or description. Same goes for Wi-Fi SSID and other things.