电子学报 ›› 2022, Vol. 50 ›› Issue (7): 1594-1599.DOI: 10.12263/DZXB.20210210

• 学术论文 • 上一篇    下一篇

基于动态分支过滤的SMT执行端口侧信道安全防护

岳晓萌1,2, 杨秋松1, 李明树1   

  1. 1.中国科学院软件研究所基础软件国家工程研究中心,北京 100190
    2.中国科学院大学,北京 100049
  • 收稿日期:2021-02-03 修回日期:2021-12-22 出版日期:2022-07-25
    • 作者简介:
    • 岳晓萌 男,1989年12月生,山东青州人.2021年毕业于中国科学院大学,计算机软件与理论博士,主要研究方向为操作系统、计算机架构和系统安全.E-mail: xiaomeng@iscas.ac.cn
      杨秋松 男,1977年生,博士,教授、博士生导师. 主要研究方向为操作系统、软件工程和系统安全.E-mail: qiusong@iscas.ac.cn
      李明树 男,1966年生,博士,教授、博士生导师. 主要研究方向为操作系统、软件工程和分布式系统.E-mail: mingshu@iscas.ac.cn
    • 基金资助:
    • “核高基”国家科技重大专项基金 (2014ZX01029101-002); 中国科学院战略性先导科技专项 (XDA-Y01-01); 中国科学院战略性先导科技专项 (XDC05020200)

SMT Port Side Channel Attack Defending Method Based on Dynamic Branch Filter

YUE Xiao-meng1,2, YANG Qiu-song1, LI Ming-shu1   

  1. 1.National Engineering Research Center for Fundamental Software, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    2.University of Chinese Academy of Sciences, Beijing 100049, China
  • Received:2021-02-03 Revised:2021-12-22 Online:2022-07-25 Published:2022-07-30
    • Supported by:
    • Fund for National Science and Technology Major Project (NSTMP) Program Kernal Electronic Devices, High-end General Application Chips, Fundamental Software Products (2014ZX01029101-002); Chinese Academy of Sciences Strategic Pilot Project (XDA-Y01-01); Chinese Academy of Sciences Strategic Pilot Project (XDC05020200)

摘要:

同时多线程(Simultaneous Multi-Threading,SMT)技术是提升线程级并行度的重要微架构优化技术之一,以SMoTherSpectre为代表的利用SMT环境下共享分支预测器和执行端口的时间侧信道攻击表明SMT技术在提升性能的同时也存在显著的安全隐患.基于记录分支预测错误刷新及调整执行端口资源使用策略,提出了一种SMT环境下执行端口时间信道攻击防护方法.该方法实现了分支过滤和动态资源使用策略修改组件,在防护有效性上可以达到关闭SMT技术的防护效果,性能开销仅为关闭SMT技术的22%,硬件开销可控.

关键词: 同时多线程, 时间信道, 侧信道, 执行端口, 安全防护

Abstract:

Simultaneous multi-threading(SMT) is one of the important micro-architecture optimization technologies to improve thread-level parallelism. The timing channel attack represented by SMoTherSpectre using shared branch predictors and execution ports in SMT environment shows that SMT technology has significant security risks as well as performance improvements. Based on recording branch misprediction refresh and dynamically adjusting the execution port resource utilization strategy, this paper proposes an approach for defending a timing channel attack on execution port in SMT environment. The approach implements a branch filter and a dynamic resource editor. This approach can achieve the same protection effect of turning off SMT technology, and the performance cost is only 22%, meanwhile, the hardware cost is controllable.

Key words: simultaneous multi-threading, timing channel, side channel, execution port, security defense

中图分类号: