The Kingsguard OS-level mitigation against cache side-channel attacks using runtime detection

  • Maria Mushtaq
  • , Muhammad Muneeb Yousaf
  • , Muhammad Khurram Bhatti
  • , Vianney Lapotre
  • , Guy Gogniat

Research output: Contribution to journalArticlepeer-review

Abstract

Most of the mitigation techniques against access-driven cache side-channel attacks (CSCAs) are not very effective. This is mainly because most mitigation techniques usually protect against any given specific vulnerability of the system and do not take a system-wide approach. Moreover, they either completely remove or greatly reduce the performance benefits. Therefore, to find a security vs performance trade-off, we argue in favor of need-based protection in this paper, which will allow the operating system to apply mitigation only after successful detection of CSCAs. Thus, detection can serve as a first line of defense against such attacks. In this work, we propose a novel OS-level runtime detection-based mitigation mechanism, called the Kingsguard, against CSCAs in general-purpose operating systems. The proposed mechanism enhances the security and privacy capabilities of Linux as a proof of concept, and it can be widely used in commodity systems without any hardware modifications. We provide experimental validation by mitigating three state-of-the-art CSCAs on two different cryptosystems running under Linux. We have also provided results by analyzing the effect of the combination of multiple attacks running concurrently under variable system noise. Our results show that the Kingsguard can detect and mitigate known CSCAs with an accuracy of more than 99% and 95%, respectively.

Original languageEnglish
Pages (from-to)731-747
Number of pages17
JournalAnnales des Telecommunications/Annals of Telecommunications
Volume77
Issue number11-12
DOIs
Publication statusPublished - 1 Dec 2022

Keywords

  • AES
  • Cryptanalysis
  • Detection
  • Flush+Flush
  • Flush+Reload
  • Hardware security
  • Intel x86
  • Linux
  • Machine learning
  • Mitigation
  • Prime+Probe
  • RSA
  • Side-channel attacks

Fingerprint

Dive into the research topics of 'The Kingsguard OS-level mitigation against cache side-channel attacks using runtime detection'. Together they form a unique fingerprint.

Cite this