arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.01193cs.CRcs.AI
收藏

Mercury:一种针对Nvidia深度学习加速器的自动化远程侧信道攻击

Mercury: An Automated Remote Side-channel Attack to Nvidia Deep Learning Accelerator

Nanyang Technological University(南洋理工大学);Tsinghua University(清华大学);Chongqing University(重庆大学)

Xiaobei Yan, Xiaoxuan Lou, Guowen Xu, Han Qiu, Shangwei Guo, Chip Hong Chang, Tianwei Zhang

AI总结:

本文提出Mercury,首个针对现成Nvidia DNN加速器的自动化远程侧信道攻击。该方法将侧信道提取建模为序列到序列问题,利用TDC远程收集功耗轨迹并通过学习模型自动恢复模型架构,结合注意力机制定位泄露点,将模型提取错误率降至1%以下。

摘要:

DNN加速器已被广泛部署在许多场景中,以加速推理过程并降低能耗。使用加速器的一个重大问题是部署模型的机密性:在加速器上执行模型推理可能会泄露侧信道信息,这使得攻击者能够精确恢复模型细节。这种模型提取攻击不仅会损害DNN模型的知识产权,还会助长某些对抗性攻击。尽管先前的工作已经展示了许多从DNN加速器中提取模型的侧信道技术,但由于两个原因,它们并不实用。(1)它们仅针对简化的加速器实现,在现实世界中的实用性有限。(2)它们需要大量的人工分析和领域知识。为了克服这些限制,本文提出了Mercury,这是首个针对现成Nvidia DNN加速器的自动化远程侧信道攻击。Mercury的关键见解是将侧信道提取过程建模为序列到序列问题。攻击者可以利用时间数字转换器(TDC)远程收集目标模型推理的功耗轨迹。然后,他使用学习模型在没有任何先验知识的情况下,从功耗轨迹中自动恢复受害者模型的架构细节。攻击者还可以进一步使用注意力机制来定位对攻击贡献最大的泄露点。评估结果表明,Mercury可以将模型提取的错误率保持在1%以下。

英文摘要:

DNN accelerators have been widely deployed in many scenarios to speed up the inference process and reduce the energy consumption. One big concern about the usage of the accelerators is the confidentiality of the deployed models: model inference execution on the accelerators could leak side-channel information, which enables an adversary to preciously recover the model details. Such model extraction attacks can not only compromise the intellectual property of DNN models, but also facilitate some adversarial attacks. Although previous works have demonstrated a number of side-channel techniques to extract models from DNN accelerators, they are not practical for two reasons. (1) They only target simplified accelerator implementations, which have limited practicality in the real world. (2) They require heavy human analysis and domain knowledge. To overcome these limitations, this paper presents Mercury, the first automated remote side-channel attack against the off-the-shelf Nvidia DNN accelerator. The key insight of Mercury is to model the side-channel extraction process as a sequence-to-sequence problem. The adversary can leverage a time-to-digital converter (TDC) to remotely collect the power trace of the target model's inference. Then he uses a learning model to automatically recover the architecture details of the victim model from the power trace without any prior knowledge. The adversary can further use the attention mechanism to localize the leakage points that contribute most to the attack. Evaluation results indicate that Mercury can keep the error rate of model extraction below 1%.

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

↑