Andrews reverse learning --APK structure

APK is a file installed on the Android system, it must first download the installation package when we download an application from the web app. In fact, the essence of this installation package or a packaged compressed file. After we downloaded APK good on their computers, the APK extension to .zip you can see the internal structure of the file. The figure is a configuration diagram
Here Insert Picture Description
apk file compiled
Here Insert Picture Description
file compiled look correspondence relationship between the front and rear
Here Insert Picture Description
JAVA directory compiled into classes.dex file that is stored for the compiled code.
res compiled into resources.arsc and res directory to store various programs resources.
Here Insert Picture Description
After compiling the file name or around the AndroidManifest.xml file.
Smali after decompilation is class.dex result of decompilation, which is the root cause can smali off debugging
analysis of a process APK
1) installation of observation, we must first understand what this APP done, what features and information , through which information to begin to analyze this APP.
2) record APK key information to facilitate further analysis of the APK
3) validation program, which is to compile the program back a bit, you can check if properly compiled to run to determine whether there are protective mechanisms
4) start analyzing

Published 30 original articles · won praise 5 · Views 1916

Guess you like

Origin blog.csdn.net/AlexSmoker/article/details/104489987