Urgent.News

What's breaking now, across thousands of outlets.

Tech

开源 Android APK 加固项目横向对比

Android 开源 APK 加固项目并不少,但不同项目的技术路线和能力覆盖范围差别很大。 目前比较有代表性的开源项目包括: dpt-shell nmmp Jiagu XopProtector 如果单纯从“有没有 DEX 加密”来看,它们似乎差别不大。 但如果从 DEX、Method Protection、VMP、Native、SO Protection、RASP、工程化 等维度来看,差异就非常明显。 一、核心能力对比 能力 dpt-shell nmmp Jiagu XopProtector DEX Protection ✓ ✓ ✓ ✓ DEX Shell ✓ ✓ ✓ ✓ Method 级保护 ✓ ✓ △ ✓ Dex VM △ ✓ ✗ ✓ Opcode 随机化 ✗ ✓ ✗ ✓ PVM1 ✗ △ ✗ ✓ True VMP ✗ △ ✗ ✓ Native Runtime ✓ ✓ △ ✓ SO…

Original Chinese Read in English

The article compares four open-source Android APK hardening projects: dpt-shell, nmmp, Jiagu, and XopProtector. While they may seem similar in terms of DEX encryption, their differences in features become apparent when considering DEX, Method Protection, VMP, Native, SO Protection, RASP, and engineering aspects.

Dpt-shell focuses on Dex Method Protection and Runtime Reconstruction, making it valuable for learning these techniques. However, its scope is more limited compared to XopProtector. Nmmp, on the other hand, features a Dex VM + Dalvik Bytecode Interpretation approach, which is valuable for research on Dex VM and opcode randomization.

Jiagu is a simpler project that primarily focuses on DEX encryption, Shell, and Runtime Loading, making it suitable for learning Android APK hardening basics. Yet, it lacks more advanced protection layers such as True VMP, SO Protection, RASP, and Frida/Hook Detection.

XopProtector stands out by combining multiple protection layers into a comprehensive APK Protection Pipeline, covering DEX, Method, PVM, True VMP, Native, SO, RASP, and anti-hook techniques. It is not just a DEX hardening project, but an evolving Android Application Protection Platform.

In summary, the choice between these projects depends on the user's goals. Jiagu is recommended for beginners in Android APK hardening, dpt-shell for studying Dex Method Protection, nmmp for researching Dex VM and Native Interpreter, and XopProtector for those interested in a fully-integrated, modern Android APK Protection solution.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I invented a CVE number to test my tool. It was real

I've been building a thing that checks whether the claims in a bug report correspond to anything that exists. Not whether the report is AI-generated — whether the file it names is in the repository…

  • Developer created fake CVE number for testing purposes
  • Tool incorrectly marked fabricated CVE as real
  • Issue highlights challenge of dealing with non-existent code

More from Thursday 27 August →