Lune

DAC2024Top-tier venue

DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNs

Ranyang Zhou, Sabbir Ahmed, Adnan Siraj Rakin, Shaahin Angizi

Abstract

With deep learning deployed in many security-sensitive areas, machine learning security is becoming progressively important. Recent studies demonstrate attackers can exploit system-level techniques exploiting the RowHammer vulnerability of DRAM to deterministically and precisely flip bits in Deep Neural Networks (DNN) model weights to affect inference accuracy. The existing defense mechanisms are software-based, such as weight reconstruction requiring expensive training overhead or performance degradation. On the other hand, generic hardware-based victim-/aggressor-focused mechanisms impose expensive hardware overheads and preserve the spatial connection between victim and aggressor rows. In this paper, we present the first DRAM-based victim-focused defense mechanism tailored for quantized DNNs, named DNN-Defender that leverages the potential of in-DRAM swapping to withstand the targeted bit-flip attacks with a priority protection mechanism.

Our results indicate that DNN-Defender can deliver a high level of protection downgrading the performance of targeted RowHammer attacks to a random attack level. In addition, the proposed defense has no accuracy drop on CIFAR-10 and ImageNet datasets without requiring any software training or incurring hardware overhead.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Graphene: Strong yet Lightweight Row Hammer Protection
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
  • Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
  • Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer cites Graphene: Strong yet Lightweight Row Hammer Protection
  • Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites Graphene: Strong yet Lightweight Row Hammer Protection
  • BLACKSMITH: Scalable Rowhammering in the Frequency Domain cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • Graphene: Strong yet Lightweight Row Hammer Protection cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
  • BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites Graphene: Strong yet Lightweight Row Hammer Protection
  • BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites BLACKSMITH: Scalable Rowhammering in the Frequency Domain
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Graphene: Strong yet Lightweight Row Hammer Protection
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks
  • Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites Graphene: Strong yet Lightweight Row Hammer Protection
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read DisturbanceOguzhan Canpolat, A. Giray Yaglikçi, Geraldo F. Oliveira, Ataberk Olgun et al.HPCA 2025 · 23 citations
  2. Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future SolutionsAbdullah Giray Yaglikçi, Yahya Can Tugrul, Geraldo F. Oliveira, Ismail Emir Yüksel et al.HPCA 2024 · 22 citations
  3. BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel et al.MICRO 2024 · 19 citations
  4. Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read DisturbanceAtaberk Olgun, F. Nisa Bostanci, Ismail Emir Yüksel, Oguzhan Canpolat et al.HPCA 2025 · 15 citations
  5. Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM RowhammerKevin Loughlin, Jonah Rosenblum, Stefan Saroiu, Alec Wolman et al.SOSP 2023 · 13 citations

Builds on14

  1. Bit-Flip Attack: Crushing Neural Network With Progressive Bit SearchAdnan Siraj Rakin, Zhezhi He, Deliang FanICCV 2019 · 309 citations
  2. Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault AttacksSanghyun Hong, Pietro Frigo, Yigitcan Kaya, Cristiano Giuffrida et al.USENIX Security 2019 · 255 citations
  3. Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan et al.ISCA 2020 · 161 citations
  4. BLACKSMITH: Scalable Rowhammering in the Frequency DomainPatrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter et al.S&P 2022 · 140 citations
  5. Graphene: Strong yet Lightweight Row Hammer ProtectionYeonhong Park, Woosuk Kwon, Eojin Lee, Tae Jun Ham et al.MICRO 2020 · 120 citations

Related papers

  1. DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit FlipsFan Yao, Adnan Siraj Rakin, Deliang FanUSENIX Security 2020
  2. HammerDodger: A Lightweight Defense Framework against RowHammer Attack on DNNsCheng Gongye, Yukui Luo, Xiaolin Xu, Yunsi FeiDAC 2023 · 5 citations
  3. One-bit Flip is All You Need: When Bit-flip Attack Meets Model TrainingJianshuo Dong, Han Qiu, Yiming Li, Tianwei Zhang et al.ICCV 2023 · 33 citations
  4. TBT: Targeted Neural Network Attack With Bit TrojanAdnan Siraj Rakin, Zhezhi He, Deliang FanCVPR 2020
  5. Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN ExecutablesYanzuo Chen, Zhibo Liu, Yuanyuan Yuan, Sihang Hu et al.NDSS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines