Cache Template Attacks: Automating Attacks on Inclusive Last-Level Caches

被引:0
|
作者
Gruss, Daniel [1 ]
Spreitzer, Raphael [1 ]
Mangard, Stefan [1 ]
机构
[1] Graz Univ Technol, Graz, Austria
基金
欧盟地平线“2020”;
关键词
TIMING-ATTACK; IMPLEMENTATION;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Recent work on cache attacks has shown that CPU caches represent a powerful source of information leakage. However, existing attacks require manual identification of vulnerabilities, i.e., data accesses or instruction execution depending on secret information. In this paper, we present Cache Template Attacks. This generic attack technique allows us to profile and exploit cache based information leakage of any program automatically, without prior knowledge of specific software versions or even specific system information. Cache Template Attacks can be executed online on a remote system without any prior offline computations or measurements. Cache Template Attacks consist of two phases. In the profiling phase, we determine dependencies between the processing of secret information, e.g., specific key inputs or private keys of cryptographic primitives, and specific cache accesses. In the exploitation phase, we derive the secret values based on observed cache accesses. We illustrate the power of the presented approach in several attacks, but also in a useful application for developers. Among the presented attacks is the application of Cache Template Attacks to infer keystrokes and even more severe the identification of specific keys on Linux and Windows user interfaces. More specifically, for lower-case only passwords, we can reduce the entropy per character from log(2)(26) = 4.7 to 1.4 bits on Linux systems. Furthermore, we perform an automated attack on the T-table-based AES implementation of OpenSSL that is as efficient as state-of-the-art manual cache attacks.
引用
收藏
页码:897 / 912
页数:16
相关论文
共 50 条
  • [21] RExCache: Rapid Exploration of Unified Last-level Cache
    Shwe, Su Myat Min
    Javaid, Haris
    Parameswaran, Sri
    2013 18TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2013, : 582 - 587
  • [22] A Pragmatic Delineation on Cache Bypass Algorithm in Last-Level Cache (LLC)
    Dash, Banchhanidhi
    Swain, Debabala
    Swain, Debabrata
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, CIDM, VOL 2, 2016, 411 : 37 - 45
  • [23] Exclusive Hierarchies for Predictable Sharing in Last-level Cache
    Wang, Xinzhe
    Wu, Zhuanhao
    Pellizzoni, Rodolfo
    Patel, Hiren
    2024 IEEE 30TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, RTAS 2024, 2023, : 186 - 198
  • [24] Dataplane Performance Optimization with Last-Level Cache Management
    Sridhar, K. N.
    Ranganath, Sunku
    Ilangovan, Dakshina
    Lin, Yang
    2018 IEEE CONFERENCE ON NETWORK FUNCTION VIRTUALIZATION AND SOFTWARE DEFINED NETWORKS (NFV-SDN), 2018,
  • [25] Cache Friendliness-Aware Management of Shared Last-Level Caches for High Performance Multi-Core Systems
    Kaseridis, Dimitris
    Iqbal, Muhammad Faisal
    John, Lizy Kurian
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (04) : 874 - 887
  • [26] Free ECC: An Efficient Error Protection for Compressed Last-Level Caches
    Chen, Long
    Cao, Yanan
    Zhang, Zhao
    2013 IEEE 31ST INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2013, : 278 - 285
  • [27] Rowhammer Cache: A Last-level Cache for Low-Overhead Rowhammer Tracking
    Singh, Aman
    Panda, Biswabandan
    2024 IEEE INTERNATIONAL SYMPOSIUM ON HARDWARE ORIENTED SECURITY AND TRUST, HOST, 2024, : 349 - 360
  • [28] Architectural Exploration of Last-Level Caches targeting Homogeneous Multicore Systems
    Cataldo, Rodrigo
    Korol, Guilherme
    Fernandes, Ramon
    Matos, Debora
    Marcon, Cesar
    2016 29TH SYMPOSIUM ON INTEGRATED CIRCUITS AND SYSTEMS DESIGN (SBCCI), 2016,
  • [29] DAMARU: A Denial-of-Service Attack on Randomized Last-Level Caches
    Kumar, Pratik
    Yashavant, Chavhan Sujeet
    Panda, Biswabandan
    IEEE COMPUTER ARCHITECTURE LETTERS, 2021, 20 (02) : 138 - 141
  • [30] Mitigating Shift-Based Covert-Channel Attacks in Racetrack Last Level Caches
    Zhao, Lei
    Zhang, Youtao
    Yang, Jun
    2017 IEEE 6TH NON-VOLATILE MEMORY SYSTEMS AND APPLICATIONS SYMPOSIUM (NVMSA 2017), 2017,