this post was submitted on 28 Jun 2023
145 points (99.3% liked)

Apple

17525 readers
21 users here now

Welcome

to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!

Rules:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

Communities of Interest:

Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple

Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode

Community banner courtesy of u/Antsomnia.

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] ilickfrogs 44 points 1 year ago

E2E encrypted communication can be used for nefarious things, that's a fact. But it's something that needs to be standardized because the accessibility of any and all private communication or information to so few individuals can be used so much more nefariously. Really wish people were more concerned about data privacy. It's not about how your data will be use against you.... It's about how OUR data is used against US.

[–] Dark_Blade 25 points 1 year ago (1 children)

Good. Despite all the mistakes they make, at least Apple seems to be willing to learn from some of ‘em and stand up for their users (even if only a little).

[–] shinjiikarus 16 points 1 year ago (1 children)

I actually don’t think this has anything to do with standing up for their users but is a simple cost/benefit analysis: building compromised E2E-communication that is still reasonably secure against bad actors is much more difficult (if not impossible) than building robust E2E-communication. Apple just doesn’t want to lose business users over headlines like „iOS messaging used by Chinese spies to steal US trade secrets“, while headlines about how difficult it is for government agencies to unlock iPhones probably drive sales. Nothing morally or ethical here, only profits.

[–] Dark_Blade 12 points 1 year ago (2 children)

I mean, it’s still standing up for their users even though it’s profit-driven.

[–] heirloomvegtattoo 4 points 1 year ago (1 children)

They just launched a whole ad campaign based around imessages encryption as well... not supporting would be a bad look and a waste of ad dollars

[–] Dark_Blade 2 points 1 year ago

lol agreed, plus the whole CSAM mess that they can help bury with this.

[–] 3rdBlueWizard 2 points 1 year ago (1 children)

Yep. Honestly, if there's a good profit motive to do the right thing, I trust companies far more to actually do the right thing. We WANT there to be profit in doing the right thing. When there isn't, they don't.

[–] Dark_Blade 1 points 1 year ago

Exactly. Greed is far more predictable and transparent than morality.

[–] generalpotato 11 points 1 year ago (4 children)

Didn’t Apple try to introduce this and got a ton of flak from all sorts of privacy “experts”? They then scrapped their plans, did they not? How is this any better/different? Any sort of “backdoor” into encryption means that the encryption is compromised. They tackled this in 2014 in the US. Feels like deja vu all over again.

[–] [email protected] 12 points 1 year ago (4 children)

@generalpotato Ish. I read the technical write up and they actually came up with a very clever privacy-focused way of scanning for child porn.

First, only photos were scanned and only if they were stored in iCloud.

Then, only cryptographic hashes of the photos were collected.

Those hashes were grepped for other cryptographic hashes of known child porn images, images which had to be in databases of multiple non-governmental organizations; so, if an image was only in the database of, say, the National Center For Missing And Exploited Children or only in the database of China's equivalent, its cryptographic hash couldn't be used. This requirement would make it harder for a dictator to slip in a hash to look for dissidents by making it substantially more difficult to get an image in enough databases.

Even then, an Apple employee would have to verify actual child porn was being stored in iCloud only after 20 separate images were flagged. (The odds any innocent person even makes it to this stage incorrectly was estimated to be something like one false positive a year, I think, because of all of the safeguards Apple had.)

Only after an Apple employee confirmed the existence of child porn would the iCloud account be frozen and the relevant non-government organizations alerted.

Honestly, I have a better chance of getting a handjob from Natalie Portman in the next 24 hours than an innocent person being incorrectly reported to any government authority.

[–] [email protected] 3 points 1 year ago (2 children)

From a technical perspective, how much would an image need to be changed before the hash no longer matched? I've heard of people including junk .txt files in repacked and zipped pirated games, movies, etc., so that they aren't automatically flagged for removal from file sharing sites.

I am not a technical expert by any means, and I don't even use Apple products, so this is just curiosity.

[–] [email protected] 3 points 1 year ago (1 children)

It depends on the type of hash. For the type of hashing used by checksums, a single byte is enough, because they're cryptographic hashes, and the intent is to identify whether files are exact matches.

However, the type of hashing used for CSAM is called a semantic hash. The intent of this type of hash is that similar content results in a similar (or identical) output. I can't walk you through exactly how the hash is done, but it is designed specifically so that minor alterations do not prevent identification.

[–] [email protected] 1 points 1 year ago (1 children)

If, for instance, I was pirating a video game, would packing it in an encrypted container along with a Gb or two of downloaded YouTube videos be sufficient to defeat semantic hashing? What about taking that encrypted volume and spanning it across multiple files?

[–] [email protected] 1 points 1 year ago

Encrypting it should be enough to defeat either hash.

Without encryption I think it would depend on implementation. I'm not aware of the specific limitations of the tools they use, but it's for photo/video and shouldn't really meaningfully generalize to other formats.

[–] [email protected] 1 points 1 year ago

That's a good question. First it's important to understand that hash functions for pirated games or other programs are actually different from hash functions used to detect media like pictures, movies, and sound recordings.

If you alter a piece of code or text from the original version the hashes will no longer match, but typically those hashes should match and some kind of alarm gets tripped if they don't.

With media files like music, movies, or pictures, it works the other way around. Detection tools are looking for something that is not necessarily an exact match, but a very close match, and when such a match is found, alarms get tripped (because it's CSAM, or a copyright violation, or something like that).

As to the techniques you mentioned for concealing a pirated game in a ZIP file with a bunch of junk TXT files, that's not going to work. The reason it doesn't work is that if you ZIP something, all that uses compression algorithms that change the contents of the ZIP file in predictable repeating patterns. It's easy to detect and compensate for. Now, if you use your ZIP/compression tool to actually encrypt the file with a good algorithm and a strong password, that's different, but then you don't need to pack it with junk. (And distributing the password securely will be a problem.)

Please, people who know more about hashing and media detection with hashing, let me know if I got something wrong, I probably did.

[–] [email protected] 3 points 1 year ago (1 children)

Great writeup! I tried searching but came up short, do you have a link to the technical documentation?

[–] Dick 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago
[–] generalpotato 3 points 1 year ago

Haha! Thanks for the excellent write up. Yes, I recall Apple handling CSAM this way and went out of it’s way to try and convince users it was still a good idea, but still faced a lot of criticism for it.

I doubt this bill will be as thorough which is why I was posing the question I asked. Apple could technically comply using some of the work it did but it’s sort of moot if things are end to end encrypted.

[–] [email protected] 2 points 1 year ago

It would have worked and it would have protected privacy but most people don't understand the difference between having a hash of known CSAM on your phone and having actual CSAM on your phone for comparison purposes and it freaked people out.

I understand the difference and I'm still uncomfortable with it, not because of the proximity to CSAM but because I don't like the precedent of anyone scanning my encrypted messages. Give them an inch, etc.

[–] mitchacho74 7 points 1 year ago

I'm assuming it's either apple not wanting to be told to do it, or it's due to them "learning their lesson" and no longer support it, they seem to be leaning quite heavily into privacy

load more comments (2 replies)
[–] [email protected] 6 points 1 year ago (1 children)

To me, this seems like such a transparent attempt to force the tech companies to have a backdoor. If they can scan for CSAM, they can scan (or copy) anything else the government wants.

[–] [email protected] 2 points 1 year ago

That's very likely the actual goal. Stopping child abuse is only an excuse, one governments keep pulling out whenever they want to push anti privacy legislation. And it's clear that this would do nothing to stop it either, because then abusers just wouldn't use compromised services from big companies.

[–] sebinspace 5 points 1 year ago (2 children)

Well yeah, even if they aren’t good at it and are of hypocritical about it, appearing to believe the “what happens on iPhone stays on iPhone” philosophy is important to them.

[–] Dick 15 points 1 year ago (1 children)

I wouldn’t say they’re hypocritical. I was in complete shock that they actually scrapped their iPhone scanning plans and now offer E2E for most of iCloud. They aren’t perfect but they definitely are better than most companies

[–] sebinspace 2 points 1 year ago (2 children)

Yeaaaaah maybe read up on some of the E2E stuff. Someone else at the top of this post posted a link to how it works.

[–] asbestos 6 points 1 year ago (1 children)

Yeah but his point stands. Here’s the summary:

  • If you’re syncing iMessages via iCloud but don’t use iCloud backup without Advanced Data Protection, it’s E2E
  • If you have iCloud backup enabled without Advanced Data Protection enabled, iMessage isn’t E2E encrypted
  • If you have Advanced Data Protection turned on for iCloud and you’re using iCloud backup, iMessage is E2E encrypted however you look at it.

It’s generally good practice to not use iCloud backups but rather back it up yourself, however, most people don’t care enough.

load more comments (1 replies)
[–] Marcy_Stella 2 points 1 year ago (1 children)

It’s generally a question about what’s best for the user, your general user would likely be more mad losing all their messages because they forgot their password then they are calmed by the fact that no one else can read the data. Same for photos and files, however for sensitive categories such as health and passwords they are always end to end encrypted as it’s determined it’s worse for anyone else to get that data then it is for the user to lose it.

For anyone that truly cares to have complete encryption there is advanced data protection but for the general users the defaults are a good balance between security and ease of use.

load more comments (1 replies)
[–] ScoobyDoo27 2 points 1 year ago (1 children)

Man, I was hoping by moving away from Reddit I could move away from the pure hate apple for whatever reason. Show me how the other mobile OS is making things any better?

[–] sebinspace 1 points 1 year ago* (last edited 1 year ago) (1 children)

I use an iPhone 12. I’m not going to defend Android because I don’t use it. I’m just not under the illusion of whatever Apple marketing distills complex problems down to, for better or worse, and being disillusioned isn’t “hate”, it’s awareness. Hate is something I reserve for my mother and father. This is just a goddamn phone.

Moreover, being less bad than the other guy doesn't make you not bad. Your whataboutism is weak tea.

[–] ScoobyDoo27 2 points 1 year ago (1 children)

Except “less bad” is better than bad when you have 2 choices. I’d love to know where apple had blown it on their privacy record. And don’t try to bring up the CSAM shit because they walked back on that when they realized their userbase didn’t want it.

[–] sebinspace 1 points 1 year ago

Top of this post. Someone posted a link to Apple's website explaining the stipulation regarding iMessage and iCloud E2E.

Stop being so defensive.

[–] [email protected] 4 points 1 year ago
[–] [email protected] 2 points 1 year ago

Thanks Apple

[–] Willer 1 points 1 year ago

At this point trying to kill encrypted messaging is equivalent to banning meetups to stop criminals to meet up.

load more comments
view more: next ›