Skip to main content
QUICK REVIEW

[Paper Review] A Survey of Microarchitectural Side-channel Vulnerabilities, Attacks and Defenses in Cryptography

Xiaoxuan Lou, Tianwei Zhang|arXiv (Cornell University)|Mar 26, 2021
Security and Verification in ComputingComputer Science231 references11 citations
TL;DR

This survey provides a comprehensive analysis of microarchitectural side-channel vulnerabilities in cryptographic systems, categorizing attack vectors in both hardware and software, identifying defense strategies across application, OS, and hardware layers, and evaluating real-world cryptographic libraries. It reveals widespread vulnerabilities across open-source and closed-source applications, with rapid patching and strong community response.

ABSTRACT

Side-channel attacks have become a severe threat to the confidentiality of computer applications and systems. One popular type of such attacks is the microarchitectural attack, where the adversary exploits the hardware features to break the protection enforced by the operating system and steal the secrets from the program. In this paper, we systematize microarchitectural side channels with a focus on attacks and defenses in cryptographic applications. We make three contributions. (1) We survey past research literature to categorize microarchitectural side-channel attacks. Since these are hardware attacks targeting software, we summarize the vulnerable implementations in software, as well as flawed designs in hardware. (2) We identify common strategies to mitigate microarchitectural attacks, from the application, OS and hardware levels. (3) We conduct a large-scale evaluation on popular cryptographic applications in the real world, and analyze the severity, practicality and impact of side-channel vulnerabilities. This survey is expected to inspire side-channel research community to discover new attacks, and more importantly, propose new defense solutions against them.

Motivation & Objective

  • To systematically categorize microarchitectural side-channel attacks by their root causes in both hardware designs and software implementations.
  • To identify and abstract effective defense strategies at the application, operating system, and hardware levels.
  • To evaluate the severity, practicality, and real-world impact of side-channel vulnerabilities in widely deployed cryptographic applications.
  • To highlight the ongoing arms race between side-channel attacks and defenses, urging further research into novel attacks and countermeasures.

Proposed method

  • Conducting a comprehensive literature review to classify microarchitectural side-channel attacks based on their attack vectors in hardware (e.g., caches, SMT, TLB) and software (e.g., secret-dependent timing, data-dependent execution).
  • Analyzing and abstracting mitigation techniques across three layers: application-level hardening, OS-level isolation, and hardware-level architectural changes.
  • Performing a large-scale empirical evaluation of 110 side-channel vulnerabilities across 15 popular cryptographic libraries and applications, including OpenSSL, mbed TLS, wolfSSL, Jenkins, and FortiOS.
  • Classifying vulnerabilities by type (e.g., asymmetric ciphers, protocol flaws, modular arithmetic), severity (CVSS scores), and disclosure timeline to assess response speed and coverage.
  • Using publicly available vulnerability reports (e.g., CVEs) and patch data to assess the real-world prevalence and remediation status of side-channel flaws.
  • Comparing the severity and exploitability of vulnerabilities across open-source and closed-source software, highlighting disparities in disclosure and detection.

Experimental results

Research questions

  • RQ1What are the primary hardware and software vulnerabilities that lead to microarchitectural side-channel attacks in cryptographic applications?
  • RQ2What are the most effective defense strategies at the application, operating system, and hardware levels for mitigating these attacks?
  • RQ3How prevalent and severe are side-channel vulnerabilities in real-world cryptographic libraries and systems?
  • RQ4How quickly do developers respond to disclosed side-channel vulnerabilities, and what is the coverage of patches across different software categories?
  • RQ5To what extent do closed-source applications remain vulnerable to microarchitectural side channels despite known exploits in open-source counterparts?

Key findings

  • Microarchitectural side-channel vulnerabilities are widespread across both open-source and closed-source cryptographic applications, with 110 vulnerabilities identified in 15 major libraries and systems.
  • The majority of vulnerabilities were addressed promptly, with most patches released shortly after vulnerability disclosure, indicating strong community responsiveness.
  • Open-source cryptographic libraries such as OpenSSL, mbed TLS, and wolfSSL were found to contain numerous vulnerabilities related to modular arithmetic and secret-dependent timing, with CVSS scores averaging 6.0–8.5.
  • Closed-source applications like Fortinet FortiOS and IBM products exhibited significant vulnerabilities, including remote timing-based padding oracles, suggesting under-evaluation of microarchitectural risks.
  • Despite years of hardening, new vulnerabilities in common cryptographic primitives (e.g., modular inversion, multiplication) continue to be discovered, indicating ongoing attack surface challenges.
  • A significant number of vulnerabilities remain undetected or unpatched in less scrutinized applications, especially in closed-source software, due to lack of source code access and limited security auditing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.