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

多线程程序的定量安全分析

Quantitative Security Analysis for Multi-threaded Programs

Tri Minh Ngo, Marieke Huisman

摘要:

信息流的定量理论为我们提供了一种方法来放松许多实际程序难以满足的绝对机密性。经典的信息论方法的顺序程序,程序被建模为一个通信信道,只有输入和输出,泄漏的措施是基于初始不确定性和剩余的不确定性的概念,观察最终的结果,不适合多线程程序。此外,信息论的方法也已被证明是相互冲突时,比较程序。多线程程序的暴露信息流的推理更加复杂,因为这些程序的结果取决于调度器策略,并且中间状态中的泄漏也有助于程序的整体泄漏。本文提出了一种新的多线程程序的定量分析模型,该模型还考虑了沿轨迹的中间状态的可观测量的影响。我们定义了一个概念的泄漏的程序跟踪。给定多线程程序的执行通常由一组跟踪描述的事实,在特定调度器下的程序的泄漏被计算为所有可能的跟踪的泄漏的期望值。最后通过实例将我们的方法与现有的方法进行了比较。

英文摘要:

Quantitative theories of information flow give us an approach to relax the absolute confidentiality properties that are difficult to satisfy for many practical programs. The classical information-theoretic approaches for sequential programs, where the program is modeled as a communication channel with only input and output, and the measure of leakage is based on the notions of initial uncertainty and remaining uncertainty after observing the final outcomes, are not suitable to multi-threaded programs. Besides, the information-theoretic approaches have been also shown to conflict with each other when comparing programs. Reasoning about the exposed information flow of multi-threaded programs is more complicated, since the outcomes of such programs depend on the scheduler policy, and the leakages in intermediate states also contribute to the overall leakage of the program. This paper proposes a novel model of quantitative analysis for multi-threaded programs that also takes into account the effect of observables in intermediate states along the trace. We define a notion of the leakage of a program trace. Given the fact that the execution of a multi-threaded program is typically described by a set of traces, the leakage of a program under a specific scheduler is computed as the expected value of the leakages of all possible traces. Examples are given to compare our approach with the existing approaches.

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

↑