Closed iVoider closed 3 years ago
As I found this method is dead after 11.2: https://developer.apple.com/forums/thread/672804
I'd tried to disable SIP and AMFID, but no any result.
SIP must be enabled
As I found this method is dead after 11.2: https://developer.apple.com/forums/thread/672804
The forum thread you've linked is related to MAP_JIT
which is not related to the issue you're experiencing
The kernel source here shows the conditions under which you get EPERM: https://github.com/apple/darwin-xnu/blob/main/bsd/kern/kern_mman.c#L1567. Most likely, this is not a binary that you can decrypt. For example, a binary from the App Store downloaded on your Mac can be decrypted directly from the Applications folder.
I am getting
mremap_encrypted: Operation not permitted
logand
mremap_encrypted: unable to create decrypter com.apple.unfree
+AppleFairplayTextCrypterSession::fairplayOpen() failed
messages inside device console.I'd tried to disable SIP and AMFID, but no any result.
My entitlements look like this:
I am launching program like this
sudo ./decrypt binary binarydupe
with All File Disk and Privacy privellegies.