Conference paper Open Access

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

Gruss Daniel; Spreitzer Raphael; Mangard Stefan

DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="" xmlns="" xsi:schemaLocation="">
  <identifier identifierType="DOI">10.5281/zenodo.55454</identifier>
      <creatorName>Gruss Daniel</creatorName>
      <affiliation>Graz University of Technology, Austria</affiliation>
      <creatorName>Spreitzer Raphael</creatorName>
      <affiliation>Graz University of Technology, Austria</affiliation>
      <creatorName>Mangard Stefan</creatorName>
      <affiliation>Graz University of Technology, Austria</affiliation>
    <title>Cache Template Attacks: Automating Attacks   on Inclusive Last-Level Caches</title>
    <subject>cache attacks, CPU caches, cryptographic implementations, Flush+Reload attack, Shared Memory, Hit-Ratio Extraction</subject>
    <date dateType="Issued">2015-08-12</date>
  <resourceType resourceTypeGeneral="Text">Conference paper</resourceType>
    <alternateIdentifier alternateIdentifierType="url"></alternateIdentifier>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf"></relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf"></relatedIdentifier>
    <rights rightsURI="">Creative Commons Attribution Non Commercial Share Alike 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
    <description descriptionType="Abstract">&lt;p&gt;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 cachebased 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 log2(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.&lt;/p&gt;</description>
    <description descriptionType="Other">H2020 644052 / HECTOR</description>
      <funderName>European Commission</funderName>
      <funderIdentifier funderIdentifierType="Crossref Funder ID">10.13039/501100000780</funderIdentifier>
      <awardNumber awardURI="info:eu-repo/grantAgreement/EC/H2020/644052/">644052</awardNumber>
All versions This version
Views 6464
Downloads 7070
Data volume 27.1 MB27.1 MB
Unique views 6262
Unique downloads 6969


Cite as