面向类型的容错非干扰编译
Type-Directed Compilation for Fault-Tolerant Non-Interference
摘要:
环境噪声(如热、电离粒子等)会导致硬件中的瞬时故障,从而导致存储值损坏。任务关键型设备需要通过容错来减轻此类故障-容错是一种旨在保留系统功能行为的技术组合,尽管存在瞬时故障的破坏性影响。容错通常具有很高的部署成本--可能需要特殊的硬件来实现它--并且提供弱的统计保证。它还基于故障很少的假设。在本文中,我们考虑的情况下,安全性,而不是功能的正确性,是要保护的主要资产。我们的贡献是双重的。首先,我们开发了一个理论,用于表示在存在瞬时故障的数据的机密性。我们表明,自然概率定义的安全故障的存在下,可以捕获的可能性定义。此外,可能性的定义是由一个已知的基于互模拟的属性,称为强安全性。其次,我们说明了一个简单的RISC架构,只有代码存储器和程序计数器的容错这些结果的效用。我们提出了一个类型导向的编译方案,产生RISC代码从一个更高层次的语言,其中强安全举行-即良好类型的程序编译为RISC代码,这是安全的,尽管瞬态故障。与容错解决方案相比,我们的技术假设相对较少的特殊硬件,给出正式的保证,并在存在主动攻击者的情况下工作,主动攻击者积极地针对系统的部分并精确地引发故障。
英文摘要:
Environmental noise (e.g.heat, ionized particles, etc.) causes transient faults in hardware, which lead to corruption of stored values. Mission-critical devices require such faults to be mitigated by fault-tolerance --- a combination of techniques that aim at preserving the functional behaviour of a system despite the disruptive effects of transient faults. Fault-tolerance typically has a high deployment cost -- special hardware might be required to implement it -- and provides weak statistical guarantees. It is also based on the assumption that faults are rare. In this paper, we consider scenarios where security, rather than functional correctness, is the main asset to be protected. Our contribution is twofold. Firstly, we develop a theory for expressing confidentiality of data in the presence of transient faults. We show that the natural probabilistic definition of security in the presence of faults can be captured by a possibilistic definition. Furthermore, the possibilistic definition is implied by a known bisimulation-based property, called Strong Security. Secondly, we illustrate the utility of these results for a simple RISC architecture for which only the code memory and program counter are assumed fault-tolerant. We present a type-directed compilation scheme that produces RISC code from a higher-level language for which Strong Security holds --- i.e. well-typed programs compile to RISC code which is secure despite transient faults. In contrast with fault-tolerance solutions, our technique assumes relatively little special hardware, gives formal guarantees, and works in the presence of an active attacker who aggressively targets parts of a system and induces faults precisely.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。