arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.03950cs.CRcs.PL
收藏

动态信息流分析中允许升级的推广

Generalizing Permissive-Upgrade in Dynamic Information Flow Analysis

Abhishek Bichhawat, Vineet Rajani, Deepak Garg, Christian Hammer

摘要:

通过动态程序分析来防止隐式信息流需要粗略的近似,这会导致误报,因为动态监视器只能看到程序的执行跟踪。一种广泛部署的方法是不敏感升级检查,每当变量的污染由于对污染数据的控制依赖而升级(变得更敏感)时,它就会终止程序。虽然这种方法是合理的,但它是有限制性的,例如,它终止程序,即使升级后的变量随后从未使用。为了解决这个问题,Austin和Flanagan引入了许可升级检查,它允许由于控制依赖而升级变量,但将变量标记为“部分泄漏”。如果程序试图使用部分泄漏的变量,则会在稍后停止。许可升级处理死变量分配问题,并保持健全。然而,Austin和Flanagan仅为两点(低-高)安全格开发了允许升级,并表示这种格的逐点乘积的推广。在本文中,我们发展了一个非平凡和非明显的推广,允许升级到任意格。关键的困难在于找到一个合适的概念,部分泄漏,是健全的和宽容的,并在开发一个合适的定义,内存等价,允许归纳证明的健全性。

英文摘要:

Preventing implicit information flows by dynamic program analysis requires coarse approximations that result in false positives, because a dynamic monitor sees only the executed trace of the program. One widely deployed method is the no-sensitive-upgrade check, which terminates a program whenever a variable's taint is upgraded (made more sensitive) due to a control dependence on tainted data. Although sound, this method is restrictive, e.g., it terminates the program even if the upgraded variable is never used subsequently. To counter this, Austin and Flanagan introduced the permissive-upgrade check, which allows a variable upgrade due to control dependence, but marks the variable "partially-leaked". The program is stopped later if it tries to use the partially-leaked variable. Permissive-upgrade handles the dead-variable assignment problem and remains sound. However, Austin and Flanagan develop permissive-upgrade only for a two-point (low-high) security lattice and indicate a generalization to pointwise products of such lattices. In this paper, we develop a non-trivial and non-obvious generalization of permissive-upgrade to arbitrary lattices. The key difficulty lies in finding a suitable notion of partial leaks that is both sound and permissive and in developing a suitable definition of memory equivalence that allows an inductive proof of soundness.

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

↑