Dalvik字节码的计算可靠性
Computational Soundness for Dalvik Bytecode
摘要:
自动分析依赖于加密操作的Android应用程序内的信息流及其计算安全性保证带来了现有用于理解应用程序行为的方法难以应对的巨大挑战。这些方法不区分密码和非密码操作,因此不考虑密码保护:f(m)被认为对于敏感消息m是敏感的,而不管密码操作f提供的潜在保密属性。因此,这些方法提供了应用程序行为的安全近似值,但它们错误地将大部分应用程序归类为潜在不安全,从而产生过度悲观的结果。在本文中,我们展示了如何将加密操作忠实地纳入现有的自动应用程序分析方法中。为此,我们首先展示了如何加密操作可以表示为符号抽象的全面Dalvik字节码语言。这些抽象可用于自动化分析,并且可以通过对其语义进行微小更改来方便地添加到现有的应用程序分析工具中。其次,我们通过提供Dalvik字节码的第一个计算可靠性结果,即,不存在对我们的符号抽象程序的攻击意味着不存在对适当的密码程序实现的任何攻击。我们把我们的计算可靠性的结果在CoSP框架,这使得结果模块化和组合。
英文摘要:
Automatically analyzing information flow within Android applications that rely on cryptographic operations with their computational security guarantees imposes formidable challenges that existing approaches for understanding an app's behavior struggle to meet. These approaches do not distinguish cryptographic and non-cryptographic operations, and hence do not account for cryptographic protections: f(m) is considered sensitive for a sensitive message m irrespective of potential secrecy properties offered by a cryptographic operation f. These approaches consequently provide a safe approximation of the app's behavior, but they mistakenly classify a large fraction of apps as potentially insecure and consequently yield overly pessimistic results. In this paper, we show how cryptographic operations can be faithfully included into existing approaches for automated app analysis. To this end, we first show how cryptographic operations can be expressed as symbolic abstractions within the comprehensive Dalvik bytecode language. These abstractions are accessible to automated analysis, and they can be conveniently added to existing app analysis tools using minor changes in their semantics. Second, we show that our abstractions are faithful by providing the first computational soundness result for Dalvik bytecode, i.e., the absence of attacks against our symbolically abstracted program entails the absence of any attacks against a suitable cryptographic program realization. We cast our computational soundness result in the CoSP framework, which makes the result modular and composable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。