News for hackers. Stuff that matters.
Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Monday June 10, 2024 @04:36PM (#40638688)
"We make the hardware and we pinky promise that we will protect your data and will open source part of it" means nothing for privacy. Especially when things like warrants come into play.
Re:Apple Intelligence for iPhone, iPad, and Mac by theshrike79 on Monday June 10, 2024 @05:07PM (#40639107)
If we can't trust independent audits of code and hardware, what can we trust?
Re:Apple Intelligence for iPhone, iPad, and Mac by l33tman on Monday June 10, 2024 @06:54PM (#40640211)
I think it boils down to that it doesn't matter what they promise, if you send a videocap of all you ever do on your computer to some company on the internet, you just have to take your chances. Would you put mics and cameras in all of your rooms in your home that send data to Apple (or someone else) to analyze "for your benefit" even if they say and promise they won't do anything bad with the feeds?

At least with gmail and chat clients etc. things are somewhat put in compartments, one of the services might screw up and do something with your emails but your Messenger or WhatsApp chats are not affected by that, or vice versa. But when you bake it into the OS (laptop or phone) you're IMHO taking a much bigger risk, no matter what the intentions are.

Re:Apple Intelligence for iPhone, iPad, and Mac by simondotau on Monday June 10, 2024 @09:36PM (#40641344)
There is nothing which Apple Intelligence can do that a hypothetically evil Apple couldn't have done before, given sufficiently treacherous code in their operating systems. Thus if you use an Apple device, you're already trusting Apple to not betray you. These new features don't increase the number of entities one must place their trust in.

Whereas with apps like Gmail and WhatsApp on an iPhone, you must trust Google and Meta in addition to Apple, not in place of Apple. It doesn't distribute who you trust, it multiplies it.

Re:Apple Intelligence for iPhone, iPad, and Mac by l33tman on Tuesday June 11, 2024 @05:16AM (#40644137)
I still think it's a big difference between trusting existing OS'es and apps, which are under scrutiny by hundreds of security researchers and thousands of security nerds all the time, and willingly sending away all your data to a party who promises they will treat it well (I know it doesn't work like this in this case, but just for the sake of argument).

In essence, what you're doing is training an assistant to learn all of your details of your life and habits and the question is if that "assistant" is really secure forever. Taken to the extreme, the assistant becomes a sort of "backup" of yourself. But yeah it's an individual decision with the pro's and con's of this.

Re:Apple Intelligence for iPhone, iPad, and Mac by simondotau on Wednesday June 12, 2024 @05:21AM (#40656143)
If you were already in on iCloud, that one residual distinction is moot.
Re:Apple Intelligence for iPhone, iPad, and Mac by ENGNR on Monday June 10, 2024 @06:22PM (#40639890)
Open code, inspected and used by a large number of users, hosted on hardware you physically control
Re:Apple Intelligence for iPhone, iPad, and Mac by threeseed on Monday June 10, 2024 @07:06PM (#40640315)
Most open source code isn't inspected though.

There have been many cases recently of compromised code being in the wild for quite some time and then only known about by accident.

Re:Apple Intelligence for iPhone, iPad, and Mac by spywaregorilla on Monday June 10, 2024 @07:32PM (#40640549)
100% of closed code is not inspected
Re:Apple Intelligence for iPhone, iPad, and Mac by sodality2 on Monday June 10, 2024 @08:13PM (#40640825)
By you. Three comments above references "independent audits". Meaning professional cybersecurity firms
Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Tuesday June 11, 2024 @02:22AM (#40643117)
From. what I can tell, Apple doesn't actually provide the source code itself, or provides the (cryptographically verified) binaries and VMs to run it. Reverse engineering will still need to take place, it seems.
Re:Apple Intelligence for iPhone, iPad, and Mac by theshrike79 on Tuesday June 11, 2024 @12:25AM (#40642319)
I have been involved in security audits for 110% closed code, code that's secret even within the company.

Auditing helps the company writing it, the auditors are usually experts in breaking stuff in fun ways, and it's good for business - we could slap "code security audited by XXX" on the sales pitch.

Re:Apple Intelligence for iPhone, iPad, and Mac by spywaregorilla on Tuesday June 11, 2024 @10:37AM (#40646668)
> and it's good for business - we could slap "code security audited by XXX" on the sales pitch.

You're on the precipice of discovering the problem of incentives when it comes to audits.

Audits are good, but they're inferior to source available

Re:Apple Intelligence for iPhone, iPad, and Mac by ryr11 on Monday June 10, 2024 @06:40PM (#40640078)
I think that's fair, but impractical for most users. I have a number of Home Assistant integrations with locally hosted AI models for smart home features, but I wouldn't expect my grandma to set up a server and a few VMs when she could just give her HomePod a prompt that works with AI and have no worries about the implementation. Do you feel like Apple's "independent" auditing is insufficient?
Re:Apple Intelligence for iPhone, iPad, and Mac by ENGNR on Monday June 10, 2024 @06:44PM (#40640118)
> Do you feel like Apple's "independent" auditing is insufficient?

Yeah, pretty much

Also, your grandma might not setup a VM, but it sounds like the off-device processing is essentially stateless, or at most might have a very lightweight session. It seems like the kind of thing one person could setup for their family (with the same tamper-proof signatures, plus physical security), or provide a privacy focused appliance for anyone to just plug into a wall, if they wanted to.

Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Monday June 10, 2024 @05:21PM (#40639265)
I will trust independent audits of local code and local hardware. There are still plenty of opportunities for someone to send out malicious patches, but the code running can (and probably will) be analysed by journalists looking for a scoop and security researchers looking for a bug bounty.

I have no idea what code is running on a server I can't access. I can't exactly go SSH into siri.apple.com and match checksums. Knowing Apple's control freak attitude, I very much doubt any researcher permitted to look at their servers is going to be very independent either.

Apple is just as privacy friendly as ChatGPT or Gemini. That's not necessarily a bad thing! AI requires feeding lots of data into the cloud, that's how it works. Trying to sell their service as anything more than that is disingenuous, though.

Re:Apple Intelligence for iPhone, iPad, and Mac by BlobberSnobber on Monday June 10, 2024 @06:18PM (#40639860)
Exactly, Apple has barely any oversight or accountability for their privacy claims. Sad to see so many people taking their word at face value.
Re:Apple Intelligence for iPhone, iPad, and Mac by ReverseCold on Monday June 10, 2024 @05:43PM (#40639518)
> I have no idea what code is running on a server I can't access.

That's like... the whole point? You have some kind of hardware-based measured boot thing that can provide a cryptographic attestation that the code it's running is the same as the code that's been reviewed by an independent auditor. If the auditor confirms that the data isn't being stored, just processed and thrown away, that's almost as good as on-device compute for 99.999% of users. (On-device compute can also be backdoored, so you have to trust this even in the case that everything is local.)

The presentation was fairly detail-light so I don't know if this is actually what they're doing, but it's nice to see some effort in this direction.

E: I roughly agree with this comment (https://news.ycombinator.com/item?id=40638740) later down the thread -- what exactly the auditors are verifying is the key important bit.

Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Tuesday June 11, 2024 @02:30AM (#40643176)
I do like Apple's attempts to make this stuff better for privacy, but a pinky promise not to leak any information is still just that.

Apple has developed some of the strongest anti tampering compute on existence to prevent people from running code they don't want on hardware they produce. However, that protection is pretty useless when it comes to protection from Apple. They have the means to bypass any layer of protection they've built into their hardware.

It all depends on what kind of auditing Apple will allow. If Apple allows anyone to run this stuff on any Mac, with source or at least symbols available, I'll give it the benefit of the doubt. If Apple comes up with NDAs and limited access, I won't trust them at all.

Re:Apple Intelligence for iPhone, iPad, and Mac by subjectsigma on Monday June 10, 2024 @06:22PM (#40639894)
Isn’t this basically what Signal does? Legitimately asking; I thought parts of their server implementation were closed source.
Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Tuesday June 11, 2024 @02:34AM (#40643196)
I don't think so. Signal regularly stops committing code to the public repos (https://github.com/signalapp/Signal-Server) when they're working on some kind of big reveal (cryptocurrency integration and such), but the server code is out there for you to run yourself.

Signal has the added benefit that it doesn't need to read what's in the messages you send. It needs some very basic routing information and the rest can be encrypted end to end. With AI stuff, the contents need to be decrypted in the cloud, so the end-to-end protections don't apply.

Re:Apple Intelligence for iPhone, iPad, and Mac by subjectsigma on Tuesday June 11, 2024 @08:00PM (#40653067)
I meant more regarding their server setup but now that I think about it you are correct, it matters a lot more if the query/message/whatever isn’t encrypted before hitting the cloud.
Re:Apple Intelligence for iPhone, iPad, and Mac by dudus on Monday June 10, 2024 @04:51PM (#40638899)
It's a big mental gymnastics to do the same as Google and Microsoft while claiming moral superiority.

Apple's thrown stones come back to hunt their glass ceiling.

Re:Apple Intelligence for iPhone, iPad, and Mac by cyberpunk on Monday June 10, 2024 @05:16PM (#40639209)
Eh with modern processor features like secure enclaves it's definitely possible to build systems in which the operators CANNOT access the information. (I worked on such a system using SGX for a large car producer, even physical access to the machines/hypervisors/raw memory would not give you access, perhaps the nsa has some keys baked in to extract a session key you may generate inside an enclave, but it would be very surprising if they burned that backdoor on anything as low fruit as this).
Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Monday June 10, 2024 @05:25PM (#40639321)
SGX has been broken by speculative execution bugs, though. Had something to do with people extracting DRM keys, if I recall correctly, not exactly a nation state attack. Since then, SGX has been removed from modern Intel processors (breaking some Blurays and software products for newer chips in the process).

Secure enclave stuff can be used to build a trust relationship if it's designed well, but Apple is the party hosting the service and the one burning the private keys into the chip.

Re:Apple Intelligence for iPhone, iPad, and Mac by cyberpunk on Monday June 10, 2024 @05:35PM (#40639428)
Yep, it was broken a few times but fixed with microcode patches (afaik). It's still a part of the server processors and in wide use already. I'm not saying it's a golden bullet or otherwise infallable, but it sure beats cat /dev/mem by quite some way.
Re:Apple Intelligence for iPhone, iPad, and Mac by bpye on Monday June 10, 2024 @08:51PM (#40641064)
If you produce the hardware you necessarily have access to the signing key to say update the microcode or the firmware. Intel is in the TCB for SGX, but your cloud operator wouldn’t be. In this case Apple is both the hardware manufacturer and the operator.
Re:Apple Intelligence for iPhone, iPad, and Mac by axoltl on Monday June 10, 2024 @09:31PM (#40641314)
How would a warrant work in this case? Using Silicon Data Protection[0] the hash of the currently running firmware (of both the AP _and_ the SEP) is locked into hardware registers in the PKA engine used by the SEP. This hash perturbs the key derivation, and the PKA engine can also attest to the running firmware hash(es) by using an EC key only available to it (they call this BAA, Basic Attestation Authority).

iOS won't send any data to a PCC that isn't running a firmware that's been made public in their transparency logs and compute nodes have no way to be debugged in a way that exposes user data[1]

And at the end of the day, this is going to give the warrant holder a handful of requests from a specific user? Why wouldn't they use that same warrant to get onto the target's device directly and get that same data plus a ton more?

0: https://help.apple.com/pdf/security/en_US/apple-platform-sec... 1: https://security.apple.com/blog/private-cloud-compute/

Re:Apple Intelligence for iPhone, iPad, and Mac by jeroenhd on Tuesday June 11, 2024 @02:18AM (#40643079)
Apple controls the hardware and the private keys baked into the hardware. If one of their servers can decrypt the payload, they can intercept, duplicate, and decrypt the payload and its response. I'm sure this'll start a long fight between law enforcement and Apple after the first warrant hits and Apple claims it can't comply.

Warrants to hack devices are a lot less common and generally harder to obtain. That's why police will send Google warrants for "give us info on every device who has been in a radius of x between y and z time".

I'm sure Apple did their very best to protect their users, but I don't think their very best is good enough to warrant this kind of trust. A "secure cloud" solution will also tempt future projects to use the cloud over local processing more, as cloud processing is now readily available. Apple's local processing is a major advantage over the competition but I doubt that'll stay that way if their cloud solution remains this integrated.

Re:Apple Intelligence for iPhone, iPad, and Mac by axoltl on Tuesday June 11, 2024 @10:34AM (#40646635)
Apple actually does not control the private keys baked into the hardware, see the "Root Cryptographic Keys" section of their security whitepaper: https://help.apple.com/pdf/security/en_US/apple-platform-sec...

Your example indicates a situation where law enforcement does not know which device belongs to their suspect, if they even have one. That's a very different scenario from a targeted "tell us the requests belonging to this individual".

Warrants to search a device are extremely common place, otherwise the likes of Grayshift and Cellebrite would not be around.

From a threat modeling perspective compromising PCC is high risk (Apple's not just going to comply and the fight will be very public, see the FBI San Bernardino fight) , high effort (Long protracted court case), low reward (I only see requests that are going to get shipped off to the cloud). If I were law enforcement I'd explore every other avenue available to me before I go down that particular rabbit hole which is exactly what this design is intended to achieve.