biemster / FindMy

Query Apple's Find My network
293 stars 47 forks source link

Create minimal macOS to retrieve anisette data and search-party-token #8

Closed biemster closed 11 months ago

biemster commented 2 years ago

Installing a full desktop OS is a bit overkill just to retrieve the reports, and prone to issues as reported in #1 #2 #7 and such. Creating a minimal macOS can be based on the Catalina BaseSystem.dmg, and then be virtualized using https://github.com/foxlet/macOS-Simple-KVM or similar. What needs to be figured out then is how to sign in to iCloud, and run the FindMy app on this minimal image. The extracted BaseSystem.dmg is a 1.5G, the goal is to trim this down to under 1G as much as possible.

biemster commented 2 years ago

The script can since commit 213df1b read the keychain and the mme tokens received when iCloud is logged in, so the only thing that needs to be added to the recovery image is this iCloud login system. No clue what that all involves, but the FindMy apps and stuff don't seem to be necessary.

mrx23dot commented 1 year ago

The are some options to run icloud on linux
https://snapcraft.io/icloud-for-linux src https://github.com/cross-platform/icloud-for-linux

Or this one also accesses icloud via API on linux/win via python https://github.com/icloud-photos-downloader/icloud_photos_downloader

Or Big Sur and older 2020 version could be stripped down further.

biemster commented 1 year ago

Thanks for the links, they seem to be a gui for the web version of iCloud. However, we really need the whole framework, and especially the tokens. This issue hit a bit of a snag I'm afraid..

biemster commented 11 months ago

This will soon be obsolete: https://github.com/seemoo-lab/openhaystack/issues/63#issuecomment-1769216337!