{"id":38268,"date":"2023-01-25T16:31:34","date_gmt":"2023-01-25T21:31:34","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=38268"},"modified":"2023-01-27T14:53:01","modified_gmt":"2023-01-27T19:53:01","slug":"network-connections-from-mediaanalysisd","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/01\/25\/network-connections-from-mediaanalysisd\/","title":{"rendered":"Network Connections From mediaanalysisd"},"content":{"rendered":"<p><a href=\"https:\/\/sneak.berlin\/20230115\/macos-scans-your-local-files-now\/\">Jeffrey Paul<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=34392391\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/sneak.berlin\/20230115\/macos-scans-your-local-files-now\/\"><p>Imagine my surprise when browsing these images in the Finder, Little Snitch told me that macOS is now connecting to Apple APIs via a program named <code>mediaanalysisd<\/code> (Media Analysis Daemon - a background process for analyzing media files).<\/p><p>[&#8230;]<\/p><p>Apple has repeatedly declared in their marketing materials that &ldquo;privacy is a human right&rdquo;, yet they offered no explanation whatsoever as to why those of us who do not traffic in child pornography might wish to have such privacy-violating software running on our devices.<\/p><p>[&#8230;]<\/p><p>Integrate this data and remember it: macOS now contains network-based spyware <em>even with all Apple services disabled<\/em>. It cannot be disabled via controls within the OS: you must used third party network filtering software (or external devices) to prevent it.<\/p><\/blockquote>\n<p>Contrary to this post, I think Apple did clearly <a href=\"https:\/\/mjtsai.com\/blog\/2022\/12\/07\/apple-abandons-csam-scanning\/\">state<\/a> that it has abandoned local CSAM detection. And he doesn&rsquo;t seem to have evidence that his data is being improperly sent to Apple. Still, it&rsquo;s not clear exactly what <code>mediaanalysisd<\/code> is doing with the network.<\/p>\n\n<p><a href=\"https:\/\/eclecticlight.co\/2023\/01\/18\/is-apple-checking-images-we-view-in-the-finder\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2023\/01\/18\/is-apple-checking-images-we-view-in-the-finder\/\"><p>There is no evidence that local images on a Mac have identifiers computed and uploaded to Apple&rsquo;s servers when viewed in Finder windows.<\/p><p>[&#8230;]<\/p><p>Images viewed in apps supporting VLU have neural hashes computed, and those are uploaded to Apple&rsquo;s servers to perform look up and return its results to the user, as <a href=\"https:\/\/eclecticlight.co\/2022\/03\/25\/how-visual-look-up-works-in-detail-2-object-recognition-and-live-text\/\">previously detailed<\/a>.<\/p><p>VLU can be disabled by disabling <strong>Siri Suggestions<\/strong> in System Settings &gt; Siri &amp; Spotlight, as <a href=\"https:\/\/eclecticlight.co\/2022\/04\/08\/how-to-enable-use-and-fix-visual-look-up\/\">previously explained<\/a>.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/mysk_co\/status\/1617291107456454656\">Mysk<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/mysk_co\/status\/1617291107456454656\"><p>No, macOS doesn&rsquo;t send info about your local photos to Apple \nWe analyzed <code>mediaanalysisd<\/code> after an extraordinary claim by Jeffrey Paul that it scans local photos and secretly sends the results to an Apple server.<\/p>\n<p>[&#8230;]<\/p>\n<p>We analyzed the network traffic sent and received by <code>mediaanalysisd<\/code>.\nWell, the call is literally empty. We decrypted it. No headers, no IDs, nothing. Just a simple GET request to this endpoint that returns nothing. Honestly, it looks like it is a bug.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/mysk_co\/status\/1617654107430604800\">Mysk<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/mysk_co\/status\/1617654107430604800\">\n<p>The issue was indeed a bug and it has been fixed in macOS 13.2.\nThe process no longer makes calls to Apple servers.<\/p>\n<\/blockquote>\n\n<p>Was it also <a href=\"https:\/\/mjtsai.com\/blog\/2022\/11\/09\/analytics-in-apple-apps\/\">a bug<\/a> that this happened even though Paul had <a href=\"https:\/\/news.ycombinator.com\/item?id=34392843\">opted out<\/a> of everything? Or is there no setting for this? Or did he <a href=\"https:\/\/mjtsai.com\/blog\/2022\/01\/04\/siri-suggestions-and-privacy\/\">miss a setting<\/a>?<\/p>\n\n<p><a href=\"https:\/\/www.jwz.org\/blog\/2023\/01\/apple-has-begun-scanning-your-local-image-files-without-consent\/\">Jamie Zawinski<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.jwz.org\/blog\/2023\/01\/apple-has-begun-scanning-your-local-image-files-without-consent\/\"><p>Ok, that may well be. But when my OS was phoning home on my photos yesterday and happens to not be phoning home on them today&#8230; that doesn&rsquo;t really build trust. Intent matters, and we know what Apple&rsquo;s intent is because they told us. Code matters, and we are not allowed to see Apple&rsquo;s code.<\/p><p>Maybe the fact that it phoned home with a null response is only because the test photos didn&rsquo;t match some magic neural net -- congratulations, Apple didn&rsquo;t report your test images to the FBI.<\/p><p>We cannot know. But suspicion and mistrust are absolutely justified. Apple is examining your photos and then phoning home. The onus is on them to explain -- and prove -- what they are doing and why.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/01\/24\/macos-13-2\/\">macOS 13.2<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/12\/07\/apple-abandons-csam-scanning\/\">Apple Abandons CSAM Scanning<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/11\/09\/analytics-in-apple-apps\/\">Analytics in Apple Apps<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/06\/16\/apple-reneged-on-ocsp-privacy\/\">Apple Reneged on OCSP Privacy<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/03\/21\/montereys-visual-look-up\/\">Monterey&rsquo;s Visual Look Up<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/01\/04\/siri-suggestions-and-privacy\/\">Siri Suggestions and Privacy<\/a><\/li>\n<\/ul>\n\n<p id=\"network-connections-from-mediaanalysisd-update-2023-01-27\">Update (2023-01-27): <a href=\"https:\/\/twitter.com\/howardnoakley\/status\/1618363804706045954\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/howardnoakley\/status\/1618363804706045954\">\n<p>Just checked this evening: this hasn&rsquo;t changed in 13.2.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/pxlnv.com\/blog\/everybody-panic-mediaanalysisd\/\">Nick Heer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/pxlnv.com\/blog\/everybody-panic-mediaanalysisd\/\">\n<p>This bug violated users&rsquo; trust. The last time something like this happened was with the OCSP fiasco, when Apple promised a way to opt out of Gatekeeper checks by the end of 2021. As of writing, any such option remains unavailable.<\/p>\n<p>[&#8230;]<\/p>\n<p>At the same time, it is unwise to trust alarmist reports like these, either. These are extraordinary claims made without evidence, and they can be dismissed unless proven.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/eclecticlight.co\/2023\/01\/27\/how-quicklook-preview-doesnt-tell-apple-about-images\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2023\/01\/27\/how-quicklook-preview-doesnt-tell-apple-about-images\/\">\n<p>Live Text analysis doesn&rsquo;t generate neural hashes or other identifiers for an image, in the way that Visual Look Up does.<\/p>\n<p>Any connection to Apple&rsquo;s servers during Live Text analysis is performed <em>before<\/em> the image has been analysed, and before the extraction of any text. It cannot, therefore, send Apple any image identifiers or extracted text.<\/p>\n<p>Live Text relies on language asset files, which may need to be augmented or updated over a network connection during text recognition.<\/p>\n<p>macOS 13.1 and 13.2 perform Live Text essentially the same, and will both attempt to connect to Apple&rsquo;s servers in the event that they need to update language asset files.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Jeffrey Paul (Hacker News): Imagine my surprise when browsing these images in the Finder, Little Snitch told me that macOS is now connecting to Apple APIs via a program named mediaanalysisd (Media Analysis Daemon - a background process for analyzing media files).[&#8230;]Apple has repeatedly declared in their marketing materials that &ldquo;privacy is a human right&rdquo;, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-01-25T21:31:38Z","apple_news_api_id":"e05d0c91-da48-462c-bc18-e1b950b5218e","apple_news_api_modified_at":"2023-01-27T19:53:04Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAABQ==","apple_news_api_share_url":"https:\/\/apple.news\/A4F0MkdpIRiy8GOG5ULUhjg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2106,2082,30,2223,355,247,1042],"class_list":["post-38268","post","type-post","status-publish","format-standard","hentry","category-technology","tag-child-sexual-abuse-material-csam","tag-live-text","tag-mac","tag-macos-13-ventura","tag-privacy","tag-siri","tag-spotlight"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=38268"}],"version-history":[{"count":7,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38268\/revisions"}],"predecessor-version":[{"id":38298,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38268\/revisions\/38298"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=38268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=38268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=38268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}