A Procrastinating Control-Flow Integrity Framework for Periodic Real-Time Systems

被引:0
|
作者
Mishra, Tanmaya [1 ]
Wang, Jinwen [2 ]
Chantem, Thidapat [1 ]
Gerdes, Ryan [1 ]
Zhang, Ning [2 ]
机构
[1] Virginia Tech, Arlington, VA 24061 USA
[2] Washington Univ, St Louis, MO 63110 USA
基金
美国国家科学基金会;
关键词
control-flow integrity; real-time systems;
D O I
10.1145/3575757.3575762
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Connected embedded systems and cyber-physical systems exhibit larger attack surface than isolated ones. Control-flow integrity (CFI) is a set of techniques to prevent attackers from redirecting program control-flow and performing arbitrary computation, by detecting and checking control-flow transfers. Currently CFI for real-time systems either operate in-line with code execution, often depending on hardware mechanisms for improved performance and/or security guarantees, or focus solely on budget management when performing CFI out-of-order. In this work, we exploit the predictable release pattern of periodic real-time systems to create a novel CFI framework. This framework (1) consists of a novel real-time task model, which explicitly considers CFI related execution along with the regular portion of the tasks, and (2) presents a novel hardware-assisted trusted scheduler to enable a unique combination of out-of-order and in-line control flow enforcement on forward edge and backwards edge, respectively, to minimize performance overhead while ensuring real-time deadlines. Our framework provides the flexibility to model arbitrary forward-edge CFI as security tasks, so that we may strategically schedule them, and provide schedulability and correctness analysis to explicitly ensure that CFI verification is always performed on time without affecting the timeliness of the real-time tasks. Simulations show that our new task model outperforms existing work in terms of resource usage, thus allowing for more complex and sophisticated CFI to be implemented. We implement our approach on real hardware and microbenchmarks confirm that our approach has comparable in-line overhead as existing work.
引用
收藏
页码:132 / 142
页数:11
相关论文
共 50 条
  • [1] Survey of Control-flow Integrity Techniques for Real-time Embedded Systems
    Mishra, Tanmaya
    Chantem, Thidapat
    Gerdes, Ryan
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2022, 21 (04)
  • [2] Real-Time Control-Flow Integrity for Multicore Mixed-Criticality IoT Systems
    Eftekhari Moghadam, Vahid
    Prinetto, Paolo
    Roascio, Gianluca
    2022 IEEE EUROPEAN TEST SYMPOSIUM (ETS 2022), 2022,
  • [3] Holistic Control-Flow Protection on Real-Time Embedded Systems with Kage
    Du, Yufei
    Shen, Zhuojia
    Dharsee, Komail
    Zhou, Jie
    Walls, Robert J.
    Criswell, John
    PROCEEDINGS OF THE 31ST USENIX SECURITY SYMPOSIUM, 2022, : 2281 - 2298
  • [4] FastCFI: Real-time Control-Flow Integrity Using FPGA without Code Instrumentation
    Feng, Lang
    Huang, Jeff
    Hu, Jiang
    Reddy, Abhijith
    ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2021, 26 (05)
  • [5] Control-Flow Bending: On the Effectiveness of Control-Flow Integrity
    Carlini, Nicolas
    Barresi, Antonio
    Payer, Mathias
    Wagner, David
    Gross, Thomas R.
    PROCEEDINGS OF THE 24TH USENIX SECURITY SYMPOSIUM, 2015, : 161 - 176
  • [6] DExIE - An IoT-Class Hardware Monitor for Real-Time Fine-Grained Control-Flow Integrity
    Christoph Spang
    Yannick Lavan
    Marco Hartmann
    Florian Meisel
    Andreas Koch
    Journal of Signal Processing Systems, 2022, 94 : 739 - 752
  • [7] Renewable Just-In-Time Control-Flow Integrity
    Bauman, Erick
    Duan, Jun
    Hamlen, Kevin W.
    Lin, Zhiqiang
    PROCEEDINGS OF THE 26TH INTERNATIONAL SYMPOSIUM ON RESEARCH IN ATTACKS, INTRUSIONS AND DEFENSES, RAID 2023, 2023, : 580 - 594
  • [8] Optimal procrastinating voltage scheduling for hard real-time systems
    Zhang, Y
    Lu, ZJ
    Lach, J
    Skadron, K
    Stan, MR
    42nd Design Automation Conference, Proceedings 2005, 2005, : 905 - 908
  • [9] DExIE-An IoT-Class Hardware Monitor for Real-Time Fine-Grained Control-Flow Integrity
    Spang, Christoph
    Lavan, Yannick
    Hartmann, Marco
    Meisel, Florian
    Koch, Andreas
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2022, 94 (07): : 739 - 752
  • [10] Opaque Control-Flow Integrity
    Mohan, Vishwath
    Larsen, Per
    Brunthaler, Stefan
    Hamlen, Kevin W.
    Franz, Michael
    22ND ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2015), 2015,