Page Cache Attacks

被引:18
|
作者
Gruss, Daniel [1 ]
Kraft, Erik [1 ]
Tiwari, Trishita [2 ]
Schwarz, Michael [1 ]
Trachtenberg, Ari [2 ]
Hennessey, Jason [3 ]
Ionescu, Alex [4 ]
Fogh, Anders [5 ]
机构
[1] Graz Univ Technol, Graz, Austria
[2] Boston Univ, Boston, MA 02215 USA
[3] NetApp, Sunnyvale, CA USA
[4] CrowdStrike, Sunnyvale, CA USA
[5] Intel Corp, Santa Clara, CA 95051 USA
基金
美国国家科学基金会;
关键词
Software-based Attacks; Cache Attacks; Operating Systems;
D O I
10.1145/3319535.3339809
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a new side-channel attack that targets one of the most fundamental software caches in modern computer systems: the operating system page cache. The page cache is a pure software cache that contains all disk-backed pages, including program binaries, shared libraries, and other files. On Windows, dynamic pages are also part of this cache and can be attacked as well, e.g., data, heap, and stacks. Our side channel permits unprivileged monitoring of accesses to these pages of other processes, with a spatial resolution of 4 kB and a temporal resolution of 2 is on Linux (<= 6.7 measurements per second), and 466 ns on Windows 10 (<= 223 measurements per second). We systematically analyze the side channel by demonstrating different hardware-agnostic local attacks, including a sandbox-bypassing high-speed covert channel, an ASLR break on Windows 10, and various information leakages that can be used for targeted extortion, spam campaigns, and more directly for UI redressing attacks. We also show that, as with hardware cache attacks, we can attack the generation of temporary passwords on vulnerable cryptographic implementations. Our hardware-agnostic attacks can be mitigated with our proposed security patches, but the basic side channel remains exploitable via timing measurements. We demonstrate this with a remote covert channel exfiltrating information from a colluding process through innocuous server requests.
引用
收藏
页码:167 / 180
页数:14
相关论文
共 50 条
  • [1] Compressed page walk cache
    Dunbo Zhang
    Chaoyang Jia
    Li Shen
    Frontiers of Computer Science, 2022, 16
  • [2] Compressed page walk cache
    Zhang, Dunbo
    Jia, Chaoyang
    Shen, Li
    FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (03)
  • [3] Compressed page walk cache
    Dunbo ZHANG
    Chaoyang JIA
    Li SHEN
    Frontiers of Computer Science, 2022, 16 (03) : 45 - 56
  • [4] A Unified Page Walk Buffer and Page Walk Cache
    Zhang, Dunbo
    Jia, Chaoyang
    Wang, Qiong
    Shen, Li
    2020 IEEE INTL SYMP ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, INTL CONF ON BIG DATA & CLOUD COMPUTING, INTL SYMP SOCIAL COMPUTING & NETWORKING, INTL CONF ON SUSTAINABLE COMPUTING & COMMUNICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2020), 2020, : 93 - 101
  • [5] The effect of an intercepting cache on performance of fast page and cache DRAM
    Mekhiel, NN
    INTERNATIONAL SOCIETY FOR COMPUTERS AND THEIR APPLICATIONS 13TH INTERNATIONAL CONFERENCE ON COMPUTERS AND THEIR APPLICATIONS, 1998, : 360 - 363
  • [6] Page Size Aware Cache Prefetching
    Vavouliotis, Georgios
    Chacon, Gino
    Alvarez, Lluc
    Gratz, Paul V.
    Jimenez, Daniel A.
    Casas, Marc
    2022 55TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2022, : 956 - 974
  • [7] Precise control of page cache for containers
    Wang, Kun
    Wu, Song
    Li, Shengbang
    Huang, Zhuo
    Fan, Hao
    Yu, Chen
    Jin, Hai
    FRONTIERS OF COMPUTER SCIENCE, 2024, 18 (02)
  • [8] Precise control of page cache for containers
    Kun Wang
    Song Wu
    Shengbang Li
    Zhuo Huang
    Hao Fan
    Chen Yu
    Hai Jin
    Frontiers of Computer Science, 2024, 18
  • [9] Cache Timing Attacks on Clefia
    Rebeiro, Chester
    Mukhopadhyay, Debdeep
    Takahashi, Junko
    Fukunaga, Toshinori
    PROGRESS IN CRYPTOLOGY - INDOCRYPT 2009, PROCEEDINGS, 2009, 5922 : 104 - +
  • [10] Cross Processor Cache Attacks
    Irazoqui, Gorka
    Eisenbarth, Thomas
    Sunar, Berk
    ASIA CCS'16: PROCEEDINGS OF THE 11TH ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 353 - 364