News for hackers. Stuff that matters.
Re:A catalog of naturally occurring images whose Apple Neura... by toxik on Wednesday August 25, 2021 @05:52AM (#28299614)
Sigh, for the last time, it doesn't actually matter if the NeuralHash is identical. You need multiple images matching, and then the images are compared by another system on Apple's end, which you don't know anything about.

The system is specifically designed so that colliding images does not pose a threat to the user.

NeuralHash and the CSAM scanning is grotesque, but please, criticize it for what it is, not some bullshit that is easily dismissed as technical ignorance.

Re:A catalog of naturally occurring images whose Apple Neura... by tsimionescu on Wednesday August 25, 2021 @06:06AM (#28299706)
Then let's get rid of the NeuralHash entirely, if it doesn't matter, right?

If it's a critical part of the system, then it should be inspected thoroughly. If Apple claims a minuscule chance of a hash collision, and the reality is that collisions are relatively common, that significantly changes the requirements for the backend system, which Apple keeps secret. We have every right to believe, bbased oon ppublic info, that Apple was expecting that NeuralHash would be almost fool-proof, leaving the backend system to be a rubber stamp. This would be tragic.

Re:A catalog of naturally occurring images whose Apple Neura... by toxik on Wednesday August 25, 2021 @06:15AM (#28299764)
The point in the NeuralHash and PSI system is to preserve user privacy as far as possible. From a technical standpoint, it is not essential - a NeuralHash function that returns 0x0000… for everything would still catch CSAM. It's just that it would upload every single image on the user's device.

Now, how well this NeuralHash does preserve privacy is a different question, and /not/ one that is being answered by the original post here. In fact, I've not seen anybody look at the hash distribution over natural images, which would be an actual argument against the system.

Re:A catalog of naturally occurring images whose Apple Neura... by Retr0id on Wednesday August 25, 2021 @06:21AM (#28299788)
It doesn't really matter whether all images are uploaded, or just 1 in x (for large value of x), due to the Panopticon effect.
Re:A catalog of naturally occurring images whose Apple Neura... by ithkuil on Wednesday August 25, 2021 @06:53AM (#28299998)
Let's not forget what the alternative is: this is about images that are uploaded on icloud anyway. The alternative is to upload the image in clear (or with ane encryption key that apple controls), and let apple run the CSAM filter on their servers.

Apple now has the ability to encrypt the images before sending them to icloud, with a private key you own. Except that some percentage of images that match the CSAM fingerprint with their neural feature extractor will be sent to a CSAM filter on the server side (whose workings we don't have many details about)

This whole thing backfired on Apple entirely due to psychological effects, not because they are really doing anything more "panopticon" that they would already able to do now on their icloud storage (after all people are ready sending their photos to apple)

Re:A catalog of naturally occurring images whose Apple Neura... by ben-schaaf on Wednesday August 25, 2021 @07:09AM (#28300080)
They already have the decryption keys for iCloud. Undoubtedly they've already been running a similar CSAM filter server-side for ages. The only thing doing this stuff client side has done is reduce privacy and erode trust.
Re:A catalog of naturally occurring images whose Apple Neura... by madeofpalk on Wednesday August 25, 2021 @07:48AM (#28300408)
> Undoubtedly they've already been running a similar CSAM filter server-side for ages

Apparently they have not - They say facebook reported something like 20m images in a year, and Apple reported 250.

Re:A catalog of naturally occurring images whose Apple Neura... by saynay on Wednesday August 25, 2021 @08:14AM (#28300642)
I don't see how the privacy is any more eroded than it already was?

Eroded trust, sure, but that is mostly because they did a terrible job communicating it.

Re:A catalog of naturally occurring images whose Apple Neura... by PolCPP on Wednesday August 25, 2021 @08:29AM (#28300788)
Theres not even a need to do that, upload the encrypted image and its neuralhash.
Re:A catalog of naturally occurring images whose Apple Neura... by ithkuil on Wednesday August 25, 2021 @09:07AM (#28301161)
What should they do if the neuralhash matches CSAM? Should they trust that the nerualhash actually matches real CSAM and you will should be reported to the police? That's clearly wrong, since there are going to be false positives, by design.

The whole point for this is to be a probabilistic filter, so that they need to run the real CSAM scanner on a subset of files.

You can fall into two camps:

a) apple should never ever scan my private images I upload on their cloud. b) apple can scan the images once they reach their servers.

If you pick (a), then clearly neuralhash shouldn't exist and you can argue against that on the ground that you want utter privacy. But you have to be consistent:every other cloud service that does scan the images server side should receive the same critique.

If you pick (b), then you must recognize that this additional machinery doesn't increase their reach to your private data, but quite the opposite, it allows them to implement e2e encryption for 99.9% of your content. You may argue that it's unnecessary and confusing and spooky and be afraid of the slippery slope precendent for other uses.

Re:A catalog of naturally occurring images whose Apple Neura... by simion314 on Wednesday August 25, 2021 @07:03AM (#28300053)
But if Apple really cares about children why they did not done this scans in iCloud like all the others? Did not care as much as Google or Facebook? Seems to me like Apple does not care at all and seems more like a dev with big ego wanted to add neural hashes to his CV but if you can explain how Apple cared for children all this years but only now are doing something I really want to see the explanation
Re:A catalog of naturally occurring images whose Apple Neura... by theshrike79 on Wednesday August 25, 2021 @08:31AM (#28300810)
Because Apple is the one company that actively tries not to know anything about you.

FB and Google will exhaustively analyse every single facet of your online presence and use your pictures to train their ML models for face detection and object detection.

Apple, on the other hand, even explicitly splits Map directions to segments so that they can't know where you left from and where you are going to.

Re:A catalog of naturally occurring images whose Apple Neura... by simion314 on Wednesday August 25, 2021 @08:59AM (#28301059)
Apple was sending unencrypted on the network what application you started, if they would "actively tries not to know anything about you" they could have implemented this better.

Anyway how is your assumption make sense , Apple cares about children and about your privacy so scanning your images in iCloud was wrong until 2021 when something changed, what changed? does Apple cares more about children starting from now or they care less about privacy? or are they forced to do it?

Re:A catalog of naturally occurring images whose Apple Neura... by read_if_gay_ on Wednesday August 25, 2021 @06:40AM (#28299919)
The “actual argument” against the system that this provides is that Apple lied about the likelihood of hash collisions.

Therefore, why trust any of their other claims?

Re:A catalog of naturally occurring images whose Apple Neura... by simondotau on Wednesday August 25, 2021 @06:55AM (#28300010)
Apple's claims are based on the statistical likelihood that there would be 30 collisions with CSAM hashes within one user account.

Just because someone has found an image of a nearly featureless diagonal thing which collides with another image of a nearly featureless diagonal thing, that doesn't disprove Apple's claims.

Re:A catalog of naturally occurring images whose Apple Neura... by BeefWellington on Wednesday August 25, 2021 @09:07AM (#28301173)
> Apple's claims are based on the statistical likelihood that there would be 30 collisions with CSAM hashes within one user account.

Given people can now generate images that collide, it seems like the statistical likelihood has drastically changed since it was originally announced.

Re:A catalog of naturally occurring images whose Apple Neura... by toxik on Wednesday August 25, 2021 @06:57AM (#28300018)
I find this an unconvincing argument as well, you're saying that because Apple made a false claim, any claim may be valid. This is obviously not the case, what they did was to, albeit likely knowingly, calculate the hash collision probability /if each bit is a coin flip/, which comes out to pow(2, -k) for k bits. It's tiny. Of course, each bit is /not/ an independent coin flip under the NeuralHash function.

So again the actual argument becomes: what is that distribution like?

Re:A catalog of naturally occurring images whose Apple Neura... by FabHK on Wednesday August 25, 2021 @08:10AM (#28300611)
> what they did was to, albeit likely knowingly, calculate the hash collision probability /if each bit is a coin flip/, which comes out to pow(2, -k) for k bits. It's tiny.

I doubt that's what they did. I think they ran tests on huge numbers of pictures, got an estimate, put in a safety factor, and determined the threshold to hit their target (and put in another safety buffer then).

Naturally occurring collisions are not going to be an issue, and adversarial ones neither, I predict. Just as with current cloud providers.

Re:A catalog of naturally occurring images whose Apple Neura... by zepto on Wednesday August 25, 2021 @10:57AM (#28302447)
> that because Apple made a false claim

Apple never made a false claim. They have never anywhere stated that neuralhash makes false positives at 1 in a trillion. Only that that is the rate for the system as a whole to flag accounts for review. The explicitly mention that they will vary the number of matches needed to maintain this if it turns out to be higher or lower based on images in the wild.

There are good arguments against this system but most of the technical debate seems to have devolved into amplifying lies now.

Re:A catalog of naturally occurring images whose Apple Neura... by read_if_gay_ on Wednesday August 25, 2021 @07:22AM (#28300165)
Fine, let’s say they didn’t lie, they made misleading claims.

Still. Why trust them after that?

If a company can make my own smartphone report me to the police, and they want my business, they better prove I can trust them. Apple has plainly done the opposite.

The whole ordeal is just utterly 1984.

Re:A catalog of naturally occurring images whose Apple Neura... by tsimionescu on Saturday August 28, 2021 @05:41AM (#28336818)
Sure, but a NeuralHash system with a collision chance of 100% would obviously not be abused to say NeuralHash collision implies CSAM - the secondary validation system will definitely be the last bastion.

In contrast, a NH system believed to have a collision chance of 1 in a trillion trillion may well be considered infallible, and any detection be directly reported as CSAM, with the 'backend verification' amounting to nothing more than a rubber stamp.

Of course, if you implicitly trust Apple not to do the second, than you're right, the NH collision rate doesn't matter too much.

Re:A catalog of naturally occurring images whose Apple Neura... by rgovostes on Wednesday August 25, 2021 @01:47PM (#28304520)
The conclusion section of the article associated with the GitHub repo linked here is that collisions are not common and Apple’s published collision probability matches their findings. Furthermore the thresholding scheme requires 30+ independent collisions which is astronomically improbable.
Re:A catalog of naturally occurring images whose Apple Neura... by david_draco on Wednesday August 25, 2021 @07:46AM (#28300383)
> collisions are relatively common

Are they?

Re:A catalog of naturally occurring images whose Apple Neura... by collaborative on Wednesday August 25, 2021 @06:01AM (#28299665)
We still need to rely on the automated "secret backend system" that nobody supposedly knows anything about
Re:A catalog of naturally occurring images whose Apple Neura... by toxik on Wednesday August 25, 2021 @06:16AM (#28299771)
You (or at least Apple's customers) trust in and rely on Apple's proprietary software to do its job all the time. How is this different? I find this argument very weak.
Re:A catalog of naturally occurring images whose Apple Neura... by simion314 on Wednesday August 25, 2021 @06:57AM (#28300021)
There is a big difference, if say Apple tracking of what you run is problematic you get a bad user experience like apps starting after 1 minute of waiting, or if Apple App Store contains malware you will probably get some annoying issue while Apple will try to silently cleanup their mess BUT with this system there is a difference, this is designed not to serve you or protect you, it is designed to do some checks then if some specific rules match send some guys on you to destroy your life, today is FBI tomorrow other authoritarians.

Issues in any other Apple software will not send the police on you. Why would you install a software on your desktop/laptop that is designed to snitch on you, you would need to get some advantage or be forced by some law.

For now I see only disadvantages but please let me know of any real advantage and not speculation

Disadvantages:

- closed software with hidden db can't be trusted, so as a user you will always have a doubt that some non CP images are in the db(Apple always collaborates with governments)

- bugs in this stuff will cause you big problems(we seen in the past how false accusation destroyed peoples life) and we also seen bad actors abusing this kind of stuff.

- this is also clearly a beginning, now that Apple has the capability then even if they were saints a judge could force them to add new hashes, change the configs etc.

Re:A catalog of naturally occurring images whose Apple Neura... by Hackbraten on Wednesday August 25, 2021 @06:33AM (#28299871)
1. You can at least somewhat audit the software running on an iPhone, for example by means of reverse engineering. You can’t audit the server side.

2. It’s one thing to rely on proprietary services like Find My or Siri. It’s another thing to rely on a secret server-side app that has the power to destroy your life.

Re:A catalog of naturally occurring images whose Apple Neura... by fetzu on Wednesday August 25, 2021 @06:57AM (#28300017)
What I somehow fail to grasp in the first argument is that this whole system is designed specifically so that it runs client-side. AFAIK all the alternatives (as in « cloud photo services ») have been doing the exact same thing on the server side for decades. If you upload your photos to the cloud, a lot of service actually already have the power to destroy your life.
Re:A catalog of naturally occurring images whose Apple Neura... by collaborative on Wednesday August 25, 2021 @05:55PM (#28307621)
This is all about Apple users waking up to the fact that they've been had
Re:A catalog of naturally occurring images whose Apple Neura... by idunnoman on Wednesday August 25, 2021 @06:52AM (#28299997)
"Hey Siri, accuse me of something that will ruin my life and reputation even if I'm not guilty".
Re:A catalog of naturally occurring images whose Apple Neura... by read_if_gay_ on Wednesday August 25, 2021 @06:39AM (#28299909)
No. I trusted Apple’s proprietary software before this, because they maintained that they care about privacy, and there have been examples of that.

Now, I don’t trust them anymore.

Re:A catalog of naturally occurring images whose Apple Neura... by collaborative on Wednesday August 25, 2021 @06:36AM (#28299892)
Tell this to the victims of Pegasus. If anyone were able to get their hands on the "secret backend system" we wouldn't be talking about spy games, we'd be talking about people's lives being ruined
Re:A catalog of naturally occurring images whose Apple Neura... by roody15 on Wednesday August 25, 2021 @07:23AM (#28300172)
Apple still has not patched the security exploit in iMessage used by Pegasus. Apple has released two ios security updates since the Pegasus revelations but still has not patched it most widely used exploit… hmmmm.

Now apple is getting a local client side scanning tool ready. Interesting timing.

Re:A catalog of naturally occurring images whose Apple Neura... by collaborative on Wednesday August 25, 2021 @08:38AM (#28300864)
I don't think what you are saying is far-fetched
Re:A catalog of naturally occurring images whose Apple Neura... by strangetortoise on Wednesday August 25, 2021 @06:33AM (#28299875)
afaik none of Apples other "proprietary software" is designed to pass my personal images to a human for visual inspection if it mistakenly outputs 2 high-enough numbers after a handful of convolution operations and matrix multiplications.
Re:A catalog of naturally occurring images whose Apple Neura... by FabHK on Wednesday August 25, 2021 @08:17AM (#28300687)
They pass a "visual derivative" to "a human", but only after some matrix multiplications etc. that result in extremely low probability false positives.

It could also happen that you lose your phone and "a human" finds it and randomly puts in the correct passcode on the first try and visually inspects your personal images. In fact, that seems vastly more likely [1].

[1] About 4% of smartphones are lost or stolen every year [https://www.mcafee.com/blogs/consumer/family-safety/almost-5... ], but make it just 1/1000, so 1e-3. Then a 6 digit passcode, 1e-6, so we're at 1e-9 per year, or 1000x as likely as being falsely flagged, assuming Apple's numbers (which can easily be achieved by calibrating the threshold).

Re:A catalog of naturally occurring images whose Apple Neura... by saithound on Wednesday August 25, 2021 @06:54AM (#28300005)
Discussing the preimage attack on NeuralHash is not technical ignorance. Dismissing the preimage attack as irrelevant is.

0. Most importantly: the existence of a preimage attack makes Apple's system completely useless for its original purpose. The NeuralHash collider allows the producers and distributors of CSAM material to ensure that nearly all of the next generation of CSAM will suffer from hash collisions with perfectly innocent images. Two weeks after it was deployed, Apple's CSAM scanning is now _only_ an attack vector and a privacy risk. Thanks to the preimage attack, it's now completely useless for its nominal function! Apple put a lot of effort into a system that reduced the privacy and security of all their customers, and made the company itself more exposed to the whims of governments. And for no gain whatsoever.

1. There are no known perceptual hash functions on which preimage attacks are difficult. Barring a major "secret cryptographic breakthrough", Apple's second hash function is not resistant to preimage attacks either. In fact, the second algorithm is almost certainly easier to attack than NeuralHash itself, since it has to work on the "visual derivative", a fixed-size low-resolution thumbnail of the original image.

2. But isn't Apple's second algorithm kept secret, making it difficult to perform preimage attacks against it? No.

First of all, the second algorithm cannot be kept secret. Apple doesn't have its own CSAM database (the whole point is that they don't want to deal with CSAM on their servers!), so the algorithm has to be shared with multiple organizations which do have such databases, so that they can pre-compute the hashes that Apple will match against. Due to Apple's policy, some of these organizations will be located outside the US [1]. Chances are, the hash function will leak: Apple won't know if and when that happens.

Secondly, this _is_ security by obscurity. Some people argue that keeping the hash algorithm secret is similar to keeping a cryptographic key secret. This is not the case. Of course, any security system relies on keeping _something_ secret, but these secret somethings are not created equal. The secret keys of cryptographic algorithms are designed to satisfy Kerckhoffs's assumption. This means that the key, as long as it remains secret, should be sufficient to protect the confidentiality and integrity of your system, even if your adversary knows everything else apart from the key, including the details of the algorithm you use, the hardware you have, and even all your previous plaintexts and ciphertexts (inputs and outputs).

The second hash does not have this property at all. Keeping the algorithm secret does not ensure the confidentiality or integrity of Apple's system. E.g. if somebody gets access to a reasonable number of inputs-output examples, that allows them to train their own model which behaves similarly enough to let them find perceptual hash collisions, even if they don't know the exact details of the original algorithm. This is incredibly hard for cryptographic hashes, but very easy for perceptual hashes, since a small change in the input should cause only a small change in the output of the perceptual hash algorithm. So, to maintain security, Apple doesn't have to keep just the hash algorithm (or its configuration parameters) secret, but all the inputs and outputs as well. This is bad: the fewer and simpler the secrets that one must keep to ensure system security, the easier it is to maintain system security.

Finally, the second hash algorithm is unlikely to be original (NeuralHash was original, and by all accounts it was a massive effort). If an attacker successfully guesses that Apple's secret algorithm H is closely related to a known algorithm, say PhotoDNA, they will probably be able to make a transfer attack against it. By engineering a PhotoDNA collision on the resized thumbnail (e.g. via a resizing attack, extensively discussed in a previous thread [3]), they have a reasonable chance of generating a H-collision as well. How good is fairly good? Well, something like 5% is more than enough! The attacker needs to produce a certain number of NeuralHash collisions (say 30 images) to get through the first threshold of Apple's algorithm. But after that, Apple will decode all the thumbnails in the user's safety voucher: the attacker only needs one of those 30 to get through the second hash. Given a sufficiently high probability of hash collisions, this can be achieved "blindly".

3. It's incredibly easy to come up with these kinds of attacks. Even the HN audience could come up with several reasonable plans, and could point out several reasonable issues, in two weeks. People who do malice for a living will have a much easier time with it. Even if somehow all the plans presented on HN turned out to be unviable, it will not take long for someone to stumble upon something practical. Any reassurance that Apple could provide at this point is fake. Cf. the timelines for real security: it took 17 years to come up with an analogous attack against SHA-1 [4], and two years after that to turn it into something that can be exploited in practice [5]. The existence of a preimage attack made Apple's system completely useless for its original purpose in two weeks. It's now just a security and privacy hole, with no other function. Keeping it around would be a travesty, even if it was difficult to exploit. But it's not.

[1] https://www.itnews.com.au/news/apple-to-only-seek-abuse-imag...

[2] https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle

[3] https://news.ycombinator.com/item?id=28236102

[4] https://security.googleblog.com/2017/02/announcing-first-sha...

[5] https://www.zdnet.com/article/sha-1-collision-attacks-are-no...

Re:A catalog of naturally occurring images whose Apple Neura... by simondotau on Wednesday August 25, 2021 @07:03AM (#28300054)
That's a lot of words to say that you could sufficiently mangle an image that it could pass through all of Apple's algorithmic hurdles while not actually being CSAM. Of that I have no doubt. You could definitely generate a mangled image that fools multiple perceptual hash algorithms.

Let's set aside the questions of where you got all these hashes to generate collisions with, how you got 30 of these mangled images into your victim's camera roll without them noticing. And let's also set aside whether your victim's device is an iPhone with iCloud Photo Library enabled (and has sufficient storage). I still don't get what these mangled images have achieved, other than giving the manual review team something other than child porn to look at.

Seems to me like it'd be easier to just find actual child porn, print it out, place it somewhere in the victim's house and then report it to the police.

Re:A catalog of naturally occurring images whose Apple Neura... by dTal on Wednesday August 25, 2021 @07:12AM (#28300097)
I think you missed the point of the first paragraph. The point is that you can now hide child porn by making its hash collide with innocent images. They won't ever make it to manual review. Ergo, NeuralHash is now useless.
Re:A catalog of naturally occurring images whose Apple Neura... by simondotau on Wednesday August 25, 2021 @07:15AM (#28300122)
Why would anyone go to the effort of technical concealment[1] of CSAM when they could just resist the urge to import child porn in their phone's photo library in the first place? I've managed to resist the urge to import regular porn into my photo library, and being caught with regular porn is (at most) embarrassing. It's not potentially life-destroying.

It's inconceivable that anyone could desire possession of NCMEC-catalogued CSAM images without being aware that they're risking serious consequences if they're caught. Who wants their deepest, darkest, potentially life-ruining secrets just milling about with photos of the dog and last night's dinner?

[1] ...which is all but impossible for an average user to prove was effective; it's not like the Photos app has a "Not Child Porn!" checkmark.

Re:A catalog of naturally occurring images whose Apple Neura... by laszlokorte on Wednesday August 25, 2021 @09:22AM (#28301323)
I agree with you in that I do not understand why anybody doing something illegal would upload related data to a cloud storage.

But if nobody would import CSAM into their icloud library why do all the pictures need to be scanned in the first place? I would imagine anybody doing major illegal stuff being informed about important measures in order to not be caught.

Re:A catalog of naturally occurring images whose Apple Neura... by simondotau on Wednesday August 25, 2021 @10:01AM (#28301817)
I agree, why Apple is doing this is an interesting and pertinent question. I don't think it's actually because they think this will put a big dent into CSAM. So the question is: what is motivating Apple?

Perhaps it's a prerequisite for deploying end-to-end encryption of iCloud Photo Library and/or iCloud Backups. The latter in particular has remained decryptable by Apple supposedly due to pressure from the FBI. Perhaps CSAM is what the FBI are using to justify their pressure.

Perhaps it's because Apple's team of lobbyists are seeing ahead to future anti-privacy, anti-encryption legislation being justified under the guise of CSAM. If Apple can show that the CSAM problem is already "solved" then such justifications disintegrate.

Re:A catalog of naturally occurring images whose Apple Neura... by FabHK on Wednesday August 25, 2021 @08:32AM (#28300818)
So, the presumed attack (not against individuals, but to defeat the system) is

1. Identify some innocuous pictures that many many people have (memes, Beyoncé, whatever).

2. Produce CSAM.

3. Mangle it such that it is still CSAM visually, but NeuralHash-collides with the innocuous pictures from step 1.

4. Distribute.

5. Wait until they are (via some other mechanism) a) identified as CSAM, b) added to the NCMEC database, c) added to the Apple on-device database of blinded hashes in some iOS update.

6. Millions of people are suddenly incorrectly flagged for exceeding the threshold by NeuralHash (since they have the innocuous pictures in their library), and the review teams are flooded and can't pick out the small number of actual CSAM holders.

That is not without a certain elegance. However, it seems to me that

A) it is predicated on the assumption that you can easily mangle pictures to NeuralHash-collide with a desired target picture (out of a set of widely circulating innocuous pictures) without deteriorating the visual content too much.

B) it would be quickly defeated by amending the 2nd tier algorithm (between NeuralHash and human review), though, as you highlight, that might be tricky given that the team working on this presumably only has access to the innocuous false positive collision image, not the (purposefully mangled) CSAM.

Re:A catalog of naturally occurring images whose Apple Neura... by saithound on Wednesday August 25, 2021 @08:46AM (#28300926)
> A) it is predicated on the assumption that you can easily mangle pictures to NeuralHash-collide with a desired target picture (out of a set of widely circulating innocuous pictures) without deteriorating the visual content too much.

Note that this requires no single "desired" target picture. There are millions of popular, innocuous pictures. As long as you can make your CSAM match any one of them without significant mangling, you're good to go. Not having to choose one specific target makes this much easier to accomplish.

Re:A catalog of naturally occurring images whose Apple Neura... by nullc on Wednesday August 25, 2021 @02:27PM (#28305107)
> it is predicated on the assumption that you can easily mangle pictures to NeuralHash-collide with a desired target picture (out of a set of widely circulating innocuous pictures) without deteriorating the visual content too much.

You can. Here is an example I created (with links to more): https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX/issue...

I'm so tired of people suggesting that you can't. Please explain to me why you posted suggesting otherwise.

I've contemplated making some that are also photodna matches, I expect that it's possible. But access to photodna is only through some awful windows tools, and AFAICT people would just keep posting denials even after an example was posted-- so it's not worth the effort at least not worth it just to further the public discussion.

Re:A catalog of naturally occurring images whose Apple Neura... by FabHK on Wednesday August 25, 2021 @05:27PM (#28307268)
> Please explain to me why you posted suggesting otherwise.

a) I didn't suggest otherwise, I said that it is predicated on that assumption, about which I was undecided, largely because b) I didn't know better.

I read that thread 7 days ago, when the collisions were a gray blob or a clearly modified dog (to Lena) or clearly modified Lena (to dog). I hadn't re-read the thread in the last 4 to 5 days, when you demonstrated the natural looking collisions (second-preimage images).

Very impressive work I wasn't aware of.

Re:A catalog of naturally occurring images whose Apple Neura... by nullc on Wednesday August 25, 2021 @05:34PM (#28307353)
Great answer. Thank you!
Re:A catalog of naturally occurring images whose Apple Neura... by SiempreViernes on Wednesday August 25, 2021 @09:05AM (#28301135)
There's also the _very_ important assumption that Apple doesn't check for collisions with popular images before adding new things to the database.
Re:A catalog of naturally occurring images whose Apple Neura... by yeldarb on Wednesday August 25, 2021 @07:31AM (#28300252)
> allows the producers and distributors of CSAM material to ensure that nearly all of the next generation of CSAM will suffer from hash collisions with perfectly innocent images

That’s a really interesting attack vector I hadn’t seen mentioned previously.

Most people are talking about the potential for adversarial images to be sent to users. If they were instead injected into the database itself (either by poisoning real CSAM or social engineering) that would have far wider ramifications.

I wonder what the most widely-saved pornographic images are across iCloud users.

If actual CSAM were perturbed to match the hash of, say, images from the celebrity nude leak a few years back and added to the database then thousands of users could be sent to “human review”. Since the images are actually explicit how would the human reviewers know not to flag them to authorities?

Re:A catalog of naturally occurring images whose Apple Neura... by theshrike79 on Wednesday August 25, 2021 @08:37AM (#28300847)
Because they're not CSAM?

People don't seem to grasp what kind of images end up in the CSAM databases. They are most definitely not "leaked celebrity nude selfie" level stuff.

Think of the most vile sexual thing you could do to a child and then times that by two and halve the child's age in your mind. That's the shit that gets in there.

It's not something even 4chan weebaboos share. It's stuff that makes Liveleak regulars go "ewwwww, gross".

Re:A catalog of naturally occurring images whose Apple Neura... by saithound on Wednesday August 25, 2021 @08:49AM (#28300965)
The issue is not that a celebrity photo might get into a CSAM database. It's that a true CSAM photo, which has been modified to have the same hash as a "leaked celebrity nude selfie", will probably get into a CSAM database.
Re:A catalog of naturally occurring images whose Apple Neura... by theshrike79 on Wednesday August 25, 2021 @12:31PM (#28303664)
The CSAM database is not generated by an AI. Actual people hand-pick the worst images to include in the list.
Re:A catalog of naturally occurring images whose Apple Neura... by yeldarb on Wednesday August 25, 2021 @09:58AM (#28301762)
How is the human reviewer expected to make that judgement call? They’re not allowed to see the original to compare with for obvious reasons.
Re:A catalog of naturally occurring images whose Apple Neura... by theshrike79 on Wednesday August 25, 2021 @12:29PM (#28303641)
They see a "visual derivative" of the original.

I think they can tell the difference between a naked celebrity and a molested child.

Re:A catalog of naturally occurring images whose Apple Neura... by nullc on Wednesday August 25, 2021 @02:22PM (#28305031)
(A threshold of) matchings result in the private keys for the images being leaked to Apple, where they're vulnerable to:

(1) Review by apple staff (2) Access and leaking by other apple staff (3) Access by hackers who have compromised their system (4) Access by parties coercing apple/staff, including via national security letters.

All of which compromise the privacy of the user. This matters or the neuralhash comparison wouldn't exist in the first place.

Totally agree that the whole system is grotesque-- but that doesn't stop it also being grotesque in every detail as well. The fact that there are false positives when they easily could have designed a system that had none (at the expense of increased false negatives) shows that Apple doesn't especially value customer privacy even if you accept their vigilante privacy invasion. The fact that it's possible to construct adversarial false positives and that their reports didn't disclose this fact shows they either don't know what they're doing or they're not being honest about the risks (or both).