我们提出了一种用于证明程序定量泄漏特性的新型形式化系统。该系统基于定量信息流(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.
Efficient Certified Reasoning for Binarized Neural Networks
Georgia Institute of Technology(佐治亚理工学院);United States Institute for Infocomm Research (I 2 R)(美国信息与通信研究所);Nanyang Technological University(南洋理工大学);University of Toronto(多伦多大学);Chalmers University of Technology(楚克大学);University of Gothenburg(哥德堡大学)