Lune

USENIX Security2020顶会

DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flips

Fan Yao, Adnan Siraj Rakin, Deliang Fan

摘要

Security of machine learning is increasingly becoming a major concern due to the ubiquitous deployment of deep learning in many security-sensitive domains. Many prior studies have shown external attacks such as adversarial examples that tamper with the integrity of DNNs using maliciously crafted inputs. However, the security implication of internal threats (i.e., hardware vulnerability) to DNN models has not yet been well understood. In this paper, we demonstrate the first hardware-based attack on quantized deep neural networks-DeepHammer-that deterministically induces bit flips in model weights to compromise DNN inference by exploiting the rowhammer vulnerability. DeepHammer performs aggressive bit search in the DNN model to identify the most vulnerable weight bits that are flippable under system constraints. To trigger deterministic bit flips across multiple pages within reasonable amount of time, we develop novel system-level techniques that enable fast deployment of victim pages, memory-efficient rowhammering and precise flipping of targeted bits. DeepHammer can deliberately degrade the inference accuracy of the victim DNN system to a level that is only as good as random guess, thus completely depleting the intelligence of targeted DNN systems. We systematically demonstrate our attacks on real systems against 12 DNN architectures with 4 different datasets and different application domains. Our evaluation shows that DeepHammer is able to successfully tamper DNN inference behavior at run-time within a few minutes. We further discuss several mitigation techniques from both algorithm and system levels to protect DNNs against such attacks. Our work highlights the need to incorporate security mechanisms in future deep learning system to enhance the robustness of DNN against hardware-based deterministic fault injections.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories 引用了 Bit-Flip Attack: Crushing Neural Network With Progressive Bit Search
  • Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows 引用了 BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications 引用了 BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows
  • BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM Rows 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ProFlip: Targeted Trojan Attack with Progressive Bit Flips 引用了 Trojaning Attack on Neural Networks
  • ProFlip: Targeted Trojan Attack with Progressive Bit Flips 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ProFlip: Targeted Trojan Attack with Progressive Bit Flips 引用了 Bit-Flip Attack: Crushing Neural Network With Progressive Bit Search
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper67

  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. BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi 等HPCA 2021 · 124 次引用
  3. ProFlip: Targeted Trojan Attack with Progressive Bit FlipsHuili Chen, Cheng Fu, Jishen Zhao, Farinaz KoushanfarICCV 2021 · 95 次引用
  4. Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and ImplicationsHasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen 等MICRO 2021 · 79 次引用
  5. Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rowsGururaj Saileshwar, Bolin Wang, Moinuddin K. Qureshi, Prashant J. NairASPLOS 2022 · 78 次引用

它引用的 Paper11

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee 等NDSS 2018 · 1,377 次引用
  3. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  4. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
  5. Bit-Flip Attack: Crushing Neural Network With Progressive Bit SearchAdnan Siraj Rakin, Zhezhi He, Deliang FanICCV 2019 · 309 次引用

相关 Paper

  1. DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNsRanyang Zhou, Sabbir Ahmed, Adnan Siraj Rakin, Shaahin AngiziDAC 2024 · 2 次引用
  2. Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault AttacksSanghyun Hong, Pietro Frigo, Yigitcan Kaya, Cristiano Giuffrida 等USENIX Security 2019 · 255 次引用
  3. DeepVenom: Persistent DNN Backdoors Exploiting Transient Weight Perturbations in MemoriesKunbei Cai, Md Hafizul Islam Chowdhuryy, Zhenkai Zhang, Fan YaoS&P 2024 · 14 次引用
  4. HammerDodger: A Lightweight Defense Framework against RowHammer Attack on DNNsCheng Gongye, Yukui Luo, Xiaolin Xu, Yunsi FeiDAC 2023 · 5 次引用
  5. One-bit Flip is All You Need: When Bit-flip Attack Meets Model TrainingJianshuo Dong, Han Qiu, Yiming Li, Tianwei Zhang 等ICCV 2023 · 33 次引用
黄昏的海面,两侧是细线勾勒的悬崖