arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.04775cs.CR
收藏

SYNFI:开源安全元件的预硅故障分析

SYNFI: Pre-Silicon Fault Analysis of an Open-Source Secure Element

Pascal Nasahl, Miguel Osorio, Pirmin Vogel, Michael Schaffner, Timothy Trippel, Dominic Rizzo, Stefan Mangard

摘要:

故障攻击是主动的物理攻击,攻击者可以利用这些攻击来改变嵌入式设备的控制流,以获得对敏感信息的访问或绕过保护机制。由于这些攻击的严重性,制造商将基于硬件的故障防御部署到安全关键系统中,例如安全元件。这些对策的发展是一项具有挑战性的任务,由于复杂的相互作用的电路组件,因为当代的设计自动化工具往往会优化插入的结构,从而违背了他们的目的。因此,至关重要的是,这种对策是严格验证后合成。由于经典的功能验证技术无法评估对策的有效性,开发人员不得不求助于能够在仿真测试台或物理芯片中注入故障的方法。然而,开发测试序列以在仿真中注入故障是一项容易出错的任务,并且对芯片进行故障攻击需要专门的设备并且非常耗时。为此,本文介绍了SYNFI,一个正式的硅前故障验证框架,操作合成网表。SYNFI可用于分析故障对电路输入输出关系的一般影响及其故障对策,从而使硬件设计人员能够以系统和半自动的方式评估和验证嵌入式对策的有效性。为了证明SYNFI能够处理与商业和开放工具合成的未经修改的工业级网表,我们分析了第一个开源安全元素OpenTitan。在我们的分析中,我们确定了未受保护的AES块中的关键安全漏洞,制定了有针对性的对策,重新评估了它们的安全性,并将这些对策反馈给OpenTitan存储库。

英文摘要:

Fault attacks are active, physical attacks that an adversary can leverage to alter the control-flow of embedded devices to gain access to sensitive information or bypass protection mechanisms. Due to the severity of these attacks, manufacturers deploy hardware-based fault defenses into security-critical systems, such as secure elements. The development of these countermeasures is a challenging task due to the complex interplay of circuit components and because contemporary design automation tools tend to optimize inserted structures away, thereby defeating their purpose. Hence, it is critical that such countermeasures are rigorously verified post-synthesis. As classical functional verification techniques fall short of assessing the effectiveness of countermeasures, developers have to resort to methods capable of injecting faults in a simulation testbench or into a physical chip. However, developing test sequences to inject faults in simulation is an error-prone task and performing fault attacks on a chip requires specialized equipment and is incredibly time-consuming. To that end, this paper introduces SYNFI, a formal pre-silicon fault verification framework that operates on synthesized netlists. SYNFI can be used to analyze the general effect of faults on the input-output relationship in a circuit and its fault countermeasures, and thus enables hardware designers to assess and verify the effectiveness of embedded countermeasures in a systematic and semi-automatic way. To demonstrate that SYNFI is capable of handling unmodified, industry-grade netlists synthesized with commercial and open tools, we analyze OpenTitan, the first open-source secure element. In our analysis, we identified critical security weaknesses in the unprotected AES block, developed targeted countermeasures, reassessed their security, and contributed these countermeasures back to the OpenTitan repository.

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

↑