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 条
  • [21] Towards Fine-grained Side-Channel Instruction Disassembly on a System-on-Chip
    Maillard, Julien
    Hiscock, Thomas
    Lecomte, Maxime
    Clavier, Christophe
    2022 25TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2022, : 472 - 479
  • [22] Vulnerability Detection with Fine-Grained Interpretations
    Li, Yi
    Wang, Shaohua
    Nguyen, Tien N.
    PROCEEDINGS OF THE 29TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '21), 2021, : 292 - 303
  • [23] Fine-Grained Controversy Detection in Wikipedia
    Bykau, Siarhei
    Korn, Flip
    Srivastava, Divesh
    Velegrakis, Yannis
    2015 IEEE 31ST INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2015, : 1573 - 1584
  • [24] Fine-grained Design Pattern Detection
    Lebon, Maurice
    Tzerpos, Vassilios
    2012 IEEE 36TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2012, : 267 - 272
  • [25] Fine-Grained Event Trigger Detection
    Duong Minh Le
    Thien Huu Nguyen
    16TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EACL 2021), 2021, : 2745 - 2752
  • [26] Fine-grained Channel Access in Wireless LAN
    Tan, Kun
    Fang, Ji
    Zhang, Yuanyang
    Chen, Shouyuan
    Shi, Lixin
    Zhang, Jiansong
    Zhang, Yongguang
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2010, 40 (04) : 147 - 158
  • [27] Fine-Grained Channel Access in Wireless LAN
    Fang, Ji
    Tan, Kun
    Zhang, Yuanyang
    Chen, Shouyuan
    Shi, Lixin
    Zhang, Jiansong
    Zhang, Yongguang
    Tan, Zhenhui
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2013, 21 (03) : 772 - 787
  • [28] Learning Features and Parts for Fine-Grained Recognition
    Krause, Jonathan
    Gebru, Timnit
    Deng, Jia
    Li, Li-Jia
    Li Fei-Fei
    2014 22ND INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2014, : 26 - 33
  • [29] Fine-Grained Face Verification: Dataset and Baseline Results
    Hu, Junlin
    Lu, Jiwen
    Tan, Yap-Peng
    2015 INTERNATIONAL CONFERENCE ON BIOMETRICS (ICB), 2015, : 79 - 84
  • [30] Formation of topography in a channel with fine-grained bottom
    Ostyakova A.V.
    Power Technology and Engineering, 2002, 36 (2) : 115 - 117