Answer the question
In order to leave comments, you need to log in
How to unpack and disassemble mach-o binary (OSX 64 bit)?
Hi, I'm trying to open the OSX mach-o binary.
Unfortunately, the disassembly gives me a bullshit, apparently the binary is crypted, or uses a packer (or in the worst case, obfuscation).
I need to get / determine the encryption algorithm, and decrypt the binary.
Load Commands
Using otool -l myTarget
dumped the binary loading commands
(some flags for the fact of the crypt.... but it is still encrypted)
https://www.dropbox.com/s/yg78mesn3w9mm7n/load_com...
Disassembling
Using otool -tvV myTarget
dumped the entire __text __TEXT
https segment ://www.dropbox.com/s/ag6xq1n2k9nm4eq/text_seg...
As you can see, no useful information, just mess.
LLVM disassembler refuses immediately
(__TEXT,__text) section
Segmentation fault: 11
Answer the question
In order to leave comments, you need to log in
I managed to inject dylib into the process and I have my trojan thread in the process,
i.e. I can call any method, I can see all classes and the entire object field, I can swizzle any method,
but this does not give me a chance to disassemble, and again the binary remains a black box.
Here I sketched a small library that dumps the application's executable file from memory - perhaps part of the obfuscation can be bypassed in this way. Since you know how to inject libraries, then there should be no problems.
Although yes, Hopper is not the easiest target, I wish you good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question