arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.06017cs.CRcs.AIcs.AR
收藏

利用逻辑锁定对机器学习加速器实施神经木马攻击

Exploiting Logic Locking for a Neural Trojan Attack on Machine Learning Accelerators

Rochester Inst. of Tech.(罗切斯特理工学院)

Hongye Xu, Dongfang Liu, Cory Merkel, Michael Zuzak

AI总结:

本文提出利用逻辑锁定中错误密钥产生的确定性错误,在被保护的神经加速器中自动构造神经木马后门,并在基准加速器上实现触发输入准确率下降74%而其他输入仅下降1.7%的攻击效果。

摘要:

逻辑锁定已被提出用于在芯片制造期间保护知识产权(IP)。逻辑锁定技术通过使设计中的一部分组合模块依赖于一个对不可信方保密的密钥来保护硬件 IP。如果使用了错误的密钥,锁定模块中会产生一组确定性错误,从而限制未经授权的使用。逻辑锁定的一个常见目标是神经加速器,尤其是随着机器学习即服务变得越来越普遍。在这项工作中,我们探索了如何利用逻辑锁定来破坏其所保护的神经加速器的安全性。具体来说,我们展示了由错误密钥引起的确定性错误如何被利用来产生神经木马式的后门。为此,我们首先概述了一个具有动机性的攻击场景,在该场景中,一个经过精心选择的错误密钥(我们称之为木马密钥)会在被锁定的加速器中针对攻击者指定的输入类别产生错误分类。然后,我们开发了一种理论上稳健的攻击方法,以自动识别木马密钥。为了评估这种攻击,我们在多个被锁定的加速器上实施了该攻击。在我们最大的基准加速器中,我们的攻击识别出了一个木马密钥,该密钥使攻击者指定的触发输入的分类准确率下降了74%,而其他输入的平均准确率仅下降了1.7%。

英文摘要:

Logic locking has been proposed to safeguard intellectual property (IP) during chip fabrication. Logic locking techniques protect hardware IP by making a subset of combinational modules in a design dependent on a secret key that is withheld from untrusted parties. If an incorrect secret key is used, a set of deterministic errors is produced in locked modules, restricting unauthorized use. A common target for logic locking is neural accelerators, especially as machine-learning-as-a-service becomes more prevalent. In this work, we explore how logic locking can be used to compromise the security of a neural accelerator it protects. Specifically, we show how the deterministic errors caused by incorrect keys can be harnessed to produce neural-trojan-style backdoors. To do so, we first outline a motivational attack scenario where a carefully chosen incorrect key, which we call a trojan key, produces misclassifications for an attacker-specified input class in a locked accelerator. We then develop a theoretically-robust attack methodology to automatically identify trojan keys. To evaluate this attack, we launch it on several locked accelerators. In our largest benchmark accelerator, our attack identified a trojan key that caused a 74\% decrease in classification accuracy for attacker-specified trigger inputs, while degrading accuracy by only 1.7\% for other inputs on average.

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

↑