185 points · by sneak · 3y ago · 69 comments
Taking a look at System Settings, it seems the relevant part of the privacy information for Spotlight is here:
> When you use Siri Suggestions, Look Up, Visual Look Up, when you type in Search, Safari search, #images search in Messages, or when you invoke Spotlight, limited information will be sent to Apple to provide up-to-date suggestions. Any information sent to Apple does not identify you, and is associated with a 15-minute random, rotating device-generated identifier. This information may include location, topics of interest (for example, cooking or basketball), your search queries, including visual search queries, contextual information related to your search queries, suggestions you have selected, apps you use, and related device usage data to Apple. This information does not include search results that show files or content on your device. ...
> This information is used to process your request and provide more relevant suggestions and search results, and is not linked to your Apple ID, email address, or other data Apple may have from your use of other Apple services.
My understanding is that any actual image recognition is done on-device, so the image itself (or any compressed/hashed version of it) is not sent to Apple. At worst, I suppose Apple might receive a list of features identified by the local image recognizer (i.e., "siamese cat", "eiffel tower")
I'd be curious if disabling "Siri Suggestions" would disable this. It seems like it should.
I think it's reasonable for very privacy-conscious people to be concerned about behavior like this, but it comes off as paranoid when you wildly jump to conclusions without doing even 5 minutes of research.
> This information does not include search results that show files or content on your device
As parent said, all content scanning is performed on device. The only time photos content and metadata is sent to Apple is when those photos are stored in iCloud Photos. With advanced data protection turned on, they do not have access to any metadata other than a checksum iirc.
since your guess--*"this is actually the "visual look up" feature recently added to iOS and macOS, where Quick Look and other system apps will perform OCR on images, and will also attempt to recognize animals/plants/landmarks/etc and offer to look them up for you"--is entirely compatible with scanning the computer for "CP/etc", it seems to me that you are also jumping to conclusions.
Siri Suggestions is disabled on the machine in question (and has been, though I just confirmed that it is off) and this still happened. I have manually disabled every Apple network service that I know of (in the OS UI), and have denied all network access (via LS) to a dozen+ OS processes that phone home.
[1] https://eclecticlight.co/2022/03/23/how-visual-look-up-works...
0: https://support.apple.com/guide/photos/remove-duplicates-pht...
I am increasingly weary of my employer providing me with a device that I need to have on me at all times at home and that is doing all of these outbound connections.
I think sending a one-way encrypted hash of a file, a la PhotoDNA [0], is a fair compromise. But if Apple is outright uploading your entire photo library for “analysis” without an explicit opt-in, that’s a different beast altogether. And if Apple today isn’t using this for surveillance, Apple tomorrow may be.
https://www.theverge.com/2022/12/9/23500838/apple-csam-plans...
macOS Ventura exposes new object and scene recognition features for images, including background removal in Preview (analogous to "Copy Subject" in Photos but without requiring the use of that app):
https://www.tomsguide.com/how-to/how-to-remove-image-backgro...
You can also use Spotlight search with keywords such as "flower" or "cow" to find images on your local storage that have those subjects; I don't recall if that is new to macOS Ventura or has been possible for several versions of the OS.
mediaanalysisd is a daemon which has for years been responsible for, well, media analysis and would perform any network tasks required to support features such as the above when previewing an image. It would not surprise me if not all image recognition tasks are done exclusively locally, although I haven't found documentation of how much exactly is or isn't. It has long been the case for speech recognition, for example, that not all of it could be done offline (although more of it can be on Apple Silicon machines).
The only way to opt out of OS-level features that send any data to Apple at all is to opt out of using macOS; even then, as I recall, the Asahi Linux installer has to pull certain bits from Apple servers for copyright reasons.
You can unload the plist of both of them to disable them.
This kind of alarmist nonsense makes it hard for people to believe when big companies are actually doing something wrong :[
Besides that, same as posted elsewhere: mediaanalysisd has existed for a pretty long time and doesn't require iCloud, an AppleID or CSAM scanning to exist.
Fun fact: the binary in its many revisions still has an embedded plist with a copyright of 2015 in all currently supported OS releases.
1) I'm still on macOS 12.6.2 Monterey, with Little Snitch, and mediaanalysisd never makes any network requests (though it does exist and is running). So there may be something new on Ventura.
2) You can see the https request and response headers (but not the decrypted data) using this technique: https://lapcatsoftware.com/articles/logging-https.html
What's up?
I find the Cookie Autodelete browser extension to be extremely useful in this regard.
This is essentially a conspiracy theorist post.
1. There is a thing happening I do not know anything about.
2. There is a thing I read about that sounds nefarious to me.
3. Therefor, A is B.
The fact the articles author didn't bother to and report back what they found, means this person didn't even do the bare minimum of technical research before posting an alarmist article.
They saw a thing happening they didn't understand and decided to post some nonsense online.
That's not how this works. A system-level background process is not going to be 'concluded upon' by random readers on the internet.
The only thing you should have written is: "a process made a connection, but I don't know what the process is for or what the connection is for, and I do not know how to investigate it". Your readers could then conclude a bunch:
- You use little snitch
- But you don't really know how noisy an OS can be
- Noise seems scary to you
- But you don't know why
- And you don't know how to find out
You could have made your position more credible by doing some extremely basic tests, like checking for strings inside the binary, or finding out what frameworks and libraries it is linked to. That's 2 built-in commands you can run as a normal user, with no arguments or ordering to think about. But if you did that, your position wouldn't be what it is.https://sneak.berlin/20210202/macos-11.2-network-privacy/
I'm not interested in projecting credibility, only disseminating facts for analysis.
It is interesting to understand what this call is for and what the mediaanalysisd daemon is actually doing/sending, but just triggering LittleSnitch while browsing local documents I'm not sure is enough to draw a direct connection. Correlation perhaps, but honestly I think before making the claim that Apple is sending specific document information to their servers, it'd be better to get something a bit more concrete.
Checking with just activity monitor on the mediaanalysisd process and its network traffic while browsing through pictures, the sent/received data is bytes in size; I'm not in a position to do a proper network capture, but already I question what those few bytes are and if it's really related to my media browsing activities or just background noise. There is a fairly significant amount of received traffic (like close to 200 GiB) compared to the sent traffic (13 GiB), so I'm not quite convinced that this correlates to media scanning.
Passing psgrep with mediaanalysisd to lsof shows a lot of fairly normal background processes/daemons like webkit, AppleSupport, the AppStore, etc., so I find myself thinking it's more a general process despite the name, but far more research of actual packet data is needed.
The only mistake I think you've made is that I think your conclusion is premature to connect file browsing to this daemon, as it seems to handle a lot of stuff besides the implication that it scans documents or that it's specifically related to CSAM.
Basically, more information is needed in my opinion.
Edit: Changed "feel" to "think" in 2nd to last text block to correct my own language issue.
I didn't make that claim, because I have not RE'd mediaanalysisd to know precisely what it's doing.
The strings in the binary suggest it does face and animal detection, and processes some sort of "blacklist". As I mentioned, I don't use Photos.app or iCloud so I'm not sure how any of my media would be eligible for analysis. I was literally viewing images in the Finder via spacebar QuickLook (not even in Preview) when it hit the network for the first time. Maybe it's downloading models? Maybe it's sending analytics? Maybe it's sending perceptual hashes? Who knows?
I'm hoping that this post causes someone with the time and skills to do an in-depth RE of the binary to take a closer look at precisely what is happening with regards to images that are not eligible for processing in Photos.app or iCloud.
It's shallow alarmism.
At the very least, it's a bug. At worst, it's covert surveillance.
You consent when you agree to use their software. The information is encrypted and stays on your device. One of many notices over the years is here: https://www.apple.com/ios/photos/pdf/Photos_Tech_Brief_Sept_...
And, they've been analyzing your local image files for over a decade for numerous OS purposes.
> The media erroneously reported this as Apple reversing course.
The article you are quoting (whose author you infer has poor reading comprehension) is from December 2022. CSAM was put on pause in 2021. They have announced as of last month it is no longer being developed.
You criticize Lily's ability to understand Apple's statements, and yet:
> At the beginning of September 2021, Apple said it would pause the rollout of the feature to “collect input and make improvements before releasing these critically important child safety features.” In other words, a launch was still coming. Now the company says that in response to the feedback and guidance it received, the CSAM-detection tool for iCloud photos is dead.
Is this a lack of reading comprehension? Or did you just not read it at all?
> Today, Apple scanned my local files and those scanning programs attempted to talk to Apple APIs, even though I don’t use iCloud, Apple Photos, or an Apple ID.
> This is your first and only warning: Stock macOS now invades your privacy via the Internet when browing [sic] local files, taking actions that no reasonable person would expect to touch the network, with iCloud and all analytics turned off, no Apple apps launched (this happened in the Finder, via spacebar preview), and no Apple ID input. You have been notified of this new reality. You will receive no further warnings on the topic.
You are inferring (and I'm using the term infer to be very charitable) Apple is sending data to its servers based on the media it analyzes. It's clear that packets are coming in the form of GET requests (406B/s) not outbound requests (6B/s). IIRC that API endpoint is for searching to process your input before actually searching your local machine to get Siri suggestions and what not.
> Integrate this data and remember it: macOS now contains network-based spyware even with all Apple services disabled. It cannot be disabled via controls within the OS: you must used third party network filtering software (or external devices) to prevent it.
I'd call their advertising network-based spyware, but this isn't. And you absolutely can disable these features.
I trust you will update the article now.
use a non-proprietary software, otherwise you can't know what you dont know and you cant learn what you cant discover, among other tautologies.
What little snitch alerts you too isn't even scratching the surface of whats going on behind the scenes on your device. If you would like to get a sense of that check out FSMonitor and just run it in the background for an hour.