Hermes攻击:以无损推理精度窃取DNN模型
Hermes Attack: Steal DNN Models with Lossless Inference Accuracy
摘要:
深度神经网络(DNN)模型由于其在应用的各个方面的关键作用而成为最有价值的企业资产之一。随着DNN模型私有化部署的趋势,DNN模型的数据泄露问题日益严重和普遍。所有现有的模型窃取攻击只能泄漏部分目标DNN模型,准确性低或开销高。在本文中,我们首先确定了一种新的攻击面-未加密的PCIe流量,以泄漏DNN模型。基于这种新的攻击面,我们提出了一种新的模型窃取攻击,即Hermes攻击,这是第一次完全窃取整个受害者DNN模型的攻击。被盗的DNN模型具有与原始模型相同的超参数,参数和语义相同的架构。这是具有挑战性的,因为封闭源CUDA运行时,驱动程序和GPU内部,以及未记录的数据结构和PCIe流量中某些关键语义的丢失。此外,有数百万个PCIe数据包具有许多噪声和混乱顺序。我们的Hermes攻击通过巨大的逆向工程努力和可靠的语义重建以及熟练的数据包选择和顺序校正来解决这些问题。我们实现了Hermes攻击的原型,并评估了两个顺序DNN模型(即,MINIST和VGG)和一个相应的DNN模型(即,ResNet)在三个NVIDIA GPU平台上,即,NVIDIA Geforce GT 730、NVIDIA Geforce GTX 1080 Ti和NVIDIA Geforce RTX 2080 Ti。评估结果表明,我们的计划是能够有效地和完整地重建所有的人与任何一个图像上的推断。使用包含10,000张图像的Cifar 10测试数据集进行评估,实验结果表明,被盗模型具有与原始模型相同的推理准确性(即,无损推理精度)。
英文摘要:
Deep Neural Networks (DNNs) models become one of the most valuable enterprise assets due to their critical roles in all aspects of applications. With the trend of privatization deployment of DNN models, the data leakage of the DNN models is becoming increasingly serious and widespread. All existing model-extraction attacks can only leak parts of targeted DNN models with low accuracy or high overhead. In this paper, we first identify a new attack surface -- unencrypted PCIe traffic, to leak DNN models. Based on this new attack surface, we propose a novel model-extraction attack, namely Hermes Attack, which is the first attack to fully steal the whole victim DNN model. The stolen DNN models have the same hyper-parameters, parameters, and semantically identical architecture as the original ones. It is challenging due to the closed-source CUDA runtime, driver, and GPU internals, as well as the undocumented data structures and the loss of some critical semantics in the PCIe traffic. Additionally, there are millions of PCIe packets with numerous noises and chaos orders. Our Hermes Attack addresses these issues by huge reverse engineering efforts and reliable semantic reconstruction, as well as skillful packet selection and order correction. We implement a prototype of the Hermes Attack, and evaluate two sequential DNN models (i.e., MINIST and VGG) and one consequential DNN model (i.e., ResNet) on three NVIDIA GPU platforms, i.e., NVIDIA Geforce GT 730, NVIDIA Geforce GTX 1080 Ti, and NVIDIA Geforce RTX 2080 Ti. The evaluation results indicate that our scheme is able to efficiently and completely reconstruct ALL of them with making inferences on any one image. Evaluated with Cifar10 test dataset that contains 10,000 images, the experiment results show that the stolen models have the same inference accuracy as the original ones (i.e., lossless inference accuracy).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。