Cryptex Support#344
Open
mpass99 wants to merge 4 commits into
Open
Conversation
due to setup incompatibilities of idevicerestore and pymobiledevice in regard to REM and Cryptex support.
by allowing all Mach-O executables in both REM phases. (cherry picked from commit 34e820a5baab19e1f149de10da71db2ccf462350)
(cherry picked from commit af4e207129b310d294c356f01e11d5a8167292ac)
Contributor
Author
|
I just noticed that a MobileDevice restored vphone in Patchless mode panics from time to time. The reason is currently unknown. Logs
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds functionality to install and list Cryptexes via
vphoned.Cryptexes are overlay file systems that can contain data, executables, and daemons, which can be added at runtime within the boundaries of Apple's security ecosystem.
Cryptexes are also being used in the context of Apple's physical Security Research Devices. Therefore, this feature allows security researchers to easily use their Cryptex toolchains also for researching with the vphone.
While developing the cryptex support for the vphone, we hit a limitation of pymobiledevice3. We opened doronz88/pymobiledevice3#1701 and hope to remove f05a53a once this is resolved. Meanwhile, we perform the restore with Apple's MobileDevice library (f05a53a). We have limited this to the patchless mode, for now.
In this PR, we use and copy the
cryptexctlexecutable from the cloudOS filesystem as a utility. A future PR, however, might use the (private Swift)CryptexKitframework directly fromvphoned.