News for hackers. Stuff that matters.
Re:Apple's iMessage encryption trips up feds' surveillance by danielsju6 on Thursday April 04, 2013 @02:14PM (#5494221)
Private keys, not public; the messages are decryptable by anyone who's been added to the keybag, you've probably seen the pop up notifying you that another device (private keys burnt onto the chipset) is joining the keybag. Once you hit OK Apple pings you with encrypted communications from the other devices (them being the pipe and presumably not in the trust chain, this explains why sometimes it's a little iffy showing cross device messages.)

The protocol hasn't been completely reverse engineered but enough to know it's likely decentralized like this, just MITM it (quite a bit is documented on the wiki I linked), Apple is the CA and the piping but it appears to be rather strong and decentralized in terms of chain-of-trust. Apple has put itself, probably without coincidence, in a position where they may not even be able to execute a court order to spy on a user.

The Apple security white-papers detail their hardware level certificates, I've dealt with this a lot as a Apple MDM developer.

Re:Apple's iMessage encryption trips up feds' surveillance by Groxx on Thursday April 04, 2013 @07:43PM (#5496011)
Not sure I'm reading this correctly, so a quick check:

When I have A, and want to add B, A ships its private key to B so it can decrypt the messages too? (and vise versa, obviously)

Or does A get B's public key, and A then re-encrypts and re-sends messages it receives to B?

Or is it something completely different?

Re:Apple's iMessage encryption trips up feds' surveillance by andreyf on Thursday April 04, 2013 @07:57PM (#5496061)
The messages don't always arrive in the same order between the devices, so it's definitely not passed from one to the other. I imagine the senders encrypt the message with every public key in your keybag.

Someone who actually knows should weigh in, though. GP's understanding seems a bit murky to me.

Re:Apple's iMessage encryption trips up feds' surveillance by Groxx on Thursday April 04, 2013 @08:05PM (#5496080)
If that's the case though, where would this popup be appearing from? (I haven't seen it, not quite sure where it would be) I would guess they wouldn't be asking the sender to approve adding my multiple computers whenever I add one, since that would be a fairly crummy user experience. Seems like it should be something that I, the owner of the receiving devices, would approve or deny.
Re:Apple's iMessage encryption trips up feds' surveillance by andreyf on Friday April 05, 2013 @12:30AM (#5496785)
The popup (and e-mail) only notify you that a device has been added to your account. The approval is done by logging in with your Apple ID.
Re:Apple's iMessage encryption trips up feds' surveillance by andreyf on Thursday April 04, 2013 @06:45PM (#5495778)
I've seen the message notifying me that I've added a new device to the account, yes, but what does that have anything to do with the encryption?

When someone sends me an iMessage, their client sends as many copies as I have devices?

Re:Apple's iMessage encryption trips up feds' surveillance by wyager on Friday April 05, 2013 @12:16AM (#5496749)
>When someone sends me an iMessage, their client sends as many copies as I have devices?

Generally how this works is that the sender encrypts the message with a symmetric encryption algorithm (like AES) and then encrypts the randomly-generated AES key with RSA with each of the receivers' private keys. So you only send out a single message, but it can be decrypted by any of the intended recipients.

Re:Apple's iMessage encryption trips up feds' surveillance by konker42 on Sunday April 07, 2013 @11:40PM (#5509881)
If I understand this correctly, you're saying that they actually encrypt the message with a single key. Then they encrypt the messages key with the public key of all recipients and send it with the message, so each user can decrypt the message key with the private physically attached to the device and use it to decrypt the message?
Re:Apple's iMessage encryption trips up feds' surveillance by andreyf on Friday April 05, 2013 @12:35AM (#5496809)
That makes a lot of sense. In that case, it seems the easiest way to wiretap an iMessage account would be to compromise one of the devices. Not surprising that the DEA doesn't have that kind of expertise/authority, though.
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Friday April 05, 2013 @03:34AM (#5497193)
Nope - all they have to do is get Apple to add another surveillance key to the list of device keys associated with your Apple ID. Then all future iMessages get encrypted to that one, too.
Re:Apple's iMessage encryption trips up feds' surveillance by wyager on Friday April 05, 2013 @11:00AM (#5498806)
Whenever any iDevice downloads a new keybag with an extra key, it gives the user like 15 notifications that a new device has been added to the iMessage account. I don't think there's a way to suppress this (without releasing a new OS).
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Friday April 05, 2013 @06:59PM (#5501573)
I think you are assuming too much about the coupling of the UI. Do people iMessaging me get an alert every time I buy a new iPad?

WINDMILLS DO NOT WORK THAT WAY.

Re:Apple's iMessage encryption trips up feds' surveillance by wyager on Saturday April 06, 2013 @01:03AM (#5502686)
No, but the person being snooped gets a notification.
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Monday April 08, 2013 @11:24AM (#5512254)
Why do you assume that?
Re:Apple's iMessage encryption trips up feds' surveillance by sdoering on Friday April 05, 2013 @06:31AM (#5497577)
And apple would only have to make sure, that you get no warning, that another device was added to your keybag.
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Friday April 05, 2013 @08:21AM (#5497893)
They manufacture the hardware, design and produce the software, and are the intermediary between all device communication with all other devices.

I have a feeling they could manage.

Re:Apple's iMessage encryption trips up feds' surveillance by sdoering on Friday April 05, 2013 @10:19AM (#5498553)
I didn't mean to imply, that they could not, written it missed my ironic voice-modulation ;-)

I really had thought, that this would have happened long ago, for everybody, and so on. Would not have thought, that this was a problem for law enforcement, as it was with i.e. skype.

Re:Apple's iMessage encryption trips up feds' surveillance by andreyf on Friday April 05, 2013 @12:53PM (#5499548)
The user could detect that, though, so it's a no-go.
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Friday April 05, 2013 @06:58PM (#5501561)
Not without jailbreaking or proxying the push connection...
Re:Apple's iMessage encryption trips up feds' surveillance by wyager on Saturday April 06, 2013 @01:03AM (#5502687)
No, by default your device notifies the shit out of you whenever your keybag is modified.
Re:Apple's iMessage encryption trips up feds' surveillance by sneak on Saturday April 06, 2013 @09:35PM (#5505776)
You are confusing the iMessage device activation UI with the underlying crypto operations.

Nobody iMessaging me gets any indication when I get a new iPad and add it to my account, despite all their messages to me now encrypting (on their device) to n+1 of my devices now.