News for hackers. Stuff that matters.
Re:Hash collision in Apple NeuralHash model by Edd314159 on Wednesday August 18, 2021 @07:46AM (#28219910)
I think I am in dire need of some education here and so I have questions:

* Is this a problem with Apple's CSAM discriminator engine or with the fact that it's happening on-device?

* Would this attack not be possible if scanning was instead happening in the cloud, using the same model?

* Are other services (Google Photos, Facebook, etc.) that store photos in the cloud not doing something similar to uploaded photos, with models that may be similarly vulnerable to this attack?

I know that an argument against on-device scanning is that people don't like to feel like the device that they own is acting against them - like it's snitching on them. I can understand and actually sympathise with that argument, it feels wrong.

But we have known for a long time that computer vision can be fooled with adversarial images. What is special about this particular example? Is it only because it's specifically tricking the Apple CSAM system, which is currently a hotly-debated topic, or is there something particularly bad here, something that is not true with other CSAM "detectors"?

I genuinely don't know enough about this subject to comment with anything other than questions.

Re:Hash collision in Apple NeuralHash model by bo1024 on Wednesday August 18, 2021 @08:32AM (#28220200)
Not complete answers but background: apple’s system works by having your device create a hash of each image you have. The hash (a short hexadecimal string) is compared to a list of known CP image hashes, and if it matches, then your image is uploaded to Apple for further investigation.

A devastating scenario for such a system is if an attacker knows how to look at a hash and generate some image that matches the hash, allowing them to trigger false positives any time. That appears to be what we are witnessing.

Re:Hash collision in Apple NeuralHash model by Edd314159 on Wednesday August 18, 2021 @08:56AM (#28220399)
> A devastating scenario for such a system is if an attacker knows how to look at a hash and generate some image that matches the hash, allowing them to trigger false positives any time.

This is my understanding too. But is this not also true for other (cloud-based) CSAM scanning systems? Why is Apple's special in this regard?

Re:Hash collision in Apple NeuralHash model by nonbirithm on Wednesday August 18, 2021 @12:14PM (#28223365)
They aren't.

Apple could have saved themselves so much backlash and not have caused the outrage to be focused exclusively on them if they hadn't tried to be novel with their method of hashing, and had just announced that they were about to do exactly what all the other tech companies had already been doing for years - server side scanning.

Apple would still be accused of walking back on its claims of protecting users' privacy, but for a different reason - by trying to conform. Instead of wasting all the debate on how Apple and only Apple is violating everyone's privacy with its on-device scanning mechanism, which was without precedent, this could have been an educational experience for many people about how little privacy is valued in the cloud in general, no matter who you choose to give your data to, because there is precedent for such privacy violations that take place on the server.

Apple could have been just one of the companies in a long line of others whose data management policies would have received significant renewed attention as a result of this. Instead, everyone is focused on criticizing Apple.

There is a significant problem with people's perception of "privacy" in tech if merely moving the scan on-device causes this much backlash while those same people stayed silent during the times that Google and Facebook and the rest adopted the very same technique on the server in the past decade. Maybe if Apple had done the same, they would have been able to get away with it.

Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:20PM (#28226555)
Perception aside, Apple’s system is somewhat better for privacy, since Apple needs to access much less data server side.
Re:Hash collision in Apple NeuralHash model by floatingatoll on Wednesday August 18, 2021 @10:35AM (#28221514)
There’s a lot of overlap between Apple product buyers and “fight the thoughtcrime slippery slope” hackers. The CSAM abusers are presumably (if they’re not stupid) also fanning the flames on that slippery slope perception, because it’s to their benefit if the hackers defeat Apple.
Re:Hash collision in Apple NeuralHash model by bo1024 on Wednesday August 18, 2021 @10:48AM (#28221737)
I don't know. I don't know what other systems use, I just know what I've read recently about Apple's.
Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:20PM (#28226564)
This pretty much sums this entire drama up, I think.
Re:Hash collision in Apple NeuralHash model by rollinggoron on Wednesday August 18, 2021 @10:17AM (#28221231)
But how does this exact attack and scenario not also apply to Google, Facebook, Microsoft etc... who are also doing the same thing on their clouds servers?
Re:Hash collision in Apple NeuralHash model by bo1024 on Wednesday August 18, 2021 @10:52AM (#28221808)
I don't know what those companies do, hopefully someone who does know will chime in and answer.
Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:18PM (#28226544)
They essentially do the same, just in the cloud meaning they access all images directly.
Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:18PM (#28226536)
That’s an oversimplified and misleading description of how the system works, but ok. I recommend reading the technical description, or even the paper linked from that: https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...
Re:Hash collision in Apple NeuralHash model by fortenforge on Wednesday August 18, 2021 @02:18PM (#28225104)
No, I don't think that's what we're witnessing. No one has yet demonstrated that they can take a hash alone and produce an image that matches the hash. It's true that that would be bad, but right now you still need the original colliding image.
Re:Hash collision in Apple NeuralHash model by magpi3 on Wednesday August 18, 2021 @08:39AM (#28220244)
But how would the attacker get the generated image on a person's phone?
Re:Hash collision in Apple NeuralHash model by bo1024 on Wednesday August 18, 2021 @10:50AM (#28221787)
I didn't mean to suggest a targeted attack. If the goal is to just overwhelm Apple's system, the attacker doesn't need to target a particular phone, they just need to distribute lots of colliding images to some phones. Even their own phones, since the colliding images wouldn't be illegal.
Re:Hash collision in Apple NeuralHash model by Koffiepoeder on Wednesday August 18, 2021 @08:45AM (#28220298)
E.g. send them a whatsapp message that looks innocent
Re:Hash collision in Apple NeuralHash model by endisneigh on Wednesday August 18, 2021 @09:24AM (#28220635)
They can see the image - why would they import a random image into their library from someone they don’t know?
Re:Hash collision in Apple NeuralHash model by kemayo on Wednesday August 18, 2021 @09:58AM (#28220982)
WhatsApp has a really weird default behavior: it imports all images you're sent into your photo library.

This is a smart thing to disable, even outside this recent discussion of CSAM.

https://faq.whatsapp.com/android/how-to-stop-saving-whatsapp...

Re:Hash collision in Apple NeuralHash model by endisneigh on Wednesday August 18, 2021 @10:23AM (#28221323)
In that scenario this attack is unnecessary. Someone could just send you legitimate child pornography and then immediately tell the authorities that you possess said things.
Re:Hash collision in Apple NeuralHash model by kemayo on Wednesday August 18, 2021 @10:25AM (#28221354)
Yup! It's a legitimately crazy default.

Edit: Though, to be fair, the specific hash-collision scenario would be that someone could send you something that doesn't look like CSAM and so you wouldn't reflexively delete it.

Re:Hash collision in Apple NeuralHash model by endisneigh on Wednesday August 18, 2021 @10:28AM (#28221388)
If it doesn’t look like it wouldn’t a human reviewer disregard it once it gets to that point?

Personally I don’t really see the issue.

Re:Hash collision in Apple NeuralHash model by MisterSandman on Wednesday August 18, 2021 @10:57AM (#28221917)
We don't know how the human review is going to work. Countries with fewer resources are going to find it easier to just arrest/detain any suspects, instead of spending time and money on figuring out which reports are true.

All you have to be is accused of CP for your life to be destroyed. It doesn't matter if you did it or not.

Re:Hash collision in Apple NeuralHash model by endisneigh on Wednesday August 18, 2021 @01:20PM (#28224370)
What you’re describing is possible even if you didn’t receive anything.

If the government wants to get you they don’t need this Apple scanning tech, or anything at all really

Re:Hash collision in Apple NeuralHash model by kemayo on Wednesday August 18, 2021 @10:31AM (#28221441)
Yeah, you'd need a very specific set of processes for it to really be a problem.
Re:Hash collision in Apple NeuralHash model by Kliment on Wednesday August 18, 2021 @04:35PM (#28226757)
Whatsapp imports received images into camera roll by default, and icloud sync is on by default. So you just need to get into a WA group the victim is a member of, and have the victim use default settings.
Re:Hash collision in Apple NeuralHash model by markus92 on Wednesday August 18, 2021 @09:48AM (#28220877)
Auto import could be turned on?
Re:Hash collision in Apple NeuralHash model by gitgud on Wednesday August 18, 2021 @08:59PM (#28229149)
Basically you are right. There's nothing that special about hash collisions with image recognition.

I think this is blowing up because it's cathartic to see a technology you disagree with get undermined and basically broken by the community...