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

面向定量信息流的源码级推理

Source-level reasoning for quantitative information flow

Chris Chen, Annabelle McIver, Carroll Morgan

AI总结:

该研究提出一种源码级定量信息流形式化推理系统,基于QIF理论与增益函数,通过扩展命令式语言的增益表达式标注及等价转换实现泄漏证明,并在小型复杂场景中验证了有效性。

摘要:

我们提出了一种用于证明程序定量泄漏特性的新型形式化系统。该系统基于定量信息流(Quantitative Information Flow,QIF)理论,该理论将信息泄漏建模为噪声通信信道,并使用“增益函数(gain-functions)”来描述和度量预期泄漏量。我们采用一种小型命令式编程语言,为其扩展了泄漏特性,并以此来表达攻击者的活动,其表达风格类似于传统上用于描述确定性或概率正确性但不涉及信息流的Hoare三元组或期望转换器,但更具通用性。程序会被标注“增益表达式(gain-expressions)”,这类表达式可描述简单的攻击场景,比如“一次尝试猜出秘密”,也能描述更通用的场景;我们基于形式化语法和逻辑的框架能够将程序执行后适用的这类增益表达式,转换为程序执行前等效适用的表达式。通过这种方式,我们构建了一个源码层面的、基于形式化证明的QIF推理系统。我们将其应用于所选的编程语言,并在若干小型但有时较为复杂的场景中验证了其有效性。

英文摘要:

We present a novel formal system for proving quantitative-leakage properties of programs. Based on a theory of Quantitative Information Flow (QIF) that models information leakage as a noisy communication channel, it uses "gain-functions" for the description and measurement of expected leaks. We use a small imperative programming language, augmented with leakage features, and with it express adversaries' activities in the style of, but more generally than, the Hoare triples or expectation transformers that traditionally express deterministic or probabilistic correctness but without information flow. The programs are annotated with "gain-expressions" that capture simple adversarial settings such as "Guess the secret in one try." but also much more general ones; and our formal syntax and logic -based framework enables us to transform such gain-expressions that apply after a program has finished to ones that equivalently apply before the program has begun. In that way we enable a formal proof-based reasoning system for QIF at the source level. We apply it to the %programming language we have chosen, and demonstrate its effectiveness in a number of small but sometimes intricate situations.

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

↑