PT-Guard: Integrity-Protected Page Tables to Defend Against Breakthrough Rowhammer Attacks

Anish Saxena*, Gururaj Saileshwar, Jonas Juffinger, Andreas Kogler, Daniel Gruss, Moinuddin Qureshi

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Page tables enforce process isolation in systems. Rowhammer attacks break process isolation by flipping bits in DRAM to tamper page tables and achieving privilege escalation. Moreover, new Rowhammer attacks break existing mitigations. We seek to protect systems against such breakthrough attacks. We present PT-Guard, an integrity protection mechanism for page tables. PT-Guard uses unused bits in Page Table Entries (PTE) to embed a Message Authentication Code (MAC) for the PTE cacheline without any storage overhead. These unused bits arise from PTEs supporting petabytes of physical memory while systems targeted by Rowhammer use at-most terabytes of mem-ory. By storing and verifying MACs for PTEs, PT-Guard detects arbitrary bit-flips in PTEs. Moreover, PT-Guard also provides best-effort correction of faulty-PTEs leveraging value locality. PT-Guard protects page tables from breakthrough Rowhammer attacks with negligible hardware changes, no DRAM storage, <72 bytes of SRAM, 1.3% slowdown, and no software changes.

Original languageEnglish
Title of host publicationProceedings - 2023 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks, DSN 2023
Pages95-108
Number of pages14
ISBN (Electronic)9798350347937
DOIs
Publication statusPublished - 9 Aug 2023
Event53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks: DSN 2023 - Porto, Portugal
Duration: 27 Jun 202330 Jun 2023

Conference

Conference53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks
Abbreviated titleDSN
Country/TerritoryPortugal
CityPorto
Period27/06/2330/06/23

Keywords

  • DRAM
  • Integrity Protection
  • Rowhammer
  • Security

ASJC Scopus subject areas

  • Software
  • Artificial Intelligence
  • Safety, Risk, Reliability and Quality
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'PT-Guard: Integrity-Protected Page Tables to Defend Against Breakthrough Rowhammer Attacks'. Together they form a unique fingerprint.

Cite this