News for hackers. Stuff that matters.
Re:Can Apple read your iMessages? by StavrosK on Wednesday June 26, 2013 @04:53AM (#5944854)
Why is everyone so critical? I'm far from an Apple fanboy, having opted to never buy one of their products again, but they deserve major props here. They have the constraint of "the system must be easy to use" and, from what I can tell, did pretty much as much as they could to add strong crypto to the mix at no benefit to themselves.

Apple could have just gone "fuck it, let's store it in plaintext, since it's never going to be good enough anyway", but adding strong, transparent encryption to one of the most-used messaging services in existence right now is a very good thing, in my book.

Sure, the transparency introduces some flaws, but Apple has protected itself by a whole slew of passive attacks, which, to my knowledge, is the kind of attack that the mass surveillance state uses, and what a large messaging service is most at risk of.

Getting a warrant and saying "hey, we have a warrant for X, can we look at their communications", and then having Apple MITM that person is much, much more preferable to me than having a government say "we need all your data" and then the provider just handing the data over, since it's all in plaintext.

As it stands, Apple has pretty much disabled large-scale surveillance of iMessage accounts, which is what PRISM and all the furore is about, and people still shit on them?

Can we have some perspective please? If we lambaste any provider who takes steps to safeguard our privacy (again, at no benefit to them, since most people who use iMessage don't even know what encryption is), then what do you think the next service to have the choice in a product will say? "Hmm, I could either store everything in plaintext and have governments strong-arm me into sharing it with them (which I couldn't really care less about), I could build really strong encryption into it and make it an unusable mess for no added benefit to me, or I could build as much encryption into it as doesn't impact usability, again for no benefit to me, and get shat on for not providing option #2. Gee, how can I ever decide?"

If you want strong privacy/security, use Silent Circle (disclosure I work for them etc). If you care about your day-to-day privacy and want to talk to people you know, you could do much worse than iMessage.

Re:Can Apple read your iMessages? by andor on Wednesday June 26, 2013 @05:13AM (#5944929)
Apple could have just gone "fuck it, let's store it in plaintext, since it's never going to be good enough anyway", but adding strong, transparent encryption to one of the most-used messaging services in existence right now is a very good thing, in my book.

That's the point of the article: the messages stored on iCloud aren't encrypted. The claim that iMessage uses end-to-end encryption is worthless.

Re:Can Apple read your iMessages? by jlgaddis on Wednesday June 26, 2013 @05:45AM (#5945051)
The messages are encrypted end-to-end. What you do with them once they've arrived (e.g. backing them up to iCloud) has nothing to do with the transport.

A co-worker and I send encrypted e-mails back and forth occasionally. If he decrypts my attachments and saves them to his hard drive to work with, that doesn't mean that e-mailing them in an encrypted form was worthless.

Re:Can Apple read your iMessages? by pcl on Wednesday June 26, 2013 @09:29AM (#5945856)
They might well be encrypted end-to-end, but who manages the keys? If Apple manages the keys on the server side, then that end-to-end encryption does not prevent Apple from accessing the messages.

If you read the article, you'll note that the author was successful with an attack that demonstrates that Apple can access the plain text of at least recently-delivered messages (and possibly all of the backed up messages).

Re:Can Apple read your iMessages? by schrodinger on Wednesday June 26, 2013 @09:46AM (#5945941)
Apple manages public keys, not private. They'd have to lie to you and give you their own public key, and then man in the middle your conversation to get it.
Re:Can Apple read your iMessages? by robotresearcher on Wednesday June 26, 2013 @03:13PM (#5948289)
Right. A security system that relies on someone not lying to you is not so hot.
Re:Can Apple read your iMessages? by jonknee on Wednesday June 26, 2013 @09:11AM (#5945732)
Sure, but this is all transparent to the user. Apple heavily pushed iCloud backups and doesn't mention that it throws any data security out of the water. You hear iMessages are secure and then you accept the "use iCloud backup" question that appears right after you get your device. Except now your messages aren't secure.

Apple did a great thing by making iMessage secure by default. They should do a similarly great thing by making iCloud backups secure or by making it very obvious to the user that they are not secure (and what that means for your other "secure" data).

Re:Can Apple read your iMessages? by rainforest on Wednesday June 26, 2013 @09:26AM (#5945832)
Isn't it possible that iCloud backups are encrypted in storage? Apple could be holding the key in encrypted form and sending that to the device with a backup. If the user's password is used as the passphrase to the key, then only the user can use the key to decrypt it. Apple could hold a second key, with passphrases set to secret answers for reset scenarios - that would let them regenerate the normal password-encrypted key for the chosen changed password.

This seems likely given they offer to store your key for FileVault[1] under some secret answers. I think this delivers the same level of "secure" in the sense that, provided they don't store the passwords you submit (possible law enforcement request), then they shouldn't be able to decrypt your iCloud backups either.

1: http://support.apple.com/kb/ht4790

Re:Can Apple read your iMessages? by parasubvert on Wednesday June 26, 2013 @12:15PM (#5946948)
iCloud Backups are encrypted: https://www.apple.com/ipad/business/docs/iOS_Security_Oct12....

Apple can still get at them because they can reset your password on you. Certain files in the backup will not be accessible to them if they were encrypted with a key that wraps the Device UID. iMessages don't seem to be one of these files, but Mail backups are clearly inaccessible.

Re:Can Apple read your iMessages? by embolism on Wednesday June 26, 2013 @10:01AM (#5946048)
Yes. Not only possible but likely.
Re:Can Apple read your iMessages? by jimsilverman on Wednesday June 26, 2013 @09:23AM (#5945815)
agreed.

i think the most important takeaway here is that the reactionary press release "Apple’s Commitment to Customer Privacy" was very carefully worded to give the customer a sense of security. it's definitely not telling the full story, but it serves its purpose of reassuring a concerned user base.

Re:Can Apple read your iMessages? by brigade on Wednesday June 26, 2013 @05:29AM (#5944985)
You aren't required to use iCloud Backup to use iMessage. They're completely separate services.
Re:Can Apple read your iMessages? by embolism on Wednesday June 26, 2013 @09:56AM (#5946000)
I'd like to see a more comprehensive test to prove that the messages are part of the backup. Since you have to sign in to iMessage, it's possible that these are being retrieved from the iMessage server in an encrypted form - "I restored an iPhone and saw old messages" is not proof that they are stored in plaintext.

Also.. it's important to note that the iMessage client only retains about a day's worth of messages on the device. Earlier messages can be obtained via a "load earlier messages" button. This means that Apple does store the message history on the iMessage servers, and there is a way for the client to retrieve them in batches while the contents are not accessible to Apple.

It seems extremely likely that this 'iCloud Backup' vulnerability is a red herring. The messages are not stored in the regular backup but are fetched encrypted by the client when you sign in.

Re:Can Apple read your iMessages? by mannkind on Wednesday June 26, 2013 @12:32PM (#5947052)
They're not loaded from the server but the sms.db (sqlite) database on your phone.

Tools exist to read the database from the phone directly, from backups, etc. Which is great when you accidentally delete them... I wouldn't know that though. :)

Re:Can Apple read your iMessages? by dvanduzer on Wednesday June 26, 2013 @10:21AM (#5946203)
That's not what's happening with the "load earlier messages" button at all. The long term iMessages history is stored in an unencrypted sqlite database on the phone (which is included, unencrypted, in local iTunes backups).
Re:Can Apple read your iMessages? by r00fus on Wednesday June 26, 2013 @12:00PM (#5946864)
Local backups can be encrypted (mine are). Also it's not necessary to use cloud backups (I don't).

Therefore, my iMessage history is secure (I fully understand that my message recipients may expose my individual messages, but my copy is safe).

Re:Can Apple read your iMessages? by dvanduzer on Wednesday June 26, 2013 @02:35PM (#5948038)
The fact that it is possible to perform encryption on the entire backup file does not change the fact that many people are (wrongly) speculating about things which are easily verifiable.
Re:Can Apple read your iMessages? by fortepianissimo on Wednesday June 26, 2013 @04:39PM (#5948860)
But what's the difference? Whether the messages are stored in plaintext, or whether they are stored as part of the iCloud backup, the author proved that Apple can get to them in order to restore your newly purchased phone.
Re:Can Apple read your iMessages? by embolism on Wednesday June 26, 2013 @09:28PM (#5950166)
It matters because in one scenario Apple itself can't get to them - it can only restore them to your phone where they are decrypted using your password.
Re:Can Apple read your iMessages? by rythie on Wednesday June 26, 2013 @05:23AM (#5944963)
Because Apple said they were doing end-to-end encryption:

"For example, conversations which take place over iMessage and FaceTime are protected by end-to-end encryption so no one but the sender and receiver can see or read them. Apple cannot decrypt that data. "

From: http://www.apple.com/apples-commitment-to-customer-privacy/

Re:Can Apple read your iMessages? by lttlrck on Wednesday June 26, 2013 @08:17AM (#5945502)
The article doesn't disprove end-to-end encryption.
Re:Can Apple read your iMessages? by pcl on Wednesday June 26, 2013 @09:32AM (#5945869)
"End-to-end encryption" is a pretty empty phrase.

The author did demonstrate that recently-delivered messages may be accessed without device-specific or user-specific secrets in place. So, even if all the transports on all the hops between all the machines in the message delivery chain are encrypted, Apple is able to access the plain text of at least the recently-sent messages.

Re:Can Apple read your iMessages? by embolism on Wednesday June 26, 2013 @09:58AM (#5946027)
Actually the author didn't prove this. The author entered their account password to retrieve the backup. Restoring the most recent day of messages could be done from a plaintext backup or it could be done by loading an encrypted batch from the iMessage servers. We don't have enough information to know for certain either way.
Re:Can Apple read your iMessages? by pcl on Wednesday June 26, 2013 @10:20AM (#5946191)
The author said that he changed his password and then got a new device and accessed recent iMessages on it. So that rules out the password as the encryption key.
Re:Can Apple read your iMessages? by epistasis on Wednesday June 26, 2013 @12:03PM (#5946888)
It rules out the password as the encryption key, but it doesn't rule out encrypted backups. Implementations of encrypted volumes, such as in LUKS on Linux, commonly use the password as something that unlocks the real encryption key. So during password change, the new password could be used to re-encrypt the backup encryption key, making it so that as long as Apple doesn't store the passwords, Apple can't have access to the encrypted backups.

However, this is really far into the weeds on a topic that doesn't matter so much, as none of it really relates to Apple's claims about iMessages.

Re:Can Apple read your iMessages? by anologwintermut on Wednesday June 26, 2013 @12:51PM (#5947230)
He reset his password using the IForgot service. So either data is encrypted under a key apple has or its encrypted under a key derived from your secret answers( which is unlikely). In the latter case, Apple might as well have your key given the limited entropy
Re:Can Apple read your iMessages? by epistasis on Wednesday June 26, 2013 @03:27PM (#5948389)
Or it could be encrypted by a random key with high entropy, that Apple does not have, because it is encrypted by a key derived from your password. See, for example, LUKS:

http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup

Re:Can Apple read your iMessages? by anologwintermut on Thursday June 27, 2013 @02:26PM (#5953872)
And that key got onto his new device how precisely? Observed behavior was reset password with questions/email, prevision a new device, get old chats on new divice. If the new device had the old encryption key, how did it get there?
Re:Can Apple read your iMessages? by ippisl on Wednesday June 26, 2013 @05:40AM (#5945035)
you present a false choice between security and ease of use. They could easily add a security layer that uses a short authentication code, that let's people in physical connection(say spouses) verify their texts are secured. Just a simple optional feature.

But how much security can you guarrantee with closed source anyway?

Re:Can Apple read your iMessages? by anologwintermut on Wednesday June 26, 2013 @10:35AM (#5946292)
Why is everyone being so critical of Skype? Skype deserves major props here. "They have the constraint of 'the system must be easy to use' and, from what I can tell, did pretty much as much as they could to add strong crypto to the mix at no benefit to themselves."

Which is actually, as far as we know, true for Skype too. The reason is both systems acquired a reputation (one that Apple's PRISM press release courted) that they were three letter agency proof(at least for most TLA's).

That reputation, we now know, at least for Skype was erroneous long before Microsoft bought them and might be for Apple. Yes, Apple deserves major props for deploying end to end crypto , but IChat security reputation is inaccurate.