I've been playing around with/debugging/disassembling binaries on the iPhone.
The first obstacle is that the binaries are encrypted and dissembler can not read them. This can be overcome by dumping the decrypted file content from gdb.
My question is about the decryption of binaries (which is done on the fly upon program start) for all MACH-O executable which have the encryption_id in LC_ENCRYPTION_INFO section, set to 1.
- is there a tool that decrypts files for you? Any recommendations?
- is there info available on how the process works? Apparently it's AES encryption? What key is used? Is it easy to replicate with your own program?
Thanks for any pointers!