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 条
  • [41] A Java']Java-based framework for real-time control systems
    Blum, A
    Cechticky, V
    Pasetti, A
    Schaufelberger, W
    ETFA 2003: IEEE CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION, VOL 2, PROCEEDINGS, 2003, : 447 - 453
  • [42] A Type-Theoretic Framework for Efficient and Safe Colocation of Periodic Real-time Systems
    Ishakian, Vatche
    Bestavros, Azer
    Kfoury, Assaf
    16TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA 2010), 2010, : 143 - 152
  • [43] A generic framework to develop and verify security mechanisms at the microarchitectural level: application to control-flow integrity
    Baty, Matthieu
    Wilke, Pierre
    Hiet, Guillaume
    Fontaine, Arnaud
    Trieu, Alix
    2023 IEEE 36TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM, CSF, 2023, : 372 - 387
  • [44] RockJIT: Securing Just-In-Time Compilation Using Modular Control-Flow Integrity
    Niu, Ben
    Tan, Gang
    CCS'14: PROCEEDINGS OF THE 21ST ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2014, : 1317 - 1328
  • [45] FastCFI: Real-Time Control Flow Integrity Using FPGA Without Code Instrumentation
    Feng, Lang
    Huang, Jeff
    Hu, Jiang
    Reddy, Abhijith
    RUNTIME VERIFICATION, RV 2019, 2019, 11757 : 221 - 238
  • [46] Design of real-time periodic control systems through synchronization and fixed priorities
    Simon, D
    Benattar, F
    INTERNATIONAL JOURNAL OF SYSTEMS SCIENCE, 2005, 36 (02) : 57 - 76
  • [47] Real-Time Verification of Integrity Policies for Distributed Systems
    Buelna, Ernesto
    Monroy, Raul
    JOURNAL OF APPLIED RESEARCH AND TECHNOLOGY, 2013, 11 : 831 - 843
  • [48] Control-flow analysis in cubic time
    Nielson, F
    Seidl, H
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2001, 2028 : 252 - 268
  • [49] Real-time optimization flow control
    Dalalah, Doraid
    COMPUTER NETWORKS, 2010, 54 (05) : 797 - 810
  • [50] A Runtime Integrity Monitoring Framework for Real-Time Relative Positioning Systems Based on GPS and DSRC
    Ansari, Keyvan
    Feng, Yanming
    Tang, Maolin
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2015, 16 (02) : 980 - 992