Software Security and Reverse Analysis in Android [2]-apk anti-cracking technology and security protection mechanism
In Android Application Development, after we develop the software, we do not want others to decompile and crack our applications, and cannot modify our code logic. In fact, in consideration of the security mechanism of applications, we hope that ou
Android apk file can be decompile, by anti-compilation we can see the general code, to help learn. Anti-compilation provides only a way of learning and prohibits the use of the technology for illegal activities.is actually two commands:1: Run (win+r)->cmd, navigate to the Apktool folder, and enter the following command:apktool.bat d-f cmcc.apk CMCC2: Navigate to
Transferred from: http://blog.csdn.net/vipzjyno1/article/details/21039349/In learning the process of Android development you, you tend to learn how other people's application is developed, those beautiful animations and exquisite layout may let you put it down, as a developer, you may want to know how these effects interface is to achieve, at this time, You can then reverse-compile the app's apk. Here is a brief tutorial on some of the articles I've c
After a busy week and finally having time to write something, we continue to introduce another way for Android APK to prevent anti-compilation technology. The first two we talked about the shell technology and the runtime to modify the bytecode, if there is not clear can see my blog in the first two of the introduction of these two technologies. Next we will introduce another easy-to-use technology that pre
In learning the process of Android development you, you tend to learn how other people's application is developed, those beautiful animations and exquisite layout may let you put it down, as a developer, you may want to know how these effects interface is to achieve, at this time, You can then reverse-compile the app's apk. Here is a brief tutorial on some of the articles I've consulted.(Note: Anti-compilat
the carriage return is completed, in this folder will generate a folder with the same name as the APK, which is both anti-compiled Smali and various resource files.4.build commandAfter modifying the anti-compilation file, you need to repackage back to the apk, like Decode, need in the Apktool-install-macosx-r05-ibot directory,Enter./apk b you want to package the anti
[Learn Android while working on projects] mobile security guard 09-mobile phone anti-theft interface setting wizard 1, android09-
This article mainly designs the wizard function interface for setting the mobile phone anti-theft interface.Requirements:
When the user enters the mobile phone anti-theft interface, determin
In learning the process of Android development you, you tend to learn how other people's application is developed, those beautiful animations and exquisite layout may let you put it down, as a developer, you may want to know how these effects interface is to achieve, at this time, You can then reverse-compile the app's apk. Here is a brief tutorial on some of the articles I've consulted.(Note: Anti-compilat
/mobilesafe/res/layout/setup_wizard1.xml
3.1. Because the title Text style of each wizard interface is uniform, you can extract the title text style:
/mobilesafe/res/values/style.xml
3.2. The split line under the heading is often used later, and the split line is abstracted here.
3.3. Body Content Style
3.4. The little star before the text
The picture resources here use And
resources and other filesThis would be especially useful if it was just a Chinese software.The first is to download the tool, this time use is Apktool: http://code.google.com/p/android-apktool/downloads/listDownload: apktool1.4.1.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 (two packages are all downloaded)Specific steps:To extract the downloaded two packages to the same folder, there should be three files: Aapt.exe,apktool.bat,apktool.jarUn
This period of time learning Android application development, in the thinking since it is developed in Java should be very good anti-compilation to get the source code bar, Google a bit, it is really simple, the following is my practice process. In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, but it seems that through this way can also go to the
tool of the miracle?Well, there really is.The tool is Android Studio, a joke, although we do not, but we know that the Smali file can be compiled to build, then we can look at the anti-compilation APK package name, then we create a new app, under the same package name to write a splash screen page activity, Then pack it up as an apk. Put this apk back to compile, extract the corresponding Flash screen page
On an article we talked about APK to prevent anti-compilation technology in the shell technology, if there is not clear can view my previous blog http://my.oschina.net/u/2323218/blog/393372. Next we will introduce another technique to prevent the apk from recompiling-modifying bytecode at runtime. This method is in the work in the implementation of the app wrapping, see a foreign article about the security of Andr
On an article we talked about APK to prevent anti-compilation technology in the shell technology, if there is not clear can view my previous blog http://my.oschina.net/u/2323218/blog/393372. Next we will introduce another technique to prevent the apk from recompiling-modifying bytecode at runtime. This method is in the work in the implementation of the app wrapping, see a foreign article about the security of Andr
.(2) Then switch the operation directory to Apktool under CMD. For example, my operating directory is as follows:(3) Input anti-programming command: Apktool.bat d-f helloworld.apk HelloWorldThis anti-compilation process will have the following correct procedure:After the decompile is complete, a HelloWorld directory is generated under the Apktool directory:Open this directory and we can clearly see the resu
[Learn Android while working on projects] mobile phone security guard 07-mobile phone anti-theft access restriction, android07-
Password restrictions are required when you enter the mobile phone but the anti-theft interface last time. The first time you enter the mobile phone, a dialog box is displayed prompting you to set the password. When you enter the mobile
. Decompression apktool1.3.2.tar.bz2 get Apktool.jar;Unzip apktool-install-windows.zip to any folder, copy the Apktool.jar into this folder (some people say it is all directly copied into the C:/windows, the same);(There are currently three files in this folder: Apktool.jar/apktool.bat/aapt.exe)4.cmd command line into the extracted apktool-install-windows-2.2_r01-3.tar.bz2 folder, enter the Apktool test whether the installation is successful;After the installation succeeds, the following starts
By using the Anti-compilation tool to get the APK source code, the next step is to copy the source restore project. But what we get is the jar file, how to see the jar file and then restore the Android project is very important. The following is a record of how I parse the jar file process.1, anti-compilation apk get the source code.Here I have a previous blog in
Again to the weekend a person wabi at home nothing to do, this is the sorrow of the programmer. All right, let's use the weekend to continue to introduce another way for Android APK to prevent anti-compilation technology. Top three we talked about Shell technology (http://my.oschina.net/u/2323218/blog/393372), Runtime modification bytecode (http://my.oschina.net/u/2323218/blog/396203) and pseudo-encryption
We know that using Apktool can be used to decompile the apk into a Smali file, and the Dex2jar can be used to decompile the APK as a jar file. In this case, the cracker can modify the code according to the key code (such as the string in the resource file), then re-compile with Apktool, and run the signapk.bat re-signing package for himself, and you worked hard for months to go back to liberation!Recently, after reading "Android software security and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.