Live data from Hacker News

Android saves wifi passwords in plaintext to the cloud

code.google.com

131–140 of 172 posts

Re: Android saves wifi passwords in plaintext to the cloud

#131
post #122

What key are you going to encrypt these passwords with? If you were to encrypt passwords in the cloud with a key that's stored on the device, you can't unlock the passwords on a different device (or the same device after flashing), which is the whole point of backing it up in the cloud. If you were to encrypt them with the user's Google Accounts password, the device would need to ask for that password on every startu…

One way to do it would be: 1) Your plaintext password is used to generate two derivative tokens. One for user authentication with Google, and one for encrypting data stored with Google. The authentication password token is PBKDF2(N, password) and the encryption token is PBKDF2(N-1, password). You give Google the authentication token on signup. They are not capable of deriving the encryption token from it, but the use…

Chances of me implementing this correctly: 0%.

Chances of me implementing a boolean on/off switch for the plaintext passwords correctly: 99%

Re: Android saves wifi passwords in plaintext to the cloud

#132
post #9

With the street view wifi scandal, this on going encryption problem and the revelations about prism this looks very bad.

Reference: http://www.engadget.com/2013/04/22/google-street-view-fine-g... (for others like myself who had not heard of this)

Just to add to everyone's knowledge: this Street View wifi snooping was a) three years ago, b) accidental, and c) only known by the public because Google voluntarily revealed that it had been doing it (and immediately deleted all of the collected data).

Re: Android saves wifi passwords in plaintext to the cloud

#133
post #112

Earlier quoted context omitted.

It's even easier to see how handy millions of wifi passwords might come in handy if you already have the information about the wifi networks you got from war-driving (street view). Do you have any idea what you're talking about? Talk to a real live Googler (they exist!). Any one of them will tell you that: (a) the war driving thing was one engineer's massive fuckup that was never wanted for any product, and the data…

I'm not sure what you're talking about. Google collects information on wireless networks for a very specific purpose - determining location to speed up or replace GPS. Skyhook Wireless is another company that sells the information obtained from wardriving. https://support.google.com/maps/answer/1725632?hl=en Are you saying this service was shut down despite all indications to the contrary, or are you disputing the me…

I was referring to the StreetView Skyhook-like program that did exist, and yes, it was shut down after it was discovered to be collecting more than just SSIDs:

http://googleblog.blogspot.com/2010/05/wifi-data-collection-...

  In addition, given the concerns raised, we have
  decided that it’s best to stop our Street View
  cars collecting WiFi network data entirely. 
I presume this is what the OP meant by "war driving (street view)", and not the on-device collection you refer to.

Re: Android saves wifi passwords in plaintext to the cloud

#134
post #79

Earlier quoted context omitted.

Most people really have 10 different WiFi networks? I have two. Home and work. Who has 10? Apple solved this by supporting local backups. My phone backs up to my computer. When I restore to a new device, the backup goes with it. When I set up a completely new device -- which happens only once every couple of years -- I set up WiFi again. I've never, ever, ever thought "oh wow, setting up WiFi is just So Hard! I wish…

If you're in the habit of connecting wifi at cafes/bars etc. you can easily run past 10 (wow - just checked the list on my 18 month old laptop, it's currently 110 networks).

Though not all of the bar/cafe networks are passworded, likely.

Re: Android saves wifi passwords in plaintext to the cloud

#135
post #61

Earlier quoted context omitted.

You give large corporations way too much credit. There's no evidence beyond your conspiracy theories that this is a feature designed for anything other than convenience (one which I and many others in the thread have found to be quite convenient). Not every feature in Android is designed to be monetised. Google develop Android with the intent that users will use their app store/click on Google provided ads. They can…

> You give large corporations way too much credit. There's no evidence beyond your conspiracy theories that this is a feature designed for anything other than convenience Yeah, excepting the whole NSA issue, the fact that Google was previously caught/accused of war-driving every wifi net they could see with their streetview cars etc. While the feature may be convenient, that does not preclude the worst case from also…

>fact that Google was previously caught/accused of war-driving every wifi net they could see with their streetview cars

I am a bit amused when folks trot this out and forget to mention that Google itself discovered this, voluntarily came forward, owned up to the mistake, provided the information to the prosecutors and paid the fines related.

You would think if they were so determined to continue with this nefarious activity they might have been a bit more mum about it.

Re: Android saves wifi passwords in plaintext to the cloud

#136

Earlier quoted context omitted.

Horseshit. Setting up a password for an Android device only needs to be done once for each device->network pairing. The reuse of Wifi passwords across devices is an edge case given the predominate ownership pattern of Android devices - i.e. most people have a phone that runs Android and no other Android device. Google's scheme allows them to harvest the passwords to a vast number of wireless networks. Google has harv…

> Google has harvested the location, name and signal strength of many millions of wireless networks across the world Don't forget that that dataset of wireless locations is updated continuously through crowdsourcing.

>> Google has harvested the location, name and signal strength of many millions of wireless networks across the world > Don't forget that that dataset of wireless locations is updated continuously through crowdsourcing.

Along with Apple, Skyhook, Nokia and a number of other location providers.

Re: Android saves wifi passwords in plaintext to the cloud

#137

What key are you going to encrypt these passwords with? If you were to encrypt passwords in the cloud with a key that's stored on the device, you can't unlock the passwords on a different device (or the same device after flashing), which is the whole point of backing it up in the cloud. If you were to encrypt them with the user's Google Accounts password, the device would need to ask for that password on every startu…

> However, this method is not reliable if you don't trust Google (or its infiltrators) because Google provides the clients that would do the hashing before sending the password

That is strictly true, but isn't it significantly more difficult for an infiltrator to (a) obtain Google's private code-signing key and push a compromised client build to devices; than (b) hack into a Google database and read the 'users' table...?

Re: Android saves wifi passwords in plaintext to the cloud

#138
post #133

Earlier quoted context omitted.

I'm not sure what you're talking about. Google collects information on wireless networks for a very specific purpose - determining location to speed up or replace GPS. Skyhook Wireless is another company that sells the information obtained from wardriving. https://support.google.com/maps/answer/1725632?hl=en Are you saying this service was shut down despite all indications to the contrary, or are you disputing the me…

I was referring to the StreetView Skyhook-like program that did exist, and yes, it was shut down after it was discovered to be collecting more than just SSIDs: http://googleblog.blogspot.com/2010/05/wifi-data-collection-... In addition, given the concerns raised, we have decided that it’s best to stop our Street View cars collecting WiFi network data entirely. I presume this is what the OP meant by "war driving (stre…

Wardriving actually specifically refers to "the act of searching for Wi-Fi wireless networks by a person in a moving vehicle, using a portable computer, smartphone or personal digital assistant" per Wikipedia.

It looks like that blog post only states that they deleted the erroneously collected network data.

https://en.wikipedia.org/wiki/Wardriving

Re: Android saves wifi passwords in plaintext to the cloud

#139

What key are you going to encrypt these passwords with? If you were to encrypt passwords in the cloud with a key that's stored on the device, you can't unlock the passwords on a different device (or the same device after flashing), which is the whole point of backing it up in the cloud. If you were to encrypt them with the user's Google Accounts password, the device would need to ask for that password on every startu…

Horseshit. Setting up a password for an Android device only needs to be done once for each device->network pairing. The reuse of Wifi passwords across devices is an edge case given the predominate ownership pattern of Android devices - i.e. most people have a phone that runs Android and no other Android device. Google's scheme allows them to harvest the passwords to a vast number of wireless networks. Google has harv…

I appreciate not re-entering ten cryptic wifi passphrases when I replace a phone.

Re: Android saves wifi passwords in plaintext to the cloud

#140
post #127
post #120

No need to belabor the point given the many examples beyond this one. If you want security, you're not going with Android. If you want configurability, you're not going with iOS. Android: slurping phone numbers, texting behind the scenes on your behalf, etc... iOS: no access to apps that Apple doesn't approve, no replacement of built-in apps with third-party apps, etc... These systems were not built exactly with your…

> Android: slurping phone numbers, texting behind the scenes on your behalf, etc... Debatable. If you install something like Permissions Explorer you can see which apps access your contacts and/or texts. It's generally a small list. And the Google sync features can be disabled.

The problem is that you've checked the chicken coop AFTER the fox has gotten to the chickens.
Post reply on HN