Hermes Attack: Steal DNN Models with Lossless Inference Accuracy
Not on the map. Why?
Abstract (arXiv)
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).
Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 10; 2023: 6; 2024: 12; 2025: 4; 2026: 1.
41 papers.
Sort:
By area:
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
- 2022Fingerprinting Deep Neural Networks Globally via Universal Adversarial Perturbationscited by 58
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 55
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2022TrojViT: Trojan Insertion in Vision Transformerscited by 30
- 2021Delving into Data: Effectively Substitute Training for Black-box Attackcited by 27
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscationcited by 20
- 2022Learning to Reverse DNNs from AI Programs Automaticallycited by 11
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
- 2021SoK: Machine Learning Governancecited by 9
29 more
- 2024DLoRA: Distributed Parameter-Efficient Fine-Tuning Solution for Large Language Modelcited by 8
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2024Beyond Slow Signs in High-fidelity Model Extractioncited by 7
- 2021Fingerprinting Multi-exit Deep Neural Network Models via Inference Timecited by 4
- 2021Confidential Machine Learning Computation in Untrusted Environments: A Systems Security Perspectivecited by 4
- 2022ObfuNAS: A Neural Architecture Search-based DNN Obfuscation Approachcited by 4
- 2023Beyond Labeling Oracles: What does it mean to steal ML models?cited by 4
- 2024BlockFUL: Enabling Unlearning in Blockchained Federated Learningcited by 3
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairnesscited by 3
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Modelscited by 3
- 2021HODA: Hardness-Oriented Detection of Model Extraction Attackscited by 2
- 2022PINCH: An Adversarial Extraction Attack Framework for Deep Learning Modelscited by 2
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 2
- 2024Non-transferable Pruningcited by 2
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defensescited by 2
- 2025Stealing AI Model Weights Through Covert Communication Channelscited by 2
- 2026Steal the Patch Size: Adversarially Manipulate Vision-Language Modelscited by 2
- 2021First to Possess His Statistics: Data-Free Model Extraction Attack on Tabular Datacited by 1
- 2021BDFA: A Blind Data Adversarial Bit-flip Attack on Deep Neural Networkscited by 1
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasurescited by 1
- 2022Revealing Secrets From Pre-trained Modelscited by 0
- 2023DREAM: Domain-free Reverse Engineering Attributes of Black-box Modelcited by 0
- 2023Compilation as a Defense: Enhancing DL Model Attack Robustness via Tensor Optimizationcited by 0
- 2024Unraveling Attacks in Machine Learning-based IoT Ecosystems: A Survey and the Open Libraries Behind Themcited by 0
- 2024Amalgam: A Framework for Obfuscated Neural Network Training on the Cloudcited by 0
- 2024PEAS: A Strategy for Crafting Transferable Adversarial Examplescited by 0
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Modelcited by 0
- 2025Hot-Swap MarkBoard: An Efficient Black-box Watermarking Approach for Large-scale Model Distributioncited by 0
- 2025Surveying the Operational Cybersecurity and Supply Chain Threat Landscape when Developing and Deploying AI Systemscited by 0
- 2026Steal the Patch Size: Adversarially Manipulate Vision-Language Models30 Jun 2026
- 2025Stealing AI Model Weights Through Covert Communication Channels30 Sep 2025
- 2025Surveying the Operational Cybersecurity and Supply Chain Threat Landscape when Developing and Deploying AI Systems27 Aug 2025
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defenses27 Aug 2025
- 2025Hot-Swap MarkBoard: An Efficient Black-box Watermarking Approach for Large-scale Model Distribution28 Jul 2025
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Model8 Dec 2024
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasures20 Nov 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Models15 Nov 2024
- 2024PEAS: A Strategy for Crafting Transferable Adversarial Examples20 Oct 2024
- 2024Non-transferable Pruning10 Oct 2024
- 2024Beyond Slow Signs in High-fidelity Model Extraction14 Jun 2024
29 more
- 2024Amalgam: A Framework for Obfuscated Neural Network Training on the Cloud2 Jun 2024
- 2024DLoRA: Distributed Parameter-Efficient Fine-Tuning Solution for Large Language Model8 Apr 2024
- 2024BlockFUL: Enabling Unlearning in Blockchained Federated Learning26 Feb 2024
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairness21 Feb 2024
- 2024Unraveling Attacks in Machine Learning-based IoT Ecosystems: A Survey and the Open Libraries Behind Them22 Jan 2024
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML11 Oct 2023
- 2023Beyond Labeling Oracles: What does it mean to steal ML models?3 Oct 2023
- 2023Compilation as a Defense: Enhancing DL Model Attack Robustness via Tensor Optimization20 Sep 2023
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023DREAM: Domain-free Reverse Engineering Attributes of Black-box Model20 Jul 2023
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscation17 Mar 2023
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practice29 Dec 2022
- 2022Decompiling x86 Deep Neural Network Executables3 Oct 2022
- 2022PINCH: An Adversarial Extraction Attack Framework for Deep Learning Models13 Sep 2022
- 2022TrojViT: Trojan Insertion in Vision Transformers27 Aug 2022
- 2022ObfuNAS: A Neural Architecture Search-based DNN Obfuscation Approach17 Aug 2022
- 2022Revealing Secrets From Pre-trained Models19 Jul 2022
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defences16 Jun 2022
- 2022Learning to Reverse DNNs from AI Programs Automatically20 May 2022
- 2022Fingerprinting Deep Neural Networks Globally via Universal Adversarial Perturbations17 Feb 2022
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning15 Jan 2022
- 2021BDFA: A Blind Data Adversarial Bit-flip Attack on Deep Neural Networks7 Dec 2021
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories8 Nov 2021
- 2021Confidential Machine Learning Computation in Untrusted Environments: A Systems Security Perspective5 Nov 2021
- 2021Fingerprinting Multi-exit Deep Neural Network Models via Inference Time7 Oct 2021
- 2021First to Possess His Statistics: Data-Free Model Extraction Attack on Tabular Data30 Sep 2021
- 2021SoK: Machine Learning Governance20 Sep 2021
- 2021HODA: Hardness-Oriented Detection of Model Extraction Attacks21 Jun 2021
- 2021Delving into Data: Effectively Substitute Training for Black-box Attack26 Apr 2021
- 2022TrojViT: Trojan Insertion in Vision Transformerscited by 30
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscationcited by 20
- 2024BlockFUL: Enabling Unlearning in Blockchained Federated Learningcited by 3
- 2025Hot-Swap MarkBoard: An Efficient Black-box Watermarking Approach for Large-scale Model Distributioncited by 0
- 2025Hot-Swap MarkBoard: An Efficient Black-box Watermarking Approach for Large-scale Model Distribution28 Jul 2025
- 2024BlockFUL: Enabling Unlearning in Blockchained Federated Learning26 Feb 2024
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscation17 Mar 2023
- 2022TrojViT: Trojan Insertion in Vision Transformers27 Aug 2022
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
- 2022Fingerprinting Deep Neural Networks Globally via Universal Adversarial Perturbationscited by 58
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 55
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2021Delving into Data: Effectively Substitute Training for Black-box Attackcited by 27
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
- 2022Learning to Reverse DNNs from AI Programs Automaticallycited by 11
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
- 2021SoK: Machine Learning Governancecited by 9
- 2024DLoRA: Distributed Parameter-Efficient Fine-Tuning Solution for Large Language Modelcited by 8
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
12 most cited of 36 All 36 (JSON)
- 2025Stealing AI Model Weights Through Covert Communication Channels30 Sep 2025
- 2025Surveying the Operational Cybersecurity and Supply Chain Threat Landscape when Developing and Deploying AI Systems27 Aug 2025
- 2025Intellectual Property in Graph-Based Machine Learning as a Service: Attacks and Defenses27 Aug 2025
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Model8 Dec 2024
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasures20 Nov 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Models15 Nov 2024
- 2024PEAS: A Strategy for Crafting Transferable Adversarial Examples20 Oct 2024
- 2024Non-transferable Pruning10 Oct 2024
- 2024Beyond Slow Signs in High-fidelity Model Extraction14 Jun 2024
- 2024Amalgam: A Framework for Obfuscated Neural Network Training on the Cloud2 Jun 2024
- 2024DLoRA: Distributed Parameter-Efficient Fine-Tuning Solution for Large Language Model8 Apr 2024
12 newest of 36 All 36 (JSON)