News for hackers. Stuff that matters.
Re:Apple's plan to “think different” about encryption opens ... by Shank on Thursday August 05, 2021 @05:05PM (#28079832)
I really love the EFF, but I also believe the immediate backlash is (relatively) daft. There is a potential for abuse of this system, but consider the following too:

1. PhotoDNA is already scanning content from Google Photos and a whole host of other service providers.

2. Apple is obviously under pressure to follow suit, but they developed an on-device system, recruited mathematicians to analyze it, and published the results, as well as one in-house proof and one independent proof showing the cryptographic integrity of the system.

3. Nobody, and I mean nobody, is going to successfully convince the general public that a tool designed to stop the spread of CSAM is a "bad thing" unless they can show concrete examples of the abuse.

For one and two: given the two options, would you rather that Apple implement serverside scanning, in the clear, or go with the on-device route? If we assume a law was passed to require serverside scanning (which could very well happen), what would that do to privacy?

For three: It's an extremely common trope to say that people do things to "save the children." Well, that's still true. Arguing against a CSAM scanning tool, which is technically more privacy preserving than alternatives from other cloud providers, is an extremely uphill battle. The biggest claim here is that the detection tool could be abused against people. And that very well may be possible! But the whole existence of NCMEC is predicated on stopping the active and real danger of child sex exploitation. We know with certainty this is a problem. Compared to a certainty of child sex abuse, the hypothetical risk from such a system is practically laughable to most people.

So, I think again, the backlash is daft. It's been about two days of the announcement being public (leaks). The underlying mathematics behind the system has barely been published [0]. It looks like the EFF rushed to make a statement here, and in doing so, it doesn't look like they took the time to analyze the cryptography system, to consider the attacks against it, or to consider possible motivations and outcomes. Maybe they did, and they had advanced access to the material. But it doesn't look like it, and in the court of public opinion, optics are everything.

[0]: https://www.apple.com/child-safety/pdf/Alternative_Security_...

Re:Apple's plan to “think different” about encryption opens ... by feanaro on Thursday August 05, 2021 @05:18PM (#28080001)
> that a tool designed to stop the spread of CSAM is a "bad thing"

It's certainly said to be designed to do it, but have you seen concerns raised in the other thread (https://news.ycombinator.com/item?id=28068741)? There have been reports from some commenters of the NCMEC database containing unobjectionable photos because they were merely found in a context alongside some CSAM.

Who audits these databases? Where is the oversight to guarantee only appropriate content is included? They are famously opaque because the very viewing of the content is illegal. So how can we know that they contain what they are purported to contain?

This is overreach.

Re:Apple's plan to “think different” about encryption opens ... by Shank on Thursday August 05, 2021 @05:27PM (#28080118)
> Who audits these databases? Where is the oversight to guarantee only appropriate content is included? They are famously opaque because the very viewing of the content is illegal. So how can we know that they contain what they are purported to contain?

I wholeheartedly agree: there is an audit question here too. The contents of the database are by far the most dangerous part of this equation, malicious or not, targeted or not. I don't like the privacy implications about this, nor the potential for abuse. I would love to see some kind of way to audit the database, or ensure that it's only used "for good." I just don't know what that system is, and I know that PhotoDNA is already in use on other cloud providers.

Matthew Green's ongoing analysis [0] is really worth keeping an eye on. For example, there's a good question: can you just scan against a different database for different people? These are the right questions given what we have right now.

[0]: https://twitter.com/matthew_d_green/status/14233782854682091...

Re:Apple's plan to “think different” about encryption opens ... by cwkoss on Thursday August 05, 2021 @08:55PM (#28082041)
Do the people authorized to query the database have access to view its contents?

How many people in the world can certify that it only contains CSAM? I wonder if there are images of US troops committing warcrimes, or politicians doing cocaine, or honeypot intel op blackmail images in there too. Lots of powerful people would love to have an early warning system for leaks of embarrassing non-CSAM images.

Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @05:29PM (#28080156)
Matt should read the release before live tweeting FUD. The database is shipped in the iOS image, per the overview, so targeting users is not an issue (roughly).
Re:Apple's plan to “think different” about encryption opens ... by pushrax on Thursday August 05, 2021 @05:59PM (#28080542)
Is the database frozen or can they push out updates independently of iOS updates? If not, targeting individual users definitely doesn't seem possible unless you control OS signing.
Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @06:04PM (#28080587)
The database is shipped in the iOS image.
Re:Apple's plan to “think different” about encryption opens ... by pushrax on Thursday August 05, 2021 @06:08PM (#28080632)
That's what you wrote originally - and to me it doesn't indicate whether it can also be updated from other sources or not.

Lots of content is shipped in the iOS image but can update independently.

Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @06:10PM (#28080659)
The technical summary provides a lot of detail. I don’t think Apple would omit remote update functionality from it if such capability existed, especially since database poisoning is a real risk to this type of program. I’m comfortable with interpreting the lack of evidence as evidence of absence of such a mechanism. Explicit clarification would certainly help though, but my original point stands: there is positive evidence in the docs which the FUD tweets don’t engage with.

In particular, I’m referencing the figure which says that the database of CSAM hashes is “Blinded and embedded” into the client device. That does not sound like an asset the system remotely updates.

Re:Apple's plan to “think different” about encryption opens ... by marshf on Thursday August 05, 2021 @07:28PM (#28081396)
Do you not see any scenerio where the CIA/OGA inserts a hash into the database to specially target one person or a group of people?
Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @08:09PM (#28081680)
I agree database poisoning is a legitimate threat! Including the database in an iOS release (so it can’t be targeted and updated out of band) mitigates it somewhat. At the end of the day, though, more should be done to make NCMEC’s database transparent and trustworthy. And other databases too, if Apple decides to ship country-specific blacklists.
Re:Apple's plan to “think different” about encryption opens ... by feanaro on Friday August 06, 2021 @05:17AM (#28084877)
I personally don't believe this process can be made to be trustworthy enough while still serving its stated purpose. It will always remain opaque enough that it could and will be used to violate civil rights.
Re:Apple's plan to “think different” about encryption opens ... by shuckles on Saturday August 07, 2021 @10:46AM (#28098955)
I don’t see how this system is particularly less trustworthy than the existing system of iOS updates.
Re:Apple's plan to “think different” about encryption opens ... by pseudalopex on Thursday August 05, 2021 @05:45PM (#28080372)
You should understand the difference between a protocol and an easy to change implementation detail before throwing around words like FUD.
Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @05:54PM (#28080462)
Has Matt redacted any of the FUD from his tweets last night which aren’t true given the published details from today? For example, his claim that the method is vulnerable to black box attacks from GANs isn’t applicable to the protocol because the attacker can’t access model outputs.

Furthermore, if “an easy to change implementation detail” in your threat model is anything which could be changed by iOS update, you should’ve stopped using iPhone about 14 years ago.

Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @05:28PM (#28080141)
That’s a problem with NCMEC, not Apple’s proposal today. Furthermore, if it were an actual problem, it would’ve already manifested with the numerous current users of PhotoDNA which includes Facebook and Google. I don’t think the database of known CSAM content includes photos that cannot be visually recognized as child abuse.
Re:Apple's plan to “think different” about encryption opens ... by tsimionescu on Thursday August 05, 2021 @05:49PM (#28080413)
Why do you not think that? As far as I understand, there is no procedure for reviewing the contents, it is simply a database that law enforcement vouches is full of bad images.
Re:Apple's plan to “think different” about encryption opens ... by shuckles on Thursday August 05, 2021 @05:56PM (#28080485)
NCMEC, not law enforcement, produces a list of embeddings of known images of child abuse. Facebook and Google run all photos uploaded to their platforms against this list. Those which match are manually reviewed and if confirmed to depict such scenes, are reported to CyberTip. If the list had a ton of false positives, you think they wouldn’t notice that their human reviewers were spending a lot of time looking at pictures of the sky?
Re:Apple's plan to “think different” about encryption opens ... by suizi on Thursday August 05, 2021 @09:35PM (#28082314)
It's well-known that this algorithm doesn't have a perfect matching rate. It'd be easy to presume that any false positives are not erroneously tagged images, but the error rate of the underlying algorithm, if all the images were tagged correctly. Who would know?

IIRC Wired reported the algorithm "PhotoDNA" worked around 99% of the time a number of years ago, however newer algorithms may be fuzzier. This is not the same algorithm. And even "PhotoDNA" appears to change over time.

I doubt reviewers of such content are at a liberty to discuss what they see or don't with anyone here. Standard confidentiality agreements.

Re:Apple's plan to “think different” about encryption opens ... by cwkoss on Thursday August 05, 2021 @08:58PM (#28082056)
> it would’ve already manifested

How do we know it hasn't? Maybe the people who have seen these situations have received to national security letters that claim to prevent them from even talking to a lawyer about the non-CSAM classified images they've seen in the course of the investigation?

Re:Apple's plan to “think different” about encryption opens ... by neop1x on Friday August 06, 2021 @05:09AM (#28084839)
>> Who audits these databases?

Maybe pedophiles working for those companies.

Re:Apple's plan to “think different” about encryption opens ... by oh_sigh on Thursday August 05, 2021 @07:08PM (#28081249)
"Reports from commenters" = unsubstantiated speculation. Weird how no one was able to specifically state any information about these unobjectionable photos except for a theoretical mechanism for them to find their way into the database.
Re:Apple's plan to “think different” about encryption opens ... by feanaro on Friday August 06, 2021 @05:13AM (#28084851)
Some have been able to give specific information about these photos: https://news.ycombinator.com/item?id=28071047

Yes, of course, it's "unsubstantiated speculation", but how do you suppose the speculation be substantiated if the entire process and database are not available for audit? That's exactly the problem with this.

Re:Apple's plan to “think different” about encryption opens ... by oh_sigh on Friday August 06, 2021 @07:37PM (#28094060)
That isn't specific information - that is more speculation.

I expect people who make positive claims (the database contains innocuous images) to be able to back up those claims. Saying that there are innocuous images in the database is completely different from saying there may be innocuous images in the database.

It would be like if I claimed that there is a burglar in your house - and how do I know? Well all a burglar would have to do is break your window and crawl in.

Re:Apple's plan to “think different” about encryption opens ... by randcraw on Thursday August 05, 2021 @06:18PM (#28080744)
You presume Apple and the DoJ will implement this with human beings at each step. They won't. Both parties will automate as much of this clandestine search as possible. With time, the external visibility and oversight of this practice will fade, and with it, any motivation to confirm fair and accurate matches. Welcome to the sloppiness inherent in clandestine law enforcement intel gathering.

As with all politically-motivated initiatives that boldly violate the Constitution (consider the FISA Court, and its rubber stamp approval of 100% of the secret warrants put before it), the use and abuse of this system will go largely underground, like FISA, and its utility will slowly degrade due to lack of oversight. In time, even bad matches will log the IDs of both parties in databases that label them as potential sexual predators.

Believe it. That's how modern computer-based gov't intel works. Like most law enforcement policy recommendation systems, Apple's initial match algorithm will never be assessed for accuracy, nor be accountable for being wrong at least 10% of the time. In time it will be replaced by other third party screening software that will be even more poorly written and overseen. That's just what law enforcement does.

I've personally seen people suffer this kind of gov't abuse and neglect as a result of clueless automated law enforcement initiatives after 9-1-1. I don't welcome more, nor the gradual and willful tossing of everyone's basic Constitutional rights that Apple's practice portends.

The damages to personal liberty that are inherent in conducting secret searches without cause or oversight is exactly why the Fourth Amendment requires a warrant before conducting a search. NOW is the time to disabuse your sense of 'daftness'; not years from now, after the Fourth and Fifth Amendments become irreversibly passe. Or should I say, 'daft'?

Re:Apple's plan to “think different” about encryption opens ... by shivak on Thursday August 05, 2021 @05:43PM (#28080332)
> recruited mathematicians to analyze it, and published the results, as well as one in-house proof and one independent proof showing the cryptographic integrity of the system.

Apple employs cryptographers, but they are not necessarily acting in your interest. Case in point: their use of private set intersection, to preserve privacy..of law enforcement, not users. Their less technical summary:

> 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 that is securely stored on users’ devices.

> Before an image is stored in iCloud Photos, an on-device matching process is performed for that image against the known CSAM hashes. This matching process is powered by a cryptographic technology called private set intersection..

The matching is performed on device, so the user’s privacy isn’t at stake. But, thanks to PSI and the hash preprocessing, the user doesn’t know what law enforcement is looking for.

Re:Apple's plan to “think different” about encryption opens ... by xondono on Thursday August 05, 2021 @06:39PM (#28080980)
Well, it’d be kind of dumb to make the mistake of building a system to stop child pornography only to have it become the biggest distributor of CP photos in history
Re:Apple's plan to “think different” about encryption opens ... by shivak on Thursday August 05, 2021 @07:01PM (#28081187)
Those images are hashed, not transmitted in original format. On top of that, PSI prevents you from learning those hashes, or how many there are. So you can’t tell if the database contains the hash of, say, tank-man.jpg.

I understand why this shielding is necessary for the system to work. My point is the crypto is being used to protect law enforcement, not the user.

Re:Apple's plan to “think different” about encryption opens ... by xondono on Friday August 06, 2021 @07:44AM (#28085797)
And my point is that the only way to provide visibility over what is being looked without distributing the material would be to implement some type of ZKP
Re:Apple's plan to “think different” about encryption opens ... by echelon on Thursday August 05, 2021 @05:14PM (#28079940)
> There is a potential for abuse of this system, but consider the following too

> I think again, the backlash is daft.

Don't apologize for this bullshit! Don't let your love of brand trump the reality of what's going on here.

Machinery is being put in place to detect what files are on your supposedly secure device. Someone has the reins and promises not to use it for anything other than "protecting the children".

How many election cycles or generations does it take to change to an unfavorable climate where this is now a tool of great asymmetrical power to use against the public?

What happens when the powers that be see that you downloaded labor union materials, documents from Wikileaks, or other files that implicate you as a risk?

Perhaps a content hash on your phone puts you in a flagged bucket where you get pat downs at the airport, increased surveillance, etc.

The only position to take here is a full rebuke of Apple.

edit: Apple apologists are taking a downright scary position now. I suppose the company has taken a full 180 from their 1984 ad centerpiece. But that's okay, right, because Apple is a part of your identity and it's beyond reproach?

edit 2: It's nominally iCloud only (a key feature of the device/ecosystem), but that means having to turn off a lot of settings. One foot in the door...

edit 3: Please don't be complicit in allowing this to happen. Don't apologize or rationalize. This is only a first step. We warned that adtech and monitoring and abuse of open source were coming for years, and we were right. We're telling you - loudly - that this will begin a trend of further erosion of privacy and liberty.

Re:Apple's plan to “think different” about encryption opens ... by artimaeis on Thursday August 05, 2021 @05:28PM (#28080140)
It's not doing any sort of scanning of your photos while they're just sitting on your device. The CSAM scanning only occurs when uploading photos to iCloud, and only to the photos being uploaded.

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

Re:Apple's plan to “think different” about encryption opens ... by lovelyviking on Thursday August 05, 2021 @08:19PM (#28081759)
>only occurs when uploading photos to iCloud, and only to the photos being uploaded.

Or so they say? Did you see the source code?

Anyway that's not the issue.

The issue is what they are going to do next without telling you.

The issue is installation of spyware engine, not it's current usage.

Re:Apple's plan to “think different” about encryption opens ... by pseudalopex on Thursday August 05, 2021 @06:29PM (#28080873)
> It's not doing any sort of scanning of your photos while they're just sitting on your device.

Yet. The point is the new system makes it feasible.

Re:Apple's plan to “think different” about encryption opens ... by artimaeis on Thursday August 05, 2021 @10:08PM (#28082516)
It’s always feasible that they put a change in that does something users don’t want and invades hardware privacy. But this update is not an instance of that. It’s simply changing how we interact with their SaaS. We’re no further down some slippery slope.
Re:Apple's plan to “think different” about encryption opens ... by echelon on Thursday August 05, 2021 @08:35PM (#28081891)
Don't forget: this was leaked. Apple may never have told us. They could have released some of the features without letting on about the scanning.
Re:Apple's plan to “think different” about encryption opens ... by artimaeis on Thursday August 05, 2021 @10:09PM (#28082524)
Was it? From what I can tell they published this in a general media release today. If it was leaked before today I seem to have missed it.
Re:Apple's plan to “think different” about encryption opens ... by echelon on Thursday August 05, 2021 @11:07PM (#28082862)
It was leaked on Twitter yesterday and followed up by a major newspaper article with more details. The surprise created a lot of anger.

Today was Apple's first press release about it.

Apple certainly didn't want it to be revealed like this, and they might have kept the pieces not related to child privacy hush hush.

Re:Apple's plan to “think different” about encryption opens ... by throwaway888abc on Thursday August 05, 2021 @05:24PM (#28080076)
1. was new to me.

TIL - (2014) PhotoDNA Lets Google, FB and Others Hunt Down Child Pornography Without Looking at Your Photos

https://petapixel.com/2014/08/08/photodna-lets-google-facebo...

Re:Apple's plan to “think different” about encryption opens ... by indymike on Thursday August 05, 2021 @05:39PM (#28080286)
> backlash is daft

Fighting to preserve a freedom is not daft, even if it is David vs. Goliath's bigger, meaner brother and his friends.

Re:Apple's plan to “think different” about encryption opens ... by vorpalhex on Thursday August 05, 2021 @05:17PM (#28079982)
Who verifies CSAM databases? Is there a way to verify the CSAM hashlist hasn't been tampered with and additional hashes inserted?

Would it be ok to use this approach to stop "terrorism"? Are you ok with both Biden and Trump defining that list?

Re:Apple's plan to “think different” about encryption opens ... by avnigo on Thursday August 05, 2021 @05:56PM (#28080492)
I’d be interested to see what any Apple executives would respond to the concerns in interviews, but I don’t expect Apple to issue a press release on the concerns.
Re:Apple's plan to “think different” about encryption opens ... by cblconfederate on Thursday August 05, 2021 @06:17PM (#28080736)
What is the point of E2EE vs TLS/SSL based encryption?
Re:Apple's plan to “think different” about encryption opens ... by wayneftw on Thursday August 05, 2021 @05:27PM (#28080115)
This is an abuse my property rights. The device is my property and this activity will be using my CPU, battery time and my network bandwidth. That's the abuse right there.

They should just use their own computers to do this stuff.

Re:Apple's plan to “think different” about encryption opens ... by jdavis703 on Thursday August 05, 2021 @05:44PM (#28080358)
Then you have two choices, disable iCloud photo backups or don’t upgrade to iOS 15. There are plenty of arguments against Apple’s scheme, but this isn’t one of them.
Re:Apple's plan to “think different” about encryption opens ... by wayneftw on Friday August 06, 2021 @12:49AM (#28083421)
It's the best argument. Every other argument is based on a slippery slope what-if scenario.

Also, I pay for iCloud... but they're not paying me for using my phone and bandwidth. I never agreed to that.

They can't just pull the rug out from me after we already have an agreement. I mean they can, because I probably "agreed" to it and some fine print garbage EULA, but those fall apart in a court of law.

Re:Apple's plan to “think different” about encryption opens ... by samatman on Thursday August 05, 2021 @05:49PM (#28080404)
Photos is just an app.

You can use another photo app, link it to another cloud provider, and be free of the burden.

If you use Photos, you're along for the ride, and you've consented to whatever it does.

You don't get a line-item veto on code you choose to run, that's never been how it works.

For what it's worth, I'm basically with the EFF on this: it looks like the thin end of a wedge, it sucks and I'm not happy about it.

But being histrionic doesn't help anything.

Re:Apple's plan to “think different” about encryption opens ... by zionic on Thursday August 05, 2021 @06:58PM (#28081164)
No it’s not, it’s the entire OS.
Re:Apple's plan to “think different” about encryption opens ... by wayneftw on Thursday August 05, 2021 @08:03PM (#28081646)
Histrionics? Did I even use any adjectives?

> it looks like the thin end of a wedge, it sucks and I'm not happy about it.

But you just said that you can disable it. So, you can be upset about a possible future but I'm the one being melodramatic? That's a good one! You chose to run the OS. So by your logic that gives you no right to complain either.

I do understand that I can disable iCloud for my photos and I will do that. We'll see how long that lasts until they decide to tie the next feature and the next one and the next one to something that I don't like. Because that's how this works. Every time they do something that they know people won't like, they simply make it so that you lose access to something else if you decide to stand up for your principles.

Re:Apple's plan to “think different” about encryption opens ... by jimbob45 on Thursday August 05, 2021 @06:51PM (#28081104)
I don’t know how true this is. I don’t see any way to block Photos from viewing the files on this device and I see no reason that it can’t read files from my other apps.
Re:Apple's plan to “think different” about encryption opens ... by 8note on Thursday August 05, 2021 @08:40PM (#28081929)
You chose an apple device because apple knows what's best for you.

This is part of the integrated experience

Re:Apple's plan to “think different” about encryption opens ... by api on Thursday August 05, 2021 @05:10PM (#28079890)
(2) is important. Apple put effort into making this at least somewhat privacy-respecting, while the other players just scan everything with no limit at all. They also scan everything for any purpose including marketing, political profiling, etc.

Apple remains the most privacy respecting major vendor. The only way to do better is fully open software and open hardware.