[论文解读] Android Code Protection via Obfuscation Techniques: Past, Present and Future Directions
本综述调查了恶意软件作者和合法开发者所使用的Android代码混淆技术,分析了其有效性和局限性。评估了现有的混淆与去混淆工具,发现尽管混淆可规避静态分析,但通过人工或自动化手段仍可实现逆向工程,凸显了对更强、可验证保护机制的需求。
Mobile devices have become ubiquitous due to centralization of private user information, contacts, messages and multiple sensors. Google Android, an open-source mobile Operating System (OS), is currently the market leader. Android popularity has motivated the malware authors to employ set of cyber attacks leveraging code obfuscation techniques. Obfuscation is an action that modifies an application (app) code, preserving the original semantics and functionality to evade anti-malware. Code obfuscation is a contentious issue. Theoretical code analysis techniques indicate that, attaining a verifiable and secure obfuscation is impossible. However, obfuscation tools and techniques are popular both among malware developers (to evade anti-malware) and commercial software developers (protect intellectual rights). We conducted a survey to uncover answers to concrete and relevant questions concerning Android code obfuscation and protection techniques. The purpose of this paper is to review code obfuscation and code protection practices, and evaluate efficacy of existing code de-obfuscation tools. In particular, we discuss Android code obfuscation methods, custom app protection techniques, and various de-obfuscation methods. Furthermore, we review and analyse the obfuscation techniques used by malware authors to evade analysis efforts. We believe that, there is a need to investigate efficiency of the defense techniques used for code protection. This survey would be beneficial to the researchers and practitioners, to understand obfuscation and de-obfuscation techniques to propose novel solutions on Android.
研究动机与目标
- 分析恶意软件和合法开发者所使用的Android代码混淆技术的最新进展。
- 评估现有去混淆工具和逆向工程方法在混淆Android应用上的有效性。
- 识别当前代码保护机制中的不足,并提出更强大、可验证的混淆技术方向。
- 研究混淆技术如何被恶意软件用于规避Google Play和商业反恶意软件解决方案的检测。
- 为研究人员和实践者提供关于Android生态系统中混淆实践、工具和局限性的全面参考。
提出的方法
- 对Android混淆技术(包括控制流、数据和名称混淆)进行了系统性调查,使用真实恶意软件样本。
- 分析了如FakeInstaller和Zitmo等恶意软件中的混淆模式,重点关注基于反射的类加载和字符串加密。
- 评估了去混淆工具和逆向工程工作流,包括Dalvik字节码的动态分析和静态反汇编。
- 研究了代码打包、原生代码集成和动态加载等代码保护机制,以规避静态分析。
- 回顾了ProGuard及其他混淆器在Android开发中的作用,比较其在合法与恶意应用中的使用。
- 提供了从逆向工程恶意软件中提取的详细代码示例,以说明实际应用中的多层混淆技术。
实验结果
研究问题
- RQ1现代Android恶意软件家族如何利用混淆技术规避静态和动态分析?
- RQ2在恶意和合法Android应用程序中,最有效的混淆技术是什么?
- RQ3现有去混淆工具在多大程度上能够成功逆向工程混淆的Android代码?
- RQ4当前混淆技术在提供可验证且安全的代码保护方面存在哪些局限性?
- RQ5代码打包、原生代码执行和动态加载如何增强混淆和规避能力?
主要发现
- 在分析的49个Android恶意软件家族中,超过86%使用了重打包和混淆技术以规避检测,表明混淆在恶意软件中被广泛使用。
- 如FakeInstaller等恶意软件采用多层混淆,包括加密的类名、基于反射的动态加载以及字符串解密,以规避静态分析。
- Zitmo恶意软件家族通过HTTP POST拦截SMS广播并窃取IMEI,以在混淆敏感字符串和方法后外泄数据。
- 尽管存在混淆,通过人工或自动化分析仍可实现逆向工程,尤其是当混淆未与强加密或反调试机制结合时。
- 现有去混淆工具可成功恢复混淆应用中的逻辑和有效载荷,但该过程耗时且需要专业知识。
- 理论上的局限性表明,可验证且安全的混淆在根本上是不可能的,但实际中的混淆技术仍被攻击者和防御者广泛使用。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。