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 条
[41]   Representing Fine-Grained Co-Occurrences for Behavior-Based Fraud Detection in Online Payment Services [J].
Wang, Cheng ;
Zhu, Hangyu .
IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2022, 19 (01) :301-315
[42]   A Real-Time Cache Side-Channel Attack Detection System on RISC-V Out-of-Order Processor [J].
Anh-Tien Le ;
Trong-Thuc Hoang ;
Ba-Anh Dao ;
Tsukamoto, Akira ;
Suzaki, Kuniyasu ;
Cong-Kha Pham .
IEEE ACCESS, 2021, 9 (164597-164612) :164597-164612
[43]   Adaptive Detection Technique for Cache-Based Side Channel Attack Using Bloom Filter for Secure Cloud [J].
Chouhan, Munish ;
Hasbullah, Halabi .
2016 3RD INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCES (ICCOINS), 2016, :293-297
[44]   Lightweight Hardware-Based Cache Side-Channel Attack Detection for Edge Devices (Edge-CaSCADe) [J].
Bhade, Pavitra ;
Paturel, Joseph ;
Sentieys, Olivier ;
Sinha, Sharad .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2024, 23 (04)
[45]   THE RELATIONSHIP BETWEEN STRUCTURAL FEATURES AND LOCAL MECHANICAL PROPERTIES OF A FINE-GRAINED MATRIX IN REFRACTORY CERAMIC MATERIALS. SiO2 CERAMICS CASE STUDY [J].
Lapshina, A. A. ;
Shilko, E. V. ;
Buyakov, A. S. ;
Smolin, A. Y. ;
Andreev, K. .
RUSSIAN PHYSICS JOURNAL, 2024, 67 (04) :388-396
[46]   MRDCA: a multimodal approach for fine-grained fake news detection through integration of RoBERTa and DenseNet based upon fusion mechanism of co-attention [J].
Qian, Lingfei ;
Xu, Ruipeng ;
Zhou, Zhipeng .
ANNALS OF OPERATIONS RESEARCH, 2025, 348 (01) :257-278
[47]   Hybrid-Shield: Accurate and Efficient Cross-Layer Countermeasure for Run-Time Detection and Mitigation of Cache-Based Side-Channel Attacks [J].
Wang, Han ;
Sayadi, Hossein ;
Sasan, Avesta ;
Rafatirad, Setareh ;
Homayoun, Houman .
2020 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED-DESIGN (ICCAD), 2020,