Adaptive caches as a defense mechanism against cache side-channel attacks

被引:2
|
作者
Bandara, Sahan [1 ]
Kinsy, Michel A. [2 ]
机构
[1] Boston Univ, Adapt & Secure Comp Syst ASCS Lab, Dept Elect & Comp Engn, Boston, MA 02215 USA
[2] Texas A&M Univ, Dept Elect & Comp Engn, Adapt & Secure Comp Syst ASCS Lab, College Stn, TX USA
关键词
Cache side-channel attack; Attack mitigation; Reconfigurable cache;
D O I
10.1007/s13389-020-00246-3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Side-channel attacks exploit architectural features of computing systems and algorithmic properties of applications executing on these systems to steal sensitive information. Cache side-channel attacks are more powerful and practical compared to other classes of side-channel attacks due to several factors, such as the ability to be mounted without physical access to the system. Some secure cache architectures have been proposed to counter side-channel attacks. However, they all incur significant performance overheads. This work explores the viability of using adaptive caches, which are conventionally used as a performance-oriented architectural feature, as a defense mechanism against cache side-channel attacks. We conduct an empirical analysis, starting from establishing a baseline for the attacker's ability to infer information regarding the memory accesses of the victim process when there is no active defense mechanism in place and the attacker is fully aware of all the cache parameters. Then, we analyze the effectiveness of the attack without complete knowledge of the cache configuration. Finally, based on the insight that the success of the attack is heavily dependent on knowledge of the cache configuration, we formulate a cache monitoring and user-defined events detection methodology, implement a generalized run-time cache reconfiguration technique, and observe their effect on successfully detecting and mitigating attacks on the cache subsystem. We observe that reconfiguring different cache parameters during a side-channel attack reduces the accuracy of the attack in detecting cache sets accessed by the victim by 44% on average, with a maximum of 90% reduction.
引用
收藏
页码:239 / 255
页数:17
相关论文
共 50 条
  • [1] Adaptive Caches as a Defense Mechanism Against Cache Side-Channel Attacks
    Bandara, Sahan
    Kinsy, Michel A.
    PROCEEDINGS OF THE 3RD ACM WORKSHOP ON ATTACKS AND SOLUTIONS IN HARDWARE SECURITY WORKSHOP (ASHES '19), 2019, : 55 - 64
  • [2] Adaptive caches as a defense mechanism against cache side-channel attacks
    Sahan Bandara
    Michel A. Kinsy
    Journal of Cryptographic Engineering, 2021, 11 : 239 - 255
  • [3] Randomizing Set-Associative Caches Against Conflict-Based Cache Side-Channel Attacks
    Song, Wei
    Xue, Zihan
    Han, Jinchi
    Li, Zhenzhen
    Liu, Peng
    IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (04) : 1019 - 1033
  • [4] A Survey of Side-Channel Attacks on Caches and Countermeasures
    Yangdi Lyu
    Prabhat Mishra
    Journal of Hardware and Systems Security, 2018, 2 (1) : 33 - 50
  • [5] Moving Target Defense Mechanism for Side-Channel Attacks
    Vuppala, Satyanarayana
    Mady, Alie El-Din
    Kuenzi, Adam
    IEEE SYSTEMS JOURNAL, 2020, 14 (02): : 1810 - 1819
  • [6] TreasureCache: Hiding Cache Evictions Against Side-Channel Attacks
    Li, Mengming
    Bu, Kai
    Miao, Chenlu
    Ren, Kui
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2024, 21 (05) : 4574 - 4588
  • [7] How secure is your cache against side-channel attacks?
    He, Zecheng
    Lee, Ruby B.
    50TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2017, : 341 - 353
  • [8] Cache Side-Channel Attacks and Defenses
    Zhang W.
    Bai L.
    Ling Y.
    Lan X.
    Jia X.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2023, 60 (01): : 206 - 222
  • [9] CSCAD: An Adaptive LightGBM Algorithm to Detect Cache Side-Channel Attacks
    Hao, Sirui
    He, Junjiang
    Li, Wenshan
    Li, Tao
    Yang, Geying
    Fang, Wenbo
    Chen, Wanying
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2025, 22 (01) : 695 - 709
  • [10] CONDENSE: A Moving Target Defense Approach for Mitigating Cache Side-Channel Attacks
    Dai, Chenxi
    Adegbija, Tosiron
    IEEE CONSUMER ELECTRONICS MAGAZINE, 2020, 9 (03) : 114 - 119