Hacker News new | ask | show | jobs
by natch 13 days ago
Apple has significantly weakened its security assurances in a way that is arguably deceptive. They used to say nobody can access your data, not even Apple. Now they say Apple cannot access your data. People will point out that your key is created on your device, lives on your device, and never leaves your device, but that is just your key. Your key is likely a KEK (key encryption key) that opens another key (not “your” key, let’s call it the actual key) that your data is secured with. There can be other parties (UK government) with their own KEK that opens a copy of the actual key. In this scenario, Apple can have no access to a KEK that opens the actual key, but they are forced to make the wording change they did, if they want to stay honest.

I say the statement is arguably deceptive because it presents the same feel of assurance that the old one did, to most people.

Note John Ternus in a recent event (WWDC keynote if I recall correctly) used the old wording. I think this was a slip-up (I’d hate to think it was a calculated lie posing as a slip-up).

14 comments

This is just not true. Apple's current platform security white paper clearly states what you're complaining they took away:

"many Apple services use end-to-end encryption, which means the user’s iCloud data can be accessed only by the users themselves, and only from the trusted devices where they are signed in with their Apple Account."

And: " If a user chooses to turn on Advanced Data Protection, their trusted devices retain sole access to the encryption keys"

Also, there's no need to make suppositions such as this: > Your key is likely a KEK (key encryption key) that opens another key (not “your” key, let’s call it the actual key) that your data is secured with.

The details of keys are clearly outlined in the same white paper: "Most iCloud data is first encrypted on the user’s device, using device-generated iCloud keys, before being uploaded to iCloud servers."

So no - there's no layer of keys that Apple or the UK or whatever can use to bypass e2e where it's enabled.

> "If a user chooses to turn on Advanced Data Protection, their trusted devices retain sole access to the encryption keys"

The implication is that if a user does not “choose to turn on” Advanced Data Protection, then something else also has access to their encryption keys.

Users in the UK cannot “choose to turn on” Advanced Data Protection.

> if a user does not “choose to turn on” Advanced Data Protection, then something else also has access to their encryption keys

That's exactly the case. Without it, Apple Support, anyone with a valid warrant/subpoena, insider threats, successful phishers, etc. could access iCloud data.

Previously, Apple did not support E2EE for user data in iCloud, but later added it - that's what "Advanced Data Protection" is, after all.

But I believe when it was introduced, it was a news item (not from Apple, but from industry watchers) that it wasn't available in the UK, likely because of UK laws that harm privacy. It is the foremost surveillance state after China and North Korea, after all.

> It is the foremost surveillance state after China and North Korea, after all.

It's merely one of the five eyes, and it's by far not the biggest offender in the group. Obviously I wish the UK wasn't a surveillance state, but let's not pretend the US isn't an even worse one.

As I recall, own of the "benefits" to Five Eyes was that if state X wants to spy on its own citizen, but cannot due to its own laws, state X can ask around and see if any of the other Eyes have spied on that person already, and get their data that way (or perhaps, ask another Eye to begin spying on the subject and report back).

Ironically then, I have less to fear from a supposedly "hostile" state spying on me, than I do from my own state or my state's partners. Russia can spy on me but has no power or interest to do act on it against me. Particularly if what I'm doing is, say, against my own state's interest. An odd and uncomfortable situation.

Exactly this - and this has been going on for decades.

Here is an early example from almost 50 years ago:

https://api.parliament.uk/historic-hansard/commons/1994/mar/...

US citizens still have certain legal and constitutional protections, though?

Not so much in the UK. Also the British parliament can legally pass pretty much any they want. British courts can only stop laws from being implemented on procedural grounds they can't challenge the actual intent the parlament had.

In a certain way British political system is highly authoritarian since the government has no oversight if they have a majority.

As we speak, US citizens are routinely being abducted in streets by immigration enforcement for whom it suffice to pretend they think you are foreigners to deprive you from your constitutional protection, some of which having been deported in foreign countries.

Not so much in the UK.

Constitutional protection are only as protective as they are enforced, which is not a lot under the current regime unfortunately.

Yes, but the ECHR is incorporated into UK law which provides the equivalent of constitutional protections, as would ECHR/council of Europe members hip without that, although it would require an appeal to ECtHR if it was not directly incorporated.
Five eyes has grown to fourteen since the phrase was coined FWIW
This is not true. Most signals intelligence is automatically shared and accessible among the members of FVEY. Though there are close relationships between the US and various European countries, none of them have close to the amount of access of those in the "five eyes" agreement.
Let's pretend I don't know why the US is worse (I legit don't) and maybe you can explain it to me.
Snowden leaks
There are vast tracts of the US in which you can be reasonably assured of no physical surveillance whatsoever, unless you attract nation state level attention, simply due to population density being too low to support surveillance state infrastructure.
Your phone and any Internet connection and connected devices provide vast amounts of information.

I'm not sure what you mean by "physical surveillance" - other humans actually watching you?

ever heard of flock?
Siberia is even more remote, you could live in a yurt herding Yacks there completely out of control of the Soviet regime. Does that somehow mean the USSR wasn't a surveillance state to you ?
UK arrests more people for tweets than Russia of all places.
As stated above, most of these are for harrassment and breaches of injunctions etc which are enforced most places.

Comparing UK to Russia on this is absurd, because most people in Russia do not freely criticise their govt online for fear of repercussions. When enforcement of censorship is extrajudicial it doesn’t appear in your stats but is no less important

Why are five eyes worse than China or North Korea? Let’s not include others such as Saudi Arabia, Vietnam, or Russia.
The collectively spy on each others citizens (and foreign citizens) and share that data. (Remember, there's also Nine Eyes and Fourteen Eyes - collective intelligence spying agreements with other foreign nations).
> Why are five eyes worse than China or North Korea?

I never said they are. I'm just responding to the claim that the UK are third to NK and China, when the US are up there fighting for the top spot with China.

Cause they can arrest me and Vietnam can't
I mean for thoughtcrime arrests and lack of free speech, in addition to domestic surveillance. And have you seen how many cameras there are in London?

Australia is arguably in 4th place, but no five-eyes country is ahead of the UK on thoughtcrime arrests.

There aren't that many hate speech arrests in the UK. The statistics which purport to show that include stalking, harassment, violent threats, posts which are also illegal (and routinely enforced) in the US and elsewhere. In fact I wouldn't say there's significantly more restriction of speech overall. And polling suggests people across the political spectrum want limits on e.g. racial hatred and wouldn't prefer US-style absolutism. (This has become less 'bipartisan' as Reform voters do prefer protecting speech.)

The right to protest though has been restricted more recently. Probably less policing escalation/violence than say France, but more situations where they can legally ban protests and arrest or fine people.

The UK participates in FVEY. They share their intercepted traffic with America, and America shares their domestic backdoor access with the UK.

Efforts like MUSCULAR allegedly dwarf PRISM collection and is only possible with American cooperation: https://en.wikipedia.org/wiki/MUSCULAR

> it was a news item (not from Apple, but from industry watchers) that it wasn't available in the UK

It was available in the UK and it is still available for anyone who had it switched on before this fight with gov.uk began. Once the fight started, they stopped offering it to new users, but they never actually took it away from those who had it already.

I mean how could they.
They could just issue a software update that would make that data inaccessible. Or they could scan iCloud and delete everything they can't decrypt. Or they could delete all data from users who have ADP=true in their account.
They can push an update which uploads your device key to the cloud in the UK
This is like Telegram, where the average user thinks it's encrypted because they mention encryption in their marketing, but it only really applies to secret chats which have to be explicitly enabled and come with their own limitations.

Except secret chats still work in the UK, for now (I think)

So exactly like local disk encryption on Windows devices?

By default, Microsoft has a copy of your laptop's encryption key and will hand it over in response to a warrant.

> Microsoft Shared BitLocker Keys With FBI, Raising Privacy Fears

https://www.techrepublic.com/article/news-microsoft-bitlocke...

>By default, Microsoft has a copy of your laptop's encryption key

Calling that option "the default" is bit misleading when all the other options are presented with equal weight:

https://static0.howtogeekimages.com/wordpress/wp-content/upl...

Current versions of Windows 11 (including Home versions) encrypt your C: volume by default during setup. By default the encryption key is stored in cleartext in volume metadata until you sign in with a Microsoft account, when the key is automatically backed up to your Microsoft account, and then stored inside TPM secured by "boot attestation" and the cleartext variant is removed. (This means that the drive is automatically decrypted when Windows starts without you entering any PIN/Password, but protects the drive from being accessible when booting another OS from USB stick or taking the drive out and putting it into another computer).

Microsoft explicitly calls this feature "Device Encryption", not "BitLocker", but it uses BitLocker under the hood. This happens automatically, by default. Then, if you're on Windows 11 Pro(/Enterprise/Education/... anything but Home), you have two options to secure it more:

The first and more obvious one is to add PIN/Password, but that's only adding PIN/Password protection to the existing decryption key that's already backed up to Microsoft account if you have already logged into one.

The second is to decrypt the drive and then re-encrypt it, which prompts the screen you've shown a screenshot from, where you can choose to not back the key up to your Microsoft account.

>Current versions of Windows 11 (including Home versions) encrypt your C: volume by default during setup. By default the encryption key is stored in cleartext in volume metadata until you sign in with a Microsoft account, when the key is automatically backed up to your Microsoft account

That seems... fine? You didn't enable encryption yourself, so you don't really have any expectation your data is protected. Indeed, if you didn't sign into a microsoft, your keys would be even less safe.

>The first and more obvious one is to add PIN/Password, but that's only adding PIN/Password protection to the existing decryption key that's already backed up to Microsoft account if you have already logged into one.

No, the bitlocker design avoids this by not backing up the key used for encrypting your data. Instead it encrypts that key with another key, backs up that key, and stores the ciphertext on your hard drive. This allows you to revoke such keys without reencrypting your hard drive. The same mechanism is used for passwords as well as numeric recovery keys.

You only see this dialogue if you don't have a microsoft account set up. Having a microsoft account is the default, you have to go out of your way to not have one. I'm sure there's a way to prevent your keys from being uploaded even with an account, but it is very much the default.
Source? I don't have a microsoft account and the "save to your account" option isn't available , suggesting that the person taking the screenshot does have an account added.
> By default, Microsoft has a copy of your laptop's encryption key and will hand it over in response to a warrant.

Note that this is meanwhile proven with both of the Bitlocker exploits that Nightmare Eclipse released this year.

If you're comparing your security model to Windows, then it's already beyond hope of salvation.
> Users in the UK cannot “choose to turn on” Advanced Data Protection.

And this is Apple's fault?

I'm not sure what nuance is being argued here, but isn't it a key encrypting key. When you turn on ADP then your keychain (which only your iDevices have access to) will encrypt the encryption key for your iCloud data, and then Apple will wipe the key from their end.

When you turn off ADP then you decrypt the key and give it back to Apple which it stores on its end.

Otherwise you would have to do a song and dance of re-encrypting which is expensive to do.

> Apple will wipe the key from their end.

And if they don't, they get to keep spying on you forever....

I doubt apple let that pass design review.

How do you propose it works then?

The only other option is you client side re-encrypt all the data, which is not what happens today.

Per https://support.apple.com/en-gw/guide/security-pdf/sec973254... -

Conceptually, Advanced Data Protection is simple: All CloudKit Service keys that were generated on device and later uploaded to the available-after-authentication iCloud Hardware Security Modules (HSMs) in Apple data centers are deleted from those HSMs, and instead kept entirely within the Apple Account’s iCloud Keychain protection domain. They are handled like the existing end-to-end encrypted service keys, which means Apple can no longer read or access these keys.

Anyways, if Apple were doing something nefarious like retaining keys after it is turned on, we'd probably hear about it in court cases where LE would try to gain access to such keys and data.

I've read Apple Platform Security [0]. It's so complex I don't think anyone can make a simple statement about it. My strong impression is that the root of trust is ultimately Apple; you need to trust them.

Possibly using corporate licensing and device management you can have your own root of trust keys implemented.

A separate paper covers security for AI cloud applications, Apple Private Cloud Compute Security Guide. [1] Their commitment to privacy there is impressive.

[0] https://support.apple.com/guide/security/welcome/web

[1] https://security.apple.com/documentation/private-cloud-compu...

  > My strong impression is that the root of trust is ultimately Apple; you need to trust them.
Well, yes. They supply the OS and the CPU and the hardware security module. If they wanted add a back door, they have many other places to do it.
> My strong impression is that the root of trust is ultimately Apple; you need to trust them.

By definition. They created the hardware design which is not publicly reviewable.

You are relying on their stated design aims and descriptions of their security architecture.

They are not having a court battle with the UK government for publicity purposes, any more than they did with the US government when the FBI demanded access.

> They are not having a court battle with the UK government for publicity purposes, any more than they did with the US government when the FBI demanded access.

I'm not certain of that. Heck, if Apple wanted to help an intelligence agency then the agency would tell them, 'proceed as if you didn't provide a back door'.

> This is just not true.

> not a single open source project to backup those claims

Without source code, there is no way to prove those assumptions. Saying "this is not true" is therefore a statement in bad faith.

Remember goto SSL bug? Where all Apple platforms did not even have working SSL encryption for over 15 years, unnoticed?

If you rely on hearsay and treat it as evidence, you're up for a rough awakening. That is not how NSLs work.

Wow, QED, huh? You have to learn how to spot weasel words. Plenty of examples in those quotes from the white paper:

“many” - are keys one of the few services left out with that word?

“if” - this speaks volumes.

“most” - again, volumes. we don’t know what is left out here. Full backups, maybe?

“device-generated” - with what process? Deterministic? Which device? Even I am not paranoid enough to think the problem lies here, though, but who knows. But if you latch onto this one, it’s a red herring. The others above are enough.

>security white paper clearly states

Which you can't verify because all apple software is proprietary that could change at any time for specific user covertly. Apple's privacy and security does not amount to more than "trust me bro".

The idea that a white paper is a reason to trust what's in the soft/hardware is absurd.

"We pinky swear that..."

Lol

This is why we have reproducible builds. Until they do that, they could build in a "yo send the keys to the mothership" function easy peasy.

Taking this bullshit seriously is something we should stop doing. Guarantees or it doesn't count.

No, the whole reason Apple withdrew it from Great Britain is that it refused to weaken its security in response to the Home Office's TCN. The whole issue these articles are discussing is Apple's refusal to do exactly what you're saying. Apple clearly states otherwise (and would suffer colossal brand damage were it to lie, even amongst laymen). You are engaging in pure conjecture, and not even a very good conjecture at that, without a basis in fact. Ternus probably used the old wording because the old wording is still true. It's possible that Apple's legal team was the driving force behind the choice of wording.

Also people dig into iOS pretty regularly and it seems very, very unlikely zero security researchers would have noticed that it's a KEK. When you use an ordinary DEK you have to run decrypt(data, key). When you have a KEK you do decrypt(data, decrypt(wrapped key, kek)). Those aren't the same code.

This isn't related to the article, and it's not true? iCloud ADP still exists in its original form, there was no modification allowing 3rd parties access to ADP decryption keys.
ADP no longer exists in the UK

https://support.apple.com/en-us/122234

It still exists, but U.K. users cannot turn it on if they have not done so previously.

From your link:

> Users in the UK who have not already enabled Advanced Data Protection will no longer have the option to do so.

This is misleading. It might as well be off for all intents and purposes, just one line down it says:

"For users in the UK who already enabled Advanced Data Protection, Apple will soon provide additional guidance. Apple cannot disable ADP automatically for these users. Instead, UK users will be given a period of time to disable the feature themselves to keep using their iCloud account."

Effectively, if you have it on. You are safe FOR NOW, but you will be required to turn it off anyways. You effectively cannot have Advanced Data Protection in the UK, otherwise your Apple account is disabled.

> ADP no longer exists in the UK

Ok, this makes me wonder: were the UK users of ADP informed when ADP was pulled? Or was their data just suddenly up for grabs?

> were the UK users of ADP informed when ADP was pulled? Or was their data just suddenly up for grabs?

This wouldn't really be possible with the design of the system, and existing users retained their ADP; only the option to enable it was removed.

Apple did a _good_ job here IMO; they did not secretly backdoor anyone's data or remove protections they had promised, they just (after fighting, even!) removed the ability to enable the feature that was banned.

Apple has privileged access to most Internet connected iOS devices, via software updates. Once a user unlocks their device, a patched OS can just upload decrypted data or keys from RAM. If secrecy is not required, they can do this broadly. When secrecy is required, they can do this undetected for a single phone. They could prevent themselves from doing this with a cryptographically chained public log of binaries.
> They could prevent themselves from doing this with a cryptographically chained public log of binaries.

I do find it a bit annoying that they don’t publish one of these for system updates, since they do for cloud enclaves - it seems like a cheap feel good policy.

But, if you’re going to this level of threat modeling, I’m not sure it really matters - how would you perform both an audit of the published software and an attestation of the system in a way which assured you that your device was running what was published in the chain? You can audit iOS today by unpacking updates, and many researchers do (which also makes an existing broad backdoor of this kind somewhat unlikely). If you’re worried about personalized attacks, I believe you can also skip OTAs and only install using IPSWs, where afaik the disk images aren’t device personalized (although the tickets are). But at the end of the day any attestation feature on the device is going to run on the device, so you have to trust something.

iCloud ADP no longer exists in the UK.
It continues to exist if you already had it enabled before the change. If you disable it, however, you will not be able to re-enable it.
Well, if Apple provided the KEK to the UK government then Apple is capable of generating another KEK for its own use. That means Apple can in fact access customer data on its own, just after a couple extra steps.

(Yes it is theoretically possible to create a complex encryption scheme whereby the UK government posses the only copy of a key that is in turn needed to generated a duplicate KEK, but I find it hard to believe Apple and the UK government have organized such a dance without a simple backup for the day the magic UK key gets lost/corrupted.)

Given the legalese these extra steps are all that matters. Keep in mind that Apple could just update the software to do whatever it wants it to do, too. It's not like Apple customers are in control of what runs on their phones.
This is what it boils down to for me. Whatever Apple claims they are doing today, and even what they are actually doing today, could change tomorrow. My phone just got an iOS update overnight. Do I know what changed? No I do not.

The thing about a secret is that once someone else knows it, it's no longer a secret. It's at best a confidence.

The on-device private key material has to be a KEK anyway, otherwise it wouldn't be usable on all your iCloud-linked devices.

I still trust Apple in the USA at least. When I enrolled in advanced data protection, it did say nobody not even Apple, not just not Apple. It may be that they need to tighten their contractual language everywhere to deliver a uniformly semantic sentence.

They claim E2EE for certain services. "Your key is likely a KEK" - What makes you think this? That would straight up not be E2EE.

They're also clear that much of iCloud isn't E2EE unless you have "Advanced Data Protection": https://support.apple.com/en-us/102651

That’s not true (the first bit), but I’m a bit confused as to why OP thinks it’s problematic. Almost all modern E2EE uses envelope encryption with per-device KEKs.
Ok yeah KEK itself is fine, I meant KEK where Apple is able to make new keys like he was describing.
I think the wording should explicitly say that third parties can access your data if that is the case.
> Apple has significantly weakened its security assurances in a way that is arguably deceptive

Apple cleverly wording their marketing to make it seem like they're better than they are? That never happens

> They used to say nobody can access your data

They used to say Privacy is a Fundamental Human right. They have since toned down of this usage a lot.

Where exactly do they say this, where is this wording change?

https://support.apple.com/en-us/102651#advanced

"This specifies no one, not even apple." I.e they don't store the keys you use for e2e encryption. They've systematically been against introducing backdoors here. Now, is it possible they have and they've been lying through their teeth? Surre, but its unlikely they would be so brazen.

I think that's just for Advanced Data Protection, which apparently isn't offered in the UK. Here's what the page says about the default Standard data protection:

"Your iCloud data is encrypted, the encryption keys are secured in Apple data centers so we can help you with data recovery, and only certain data is end-to-end encrypted."

The page said standard data protection end to end encrypted certain data and advanced data protection end to end encrypted additional data. It said Apple could access other data and no one else and not even Apple could access end to end encrypted data. It did not say what natch said Apple said.
Not sure about the extent of UK investigative powers, but I would assume that FISA in the US could indeed force Apple to lie to keep a change secret.
> Not sure about the extent of UK investigative powers, but I would assume that FISA in the US could indeed force Apple to lie to keep a change secret.

Under what provision of FISA could the US government order Apple to stop doing end-to-end encryption?

* https://en.wikipedia.org/wiki/Foreign_Intelligence_Surveilla...

It's one thing to say "hand over what you have access to on user X", it's another for "re-architecture your system to break E2E".

I think we're well past assuming that laws apply to governments at this point.
> I think we're well past assuming that laws apply to governments at this point.

I'm reminded of the saying "Whether you think you can or think you can’t, you’re right."

* https://quoteinvestigator.com/2015/02/03/you-can/

How much is this 'fatalistic' attitude self-fulfilling?

Someone claims a specific law would allow the government to do a specific thing, this claim is rebutted, and then it becomes "how naive to think the law ever mattered." Just reflexive abject cynicism. No the US government isn't perfectly lawful, yes the content of the laws does nonetheless matter a whole lot. Nuance.
I believe FISA can force silence but not lies (“compelled speech”).
The legality of the FISA order to Lavabit is untested. My understanding is that that included restricting documentation changes to not reveal the key handoff.
Correct. This is why warrant canaries work.
Does FISA force silence/lies about backdoors? I am not versed in any FISA cases being tested in court against e2e practices.
It doesn't need FISA. Somehow (I have theories..) all media were prevented from disclosing Epstein information. For decades.
apple security was glazing marketing. it worked on too many marks obviously
Didn't they also deceptively say that those things that Apple cannot access only apply to local content, but if you have an iCloud backup (which pretty much anyone has), then Apple has access to that.
In the USA there is a protection for information not shared with a third party.

If one has information like an email account hosted at home it is has a different level of privacy to an email account hosted on yahoo or any other third party. How private could it be if a third party can access it.

>How private could it be if a third party can access it.

Um, mostly? On-device encrypted email bodies would make things mostly private - you still reveal who you're communicating with, I think you can fix that too.

You perhaps meant 'how private is it'?

it appears apple has done this in response to government interference which they cannot even legally disclose. what would you have apple do here?
Came to say this. It actively hurts Apple's revenue to make these changes and not be able to market themselves as privacy leaders. They wouldn't make these changes unless they had to.

It's one thing if your company never tried to be privacy-first and you went above and beyond what the government requested but there's no evidence of that here.

If Apple gave the user unconditional control of their own devices, they wouldn't be able to comply with these orders. But they never want to do this nor would the cellular providers permit this.

But I don't think we should reason based on "put yourself in mega-corp's shoes, they absolutely have to X thing". Rather, we should ask what people can do.

>If Apple gave the user unconditional control of their own devices, they wouldn't be able to comply with these orders.

They could be trivially given orders not allowing them to sell devices where users "have unconditional control" too, so it's not like that's a magic technical solution that bypasses the legal/political demands.

Unconditional control and Apple can no longer say anything about security or privacy.

Way back when we had unconditional control and security control was based on the users competency. Our connected world makes it better for most people to leave that responsibility to professionals.

Theoretically, yes. But this approach seems to work fine for PCs and many Android phones, so it's probably not that black-and-white.
A convenient excuse for those professionals to make themselves unavoidable and give themselves more power! Did you know in Australia it's illegal to do any electrical work on your own house?
Some us got bored of pulling dead DIY sparkies out of their roofs, and putting out fires.

The fall back is to do all your wiring, gas fitting, plumbing, etc yourself offline and get a contractor to visit and check out your work, test it, and sign off on it for insurance.

Never hurts to get a second opinion, and it's cheaper than having them pull everything, bend pipe, etc.

Nothing is forcing the user to use iCloud
Exit the UK market and reveal the letter in a US court.
This would be better for their UK customers how, exactly?
I contend it is better to refuse than to be complicit.
Apple leaving the UK won't go down lightly, MP's will shit themselves for real.
That brings up a good idea: they could start by exposing all iCloud documents of all MPs that voted in favour
> People will point out that your key is created on your device, lives on your device, and never leaves your device, but that is just your key. Your key is likely a KEK (key encryption key) that opens another key (not “your” key, let’s call it the actual key) that your data is secured with.

The near exact same deception has been put in place by Google/Microsoft/Apple with passkeys. It used to be, before passkeys, that people really could have a secret hidden behind an actual HSM, impossible to copy.

But they teamed to come up with passkeys that can now... Be copied from device to device. A secret, safe behind a HSM, replaced by something that can be copied.

What a win for security.

And all the idiots are cheering: "buuut buuuuuut buuuuuut it is CONVENIENT".

Yeah.