News for hackers. Stuff that matters.
Re:Apple Photos phones home on iOS 18 and macOS 15 by Msurrow on Saturday December 28, 2024 @03:36PM (#42534431)
I think it does address the main problem. What he is saying is that multiple layers of security is used to ensure (mathematically and theoretically proved) that there is no risk in sending the data, because it is encrypted and sent is such a way that apple or any third party will never be able to read/access it (again, based on theoretically provable math) . If there is no risk there is no harm, and then there is a different need for ‘by default’, opt in/out, notifications etc.

The problem with this feature is that we cannot verify that Apple’s implementation of the math is correct and without security flaws. Everyone knows there is security flaws in all software, and this implementation is not open (I.e. we cannot review the code, and even if we could review code we cannot verify that the provided code was the code used in the iOS build). So, we have to trust Apple did not make any mistakes in their implementation.

Re:Apple Photos phones home on iOS 18 and macOS 15 by Gabriel54 on Saturday December 28, 2024 @03:56PM (#42534654)
As someone with a background in mathematics I appreciate your point about cryptography. That said, there is no guarantee that any particular implementation of a secure theoretical algorithm is actually secure.
Re:Apple Photos phones home on iOS 18 and macOS 15 by threeseed on Saturday December 28, 2024 @05:39PM (#42535464)
There is also no guarantee that Apple isn't lying about everything.

They could just have the OS batch uploads until a later point e.g. when the phone checks for updates.

The point is that this is all about risk mitigation not elimination.

Re:Apple Photos phones home on iOS 18 and macOS 15 by fijiaarone on Saturday December 28, 2024 @07:25PM (#42536204)
I’m stealing your information.

Hey! That’s wrong.

But I promise I won’t do anything wrong with it.

Well ok then.

Re:Apple Photos phones home on iOS 18 and macOS 15 by bolognafairy on Saturday December 28, 2024 @08:18PM (#42536509)
This is still a very dishonest representation of what’s actually happening.
Re:Apple Photos phones home on iOS 18 and macOS 15 by dylan604 on Saturday December 28, 2024 @06:41PM (#42535921)
> There is also no guarantee that Apple isn't lying about everything.

Other than their entire reputation

Re:Apple Photos phones home on iOS 18 and macOS 15 by echelon on Saturday December 28, 2024 @06:48PM (#42535979)
Maybe your threat model can tolerate an "oopsie woopsie". Politically exposed persons probably cannot.
Re:Apple Photos phones home on iOS 18 and macOS 15 by parasubvert on Saturday December 28, 2024 @07:13PM (#42536141)
If you don't personally write the software stack on your devices, at some point you have to trust a third party.
Re:Apple Photos phones home on iOS 18 and macOS 15 by freedomben on Saturday December 28, 2024 @07:53PM (#42536368)
Agreed, but surely you see a difference between an open source implementation that is out for audit by anyone, and a closed source implementation that is kept under lock & key? They could both be compromised intentionally or unintentionally, but IMHO one shows a lot more good faith than the other.
Re:Apple Photos phones home on iOS 18 and macOS 15 by bolognafairy on Saturday December 28, 2024 @08:20PM (#42536524)
No. That’s your bias as a nerd. There are countless well-publicised examples of ‘many eyeballs’ not being remotely as effective as nerds make it out to be.
Re:Apple Photos phones home on iOS 18 and macOS 15 by jrvieira on Saturday December 28, 2024 @09:23PM (#42536869)
can you provide a relevant example for this context?
Re:Apple Photos phones home on iOS 18 and macOS 15 by dylan604 on Saturday December 28, 2024 @09:32PM (#42536917)
How long did the log4j exist?

https://www.csoonline.com/article/571797/the-apache-log4j-vu...

What was the other package that had the mysterious .?

Re:Apple Photos phones home on iOS 18 and macOS 15 by timschmidt on Saturday December 28, 2024 @11:11PM (#42537453)
And yet they were found. How many such exploits lurk unexamined in proprietary codebases?
Re:Apple Photos phones home on iOS 18 and macOS 15 by dylan604 on Saturday December 28, 2024 @11:47PM (#42537605)
yet you say this like Apple or Google or Microsoft has never released an update to address a security vuln
Re:Apple Photos phones home on iOS 18 and macOS 15 by timschmidt on Sunday December 29, 2024 @02:22AM (#42538309)
Apple[1], Google[2], and Microsoft[3] you say?

You say this as if being shamed into patching the occasional vuln is equivalent to security best practices.

Open code which can be independently audited is only a baseline for trustworthy code. A baseline none of those three meet. And one which by itself is insufficient to counter a reflections on trusting trust style attack. For that you need open code, diverse open build toolchains, and reproducible builds. None of which is being done by those three.

Are you getting your ideas about security from the marketing department?

1: https://arstechnica.com/security/2024/03/hackers-can-extract... 2: https://www.wired.com/story/google-android-pixel-showcase-vu... 3: https://blog.morphisec.com/5-ntlm-vulnerabilities-unpatched-...

Re:Apple Photos phones home on iOS 18 and macOS 15 by dylan604 on Sunday December 29, 2024 @11:10AM (#42540788)
Go ahead and put that cup of kool-aid down for a minute. There are so so many OSS packages out there that have never been audited? Why not? Because people have better things to do. How many packages have you audited? Personally, I don't have the skillz to do that. The people that do expect to be compensated for their efforts. That's why so many OSS packges have vulns that go unnoticed until after they are exploited, which is the same thing as closed source.

OSS is not the panacea that everyone touts it to be.

Re:Apple Photos phones home on iOS 18 and macOS 15 by timschmidt on Sunday December 29, 2024 @03:56PM (#42543015)
> There are so so many OSS packages out there that have never been audited? Why not? Because people have better things to do.

I'm not aware of any major open source projects that haven't experienced some level of auditing. Coverity alone scans everything you're likely to find in a distribution like Debian or Fedora: https://scan.coverity.com/o/oss_success_stories

> How many packages have you audited?

Several on which I depend. And I'm just one pair of eyeballs.

> Personally, I don't have the skillz to do that.

Then why are you commenting about it?

> OSS is not the panacea that everyone touts it to be.

I don't know who's touting is as a panacea, seems like a strawman you've erected. It's a necessary pre-requisite without which best practices aren't possible or verifiable.

Re:Apple Photos phones home on iOS 18 and macOS 15 by hn3er1q on Sunday December 29, 2024 @01:52AM (#42538173)
That was an entire body of research at the University of Minnesota and the “hypocrite commits” weren’t found until the authors pointed people to them.

https://www.theverge.com/2021/4/30/22410164/linux-kernel-uni...

Re:Apple Photos phones home on iOS 18 and macOS 15 by beeflet on Sunday December 29, 2024 @12:52AM (#42537915)
The developer-to-user trust required in the context of open-source software is substantially less than in proprietary software. this much is evident.
Re:Apple Photos phones home on iOS 18 and macOS 15 by lispm on Wednesday January 01, 2025 @05:36PM (#42569884)
I would trust a company more if their random features sending data are opt-in.

A non-advertized feature, which is not independently verified, which about image contents? I would be prefer independent verification of their claims.

Re:Apple Photos phones home on iOS 18 and macOS 15 by lispm on Wednesday January 01, 2025 @05:40PM (#42569905)
A reputation has to be earned again and again.
Re:Apple Photos phones home on iOS 18 and macOS 15 by kalleboo on Saturday December 28, 2024 @09:39PM (#42536950)
> There is also no guarantee that Apple isn't lying about everything.

And at that point all the opt-in dialogs in the world don't matter and you should not be running iOS but building some custom Android ROM from scratch.

Re:Apple Photos phones home on iOS 18 and macOS 15 by latexr on Saturday December 28, 2024 @03:42PM (#42534508)
Your second paragraph is exactly the point made in the article as the reason why it should be an informed choice and not something on by default.
Re:Apple Photos phones home on iOS 18 and macOS 15 by Gigachad on Sunday December 29, 2024 @03:33AM (#42538560)
If you don’t trust Apple to do what they say they do, you should throw your phone in the bin because it has total control here and could still be sending your data even if you opt out.
Re:Apple Photos phones home on iOS 18 and macOS 15 by chikere232 on Sunday December 29, 2024 @03:53AM (#42538643)
Oh yeah, the well known "blind trust" model of security. Never verify any claims of any vendor! If you don't trust them, why did you buy from them?!
Re:Apple Photos phones home on iOS 18 and macOS 15 by latexr on Sunday December 29, 2024 @04:56AM (#42538940)
Bugs have nothing to do with trust. You can believe completely that someone’s intentions are pure and still get screwed by their mistake.
Re:Apple Photos phones home on iOS 18 and macOS 15 by nox101 on Saturday December 28, 2024 @06:06PM (#42535657)
Except for the fact (?) that quantum computers will break this encryption so if you wanted to you could horde the data and just wait a few years and then decrypt?
Re:Apple Photos phones home on iOS 18 and macOS 15 by NavinF on Saturday December 28, 2024 @06:10PM (#42535684)
Quantum computers don't break Differential Privacy. Read the toy example at https://security.googleblog.com/2014/10/learning-statistics-...

>Let’s say you wanted to count how many of your online friends were dogs, while respecting the maxim that, on the Internet, nobody should know you’re a dog. To do this, you could ask each friend to answer the question “Are you a dog?” in the following way. Each friend should flip a coin in secret, and answer the question truthfully if the coin came up heads; but, if the coin came up tails, that friend should always say “Yes” regardless. Then you could get a good estimate of the true count from the greater-than-half fraction of your friends that answered “Yes”. However, you still wouldn’t know which of your friends was a dog: each answer “Yes” would most likely be due to that friend’s coin flip coming up tails.

Re:Apple Photos phones home on iOS 18 and macOS 15 by throw0101d on Saturday December 28, 2024 @06:15PM (#42535714)
> Except for the fact (?) that quantum computers will break this encryption […]

Quantum computers will make breaking RSA and Diff-Hellman public key encryption easier. They will not effect things like AES, nor things like hashing:

> Client side vectorization: the photo is processed locally, preparing a non-reversible vector representation before sending (think semantic hash).

And for RSA and DH, there are algorithms being deployed to deal with that:

* https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...

Re:Apple Photos phones home on iOS 18 and macOS 15 by fragmede on Saturday December 28, 2024 @09:48PM (#42536993)
Quantum computers don't and won't meaningfully exist for a while, and once they do exist, they still won't be able to crack it. Quantum computers aren't this magical "the end is nigh" gotcha to everything and unless you're that deep into the subject, the bigger question you've got to ask yourself is why is a magic future technology so important to you that you just had to post your comment?

Anyway, back to the subject at hand; here's Apple on that subject:

> We use BFV parameters that achieve post-quantum 128-bit security, meaning they provide strong security against both classical and potential future quantum attacks

https://machinelearning.apple.com/research/homomorphic-encry...

https://security.apple.com/blog/imessage-pq3/

Re:Apple Photos phones home on iOS 18 and macOS 15 by emchammer on Saturday December 28, 2024 @07:01PM (#42536070)
Hypothetical scenario: Theo de Raadt and Bruce Schneier are hired to bring Apple products up to their security standards. They are given a public blog, and they are not required to sign an NDA. They fix every last vulnerability in the architecture. Vladimir Putin can buy MacBooks for himself and his generals in Moscow, enable Advanced Data Protection, and collaborate on war plans in total confidence.

Where are the boundaries in this scenario?

Re:Apple Photos phones home on iOS 18 and macOS 15 by saurik on Saturday December 28, 2024 @08:14PM (#42536479)
I am pretty sure that if we had those people in charge of stuff like this there would be no bar above which "opt in by default" would happen, so I am unsure of your point?
Re:Apple Photos phones home on iOS 18 and macOS 15 by astrange on Saturday December 28, 2024 @10:01PM (#42537067)
Theo de Raadt is less competent than Apple's security team (and its external researchers). The main thing OpenBSD is known for among security people is adding random mitigations that don't do anything because they thought them up without talking to anyone in the industry.
Re:Apple Photos phones home on iOS 18 and macOS 15 by saagarjha on Monday December 30, 2024 @04:13AM (#42547776)
I mean half the reason the mitigations don't do anything is that nobody actually cares to target OpenBSD
Re:Apple Photos phones home on iOS 18 and macOS 15 by stevenAthompson on Saturday December 28, 2024 @11:32PM (#42537531)
Freedom of speech can not exist without private communications. It is an inalieanable right, therefore privacy is as well.
Re:Apple Photos phones home on iOS 18 and macOS 15 by fragmede on Saturday December 28, 2024 @09:48PM (#42536997)
You're welcome to check their implementation yourself:

https://github.com/apple/swift-homomorphic-encryption