ApkDiff: Matching Android App Versions Based on Class Structure
Open Access
- 7 November 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-12
Abstract
Reverse engineering an application requires attackers to invest time and effort doing manual and automatic analyses. When a new version of the application is released, this investment could be lost completely, if all the analyses had to be re-done. The gained insights into how an application functions might be transferred from one version to the next, however, if the versions do not differ too much. Diffing tools are thus valuable to reverse engineers attempting to transfer their knowledge across versions, as well as to defenders trying to assess this attack vector, and whether or how much a new version has to be diversified. While such diffing tools exist and are in widespread use for binary applications, they are in short supply for Android apps. This paper presents ApkDiff, a tool for diffing Android apps based on the semantic features of the class structure. To evaluate our tool we selected 20 popular financial apps available in the Google Play Store, and tracked their version updates over eight months. We found that on average 79% of all classes had a unique match across version updates. When we consider only classes for which we detect explicit obfuscations being applied (by applying heuristics on their identifiers), we still find that we can find a match for 56% of the classes (ranging from 23% to 85%), suggesting that these obfuscated apps are not resilient to our matching strategies. Our results suggest that ApkDiff provides a valuable approach to diffing Android apps.Keywords
Funding Information
- Fund for Scientific Research - Flanders (FWO) (Project No. 3G0E2318)
- Flemish Government (Cybersecurity Initiative Flanders (CIF))
This publication has 11 references indexed in Scilit:
- RomaDroid: A Robust and Efficient Technique for Detecting Android App Clones Using a Tree Structure and Components of Each App’s Manifest FileIEEE Access, 2019
- Keep me Updated2017
- Anti-ProGuard2017
- Who Changed You? Obfuscator Identification for Android2017
- Statistical Deobfuscation of Android Applications2016
- Reliable Third-Party Library Detection in Android and its Security Applications2016
- SUIDroid: An Efficient Hardening-Resilient Approach to Android App Clone Detection2016
- Pushing Java Type Obfuscation to the LimitIEEE Transactions on Dependable and Secure Computing, 2014
- Syntax tree fingerprinting for source code similarity detection2009
- BinHunt: Automatically Finding Semantic Differences in Binary Programs2008