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
相关论文
共 47 条
[31]   The Kingsguard OS-level mitigation against cache side-channel attacks using runtime detection [J].
Maria Mushtaq ;
Muhammad Muneeb Yousaf ;
Muhammad Khurram Bhatti ;
Vianney Lapotre ;
Guy Gogniat .
Annals of Telecommunications, 2022, 77 :731-747
[32]   A fine-grained detection algorithm for identity and actions of weapon-holding targets in public safety [J].
Yu, Zibo ;
Wu, Weichao ;
Wang, Jianzhong ;
You, Yu ;
Bian, Shaobo ;
Wang, Endi .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2025, 154
[33]   AKN-FGD: Adaptive Kohonen Network Based Fine-Grained Detection of LDoS Attacks [J].
Tang, Dan ;
Wang, Xiyin ;
Li, Xiong ;
Vijayakumar, Pandi ;
Kumar, Neeraj .
IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2023, 20 (01) :273-287
[34]   Explaining features of fine-grained phenomena using abstract analyses of phenomena and mechanisms: two examples from chronobiology [J].
Bechtel, William .
SYNTHESE, 2021, 198 (SUPPL 24) :S5987-S6009
[35]   A fine-grained loop-level parallel approach to efficient fuzzy community detection in complex networks [J].
Munoz-Caro, Camelia ;
Nino, Alfonso ;
Reyes, Sebastian .
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2020, 32 (05)
[36]   Limited sliding network: Fine-grained target detection on electrical infrastructure for power transmission line surveillance [J].
Zhao, Jing ;
Zhang, Kun ;
Wang, Zihao ;
Liu, Fengkai ;
Sun, Guanhua ;
Chou, Jinling ;
Xu, Min ;
Zhang, Xi ;
Liu, Xiangdong ;
Li, Zhen .
INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2021, 49 (04) :1212-1224
[37]   Detection of Cache Side Channel Attacks Using Thread Level Monitoring of Hardware Performance Counters [J].
Bhade, Pavitra Prakash ;
Sinha, Sharad .
2021 IEEE 14TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANY-CORE SYSTEMS-ON-CHIP (MCSOC 2021), 2021, :210-217
[38]   Comment on "Achieving Secure, Universal, and Fine-Grained Query Results Verification for Secure Search Scheme Over Encrypted Cloud Data" [J].
Qin, Zhiguang ;
Wu, Yan ;
Xiong, Hu .
IEEE TRANSACTIONS ON CLOUD COMPUTING, 2021, 9 (04) :1675-1677
[39]   Few-Shot Class-Incremental Learning via Compact and Separable Features for Fine-Grained Vehicle Recognition [J].
Li, De-Wang ;
Huang, Hua .
IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2022, 23 (11) :21418-21429
[40]   TFHSVul: A Fine-Grained Hybrid Semantic Vulnerability Detection Method Based on Self-Attention Mechanism in IoT [J].
Xu, Lijuan ;
An, Baolong ;
Li, Xin ;
Zhao, Dawei ;
Peng, Haipeng ;
Song, Weizhao ;
Tong, Fenghua ;
Han, Xiaohui .
IEEE INTERNET OF THINGS JOURNAL, 2025, 12 (01) :30-44