辨别时间痕迹
Discriminating Traces with Time
摘要:
程序内部的什么属性解释了不同输入下程序运行时间的可能差异?在本文中,我们提出了一个正式的框架来考虑这个问题,我们称之为迹集歧视。我们表明,即使计算最大似然判别式的算法问题是NP难的,基于整数线性规划(ILP)和决策树学习的方法可以是有用的归零程序内部。在一组Java基准测试中,我们发现紧凑表示的决策树可扩展地具有高准确性-比最大似然判别更可扩展,并且具有可比的准确性。我们在三个更大的案例研究中演示了我们的工具产生的决策树判别式如何用于调试定时侧通道漏洞(即,其中恶意观察者仅通过被动地观察执行时间来推断秘密)和可用性漏洞。
英文摘要:
What properties about the internals of a program explain the possible differences in its overall running time for different inputs? In this paper, we propose a formal framework for considering this question we dub trace-set discrimination. We show that even though the algorithmic problem of computing maximum likelihood discriminants is NP-hard, approaches based on integer linear programming (ILP) and decision tree learning can be useful in zeroing-in on the program internals. On a set of Java benchmarks, we find that compactly-represented decision trees scalably discriminate with high accuracy---more scalably than maximum likelihood discriminants and with comparable accuracy. We demonstrate on three larger case studies how decision-tree discriminants produced by our tool are useful for debugging timing side-channel vulnerabilities (i.e., where a malicious observer infers secrets simply from passively watching execution times) and availability vulnerabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。