News for hackers. Stuff that matters.
Re:Hash collision in Apple NeuralHash model by falcolas on Wednesday August 18, 2021 @10:58AM (#28221931)
One does not need to reverse the CSAM hashes to find a collision with a hash. If the evaluation is being done on the phone, including identifying a hash match, the hashes must also be on the phone.
Re:Hash collision in Apple NeuralHash model by robertoandred on Wednesday August 18, 2021 @11:17AM (#28222304)
No, matches are not verified on the phone. On the phone, your image hash is used to look up an encrypted/blinded (via the server's secret key) CSAM hash. Then your image data (the hash and visual derivative) is encrypted with that encrypted/blinded hash. This encrypted payload, along with a part of your image's hash, is sent to Apple. Then on the server, Apple uses that part of your image's hash and their secret key to create a decryption key for the payload. If your image hash matches the CSAM hash, the decryption key would unlock the payload.

In addition, they payload is protected at another layer by your user key. Only with enough mash matches can Apple put together the user decryption key and open the very innards of your image's payload containing the full hash and visual derivative.

Re:Hash collision in Apple NeuralHash model by falcolas on Wednesday August 18, 2021 @11:27AM (#28222520)
To quote a sibling comment, who looked into the horses' mouth:

> Apple’s method of detecting known CSAM is designed with user privacy in mind. Instead of scanning images in the cloud, the system performs on-device matching using a database of known CSAM image hashes provided by NCMEC and other child-safety organizations. Apple further transforms this database into an unreadable set of hashes, which is securely stored on users’ devices.

https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...

Re:Hash collision in Apple NeuralHash model by mannerheim on Wednesday August 18, 2021 @11:02AM (#28222014)
I believe the hash comparisons are made on Apple's end. Then the only way to get hashes will be a data breach on Apple's end (unlikely but not impossible) or generating it from known CSAM material.
Re:Hash collision in Apple NeuralHash model by falcolas on Wednesday August 18, 2021 @11:04AM (#28222062)
That's not what Apple's plans state. The comparisons are done on phone, and are only escalated to Apple if there are more than N hash matches, at which point they are supposedly reviewed by Apple employees/contractors.

Otherwise, they'd just keep doing it on the material that's actually uploaded.

Re:Hash collision in Apple NeuralHash model by mannerheim on Wednesday August 18, 2021 @11:16AM (#28222288)
Ah, never mind, you're right:

> Apple’s method of detecting known CSAM is designed with user privacy in mind. Instead of scanning images in the cloud, the system performs on-device matching using a database of known CSAM image hashes provided by NCMEC and other child-safety organizations. Apple further transforms this database into an unreadable set of hashes, which is securely stored on users’ devices.

https://www.apple.com/child-safety/pdf/CSAM_Detection_Techni...

Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:14PM (#28226477)
He is not right, though. The system used will not reveal matches to the device, only to the server and only if the threshold is reached.
Re:Hash collision in Apple NeuralHash model by cyanite on Wednesday August 18, 2021 @04:13PM (#28226470)
> That's not what Apple's plans state. The comparisons are done on phone

Yes but as stated in the technical description, this match is against a blinded table, so the device doesn’t learn if it’s a match or not.