SCAFinder: Formal Verification of Cache Fine-Grained Features for Side Channel Detection

被引:0
|
作者
Zhang, Shixuan [1 ]
Wang, Haixia [2 ]
Qiu, Pengfei [3 ]
Lyu, Yongqiang [2 ]
Wang, Hongpeng [1 ]
Wang, Dongsheng [4 ,5 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Shenzhen 518055, Guangdong, Peoples R China
[2] Tsinghua Univ, Natl Res Ctr Informat Sci & Technol, Beijing 100084, Peoples R China
[3] Beijing Univ Posts & Telecommun BUPT, Key Lab Trustworthy Distributed Comp & Serv, Minist Educ, Beijing 100867, Peoples R China
[4] Tsinghua Univ, Dept Comp Sci & Technol, Beijing 100084, Peoples R China
[5] Zhongguancun Lab, Beijing 100094, Peoples R China
基金
中国国家自然科学基金;
关键词
Side-channel attacks; Security; Prefetching; Model checking; Microarchitecture; Coherence; Protocols; Hardware security; formal verification; cache side-channel attacks; model checking; ATTACKS; MODEL;
D O I
10.1109/TIFS.2024.3452002
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Recent research has unveiled numerous cache-timing side-channel attacks exploiting the side effects of fine-grained cache features, such as coherence protocol and prefetch, among others. Traditional modeling methods and verification techniques are insufficient for verifying caches with fine-grained features and detecting cache timing vulnerabilities. There is a necessity for comprehensive verification of such complex cache designs. This paper presents SCAFinder, a verification framework targeting the cache designs with fine-grained features; it identifies cache side-channel attacks through model checking techniques. Specifically, it proposes a modeling methodology for cache designs that enables us to abstract the cache's behavior and latency characteristics. We implement a search algorithm for finding all counterexamples based on open-source model checking software. Subsequently, we add an attack scenario analysis module to discover attacks applicable to specific scenarios. We evaluate SCAFinder on Intel Skylake-X microarchitecture, demonstrating its capability to generate 7 new attack sequences exploiting coherence protocol and prefetch, and 12 new replacement policy-based side channels. As a case study, we successfully built a covert channel for one of the sequences on the real-world processor. To the best of our knowledge, we are the first to implement cross-core replacement policy-based attacks on non-inclusive caches.
引用
收藏
页码:8079 / 8093
页数:15
相关论文
共 50 条
  • [31] Relational Features in Fine-Grained Opinion Analysis
    Johansson, Richard
    Moschitti, Alessandro
    COMPUTATIONAL LINGUISTICS, 2013, 39 (03) : 473 - 509
  • [32] Radar Detection in Vehicular Networks: Fine-Grained Analysis and Optimal Channel Access
    Ghatak, Gourab
    Kalamkar, Sanket S.
    Gupta, Yash
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2022, 71 (06) : 6671 - 6681
  • [33] Bespoke Cache Enclaves: Fine-Grained and Scalable Isolation from Cache Side-Channels via Flexible Set-Partitioning
    Saileshwar, Gururaj
    Kariyappa, Sanjay
    Qureshi, Moinuddin
    2021 INTERNATIONAL SYMPOSIUM ON SECURE AND PRIVATE EXECUTION ENVIRONMENT DESIGN (SEED 2021), 2021, : 37 - 49
  • [34] Digital Currency Features Oriented Fine-Grained Code Injection Attack Detection
    Sun C.
    Li Z.
    Chen L.
    Ma J.
    Qiao X.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (05): : 1035 - 1044
  • [35] Accurate Sybil Attack Detection Based on Fine-Grained Physical Channel Information
    Wang, Chundong
    Zhu, Likun
    Gong, Liangyi
    Zhao, Zhentang
    Yang, Lei
    Liu, Zheli
    Cheng, Xiaochun
    SENSORS, 2018, 18 (03)
  • [36] Multi-Branch Deepfake Detection Algorithm Based on Fine-Grained Features
    Qin, Wenkai
    Lu, Tianliang
    Zhang, Lu
    Peng, Shufan
    Wan, Da
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 77 (01): : 467 - 490
  • [37] Vocal cord anomaly detection based on Local Fine-Grained Contour Features
    School of Computer Science and Information Engineering, Anhui Province Key Laboratory of Industry Safety and Emergency Technology, Hefei University of Technology, Anhui, Hefei
    230601, China
    不详
    241002, China
    不详
    TX
    76207, United States
    Signal Process Image Commun, 1600, (February 2025):
  • [38] Multilevel Fine-Grained Features-Based General Framework for Object Detection
    Zuo, Fengyuan
    Liu, Jinhai
    Chen, Zhaolin
    Zhang, Huaguang
    Fu, Mingrui
    Wang, Lei
    IEEE TRANSACTIONS ON CYBERNETICS, 2024, 54 (11) : 6921 - 6933
  • [39] Vocal cord anomaly detection based on Local Fine-Grained Contour Features
    Fan, Yuqi
    Ye, Han
    Yuan, Xiaohui
    SIGNAL PROCESSING-IMAGE COMMUNICATION, 2025, 131
  • [40] Multilevel Fine-Grained Features-Based General Framework for Object Detection
    Zuo, Fengyuan
    Liu, Jinhai
    Chen, Zhaolin
    Zhang, Huaguang
    Fu, Mingrui
    Wang, Lei
    IEEE TRANSACTIONS ON CYBERNETICS, 2024, 54 (11) : 6921 - 6933