News for hackers. Stuff that matters.
Re:Hash collision in Apple NeuralHash model by Grustaf on Wednesday August 18, 2021 @09:14AM (#28220546)
How likely is it that you will have enough colliding images in your photo library to even trigger a review?

I'm guessing you need at least 5 images, perhaps much more, to trigger it. In any case, 1 image is definitely not enough.

Re:Hash collision in Apple NeuralHash model by sandworm101 on Wednesday August 18, 2021 @09:22AM (#28220614)
For a normal random person, a grey man. In the real world, a single collision could be enough for the police to acquire further access to people they are already looking at. If the police want access to your phone for other reasons (drugs, taxes, illegal speech) they can use that one collision to get a warrant which will give them greater access.

It is akin to cops wanting to search a car. They don't need a warrant. They only need to follow the car until it breaks any number of traffic laws. Then the resulting traffic stops lets them talk to the driver, who seems evasive, which gives them probable cause, which gets them a warrant to perform a full search. The accidental collision, week evidence of an offending image on the phone, opens the door to whatever other investigation they want to do.

Re:Hash collision in Apple NeuralHash model by merpnderp on Wednesday August 18, 2021 @10:22AM (#28221314)
Isn't Apple seeding their database with fake hits so that a court can't order them to turn over everyone who's just a few shy of Apple's threshold? So when this database leaks, won't there be a lot of people accused of horrific crimes simply because Apple seeded their database with random hits?

Why would people pay a company to falsely accuse them of horrific crimes?

Re:Hash collision in Apple NeuralHash model by JKCalhoun on Wednesday August 18, 2021 @10:35AM (#28221524)
Since, as I have read, Microsoft and Google already do this, where are all the illicit cop take-downs? I have not heard of any.
Re:Hash collision in Apple NeuralHash model by sandworm101 on Wednesday August 18, 2021 @10:55AM (#28221871)
They are scanning images on online accounts, stuff that is stored on their systems and system files on machines (files they own). They are not, from what I have read, scanning customer-owned images stored on customer-owned devices.
Re:Hash collision in Apple NeuralHash model by snowwrestler on Wednesday August 18, 2021 @11:06AM (#28222093)
Every AV (antivirus) software system scans customer-owned files on customer-owned devices. So the question is the same: if it’s easy for law enforcement to deputize such a system, where is the flood of cases built off of evidence gathered this way?
Re:Hash collision in Apple NeuralHash model by moe on Wednesday August 18, 2021 @11:57AM (#28223095)
I feel like you are both chasing red herrings.

This is not about child porn nor about what AV software can or cannot do.

It's about normalising mass surveillance and implementing populace control. They don't want another Snowden to scare the public with reports about "backdoors" and mass privacy violations.

They want the coming generation to perceive it as normal. Because all phones do it, hasn't it always been this way, and think of the children.

Oh, these dissidents in $distant_country that will be muted and killed using Apple's shiny surveillance tech? Well, evil governments do what they do. But we are not like that. Over here it is only about the child predators. Trust us.

Apple has been an opponent of these developments for decades. Now they are spearheading it.

Re:Hash collision in Apple NeuralHash model by sandworm101 on Wednesday August 18, 2021 @11:24AM (#28222461)
>> Every AV (antivirus) software system

Mine doesn't. If Ubuntu or ClamAV is scanning all my photos and reporting the results to Canonical against my will then I will soon be having words with Mr. Linus.

Re:Hash collision in Apple NeuralHash model by snowwrestler on Wednesday August 18, 2021 @11:42AM (#28222835)
If law enforcement can force software companies to adapt their software to serve law enforcement purposes, why aren’t Ubuntu or ClamAV doing so already? What makes them better at resisting requests from law enforcement than Apple?
Re:Hash collision in Apple NeuralHash model by sandworm101 on Wednesday August 18, 2021 @01:14PM (#28224284)
>> why aren’t Ubuntu or ClamAV doing so already?

Because if some local police agency like the FBI were altering code on an open source project as large as ubuntu then the world would know about it pretty quickly. The linux community would burn every bridge with Canonical and ubuntu would disappear overnight. The idea of the FBI adding malware to ubuntu unnoticed, malware that openly scans files and reports to remote servers, is the stuff of comic books.

Re:Hash collision in Apple NeuralHash model by MichaelGroves on Wednesday August 18, 2021 @12:41PM (#28223736)
Canonical and ClamAV aren't trying to curry favor with the US government to stave off antitrust action.
Re:Hash collision in Apple NeuralHash model by jasamer on Wednesday August 18, 2021 @12:27PM (#28223543)
Apples solution only scans photos that will be uploaded, and the results of the scan require a server side to be evaluated. The client does not know whether a match occurred.
Re:Hash collision in Apple NeuralHash model by Grustaf on Wednesday August 18, 2021 @09:25AM (#28220644)
I'm not sure what you mean. If we are talking about Apple's new feature, they will not even be alerted until you have enough matches.

And the police probably won't be using any neural hashes if they have access to your device, so I'm not sure what you are talking about.

Re:Hash collision in Apple NeuralHash model by sandworm101 on Wednesday August 18, 2021 @09:28AM (#28220678)
That is an Apple current policy, not any sort of law. If the FBI wants to know if there are any collisions on a particular phone, that will be shared. If the FBI wants to know of all single collisions, that too must be shared. A corporation's internal policy decisions are nothing when faced with a government official carrying a warrant. If they have data indicating possible crimes, no matter how small, they can be forced to divulge it to investigators.

Unlike Lavabit, I don't think Apple will ever close up shop to protect customer data.

Re:Hash collision in Apple NeuralHash model by Grustaf on Wednesday August 18, 2021 @09:32AM (#28220719)
Well of course if you believe that FBI can ask Apple to share anything and they will agree, and not tell us, then what is even the point of this discussion? Then they already have access to every photo, every email, every text. Because Apple controls those apps on your phone.
Re:Hash collision in Apple NeuralHash model by fsflover on Wednesday August 18, 2021 @12:25PM (#28223516)
The difference is that now they confirmed that they do search your private images.
Re:Hash collision in Apple NeuralHash model by Grustaf on Wednesday August 18, 2021 @07:22PM (#28228451)
Why would that make it any likelier that they are also secretly searching your files, with another method? Seems completely orthogonal to me.
Re:Hash collision in Apple NeuralHash model by fsflover on Thursday August 19, 2021 @12:42PM (#28236057)
They showed that they are willing to do it in one case. Why not in other cases?
Re:Hash collision in Apple NeuralHash model by jasamer on Wednesday August 18, 2021 @12:22PM (#28223480)
I thought the system is designed such that the threshold must be met to check the matches, i.e. it’s not possible to follow the FBIs request without changing the entire system.
Re:Hash collision in Apple NeuralHash model by brokenmachine on Wednesday August 18, 2021 @09:44PM (#28229408)
int matchThreshold = 30;

if (numMatches > matchThreshold) { snitch(customer) && customer.life.ruin() }

Re:Hash collision in Apple NeuralHash model by gorbachev on Wednesday August 18, 2021 @10:15AM (#28221196)
For individual users the risk is very small, but when you have a billion users the chances of innocent people being caught up is pretty much 100%.

Platform owners like Google, Apple, Twitter and Facebook should really keep stuff like that in mind when they deploy algorithmic solutions like this.

Like dhosek said, the manual review step should reduce the risk quite a bit, though.

Re:Hash collision in Apple NeuralHash model by Grustaf on Wednesday August 18, 2021 @10:28AM (#28221404)
They did keep it in mind, that's why they require 30 matches, which gets the false positive rate down to 1 in a trillion per year, so on average it will happen about 1 per millennium, given a billion users.

So that's per photo library, not per photo. The rate per photo in their testing was 3 in 100 million, then they added a 30x safety margin and assumed it's actually 1 in a million.

https://www.zdnet.com/article/apple-to-tune-csam-system-to-k...

Re:Hash collision in Apple NeuralHash model by JKCalhoun on Wednesday August 18, 2021 @10:33AM (#28221479)
Not sure why the downvotes. You are absolutely correct that a threshold in the number of positives (false or otherwise) must be met.

To be fair though we do not know what the threshold is. But I would guess even higher than 5 — I would presume 12 or more.

I'm no criminologist (IANAC) but when you read about someone getting busted with child pornography they have hundreds or thousand of images — not one, not five. They're "trading cards" for these creeps.

Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:46PM (#28226880)
Apple says they expect to use 30 as the threshold.
Re:Hash collision in Apple NeuralHash model by dhosek on Wednesday August 18, 2021 @09:47AM (#28220867)
Apple has publicly stated 30. Plus, there would be a manual review of the images before forwarding to law enforcement. I don't see this collision attack leading to innocent people being handed over to the police. The worst-case (best-case?) scenario is that Apple gives up on the whole hashing system and then there will be zero chance of there ever being end-to-end encryption of photos in iCloud.
Re:Hash collision in Apple NeuralHash model by floatingatoll on Wednesday August 18, 2021 @10:52AM (#28221818)
I saw 30 mentioned somewhere, and I think that’s a more likely guess than 5. When men have a porn collection, it rarely has less than a hundred images, and so the threshold for CSAM detections can be set quite high in quantity, and enjoy a near-zero false positive rate aside from malicious hackers.

(And yes, 90% of CSAM abusers are men, so y’all will have to find some other way to weaken my argument.)