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

一种利用SAT攻击逻辑锁的综合测试生成方法

A Comprehensive Test Pattern Generation Approach Exploiting SAT Attack for Logic Locking

Yadi Zhong, Ujjwal Guin

摘要:

在当今的安全关键型应用中,减少制造缺陷逃逸的需求需要增加故障覆盖率。然而,使用商业自动测试模式生成(ATPG)工具生成测试集,导致零缺陷逃逸仍然是一个悬而未决的问题。检测所有固定故障以达到100%的故障覆盖率是具有挑战性的。与此同时,硬件安全社区一直积极参与开发逻辑锁定解决方案,以防止IP盗版。锁(例如,“异”门)被插入到网表的不同位置,使得对手不能确定秘密密钥。不幸的是,在[1]中介绍的基于布尔可满足性(SAT)的攻击可以在几分钟内破坏不同的逻辑锁定方案。在本文中,我们提出了一种新的测试模式生成方法,使用强大的SAT攻击逻辑锁定。固定型故障被建模为具有秘密密钥的锁定的门。我们的固定故障的建模保留了故障激活和传播的属性。我们表明,输入模式,确定的关键是一个测试的固定故障。我们提出了两种不同的测试模式生成方法。首先,针对单个固定故障,创建具有一个密钥位的相应锁定电路。这种方法为每个故障生成一个测试模式。其次,我们考虑一组故障,并将电路转换为具有多个密钥位的锁定版本。从SAT工具获得的输入是用于检测这组故障的测试集。我们的方法是能够找到难以检测的故障,以前在商业ATPG工具失败的测试模式。所提出的测试模式生成方法可以有效地检测电路中存在的冗余故障。我们证明了该方法的有效性在ITC'99基准。实验结果表明,该方法可以达到100%的故障覆盖率.

英文摘要:

The need for reducing manufacturing defect escape in today's safety-critical applications requires increased fault coverage. However, generating a test set using commercial automatic test pattern generation (ATPG) tools that lead to zero-defect escape is still an open problem. It is challenging to detect all stuck-at faults to reach 100% fault coverage. In parallel, the hardware security community has been actively involved in developing solutions for logic locking to prevent IP piracy. Locks (e.g., XOR gates) are inserted in different locations of the netlist so that an adversary cannot determine the secret key. Unfortunately, the Boolean satisfiability (SAT) based attack, introduced in [1], can break different logic locking schemes in minutes. In this paper, we propose a novel test pattern generation approach using the powerful SAT attack on logic locking. A stuck-at fault is modeled as a locked gate with a secret key. Our modeling of stuck-at faults preserves the property of fault activation and propagation. We show that the input pattern that determines the key is a test for the stuck-at fault. We propose two different approaches for test pattern generation. First, a single stuck-at fault is targeted, and a corresponding locked circuit with one key bit is created. This approach generates one test pattern per fault. Second, we consider a group of faults and convert the circuit to its locked version with multiple key bits. The inputs obtained from the SAT tool are the test set for detecting this group of faults. Our approach is able to find test patterns for hard-to-detect faults that were previously failed in commercial ATPG tools. The proposed test pattern generation approach can efficiently detect redundant faults present in a circuit. We demonstrate the effectiveness of the approach on ITC'99 benchmarks. The results show that we can achieve a perfect fault coverage reaching 100%.

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

↑