SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
Ali Fakhrzadehgan, Yale N. Patt, Prashant J. Nair, Moinuddin K. Qureshi
Abstract
Row-Hammer (RH) is a DRAM data-disturbance failure that occurs when a row is activated frequently, which causes bit-flips in nearby rows. Row-Hammer is a significant security threat as an attacker can exploit the bit-flips to do privilege escalation and leak confidential data. While several solutions aim to mitigate RH, such solutions depend on the RH threshold and adversarial access patterns. Solutions developed for a given threshold become ineffective for newer devices with lower thresholds, and new attack patterns continue to break existing mitigations. Currently, there is no guaranteed solution for RH, which means that the system remains vulnerable to security threats even in the presence of RH mitigation.
In this paper, we contend that simply relying on RH mitigation is insufficient to provide security in the presence of reducing threshold and motivated attackers. We propose SafeGuard, which equips the system with low-cost integrity protection as a defense against potential attacks that break the RH mitigation. As SafeGuard can detect arbitrary failures, it converts the problem of RH bit-flips from a security threat (silent consumption of corrupted data) to a reliability concern (detectable uncorrectable errors caused by integrity violation). We develop SafeGuard for systems that employ ECC modules and show that SafeGuard can provide strong detection to both SECDED (46-bit MAC per cache-line) and Chipkill (32-bit MAC per cache-line) while retaining the correction capability of conventional designs. SafeGuard avoids incurring any storage overheads in DRAM by simply reorganizing the ECC code to operate at a cache-line granularity (64 bytes) instead of a word granularity (8 bytes). Our evaluations show that SafeGuard has a negligible impact on both the system performance (0.7%) and the system reliability due to naturally occurring errors while still providing a strong defense against the security risk of RH by detecting arbitrary bit-flips.
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.
40 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites RAMBleed: Reading Bits in Memory Without Accessing Them
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Another Flip in the Wall of Rowhammer Defenses
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites MOESI-prime: preventing coherence-induced hammering in commodity workloads
- Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking cites Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows
- Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Another Flip in the Wall of Rowhammer Defenses
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Another Flip in the Wall of Rowhammer Defenses
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows cites Another Flip in the Wall of Rowhammer Defenses
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid tracking
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites Another Flip in the Wall of Rowhammer Defenses
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites MOESI-prime: preventing coherence-induced hammering in commodity workloads
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites RAMBleed: Reading Bits in Memory Without Accessing Them
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rows
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites Another Flip in the Wall of Rowhammer Defenses
- MOESI-prime: preventing coherence-induced hammering in commodity workloads cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites RAMBleed: Reading Bits in Memory Without Accessing Them
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
Cited by top-tier papers40
- 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 citations
- Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid trackingMoinuddin K. Qureshi, Aditya Rohan, Gururaj Saileshwar, Prashant J. NairISCA 2022 · 60 citations
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory SystemsJeonghyun Woo, Gururaj Saileshwar, Prashant J. NairHPCA 2023 · 45 citations
- MOESI-prime: preventing coherence-induced hammering in commodity workloadsKevin Loughlin, Stefan Saroiu, Alec Wolman, Yatin A. Manerkar et al.ISCA 2022 · 34 citations
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
Builds on9
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
- RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations
- 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
Related papers
- AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at RuntimeAnish Saxena, Gururaj Saileshwar, Prashant J. Nair, Moinuddin K. QureshiMICRO 2022 · 57 citations
- RowArmor: Efficient and Comprehensive Protection Against DRAM Disturbance AttacksMinbok Wi, Yoonyul Yoo, Yoojin Kim, Jaeho Shin et al.ASPLOS 2026 · 3 citations
- SHADOW: Preventing Row Hammer in DRAM with Intra-Subarray Row ShufflingMinbok Wi, Jaehyun Park, Seoyoung Ko, Michael Jaemin Kim et al.HPCA 2023 · 41 citations
- 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
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi et al.HPCA 2021 · 124 citations
