reverse-engineering

Is it possible to reverse engineering to get the original source code from .ipa file?

不问归期 提交于 2019-12-06 05:35:20
问题 I am currently a iPhone apps developer and trying to learn the mechanism of generating the audio impulses by extracting the current ipa solutions and github solutions When using Hopper to extract , only recompiled and incomplete assembly codes are generated. We cannot see any objective classes for further exploration . Are there any alternatives to achieve this aim ? 回答1: There are such things as decompilers, but not sure if there's one for iOS/Objective-C. Anyway you won't get back the

Debugging userland program (full of anti debug) through VMWare

丶灬走出姿态 提交于 2019-12-06 04:09:26
I am currently trying to reverse a program under Linux that has a bunch of anti-debug tricks. I was able to defeat some of them, but I am still fighting against the remaining ones. Sadly since I am mediocre, it is taking me more time than expected. Anyway, the programs runs without any pain in a VM (I tried with VMWare and VBox), so I was thinking about taking a trace of its execution in the VM, then a trace under the debugger (gdb) and diff them to see were the changes are and find out the anti-debug tricks more easily. However, I did some kernel debugging with vmware a long time ago, it was

Disassembler for Linux capable of disassembling old DOS .COM/.EXE files

白昼怎懂夜的黑 提交于 2019-12-06 02:39:52
My first question here, hopefully I'm not doing it wrong. My problem is that I have a certain old DOS program which has quite much hacked the file format to the extreme to save space. (Yes, it's a demoscene prod for those who know.) Objdump doesn't want to help me with it; quick Googling yielded no real results for the problem and the manpage doesn't seem too generous in this regard either. There are others yes, like lida. However, for some reason I couldn't get lida to work; I believe there are alternatives. Anyone have any experience of disassembling DOS executables on Linux? Or should I

vftable - what is this?

a 夏天 提交于 2019-12-06 02:26:26
问题 What is vftable in high programming languages? I read something like it's the address of a virtual object structure, but this is a pretty messy information Can someone please explain it? 回答1: It most likely stands for "Virtual Function Table", and is a mechanism used by some runtime implementations in order to allow virtual function dispatch. Mainstream C++ implementations (GCC, Clang, MSVS) call it the vtable . C has no polymorphism. I could only speculate about other languages. Here's what

How do I decompile a .jar file? [duplicate]

被刻印的时光 ゝ 提交于 2019-12-06 01:23:26
问题 This question already has answers here : Closed 8 years ago . Possible Duplicates: Where can I find a Java decompiler? How to decompile a whole Jar file? I have a .jar file. Its a single file, but I want to "decompile" it to get at the original java code (or at whatever would be closest to the Java code - something I could understand, and edit). I believe my file is (specifically) a java applet, but its saved as an executable jar file (.jar). How would I do such a thing? 回答1: Take a look at

How to setup plugins for ollydbg 2.x.x? [closed]

蹲街弑〆低调 提交于 2019-12-05 22:47:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I downloaded the latest ollydbg 2.x version from its official site and some plugins from tuts4you. But how to enable/install the plugins? 回答1: either you put the plugin dll inside a dedicated directory (e.g. Plugins ) or in the same directory than ollydbg.exe in the Options / Options... / Directories panel,

Decompiling and recompiling APK file

一世执手 提交于 2019-12-05 22:35:11
I'm currently working on analyzing some android malwares and i need to decompile APK files. Reading an answer and many other answers like it, i know that we can extract java source code and other resources, create a new project and put those files in, make some modifications and compile the project. Is this approach applicable to every APK file ? If we aim to make very little or no modifications in the java source code, does this approach work for every APK file? If not, what is the main reason? As another question, i remember i read somewhere (can not find it now) that said converting dex to

How to figure out second parameter/register in reverse engineering assembly?

允我心安 提交于 2019-12-05 21:55:41
so Im doing a variation of the binary bomb. Heres what the phase is 0x0000000000401205 <+0>: sub $0x8,%rsp 0x0000000000401209 <+4>: cmp $0x3,%rdi #rdi = 3 0x000000000040120d <+8>: je 0x40121d <phase_2+24> #if(rdi == 3) skip explosion 0x000000000040120f <+10>: callq 0x401c01 <bomb_ignition> 0x0000000000401214 <+15>: mov $0xffffffffffffffff,%rax 0x000000000040121b <+22>: jmp 0x40124c <phase_2+71> 0x000000000040121d <+24>: xor $0xffffffffffffff1c,%rsi #rsi ^= 0xffffffffffffff1c 0x0000000000401224 <+31>: and %rsi,%rdx #rdx &= rsi 0x0000000000401227 <+34>: add $0x1c8,%rdx #rdx += 456

Process Heap Segments And Their Necessity

孤街浪徒 提交于 2019-12-05 21:54:39
While dumping heap of a win32 processes (Mostly in process which has high heap memory consumption like IE ) using !heap -a 004e0000 I find multiple segments of a particular heap like , Heap entries for Segment00 in Heap 004e0000 Heap entries for Segment01 in Heap 004e0000 Heap entries for Segment02 in Heap 004e0000 My questions are Question 1. Why its necessory to divide single heap into multiple segments ? Question 2. Most of the times I find a large gap between two segments. For example in below image Segment00 actually ends @ 0x005e0000 (Where un-commited bytes started) and Segment01

UML tool for reverse engineering an eclipse project

别说谁变了你拦得住时间么 提交于 2019-12-05 19:13:20
问题 I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !! 回答1: I think MoDisco is what you are looking for ( here for a short intro) 回答2: It seems that the question is dealing