News for hackers. Stuff that matters.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ajsnigrutin on Wednesday August 04, 2021 @10:03PM (#28068909)
So if I understand correctly, they want to scan all your photos, stored on your private phone, that you paid for, and they want to check if any of the hashes are the same as hashes of child porn?

So... all your hashes will be uploaded to the cloud? How do you prevent them from scanning other stuff (memes, leaked documents, trump-fights-cnn-gif,... to profile the users)?

Or will a huge hash database of child porn hashes be downloaded to the phone?

Honestly, i think it's one more abuse of terrorism/child porn to take away privacy of people, and mark all oposing the law as terrorists/pedos.

...also, as in the thread from the original url, making false positives and spreading them around (think 4chan mass e-mailing stuff) might cause a lot of problems too.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by bigiain on Wednesday August 04, 2021 @10:58PM (#28069283)
> and they want to check if any of the hashes are the same as hashes of child porn?

... without any technical guarantee or auditability that any of the hashes they're alerting on are actually of child porn.

How much would you bet against law enforcement to abuse their ability to use this, and add hashes to find out who's got anti government memes or police committing murder images on their phones?

And that's just in "there land of the free", how much worst will the abuse of this be in countries who, say, bonesaw journalists to pieces while they are alive?

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by hda2 on Thursday August 05, 2021 @11:12AM (#28074869)
I remember the story where some large gaming company permanently banned someone because they had a file with a hash that matched a "hacking tool". Turns out the hash was for an empty file.

This will end badly for humanity.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ddtaylor on Friday August 06, 2021 @04:44AM (#28084677)
Path of Exile has in the past looked at DNS cache information on the system and will ban players who have contacted known bad sites.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by bagacrap on Friday August 06, 2021 @01:07PM (#28090026)
they don't check the unhashed bytes against the child porn bytes after a hash match?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by headmelted on Thursday August 05, 2021 @03:56AM (#28071032)
This is the big one right here.

A malware will definitely be created, almost immediately, that will download files that are intentionally made to match CP - either for the purposes of extortion or just watching the world burn.

I'm usually sticking my neck out in defence of more government access to private media than most on HN because of the need to stop CP, but this plan is so naive, and so incredibly irresponsible, that I can't see how anyone with any idea of how easy it would be to manipulate would ever stand behind it.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by dredmorbius on Thursday August 05, 2021 @05:39AM (#28071555)
Signal famously implemented, or at least claimed to implement, a rather similar-sounding feature as a countermeasure against the Cellebrite forensics tool:

https://signal.org/blog/cellebrite-vulnerabilities/

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by nceqs3 on Thursday August 05, 2021 @09:47AM (#28073665)
What is file that they have installed?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by CRConrad on Thursday August 05, 2021 @06:01PM (#28080558)
If they told that, people would (try to) remove it. The whole point is that you can't know which (if any) of the hundreds of thousands of files on your device it is. So they aren't telling. Could be they have (or at least claim to have) written their system so it chooses files at random; I think that's what I would do (or claim to have done).
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by shuckles on Thursday August 05, 2021 @11:17AM (#28074931)
If this was easy to do, it’d already be a problem because Apple is already scanning some iCloud services for CSAM per their terms of service.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by andrewmd5 on Thursday August 05, 2021 @08:34AM (#28072802)
If you can recreate a file so it’s hash matches known CP then that file is CP my dude. The probability of just two hashes accidentally colliding is approximately: 4.3*10-60

Even if you do a content aware hash where you break the file into chunks and hash each chunk, you still wouldn’t be able to magically recreate the hash of a CP file without also producing part of the CP.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ornornor on Thursday August 05, 2021 @09:25AM (#28073410)
The Twitter thread this whole HN thread is about shows just how to make collisions on that hash. So any image can be manipulated to trigger a match, even if that image isn’t CP.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ok123456 on Thursday August 05, 2021 @11:50AM (#28075428)
It's NOT a cryptographic hash.

It's the weights from the middle of a neural network that they're calling a "hash" because it encodes and generates an image it has classified as bad. Experts have trouble rationalizing about what weights mean in a neural network. This is going to end badly.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by headmelted on Friday August 06, 2021 @06:50AM (#28085425)
Exactly this.

If this was a hash then it would be as the parent describes, this is at best a very fuzzy match on an image to take into account blurring/flipping/colour shifting.

It's vastly more likely that innocent people will be implicated for fuzzy matches on innocuous photos of their own children in shorts/swimming clothes than it is to catch abusers.

The other thing is, when you have nothing to hide you won't take efforts to hide it - meaning you'll upload all of your (completely normal) photos to iCloud without thinking about it again.

The monsters making these images know what they're doing is wrong, so they'll likely take efforts to scramble or further encrypt the data before uploading.

tldr; it's far likelier that this dragnet will only even apply to innocent people, than it is to catch predators.

All this said, I'm still in support of Apple taking steps in this direction, but it needs far more protections put in place to prevent false positives than this solution allows. A single false accusation by this system, even if retracted later and rectified, would destroy an entire family's lives (and could well cause suicides).

Look what happened in the Post Office case in the UK as an example of how these things can go wrong - scores of people went to prison for years for crimes they didn't commit because of a simple software bug.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by dragonwriter on Friday August 06, 2021 @06:59AM (#28085486)
> The monsters making these images know what they're doing is wrong, so they'll likely take efforts to scramble or further encrypt the data before uploading.

The ones that make national news from big busts do, because the ones that don't get caught much sooner and only make local news, because Google and other parties are have automatic CSAM identification online already (server side, not client side, AFAIK), and are sending hits to Homeland Security.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by saagarjha on Thursday August 05, 2021 @10:11AM (#28073978)
Adversarial examples are anything but random.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by echelon on Wednesday August 04, 2021 @10:56PM (#28069273)
That document you downloaded that is critical of the party will land you and your family in jail. Enjoy your iPhone.

Seriously, folks, we shouldn't celebrate Apple's death grip over their platform. It's dangerous for all of us. The more of you that use it, the more it creates a sort of "anti-herd immunity" towards totalitarian control.

Apple talks "privacy", but jfc they're nothing of the sort. Apple gives zero shits about your privacy. They're staking more ground against Facebook and Google, trying to take their beachheads. You're just a pawn in the game for long term control.

Apple cares just as much for your privacy as they do your "freedom" to run your own (un-taxed) software or repair your devices (for cheaper).

And after Tim Cook is replaced with a new regime, you'll be powerless to stop the further erosion of your liberties. It'll be too late.

Stop. Using. Apple.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by bigiain on Wednesday August 04, 2021 @11:05PM (#28069347)
> Stop. Using. Apple.

But is there a realistically better alternative? Pinephone with a personally audited Linux distro? A jailbroken Android device with a non-stock firmware that you built yourself? A homebuilt RaspberryPi based device? A paper notepad and a film camera and an out of print street map?

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by kaba0 on Thursday August 05, 2021 @04:36AM (#28071243)
The best bet is probably a pixel phone with GrapheneOS. (Do note, that copperhead os is a scam and is not to be used)

Gnu/linux phones have nonexistent security, other than being niche (so security by obscurity at most). And also, they are not yet usable as a daily driver for me personally, at least.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by fsflover on Thursday August 05, 2021 @06:18AM (#28071802)
"Nonexistent security" is not an accurate description. It's just a totally different approach to security. It's verifiability.

https://puri.sm/posts/defending-against-spyware-like-pegasus...

https://source.puri.sm/Librem5/community-wiki/-/wikis/Freque...

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by kaba0 on Thursday August 05, 2021 @06:25AM (#28071843)
That’s not how security works.

Whether or not I am allowed to check that my entrance has no locks whatsoever doesn’t make it harder to open it. And the reverse, even if I don’t know the details of the lock in my door, it will not let others pass through.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by tpxl on Thursday August 05, 2021 @06:47AM (#28071988)
> even if I don’t know the details of the lock in my door, it will not let others pass through.

You absolutely can not make that assertion without being able to verify the lock.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by kaba0 on Thursday August 05, 2021 @07:22AM (#28072218)
What if I have a locksmith verify it for me? Like Apple and Android have been checked by several security researchers and while they absolutely have holes, there is are at least gates that can have them. Sandboxing is the bare minimum an OS should do if it wants to have third party applications installed.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by fsflover on Thursday August 05, 2021 @07:38AM (#28072316)
You can only hire someone to verify your lock if the lock is verifiable in the first place. Apple is trying to make it non-verifiable.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by kaba0 on Thursday August 05, 2021 @08:11AM (#28072584)
Anything concrete on that?

For a fact we know that ios has strong sandboxing, secure bootchain and apps are revokably verified.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by fsflover on Thursday August 05, 2021 @08:27AM (#28072744)
> For a fact we know

Not sure about that. No source code. Also, Pegasus.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by tpxl on Thursday August 05, 2021 @06:47AM (#28071983)
> Do note, that copperhead os is a scam and is not to be used

Can you expand on this point a little bit?

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by kaba0 on Thursday August 05, 2021 @07:31AM (#28072266)
While it may be biased, this is a great summary: https://grapheneos.org/history/

Basically Micay is a legitimate security researcher who created the project and it was later hijacked by the company funding some of it. That company since then try to badmouth Micay at any place they find and is doing shady things on top of the still open source code base. Micay was so professional to destroy the verification key at the time of the forking.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by fsflover on Thursday August 05, 2021 @06:21AM (#28071812)
> Pinephone with a personally audited Linux distro?

Even if you don't personally audit it, you still benefit from other people doing it. Especially if the software is reproducible (and many packages are).

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by j-james on Thursday August 05, 2021 @01:44AM (#28070274)
An Android device running non-stock is a realistically better scenario. The big problem there is that the state of Android drivers means your hardware options are severely cut down (in practice, to a selection about the size of Apple's - the Pixel line and some assorted others).
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by a-dub on Thursday August 05, 2021 @02:59AM (#28070698)
do you still get patches via google play services?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by saurik on Thursday August 05, 2021 @03:55AM (#28071023)
With non-stock (assuming not jailbroken but just a totally different operating system) I think (I might be wrong... I should know for sure but I awkwardly don't) you aren't even allowed to use Google Play Services at all?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by gabi32 on Thursday August 05, 2021 @11:33AM (#28075143)
You are allowed to use Google services. There is even an alternative called microG which is compatible with apps requiring Google serivices but it sends "fake" data to Google.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by a-dub on Thursday August 05, 2021 @04:06AM (#28071097)
back in the day it was not allowed, and then they allowed it somewhat begrudgingly. this was like 10y ago though.

no idea what the situation is now, but i wouldn't consider a phone that doesn't get those patches (project mainline) on time to be a serious option.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by marderfarker2 on Thursday August 05, 2021 @07:27AM (#28072241)
Viable alternatives were long gone. I really miss the days of Symbian and Meego, phones that are hackable yet intuitive to use (I.e. Nokia N900, N9).

Realistically now we have Tizen and Jolla OS, which had backings from Samsung but nobody gave two damn about it.

I bet even if any of these vanilla mobile OS gets big enough they’ll get bought by the 3 giants and suffocated to death just like how Microsoft sniped Nokia.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ornornor on Thursday August 05, 2021 @09:31AM (#28073479)
Samsung is one of the companies I trust the least with regards to security, privacy, and overall competence in software.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by marderfarker2 on Thursday August 05, 2021 @01:01PM (#28076450)
Why though? How are they worse than Google for example?

Were there any recent examples where they failed in those?

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by bigiain on Friday August 06, 2021 @02:28AM (#28083930)
Not the parent commenter, but for me - Samsung are just as morally vacuous as Google, but are way less competent, at least on there software side (their component manufacture seems to be world class in at least some areas).

They'll happily do evil shit, and execute it poorly. Samsung are _way_ more likely to leak the unnecessarily and possibly illegally collected personal data they hoover up than Google are.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by echelon on Wednesday August 04, 2021 @11:13PM (#28069394)
Not really, and I'm not going to sway anyone deeply into the ecosystem.

My hope is that those of you that share my viewpoint will call your legislators and demand regulations or a break up. There are forces of good within the DOJ that are putting together an antitrust case against Apple, and the more of us that lend our voices, the louder and more compelling the argument.

The DOJ is really the last lever we have, and that's pretty good measure for the power Apple wields.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by wmf on Thursday August 05, 2021 @12:00AM (#28069723)
Other companies seem even less interested in fighting government surveillance so I don't see how weakening Apple will help anything.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by dylan604 on Wednesday August 04, 2021 @11:43PM (#28069620)
Wouldn't you think Apple is doing something like this at the behest of DoJ?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by FractalHQ on Thursday August 05, 2021 @12:18AM (#28069817)
Too bad Apple and the rest of big money already have our legislators in their pockets.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by willis936 on Wednesday August 04, 2021 @10:06PM (#28068931)
>So... all your hashes will be uploaded to the cloud?

That isn't how I interpret "client-side".

The privacy implications are far more subtle.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by dannyw on Wednesday August 04, 2021 @10:35PM (#28069131)
It's still really, really bad.

It always starts with child porn, and in a few years the offline Notes app will be phoning home if you write speech criticising the government in China.

This technology inevitably leads to the sueveillance, suppression and murder of activists and journalists. It always starts with protecting the kids or terrorism.

Perceptual hashes like what Apple is using are already used in WeChat to detect memes that critique the CCP.

What happens on local end user devices must be off limits. It is unacceptable that Apple is actively implementing machine learning systems that surveil and snitch on local content.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by toxik on Thursday August 05, 2021 @04:27AM (#28071203)
> in a few years the offline Notes app will be phoning home if you write speech criticising the government in China.

A totalitarian autocracy like China does not need this technology to search for wrongspeech, sadly. You are of course aware that all Chinese iCloud users get their data stored in a special set of datacenters that Apple actually doesn't control.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ajsnigrutin on Thursday August 05, 2021 @07:01AM (#28072063)
The problem is, that this will be done in other, (currently) freer countries. Eg. Reddit has removed a lot of anti-china posts in the last few years. And of course, local leaders will use this to find anti-local-leader stuff on their citizens phones too.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by consumer451 on Thursday August 05, 2021 @11:04AM (#28074721)
This seems to be done voluntarily by NVIDIA, at least partially. While in Seattle I set up geo-blocking on my LAN as an experiment. Later when I tried to create an NVIDIA account I couldn't because it was attempting to store my PII at nvidia.cn. When I changed the url to nvidia.com everything worked just fine. I've always wondered what non-evil reasons one could use to explain that choice by NVIDIA. Ping was at least 2x longer to .cn.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by srswtf123 on Wednesday August 04, 2021 @10:43PM (#28069193)
I agree with you 100% — the only solution I’ve found workable is limiting my use of the technology itself as much as possible.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ajsnigrutin on Wednesday August 04, 2021 @10:49PM (#28069219)
Or regulation saying that this is illegal, because it invades users privacy too much.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by bigiain on Wednesday August 04, 2021 @11:01PM (#28069314)
Which'd be fine if we had one global government with world wide jurisdiction. Or technology choices from companies which couldn't be pressured by governments outside your personal regulation jurisdiction.

I wouldn't hold your breath waiting for those regulations to become law in, say, Chine or Turkey or Saudi Arabia. I'd bet even Israel won't pass them, surely NSO have enough political lobbying swing (and probably also suitable blackmail material on sitting politicians).

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by no_time on Thursday August 05, 2021 @03:14AM (#28070792)
>Which'd be fine if we had one global government with world wide jurisdiction.

I wholeheartedly disagree. A world wide goverment would be catastrophic for whistleblowing. Atleast as a whistleblower you can live somewhat safely in a country opposing your own. With a one world government you would have nowhere to run.

And I wouldn't expect them to protect citizen's interests any better than current governments do. Contrary, I think this lack of balance in the world would embolden them further.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by aaronmdjones on Wednesday August 04, 2021 @11:09PM (#28069371)
They sell software designed to break into people's phones to oppressive regimes all over the planet. They definitely have the capability and requisite lack of ethics to compromise their own politicians; there's no probably about it.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by TeMPOraL on Thursday August 05, 2021 @03:03AM (#28070721)
But we don't have a global government, so the next best thing is for individual countries to pass such regulation, which would prevent products violating privacy like this from being offered and sold in those countries.

Think of GDPR, which is essentially each member of the EU saying in unison, "your product/service must comply with these data protection laws, or you can't legally do business with any of our citizens".

Come to think of it, I wonder if this Apple thing would even fly under GDPR?

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ben_w on Thursday August 05, 2021 @04:13AM (#28071133)
> Come to think of it, I wonder if this Apple thing would even fly under GDPR?

Possibly? I’m not a lawyer, but if this is about compliance with a legal obligation, and they’re under that category of pressure? I think GDPR would allow that?

Certainly seems more likely allowed than the stuff Facebook complained Apple was preventing them from doing.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by fsflover on Thursday August 05, 2021 @04:53AM (#28071344)
You could you exclusively free software instead. It respects your freedoms.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by judge2020 on Wednesday August 04, 2021 @11:18PM (#28069437)
> It's still really, really bad.

The OP still addresses the inaccurate statement (presented in the form of a question for plausible deniability).

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by onetimeusename on Thursday August 05, 2021 @12:26AM (#28069857)
I agree, I would add that people have generated legal images that match the hashes.

So I want to ask what happens if you have a photo that is falsely identified as one in question and then an automated mechanism flags you and reports you to the FBI without you even knowing. Can they access your phone at that point to investigate? Would they come to your office and ask about it? Would that be enough evidence to request a wiretap or warrant? Would they alert your neighbors? How do you clear your name after that happens?

edits: yes, the hash database is downloaded to the phone and matches are checked on your phone.

Another point is that these photos used to generate the fingerprints are really legal black holes that the public is not allowed to inspect I assume. No one wants to be involved in looking at them, no one wants to be known as someone who looks at them. It could even be legally dangerous requesting to find out what has been put into the image database I assume.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by SilverRed on Thursday August 05, 2021 @01:21AM (#28070171)
>I would add that people have generated legal images that match the hashes.

That seems like a realistic attack. Since the hash list is public (has to be for client side scanning), you could likely set your computer to grind out a matching image hash but of some meme which you then distribute.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by shuckles on Thursday August 05, 2021 @11:19AM (#28074953)
The NCMEC hash list is private, and adversarial attacks require running gradient descent and being able to generate a hash value for arbitrary input.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by josephcsible on Thursday August 05, 2021 @07:07PM (#28081241)
At least one of these two things must be true: either Apple is going to upload hashes of every image on your device to someone else's server, or the database of hashes will be available somehow to your device.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by josephcsible on Saturday August 07, 2021 @11:42PM (#28104042)
Turns out there's a third option I wasn't thinking about: private set intersection.

https://news.ycombinator.com/item?id=28097683

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by shrimpx on Thursday August 05, 2021 @09:16PM (#28082163)
Is it possible to narrow in on a hash using gradient descent? You can correlate distance between inputs to distance between hashes somehow?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by shrimpx on Friday August 06, 2021 @08:46PM (#28094548)
Replying to my own question since I can’t edit anymore: it turns out “perceptual hashing,” which I didn’t know much about, has exactly this property, that small changes in the input result in small changes in the output.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by google234123 on Thursday August 05, 2021 @01:47AM (#28070287)
Might be hard if they use a huge hash.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by SilverRed on Thursday August 05, 2021 @02:18AM (#28070459)
One thing to note is these are not typical cryptographic hashes because they have to be able to find recompressed/cropped/edited versions as well. Perhaps a hash is not an accurate way to describe it.

There have been a number of cases where people have found ways to trick CV programs in to seeing something that no human would ever see. If you were sufficiently malicious I imagine it would be possible to do with this system as well.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by lynndotpy on Thursday August 05, 2021 @12:48AM (#28069976)
No need to upload every hash or download a huge database with very hash. If I were building this system, I'd make a bloom-filter of hashes. This means O(1) space and time checking of a hash match, with a risk of false positives. I'd only send hashes to check against a full database.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by zepto on Wednesday August 04, 2021 @10:50PM (#28069227)
No, your hashes are not uploaded to the cloud, yes, hashes are downloaded to your phone. Yes, it will be interesting to see if it gets spammed with false positives, although it seems as though that can easily be identified silently to the user.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by zionic on Thursday August 05, 2021 @08:24AM (#28072716)
Interesting? You think it will be interesting? False positives in this case cause swat teams to be sent to people’s houses.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by google234123 on Thursday August 05, 2021 @01:48AM (#28070289)
How hard would it be to create a valid image that matches some 128bit hahs
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by toxik on Thursday August 05, 2021 @04:30AM (#28071216)
If the details of the "hashing" scheme used is publicized, I imagine it will be near trivial. It's a long-standing problem in computer vision, to find a digital description of an image such that two similar images compare equal or at least similar.

State-of-the-art for this field is deep learning, and a /huge/ problem with the DL approach is that you can generate adversarial examples. So for example, a picture of a teacup that is identified by /most/ networks as a dog. It's particularly damning, because it seems like you don't have to do this for particular deep networks, they get tricked the same way, so to speak.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by saagarjha on Thursday August 05, 2021 @10:14AM (#28074013)
Since this algorithm presumably runs on-device, I am sure it won’t be long before someone has reverse engineered it…
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by zepto on Thursday August 05, 2021 @11:16AM (#28074916)
Indeed, at which point we’ll know if Apple has implemented an obviously broken solution which opens us up to egregious government surveillance, or whether that is all just speculation without a factual basis.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by zepto on Thursday August 05, 2021 @03:07AM (#28070743)
If it’s a cryptographic hash - very hard.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by foxfluff on Thursday August 05, 2021 @04:36AM (#28071245)
This isn't cryptographic though. That would make the entire database absolutely trivial to bypass with tiny imperceptible random changes to the images.

It's a perceptual hash.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by toxik on Thursday August 05, 2021 @04:28AM (#28071207)
It cannot be a cryptographically secure hash, simply because avoiding detection would then be trivial: change one channel in one pixel by one. Imperceptible change, different cryptographic hash.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by account42 on Thursday August 05, 2021 @04:26AM (#28071198)
The tweets talk about perceptual hashes, not cryptographic hashes.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by azalemeth on Thursday August 05, 2021 @03:26AM (#28070864)
But the probability is still not zero, and the number of iPhones in the world is large. A hash collision is possible, however unlikely.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by zepto on Thursday August 05, 2021 @11:41AM (#28075283)
The probability of Apple and all its devices winking out of existence due to quantum fluctuations is not zero. ‘Not zero’ is effectively zero if the number is small enough.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by ben_w on Thursday August 05, 2021 @04:21AM (#28071173)
128 bit hashes are “expect your first collision when each human buys 2305 iPhones, all with one terabyte storage, and then fills them up with photos that are an average of 1MB in file size”

https://en.wikipedia.org/wiki/Birthday_attack

http://www.wolframalpha.com/input/?i=2%5E64%20%2F%20%288e9%2...

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by 0xy on Thursday August 05, 2021 @12:12AM (#28069793)
That's the stated purpose, but keep in mind that these databases (NCMEC's in particular, which is used by FB and very likely Apple) contain legal images that are NOT child porn.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by SrslyJosh on Thursday August 05, 2021 @02:39AM (#28070585)
Source for that info?
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by mousepilot on Thursday August 05, 2021 @11:35AM (#28075192)
Think of it this way, take a regular, legal set of adult pornographic pictures. While legal, we'd still classify this set of pictures as known porn if we were tracking it.

Now the first few images might be the model completely clothed and not even be porn, maybe there's a picture of her lounging around a pool, then another picture of the pool itself. Still its part of a set of pictures that is known porn.

Heck most porn starts off with actors being clothed (so I hear lol).

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by WhyNotHugo on Friday August 06, 2021 @03:35AM (#28084280)
> So... all your hashes will be uploaded to the cloud?

No, it'll be done on-device.

> How do you prevent them from scanning other stuff (memes, leaked documents, trump-fights-cnn-gif

Nothing. Given that it's only done on their closed-source messaging platform though, nothing is preventing them from reading your messages already.

But yes, it could potentially be used to detect images that the current political party doesn't like.

Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by SergeAx on Saturday August 07, 2021 @01:34AM (#28096008)
No-no-no. It's not your phone. If it was your phone - you would have a root access to it. It's their phone. And it's their photos. They just don't like when there's something illegal on their photos, so they will scan it, just in case.
Re:Apple enabling client-side CSAM scanning on iPhone tomorrow by sebyx07 on Thursday August 05, 2021 @12:32AM (#28069901)
your phone phones the phone manufacturer to phone the police to iphone you