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 条
  • [21] Periodic scheduling in real-time multiprocessor automated control systems
    Furugyan, MG
    AUTOMATION AND REMOTE CONTROL, 2000, 61 (09) : 1566 - 1569
  • [22] Work In Progress: Control-Flow Migration for Data-Locality Optimisation in Multi-Core Real-Time Systems
    Reif, Stefan
    Raffeck, Phillip
    Ulbrich, Peter
    Schroeder-Preikschat, Wolfgang
    2020 IEEE 41ST REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2020, : 371 - 374
  • [23] SoK: On the Effectiveness of Control-Flow Integrity in Practice
    Becker, Lucas
    Hollick, Matthias
    Classen, Jiska
    PROCEEDINGS OF THE 18TH USENIX WOOT CONFERENCE ON OFFENSIVE TECHNOLOGIES, WOOT 2024, 2024, : 189 - 209
  • [24] Control-Flow Integrity Principles, Implementations, and Applications
    Abadi, Martin
    Budiu, Mihai
    Erlingsson, Ulfar
    Ligatti, Jay
    ACM TRANSACTIONS ON INFORMATION AND SYSTEM SECURITY, 2009, 13 (01)
  • [25] Per-Input Control-Flow Integrity
    Niu, Ben
    Tan, Gang
    CCS'15: PROCEEDINGS OF THE 22ND ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2015, : 914 - 926
  • [26] Control-Flow Integrity: Precision, Security, and Performance
    Burow, Nathan
    Carr, Scott A.
    Nash, Joseph
    Larsen, Per
    Franz, Michael
    Brunthaler, Stefan
    Payer, Mathias
    ACM COMPUTING SURVEYS, 2017, 50 (01)
  • [27] CFG Construction Soundness in Control-Flow Integrity
    Tan, Gang
    Jaeger, Trent
    PROCEEDINGS OF THE 2017 WORKSHOP ON PROGRAMMING LANGUAGES AND ANALYSIS FOR SECURITY (PLAS' 17), 2017, : 3 - 13
  • [28] An advanced control framework for a class of distributed real-time systems
    Song, I
    Karray, F
    Guedea, F
    SOFT COMPUTING WITH INDUSTRIAL APPLICATIONS, VOL 17, 2004, 17 : 62 - 67
  • [29] A framework for simulation of concurrency control policy in real-time systems
    Lai, C
    Callison, HR
    1996 IEEE REAL-TIME TECHNOLOGY AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 1996, : 91 - 99
  • [30] A software framework for real-time embedded automation and control systems
    Perkusich, A
    Almeida, HO
    de Araujo, DH
    ETFA 2003: IEEE CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION, VOL 2, PROCEEDINGS, 2003, : 181 - 184