【24h】

Hybrid Information Flow Analysis for Real-World C Code

机译:实际C代码的混合信息流分析

获取原文

摘要

Information flow analysis models the propagation of data through a software system and identifies unintended information leaks. There is a wide range of such analyses, tracking flows statically, dynamically, or in a hybrid way combining both static and dynamic approaches. We present a hybrid information flow analysis for a large subset of the C programming language. Extending previous work that handled a few difficult features of C, our analysis can now deal with arrays, pointers with pointer arithmetic, structures, dynamic memory allocation, complex control flow, and statically resolvable indirect function calls. The analysis is implemented as a plugin to the Frama-C framework. We demonstrate the applicability and precision of our analyzer by applying it to an open-source cryptographic library. By combining abstract interpretation and monitoring techniques, we verify an information flow policy that proves the absence of control-flow based timing attacks against the implementations of many common cryptographic algorithms. Conversely, we demonstrate that our analysis is able to detect a known instance of this kind of vulnerability in another cryptographic primitive.
机译:信息流分析对通过软件系统的数据传播进行建模,并识别意外的信息泄漏。此类分析的范围很广,可以静态,动态或以结合了静态和动态方法的混合方式来跟踪流量。我们为C编程语言的大部分子集提供了一种混合信息流分析。扩展了以前处理C的一些困难功能的工作之后,我们的分析现在可以处理数组,具有指针算术的指针,结构,动态内存分配,复杂的控制流以及静态可解析的间接函数调用。该分析是作为Frama-C框架的插件实现的。我们通过将分析器应用于开放源代码加密库来证明其适用性和精度。通过结合抽象解释和监视技术,我们验证了一种信息流策略,该策略证明了针对许多常见密码算法的实现不存在基于控制流的定时攻击。相反,我们证明了我们的分析能够检测到另一种密码原语中这种漏洞的已知实例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号