arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.06146cs.CR
收藏

CryptoEval:基于数据流分析的Android应用密码误用风险评估

CryptoEval: Evaluating the Risk of Cryptographic Misuses in Android Apps with Data-Flow Analysis

Cong Sun, Xinpeng Xu, Yafei Wu, Dongrui Zeng, Gang Tan, Siqi Ma, Peicheng Wang

AI总结:

本文提出CryptoEval框架,通过统一误用规范、适配器检测链和数据流驱动指标,结合无监督学习,评估Android应用密码误用的风险,并在4万多个应用中验证其有效性。

摘要:

密码原语的误解和错误配置已向攻击者暴露了严重的安全漏洞。由于密码误用的普遍性和多样性,全面准确地理解密码误用如何破坏Android应用的安全性,对于后续的缓解策略至关重要,但也充满挑战。尽管已有多种方法被提出用于检测Android应用中的密码误用,但研究尚未聚焦于评估密码误用的安全风险。为解决这一问题,我们提出了一个可扩展的框架,用于判定Android应用中密码误用的威胁级别。首先,我们提出了一种通用且统一的规范来表示密码误用,使我们的框架具有可扩展性,并开发适配器以统一最先进的密码误用检测器的检测结果,从而形成基于适配器的检测工具链,以覆盖更全面的密码误用列表。其次,我们采用一种源自误用的数据流分析,将每个密码误用与应用中的一组数据流汇点(data-flow sinks)关联起来,基于此我们提出了一种定量的数据流驱动指标,用于评估应用因密码误用而引入的整体风险。为了使每个应用的评估在应用商店层面更有助于应用审查,我们应用无监督学习来预测和分类最高风险的威胁,以指导更高效的后续缓解。在对框架实例化实现的实验中,我们评估了检测的准确性以及框架的数据流驱动风险评估的效果。我们对超过40,000个应用的实证研究以及对流行应用的分析,揭示了Android应用中密码误用真实威胁的重要安全观察。

英文摘要:

The misunderstanding and incorrect configurations of cryptographic primitives have exposed severe security vulnerabilities to attackers. Due to the pervasiveness and diversity of cryptographic misuses, a comprehensive and accurate understanding of how cryptographic misuses can undermine the security of an Android app is critical to the subsequent mitigation strategies but also challenging. Although various approaches have been proposed to detect cryptographic misuse in Android apps, studies have yet to focus on estimating the security risks of cryptographic misuse. To address this problem, we present an extensible framework for deciding the threat level of cryptographic misuse in Android apps. Firstly, we propose a general and unified specification for representing cryptographic misuses to make our framework extensible and develop adapters to unify the detection results of the state-of-the-art cryptographic misuse detectors, resulting in an adapter-based detection tool chain for a more comprehensive list of cryptographic misuses. Secondly, we employ a misuse-originating data-flow analysis to connect each cryptographic misuse to a set of data-flow sinks in an app, based on which we propose a quantitative data-flow-driven metric for assessing the overall risk of the app introduced by cryptographic misuses. To make the per-app assessment more useful for app vetting at the app-store level, we apply unsupervised learning to predict and classify the top risky threats to guide more efficient subsequent mitigation. In the experiments on an instantiated implementation of the framework, we evaluate the accuracy of our detection and the effect of data-flow-driven risk assessment of our framework. Our empirical study on over 40,000 apps and the analysis of popular apps reveal important security observations on the real threats of cryptographic misuse in Android apps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑