鲁棒可达性的一种定量方法
A Quantitative Flavour of Robust Reachability
摘要:
许多软件分析技术都试图确定漏洞是否可触及,但出于安全目的,这只是故事的一部分,因为它并不表明发现的漏洞是否可以很容易地被攻击者触发。最近引入的鲁棒可达性的概念旨在通过区分由攻击者控制的输入和不受攻击者控制的输入来填补这一空白。然而,这种定性的概念在实践中可能过于强烈,留下了大部分但不完全可复制的错误。我们的目标是在这里提出一个强大的可达性,更灵活,仍然适合自动化的定量版本。我们提出了定量的鲁棒性,一个度量表示如何容易攻击者可以触发一个错误,同时考虑到他只能影响程序输入的一部分,连同一个专用的定量符号执行技术(QRSE)。有趣的是,QRSE依赖于模型计数的一种变体(即功能性E-MAJSAT),到目前为止在形式化验证中还没有见过,但它已经在贝叶斯网络,知识表示和概率规划等AI领域进行了研究。然而,这些领域的现有解决方法被证明是不令人满意的形式化验证的目的,导致我们提出了一种新的参数化方法。这些结果已经实施和评估了两个安全相关的案例研究,允许证明我们的想法的可行性和相关性。
英文摘要:
Many software analysis techniques attempt to determine whether bugs are reachable, but for security purpose this is only part of the story as it does not indicate whether the bugs found could be easily triggered by an attacker. The recently introduced notion of robust reachability aims at filling this gap by distinguishing the input controlled by the attacker from those that are not. Yet, this qualitative notion may be too strong in practice, leaving apart bugs which are mostly but not fully replicable. We aim here at proposing a quantitative version of robust reachability, more flexible and still amenable to automation. We propose quantitative robustness, a metric expressing how easily an attacker can trigger a bug while taking into account that he can only influence part of the program input, together with a dedicated quantitative symbolic execution technique (QRSE). Interestingly, QRSE relies on a variant of model counting (namely, functional E-MAJSAT) unseen so far in formal verification, but which has been studied in AI domains such as Bayesian network, knowledge representation and probabilistic planning. Yet, the existing solving methods from these fields turn out to be unsatisfactory for formal verification purpose, leading us to propose a novel parametric method. These results have been implemented and evaluated over two security-relevant case studies, allowing to demonstrate the feasibility and relevance of our ideas.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。