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

被引:3
|
作者
Mushtaq, Maria [1 ]
Yousaf, Muhammad Muneeb [2 ]
Bhatti, Muhammad Khurram [2 ]
Lapotre, Vianney [3 ]
Gogniat, Guy [3 ]
机构
[1] Inst Polytech Paris, Telecom Paris, LTCI, Palaiseau, France
[2] Informat Technol Univ, Lahore, Pakistan
[3] Univ Bretagne Sud, Lab STICC, Lorient, France
关键词
Hardware security; Linux; Intel x86; Side-channel attacks; Cryptanalysis; Detection; Mitigation; Machine learning; RSA; AES; Flush plus Reload; Flush plus Flush; Prime plus Probe;
D O I
10.1007/s12243-021-00906-3
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
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.
引用
收藏
页码:731 / 747
页数:17
相关论文
共 50 条
  • [21] Deep Learning-Based Detection for Multiple Cache Side-Channel Attacks
    Kim, Hodong
    Hahn, Changhee
    Kim, Hyunwoo J.
    Shin, Youngjoo
    Hur, Junbeom
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2024, 19 : 1672 - 1686
  • [22] Cache Side-Channel Attacks Detection for AES Encryption Based on Machine Learning
    Tong, Zhongkai
    Zhu, Ziyuan
    Sha, Zhangyu
    Liu, Yuxin
    Meng, Dan
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT I, ICIC 2024, 2024, 14875 : 62 - 74
  • [23] Fight Hardware with Hardware: Systemwide Detection and Mitigation of Side-channel Attacks Using Performance Counters
    Carna, Stefano
    Ferracci, Serena
    Quaglia, Francesco
    Pellegrini, Alessandro
    DIGITAL THREATS: RESEARCH AND PRACTICE, 2023, 4 (01):
  • [24] A Survey of of Side-Channel Attacks and Mitigation for Processor Interconnects
    Yuan, Jie
    Zhang, Jing
    Qiu, Pengfei
    Wei, Xinghai
    Liu, Dongxiao
    APPLIED SCIENCES-BASEL, 2024, 14 (15):
  • [25] Real time detection of cache-based side-channel attacks using hardware performance counters
    Chiappetta, Marco
    Savas, Erkay
    Yilmaz, Cemal
    APPLIED SOFT COMPUTING, 2016, 49 : 1162 - 1174
  • [26] Preventing and Detecting Cache Side-Channel Attacks in Cloud Computing
    Younis, Younis A.
    Kifayat, Kashif
    Hussain, Abir
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON INTERNET OF THINGS, DATA AND CLOUD COMPUTING (ICC 2017), 2017,
  • [27] Micro-architectural Cache Side-Channel Attacks and Countermeasures
    Shen, Chaoqun
    Chen, Congcong
    Zhang, Jiliang
    2021 26TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2021, : 441 - 448
  • [28] On the Correctness of an Approach against Side-Channel Attacks
    Wang, Peng
    Feng, Dengguo
    Wu, Wenling
    Zhang, Liting
    INFORMATION SECURITY PRACTICE AND EXPERIENCE, PROCEEDINGS: 5TH INTERNATIONAL CONFERENCE, ISPEC 2009, 2009, 5451 : 336 - +
  • [29] Design and Verification of Secure Cache Wrapper against Access-driven Side-Channel Attacks
    Niazmand, Behrad
    Azad, Siavoosh Payandeh
    Jervan, Gert
    Sepulveda, Johanna
    2019 22ND EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2019, : 672 - 676
  • [30] Side-Channel Attacks Detection Methods: A Survey
    Assaeedi, Joanna
    Alsuwat, Hatim
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2022, 22 (06): : 288 - 296