Lune

USENIX Security2021顶会

Hermes Attack: Steal DNN Models with Lossless Inference Accuracy

Yuankun Zhu, Yueqiang Cheng, Husheng Zhou, Yantao Lu

摘要

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).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 29 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Membership Inference Attacks Against Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • DeepTheft: Stealing DNN Model Architectures through Power Side Channel 引用了 Membership Inference Attacks Against Machine Learning Models
  • DeepTheft: Stealing DNN Model Architectures through Power Side Channel 引用了 Stealing Machine Learning Models via Prediction APIs
  • DeepTheft: Stealing DNN Model Architectures through Power Side Channel 引用了 Stealing Hyperparameters in Machine Learning
  • Fingerprinting Deep Neural Networks Globally via Universal Adversarial Perturbations 引用了 Stealing Machine Learning Models via Prediction APIs
  • Exploring Effective Data for Surrogate Training Towards Black-box Attack 引用了 Towards Evaluating the Robustness of Neural Networks
  • Exploring Effective Data for Surrogate Training Towards Black-box Attack 引用了 Stealing Machine Learning Models via Prediction APIs
  • No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 Membership Inference Attacks Against Machine Learning Models
  • No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories
  • No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 Stealing Machine Learning Models via Prediction APIs
  • DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories 引用了 Stealing Machine Learning Models via Prediction APIs
  • Stealing Hyperparameters in Machine Learning 引用了 Membership Inference Attacks Against Machine Learning Models
  • Stealing Hyperparameters in Machine Learning 引用了 Towards Evaluating the Robustness of Neural Networks
  • Stealing Hyperparameters in Machine Learning 引用了 Stealing Machine Learning Models via Prediction APIs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in MemoriesAdnan Siraj Rakin, Md Hafizul Islam Chowdhuryy, Fan Yao, Deliang FanS&P 2022 · 163 次引用
  2. Fingerprinting Deep Neural Networks Globally via Universal Adversarial PerturbationsZirui Peng, Shaofeng Li, Guoxing Chen, Cheng Zhang 等CVPR 2022 · 66 次引用
  3. No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLZiqi Zhang, Chen Gong, Yifeng Cai, Yuanyuan Yuan 等S&P 2024 · 53 次引用
  4. DeepTheft: Stealing DNN Model Architectures through Power Side ChannelYansong Gao, Huming Qiu, Zhi Zhang, Binghui Wang 等S&P 2024 · 37 次引用
  5. Exploring Effective Data for Surrogate Training Towards Black-box AttackXuxiang Sun, Gong Cheng, Hongda Li, Lei Pei 等CVPR 2022 · 26 次引用

它引用的 Paper7

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  4. Stealing Hyperparameters in Machine LearningBinghui Wang, Neil Zhenqiang GongS&P 2018 · 504 次引用
  5. Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely 等NSDI 2020 · 108 次引用

相关 Paper

  1. Peering Inside the Black-Box: Long-Range and Scalable Model Architecture Snooping via GPU Electromagnetic Side-ChannelRui Xiao, Sibo Feng, Soundarya Ramesh, Jun Han 等NDSS 2026 · 3 次引用
  2. DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng 等ASPLOS 2020 · 128 次引用
  3. SoK: Neural Network Extraction Through Physical Side ChannelsPéter Horváth, Dirk Lauret, Zhuoran Liu, Lejla BatinaUSENIX Security 2024 · 11 次引用
  4. Side-Channel-Assisted Reverse-Engineering of Encrypted DNN Hardware Accelerator IP and Attack Surface ExplorationCheng Gongye, Yukui Luo, Xiaolin Xu, Yunsi FeiS&P 2024 · 25 次引用
  5. Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN ArchitecturesMengjia Yan, Christopher W. Fletcher, Josep TorrellasUSENIX Security 2020
黄昏的海面,两侧是细线勾勒的悬崖