SCFI:状态机控制流抗故障攻击加固
SCFI: State Machine Control-Flow Hardening Against Fault Attacks
摘要:
故障注入(FI)是一种强大的攻击方法,允许攻击者完全破坏目标设备的安全性。由于有限状态机(FSM)是负责控制系统的基本硬件构建块,因此将故障引入这些控制器使对手能够劫持集成电路的执行。缓解这些攻击的常见防御策略是多次手动实例化FSM,并使用多数表决逻辑检测故障。然而,由于每个额外的FSM实例仅提供针对一个额外的诱发故障的安全性,因此这种方法在多故障攻击场景中的扩展性很差。在本文中,我们提出了SCFI:一个强大的,概率FSM保护机制,确保控制流偏离预期的控制流检测,即使在存在多个故障。在其核心,SCFI由一个强化的下一个状态函数组成,该函数吸收执行历史以及FSM的控制信号来导出下一个状态。当吸收的输入、状态寄存器或功能本身受到故障影响时,SCFI会触发错误,且无检测延迟。我们将SCFI集成到一个合成工具中,该工具能够自动硬化任意未受保护的FSM,而无需用户交互和开源工具。我们的评估表明,SCFI提供了更好的面积-时间的产品比FSM使用经典的基于冗余的方法保护强有力的保护保证。最后,我们正式验证的弹性保护状态机使用前硅故障分析工具。
英文摘要:
Fault injection (FI) is a powerful attack methodology allowing an adversary to entirely break the security of a target device. As finite-state machines (FSMs) are fundamental hardware building blocks responsible for controlling systems, inducing faults into these controllers enables an adversary to hijack the execution of the integrated circuit. A common defense strategy mitigating these attacks is to manually instantiate FSMs multiple times and detect faults using a majority voting logic. However, as each additional FSM instance only provides security against one additional induced fault, this approach scales poorly in a multi-fault attack scenario. In this paper, we present SCFI: a strong, probabilistic FSM protection mechanism ensuring that control-flow deviations from the intended control-flow are detected even in the presence of multiple faults. At its core, SCFI consists of a hardened next-state function absorbing the execution history as well as the FSM's control signals to derive the next state. When either the absorbed inputs, the state registers, or the function itself are affected by faults, SCFI triggers an error with no detection latency. We integrate SCFI into a synthesis tool capable of automatically hardening arbitrary unprotected FSMs without user interaction and open-source the tool. Our evaluation shows that SCFI provides strong protection guarantees with a better area-time product than FSMs protected using classical redundancy-based approaches. Finally, we formally verify the resilience of the protected state machines using a pre-silicon fault analysis tool.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。