发展执法的理论基础
Developing Theoretical Foundations for Runtime Enforcement
摘要:
对软件系统的普遍依赖增加了对确保系统正确运行并受到良好保护以免受安全风险的需求。强制验证是一种动态分析技术,其利用软件监视器来检查软件系统相对于正确性规范的运行时行为。每当被监视系统的运行时行为将要偏离规范时(由于编程错误或安全劫持攻击),监视器应用强制技术来防止这种偏离。当前的强制执行技术要求正确性规范定义强制执行监视器本身的行为。这使得说明符不仅必须定义需要强制执行的属性,而且还必须指定如何在运行时强制执行;因此,我们通过诉诸高度表达的逻辑来减轻说明符的负担。使用逻辑,我们允许说明符将正确性规范定义为逻辑公式,从中我们可以自动合成适当的执行监视器。然而,高度表达的逻辑可以允许定义各种各样的公式,其中一些公式实际上不能在运行时正确执行。因此,我们研究的Hennessy米尔纳逻辑与递归,我们确定了一个子集,允许定义可执行的公式的可扩展性。这使我们能够定义一个合成函数,将可执行的公式转化为执行监视器。由于我们的监视器旨在确保被监视系统的正确行为,因此它们必须正确工作。因此,我们研究正式的定义,使我们能够确保我们的执法监督行为正确。
英文摘要:
The ubiquitous reliance on software systems increases the need for ensuring that systems behave correctly and are well protected against security risks. Runtime enforcement is a dynamic analysis technique that utilizes software monitors to check the runtime behaviour of a software system with respect to a correctness specification. Whenever the runtime behaviour of the monitored system is about to deviate from the specification (either due to a programming bug or a security hijack attack), the monitors apply enforcement techniques to prevent this deviation. Current Runtime Enforcement techniques require that the correctness specification defines the behaviour of the enforcement monitor itself. This burdens the specifier with not only having to define property that needs to be enforced, but also with having to specify how this should be enforced at runtime; we thus relieve the specifier from this burden by resorting to a highly expressive logic. Using a logic we allow the specifier to define the correctness specification as a logic formula from which we can automatically synthesise the appropriate enforcement monitor. Highly expressive logics can, however, permit for defining a wide variety of formulae, some of which cannot actually be enforced correctly at runtime. We thus study the enforceability of Hennessy Milner Logic with Recursion for which we identify a subset that allows for defining enforceable formulae. This allows us to define a synthesis function that translates enforceable formulae into enforcement monitors. As our monitors are meant to ensure the correct behaviour of the monitored system, it is imperative that they work correctly themselves. We thus study formal definitions that allow us to ensure that our enforcement monitors behave correctly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。