MAFIA:保护嵌入式系统微架构免受故障注入攻击
MAFIA: Protecting the Microarchitecture of Embedded Systems Against Fault Injection Attacks
AI总结:
针对嵌入式系统微架构控制信号完整性缺失问题,提出MAFIA机制,通过签名确保流水线控制信号完整性和细粒度控制流完整性,在RISC-V上实现,开销可权衡。
摘要:
故障注入攻击是对嵌入式系统的有效威胁。最近,Laurent等人报道称故障注入攻击可以利用微架构内部的故障。然而,最先进的对抗措施,无论是纯硬件还是硬件支持的措施,都没有考虑这些故障所针对的微架构控制信号的完整性。我们提出了MAFIA,一种针对故障注入攻击的微架构保护机制。MAFIA通过基于签名的机制确保流水线控制信号的完整性,并通过完整的间接分支支持和代码认证确保细粒度的控制流完整性。我们分析了两种具有不同安全/开销权衡的实现的安全属性:一种使用CBC-MAC/Prince签名函数,另一种使用CRC32。我们在RISC-V处理器中展示了MAFIA的实现,并辅以基于LLVM/Clang的专用编译器工具链。我们报告了CBC-MAC/Prince和CRC32的硬件面积开销分别为23.8%和6.5%。CRC32实现的平均代码大小和执行时间开销分别为29.4%和18.4%,而CBC-MAC/Prince的分别为50%和39%。
英文摘要:
Fault injection attacks represent an effective threat to embedded systems. Recently, Laurent et al. have reported that fault injection attacks can leverage faults inside the microarchitecture. However, state-of-the-art counter-measures, hardwareonly or with hardware support, do not consider the integrity of microarchitecture control signals that are the target of these faults. We present MAFIA, a microarchitecture protection against fault injection attacks. MAFIA ensures integrity of pipeline control signals through a signature-based mechanism, and ensures fine-grained control-flow integrity with a complete indirect branch support and code authenticity. We analyse the security properties of two different implementations with different security/overhead trade-offs: one with a CBC-MAC/Prince signature function, and another one with a CRC32. We present our implementation of MAFIA in a RISC-V processor, supported by a dedicated compiler toolchain based on LLVM/Clang. We report a hardware area overhead of 23.8 % and 6.5 % for the CBC-MAC/Prince and CRC32 respectively. The average code size and execution time overheads are 29.4 % and 18.4 % respectively for the CRC32 implementation and are 50 % and 39 % for the CBC-MAC/Prince.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。