I played with / debugging / disassembling binaries on iPhone.
The first hurdle is that binary files are encrypted and dissembler cannot read them. This can be overcome by dumping the decrypted file contents from gdb.
My question is decrypting binary files (which are executed on the fly when the program starts) for all MACH-O executables that have encryption_id in the LC_ENCRYPTION_INFO section, are set to 1.
- Is there a tool that decrypts files for you? Any recommendations?
- Is there any information on how this process works? Apparently this is AES encryption? Which key is used? Is it easy to replicate your own program?
Thanks for any pointers!
source
share