Affiliation:
1. Univ. Lille, CNRS, Centrale Lille, UMR 9189 CRIStAL, France
2. CentraleSupélec, Inria, CNRS, University of Rennes, IRISA, France
Abstract
Analyzing Android applications is essential to review proprietary code and to understand malware behaviors. However, Android applications use obfuscation techniques to slow down this process. These obfuscation techniques are increasingly based on native code. In this article, we propose
OATs’inside
, a new analysis tool that focuses on high-level behaviors to circumvent native obfuscation techniques transparently. The targeted high-level behaviors are object-level behaviors, i.e., actions performed on Java objects (e.g., field accesses, method calls), regardless of whether these actions are performed using Java or native code. Our system uses a hybrid approach based on dynamic monitoring and trace-based symbolic execution to output control flow graphs (CFGs), 27 pages. for each method of the analyzed application. CFGs are composed of Java-like actions enriched with condition expressions and dataflows between actions, giving an understandable representation of any code, even those fully native.
OATs’inside
spares users the need to dive into low-level instructions, which are difficult to reverse engineer. We extensively compare
OATs’inside
functionalities against state-of-the-art tools to highlight the benefit when observing native operations. Our experiments are conducted on a real smartphone: We discuss the performance impact of
OATs’inside
, and we demonstrate its practical use on applications containing anti-debugging techniques provided by the OWASP foundation. We also evaluate the robustness of
OATs’inside
using obfuscated unit tests using the Tigress obfuscator.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Networks and Communications,Computer Science Applications,Hardware and Architecture,Safety Research,Information Systems,Software
Reference40 articles.
1. Going Native: Using a Large-Scale Analysis of Android Apps to Create a Practical Native-Code Sandboxing Policy
2. Android. 2018. Dalvik Executable Format . Retrieved from https://source.android.com/devices/tech/dalvik/dex-format.
3. Android. 2019. Dalvik Bytecode . Retrieved from https://source.android.com/devices/tech/dalvik/dalvik-bytecode.
4. ARM. 2017. ARM Architecture Reference Manual: ARMv8 for ARMv8-A Architecture Profile .
5. ARTist: The Android Runtime Instrumentation and Security Toolkit