SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh

被引:0
|
作者
Zhang, Zhi [1 ]
Cheng, Yueqiang [2 ]
Wang, Minghua [3 ]
He, Wei [4 ,7 ]
Wang, Wenhao [4 ,7 ]
Nepal, Surya [1 ]
Gao, Yansong [5 ]
Li, Kang [3 ]
Wang, Zhe [6 ,7 ]
Wu, Chenggang [6 ,7 ]
机构
[1] CSIROs Data61, Eveleigh, Australia
[2] NIO Secur Res, Shanghai, Peoples R China
[3] Baidu Secur, Beijing, Peoples R China
[4] Chinese Acad Sci, State Key Lab Informat Secur, Inst Informat Engn, Beijing, Peoples R China
[5] Nanjing Univ Sci & Technol, Nanjing, Peoples R China
[6] Chinese Acad Sci, State Key Lab Comp Architecture, Inst Comp Technol, Beijing, Peoples R China
[7] Univ Chinese Acad Sci, Beijing, Peoples R China
来源
PROCEEDINGS OF THE 2022 USENIX ANNUAL TECHNICAL CONFERENCE | 2022年
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Rowhammer attacks that corrupt level-1 page tables to gain kernel privilege are the most detrimental to system security and hard to mitigate. However, recently proposed software-only mitigations are not effective against such kernel privilege escalation attacks. In this paper, we propose an effective and practical software-only defense, called SoftTRR, to protect page tables from all existing rowhammer attacks on x86. The key idea of SoftTRR is to refresh the rows occupied by page tables when a suspicious rowhammer activity is detected. SoftTRR is motivated by DRAM-chip-based target row refresh (ChipTRR) but eliminates its main security limitation (i.e., ChipTRR tracks a limited number of rows and thus can be bypassed by many-sided hammer [17]). Specifically, SoftTRR protects an unlimited number of page tables by tracking memory accesses to the rows that are in close proximity to page-table rows and refreshing the page-table rows once the tracked access count exceeds a pre-defined threshold. We implement a prototype of SoftTRR as a loadable kernel module, and evaluate its security effectiveness, performance overhead, and memory consumption. The experimental results show that SoftTRR protects page tables from real-world rowhammer attacks and incurs small performance overhead as well as memory cost.
引用
收藏
页码:399 / 414
页数:16
相关论文
共 8 条
  • [1] CAn't Touch This: Software-only Mitigation against Rowhammer Attacks targeting Kernel Memory
    Brasserl, Ferdinand
    Davie, Lucas
    Gens, David
    Liebchen, Christopher
    Sadeghil, Ahmad-Reza
    PROCEEDINGS OF THE 26TH USENIX SECURITY SYMPOSIUM (USENIX SECURITY '17), 2017, : 117 - 130
  • [2] Software-only Reverse Engineering of Physical DRAM Mappings for Rowhammer Attacks
    Barenghi, Alessandro
    Breveglieri, Luca
    Izzo, Niccolo
    Pelosi, Gerardo
    2018 IEEE 3RD INTERNATIONAL VERIFICATION AND SECURITY WORKSHOP (IVSW), 2018, : 19 - 24
  • [3] Minefield: A Software-only Protection for SGX Enclaves against DVFS Attacks
    Kogler, Andreas
    Gruss, Daniel
    Schwarz, Michael
    PROCEEDINGS OF THE 31ST USENIX SECURITY SYMPOSIUM, 2022, : 4147 - 4164
  • [4] PT-Guard: Integrity-Protected Page Tables to Defend Against Breakthrough Rowhammer Attacks
    Saxena, Anish
    Saileshwar, Gururaj
    Juffinger, Jonas
    Kogler, Andreas
    Gruss, Daniel
    Qureshi, Moinuddin
    2023 53RD ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, DSN, 2023, : 95 - 108
  • [5] Software-only Control-Flow Integrity against Fault Injection Attacks
    Bonnal, Francois
    Dupaquis, Vincent
    Potin, Olivier
    Dutertre, Jean-Max
    2023 26TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN, DSD 2023, 2023, : 269 - 277
  • [6] Protecting Page Tables from RowHammer Attacks using Monotonic Pointers in DRAM True-Cells
    Wu, Xin-Chuan
    Sherwood, Timothy
    Chong, Frederic T.
    Li, Yanjing
    TWENTY-FOURTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXIV), 2019, : 645 - 657
  • [7] On Train Automatic Stop Control Using Balises: Attacks and a Software-Only Countermeasure
    Temple, William G.
    Tran, Bao Anh N.
    Chen, Binbin
    Kalbarczyk, Zbigniew
    Sanders, William H.
    2017 IEEE 22ND PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING (PRDC 2017), 2017, : 274 - 283
  • [8] PT-Rand: Practical Mitigation of Data-only Attacks against Page Tables
    Davi, Lucas
    Gens, David
    Liebchen, Christopher
    Sadeghi, Ahmad-Reza
    24TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2017), 2017,