News for hackers. Stuff that matters.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by simondotau on Wednesday August 18, 2021 @05:45AM (#28219206)
Google already implemented much the same thing many years ago. Apple is playing catch-up.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by franga2000 on Wednesday August 18, 2021 @06:46AM (#28219554)
Google and every other cloud storage provider has been scanning images that you upload to their servers. This is perfectly justified, since they would be legally and morally accomplices to whatever illegal thing you were doing. But scanning someone's locally stored images on a device that they own is a completely different situation.

It's the difference between the airport checking my luggage for illegal drugs and the police showing up at every person's house once in a while to check if any drugs happen to be on the premises.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by zimpenfish on Wednesday August 18, 2021 @07:21AM (#28219748)
> But scanning someone's locally stored images on a device that they own is a completely different situation.

They're only scanning photos that you upload them to iCloud Photos - this is not (currently) a blanket "we'll scan all your local photos whenever" situation.

> It's the difference between the airport checking my luggage for illegal drugs

... and FedEx/UPS checking your outgoing packages for drugs.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by salawat on Wednesday August 18, 2021 @09:46AM (#28220857)
>... and FedEx/UPS checking your outgoing packages for drugs.

Interesting USPS isn't mentioned there. Another example of 4th Amendment workarounds through private industry? Or are you just not aware of what the USPS equivalent program would be?

Genuinely curious.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by shuckles on Wednesday August 18, 2021 @01:09PM (#28224208)
USPS x-rays many packages - I’d venture almost all of them shipped from a major population center.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by salawat on Wednesday August 18, 2021 @04:07PM (#28226406)
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by shuckles on Wednesday August 18, 2021 @04:20PM (#28226557)
This looks like a good way to get a package marked as suspicious, and suspicious packages have their contents searched.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by salawat on Wednesday August 18, 2021 @05:45PM (#28227584)
Until you DDoS the inspection framework. turns out the material is pretty cheap! Heck, I can pay for you to return the lead foil wrapping to be "environmentally conscious by taking on the onus for packaging recycling!" Doubling my in-flight noise ratio, and generating good press.

You have to think big. You need people to open a package, inspect, and reseal it.

I can make a dropshipping business, turn a profit, and swamp your unboxers to the point you stop trying. I'm not out to do that, so I wouldn't bother, but there are ways, and you'll be surprised the hijinks you can get up to when adversarial attack of infrastructure or process is done right. Quite a lot of modern systems that just werk do so because on the whole, people don't spend much time being dicks. Unfortunately, my brain seems to have a part that enjoys the challenge in its idle time.

Measuring is hard. Especially when someone has their hand on the "noise" dial.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by shuckles on Wednesday August 18, 2021 @06:34PM (#28228001)
This is quite off-topic from the fourth amendment workaround originally insinuated. I agree modern society depends on trust more than one may expect or wish. DDoSing the USPS to prove it doesn’t seem like a very pro-social idea, and I do like society.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by simondotau on Wednesday August 18, 2021 @08:25PM (#28228935)
> It's the difference between the airport checking my luggage for illegal drugs and the police showing up at every person's house once in a while to check if any drugs happen to be on the premises.

Actually, you're right. That's exactly what it's like. The former is how your Government routinely invades your privacy; the latter is an unequivocal violation of the Fourth Amendment of the US Constitution.

As it is with on-cloud versus on-device scanning. If Apple were compelled by the US Government to expand the on-device scanning to search for anything, that too would be an unequivocal Fourth Amendment violation.

Whereas any scanning that occurs on the cloud is not subject to Fourth Amendment protection. It's excepted under the so-called "third party doctrine", which effectively means the Government can rifle through whatever they want for any reason.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by FartyMcFarter on Wednesday August 18, 2021 @05:51AM (#28219237)
Do you have a link?
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by cwizou on Wednesday August 18, 2021 @06:27AM (#28219445)
They have been scanning Gmail for a while using this, as nearly every provider does : https://en.wikipedia.org/wiki/PhotoDNA
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by FartyMcFarter on Wednesday August 18, 2021 @07:06AM (#28219668)
From what I can tell, that is not used on Android or user devices though. So it's not the same thing as what Apple is doing.
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by cwizou on Wednesday August 18, 2021 @07:20AM (#28219740)
Yes what Apple does is slightly different technically : they run a network on device, then when you upload the picture to their Cloud services, they attach the hash generated to the picture.

It's only on their servers that they will do the check against the database of CSAM content. So in that sense, it's pretty much the same that what other providers do, it remains attached to their online service, and they check the hash against the database instead of checking the picture (as others do).

If you don't use their iCloud service, the hash is never checked.

I still don't think having the client as part of the system is a good thing, but in terms of abuse it's about the same thing.

What Apple's system allow is a way to do a check while keeping the data encrypted in some 3rd party service. That part certainly raises questions should it be extended.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by FartyMcFarter on Wednesday August 18, 2021 @07:26AM (#28219781)
Thanks, that makes sense!
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by ytch on Wednesday August 18, 2021 @06:28AM (#28219456)
Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by franga2000 on Wednesday August 18, 2021 @06:50AM (#28219572)
From the article:

> "He was trying to get around getting caught, he was trying to keep it inside his email," said Detective David Nettles of the Houston Metro Internet Crimes Against Children Taskforce reports the station. "I can't see that information, I can't see that photo, but Google can."

"email" here is presumably Gmail, which Google owns and is responsible for. The dude was storing illegal data on Google servers in plain form. His personal devices were only checked by LEOs after a warrant was issued. Definitely not the same as Apple scanning the images on your device (not their servers).

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by ytch on Wednesday August 18, 2021 @07:19AM (#28219732)
IIRC, Apple will only scans if iCloud photo is enabled:

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

> This feature only impacts users who have chosen to use iCloud Photos to store their photos.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by sneak on Wednesday August 18, 2021 @07:56AM (#28219976)
This is a red herring. It wouldn't need to happen on device then, because iCloud Photos are not end to end encrypted and Apple can scan them on the server side today and achieve the same result.

The only reason to scan clientside for a cloud service is to scan files that are not uploaded, or are end to end encrypted.

Apple already maintains an e2e backdoor (in the form of non e2e iCloud Backup) for the FBI and US intelligence agencies. It is extremely unlikely that they will e2e encrypt iCloud Photos.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by CubsFan1060 on Wednesday August 18, 2021 @08:46AM (#28220304)
I think you just hit on exactly what the plan probably was. I suspect this was the first step in making iCloud photos (not backup) E2E encrypted.

I suppose had they not gone down this road, the headlines would have been "Apple makes it easier to share child porn online".

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by sneak on Wednesday August 18, 2021 @10:17AM (#28221230)
I said unlikely: they maintain an e2e backdoor in iCloud Backup. Technically, e2e encrypting iCloud Photos at this point would be a no-op as Apple is already escrowing the device e2e keys in the backup (eg for iMessage).

I doubt they'd bother doing e2e for iCloud Photos if they're intentionally not doing it for iCloud Backup.

Re:Convert Apple NeuralHash model for CSAM Detection to ONNX by simondotau on Wednesday August 18, 2021 @08:17PM (#28228880)
> Apple is already escrowing the device e2e keys in the backup

Citation? I don't believe this is correct, or at least it's an incomplete assertion.

Assuming they do get with the iCloud backup, these keys would be inside the device's Keychain file which is encrypted at rest by the Secure Enclave. Thus even with access to a full, unencrypted backup of your iPhone, the keychain itself cannot be decrypted by Apple

(It can't be decrypted by you either, if it's restored to different hardware. This is why iCloud Keychain exists. And that is end-to-end encrypted.)