[Android Application Protection Technology Exploration Series] 2: Anti-decompilation and android Decompilation

Source: Internet
Author: User

[Android Application Protection Technology Exploration Series] 2: Anti-decompilation and android Decompilation

Author: Guo Xiaoxing
Weibo: Guo Xiaoxing's Sina Weibo
Email: allenwells@163.com
Blog: http://blog.csdn.net/allenwells
Github: https://github.com/AllenWell

[How to explore Android Application Protection Technology]

[Android Application Protection Technology Exploration Series]: The beginning of Android Application Protection Technology
[Android Application Protection Technology journey series] 2: Anti-Decompilation
[Android Application Protection Technology journey series] 3: Protection against static analysis
[Android Application Protection Technology Exploration Series] 4: Protection against dynamic debugging
[Android Application Protection Technology Exploration Series] 5: Protection against recompilation

For the profit model of Android apps, apps are generally released for free and then made money through advertisements. apps do not have any authorized access mechanisms to protect them, anyone who wants to reverse analyze the application can download it online directly. That is to say, we cannot guarantee the security of the application through the publishing channel, so we can only start with protecting the application code.

Anti-decompilation means that the APK file cannot be decompiled by tools such as APKTool, BakSmail, and dex2jar, or the correct disassembly Code cannot be obtained after decompilation.

The idea of The Decompilation tool is to find out the defects of the decompilation tool when processing the APK or DEX file, and then use it in your own program, invalidates the decompilation tool in processing these specially crafted APK or DEX files.

Methods against decompilation tools

  • Read The Decompilation tool source code: analyze the source code structure and find out the defects of the decompilation tool.
  • Stress Testing: collects a large number of APK files of different sizes, compiles batch files for stress testing, observes the error information of decompilation, and finds out the defects of the decompilation tool.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.