Detecting Privileged Side-Channel Attacks in Shielded Execution with Deja Vu

被引:104
|
作者
Chen, Sanchuan [1 ]
Zhang, Xiaokuan [1 ]
Reiter, Michael K. [2 ]
Zhang, Yinqian [1 ]
机构
[1] Ohio State Univ, Columbus, OH 43210 USA
[2] Univ N Carolina, Chapel Hill, NC 27515 USA
基金
美国国家科学基金会;
关键词
side-channel detection; Software Guard Extension; Transactional Synchronization Extensions;
D O I
10.1145/3052973.3053007
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Intel Software Guard Extension (SGX) protects the confidentiality and integrity of an unprivileged program running inside a secure enclave from a privileged attacker who has full control of the entire operating system (OS). Program execution inside this enclave is therefore referred to as shielded. Unfortunately, shielded execution does not protect programs from side-channel attacks by a privileged attacker. For instance, it has been shown that by changing page table entries of memory pages used by shielded execution, a malicious OS kernel could observe memory page accesses from the execution and hence infer a wide range of sensitive information about it. In fact, this page-fault side channel is only an instance of a category of side-channel attacks, here called privileged side-channel attacks, in which privileged attackers frequently preempt the shielded execution to obtain fine-grained side-channel observations. In this paper, we present Deja Vu, a software framework that enables a shielded execution to detect such privileged side-channel attacks. Specifically, we build into shielded execution the ability to check program execution time at the granularity of paths in its control-flow graph. To provide a trustworthy source of time measurement, Deja Vu implements a novel software reference clock that is protected by Intel Transactional Synchronization Extensions (TSX), a hardware implementation of transactional memory. Evaluations show that Deja Vu effectively detects side-channel attacks against shielded execution and against the reference clock itself.
引用
收藏
页码:7 / 18
页数:12
相关论文
共 50 条
  • [1] Deja Vu: Side-Channel Analysis of Mozilla's NSS
    ul Hassan, Sohaib
    Gridin, Iaroslav
    Delgado-Lozano, Ignacio M.
    Garcia, Cesar Pereida
    Chi-Dominguez, Jesus-Javier
    Aldaya, Alejandro Cabrera
    Brumley, Billy Bob
    CCS '20: PROCEEDINGS OF THE 2020 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2020, : 1887 - 1902
  • [2] Shielding Software From Privileged Side-Channel Attacks
    Dong, Xiaowan
    Shen, Zhuojia
    Criswell, John
    Cox, Alan L.
    Dwarkadas, Sandhya
    PROCEEDINGS OF THE 27TH USENIX SECURITY SYMPOSIUM, 2018, : 1441 - 1458
  • [3] On the Challenges of Detecting Side-Channel Attacks in SGX
    Jiang, Jianyu
    Soriente, Claudio
    Karame, Ghassan
    PROCEEDINGS OF 25TH INTERNATIONAL SYMPOSIUM ON RESEARCH IN ATTACKS, INTRUSIONS AND DEFENSES, RAID 2022, 2022, : 86 - 98
  • [4] SpyDetector: An approach for detecting side-channel attacks at runtime
    Yusuf Kulah
    Berkay Dincer
    Cemal Yilmaz
    Erkay Savas
    International Journal of Information Security, 2019, 18 : 393 - 422
  • [5] SpyDetector: An approach for detecting side-channel attacks at runtime
    Kulah, Yusuf
    Dincer, Berkay
    Yilmaz, Cemal
    Savas, Erkay
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2019, 18 (04) : 393 - 422
  • [6] Survey on Software Side-channel Attacks in Trusted Execution Environment
    Yang F.
    Zhang Q.-Y.
    Shi Z.-P.
    Guan Y.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (01): : 381 - 403
  • [7] ReminISCence: Trusted Monitoring Against Privileged Preemption Side-Channel Attacks
    Chen, Weijie
    Zhao, Yu
    Zhang, Yinqian
    Qiang, Weizhong
    Zou, Deqing
    Jin, Hai
    COMPUTER SECURITY-ESORICS 2024, PT IV, 2024, 14985 : 24 - 44
  • [8] Preventing and Detecting Cache Side-Channel Attacks in Cloud Computing
    Younis, Younis A.
    Kifayat, Kashif
    Hussain, Abir
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON INTERNET OF THINGS, DATA AND CLOUD COMPUTING (ICC 2017), 2017,
  • [9] Thwarting Side-Channel Attacks
    Edwards, Chris
    COMMUNICATIONS OF THE ACM, 2020, 63 (10) : 13 - 14
  • [10] Combined Side-Channel Attacks
    Elaabid, M. Abdelaziz
    Meynard, Olivier
    Guilley, Sylvain
    Danger, Jean-Luc
    INFORMATION SECURITY APPLICATIONS, 2011, 6513 : 175 - 190