模型计数模理论
Model Counting Modulo Theories
摘要:
本文主要研究软件安全性的定量评估问题。更具体地说,它解决了有效计算信道容量的问题,即软件泄露的最大机密信息量,以香农熵或雷尼最小熵测量。大多数计算信道容量的方法要么是有效的,只返回(可能非常宽松)上限,或者效率低下,但精确;很少有目标现实的程序。在这篇论文中,我们提出了一个新的方法来解决这个问题,通过减少它的模型计数问题的一阶逻辑,我们命名为模型计数模理论或#SMT。对于数量安全,我们的贡献是双重的。首先,在理论方面,我们建立了测量机密性泄漏和基本验证算法(如符号执行,SMT求解器和DPLL)之间的联系。其次,利用这些连接,我们开发了新的基于#SMT的技术来计算信道容量,实现了准确性和效率。这些技术可扩展到现实世界的程序,并说明性的案例研究包括C程序从Linux内核,Java程序从欧洲项目和匿名协议。对于形式化验证,我们的贡献也是双重的。首先,我们介绍和研究了一个新的研究问题,即#SMT,它有其他潜在的应用程序以外的计算信道容量,如返回多个反例有界模型检验或自动测试生成。其次,我们提出了一种替代方法,有界模型检验使用经典的符号执行,它可以并行化,以利用现代多核和分布式架构。
英文摘要:
This thesis is concerned with the quantitative assessment of security in software. More specifically, it tackles the problem of efficient computation of channel capacity, the maximum amount of confidential information leaked by software, measured in Shannon entropy or Rényi's min-entropy. Most approaches to computing channel capacity are either efficient and return only (possibly very loose) upper bounds, or alternatively are inefficient but precise; few target realistic programs. In this thesis, we present a novel approach to the problem by reducing it to a model counting problem on first-order logic, which we name Model Counting Modulo Theories or #SMT for brevity. For quantitative security, our contribution is twofold. First, on the theoretical side we establish the connections between measuring confidentiality leaks and fundamental verification algorithms like Symbolic Execution, SMT solvers and DPLL. Second, exploiting these connections, we develop novel #SMT-based techniques to compute channel capacity, which achieve both accuracy and efficiency. These techniques are scalable to real-world programs, and illustrative case studies include C programs from Linux kernel, a Java program from a European project and anonymity protocols. For formal verification, our contribution is also twofold. First, we introduce and study a new research problem, namely #SMT, which has other potential applications beyond computing channel capacity, such as returning multiple-counterexamples for Bounded Model Checking or automated test generation. Second, we propose an alternative approach for Bounded Model Checking using classical Symbolic Execution, which can be parallelised to leverage modern multi-core and distributed architecture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。