Real-time systems have recently been shown to be vulnerable to timing inference attacks, mainly due to their predictable behavioral patterns. Existing solutions such as schedule randomization lack the ability to protect against such attacks, often limited by the system's real-time nature. This paper presents SchedGuard: a temporal protection framework for Linux-based hard real-time systems that protects against posterior scheduler side-channel attacks by preventing untrusted tasks from executing during specific time segments. SchedGuard is integrated into the Linux kernel using cgroups, making it amenable to use with container frameworks. We demonstrate the effectiveness of our system using a realistic radio-controlled rover platform and synthetically generated workloads. Not only is SchedGuard able to protect against the attacks mentioned above, but it also ensures that the real-time tasks/containers meet their temporal requirements.
翻译:最近显示,实时系统很容易受到时间推导攻击,这主要是因为其可预见的行为模式。时间表随机化等现有解决办法缺乏防范这种攻击的能力,往往受到系统实时性质的限制。本文介绍了SchedGuard:基于Linux的硬实时系统的时间保护框架,该系统通过防止在特定时间段执行不可信的任务,防止后排时针侧道攻击。SchedGuard使用集束器被纳入Linux内核,使其可以使用集装箱框架。我们展示了我们系统使用现实的无线电控制路过平台和合成产生的工作量的有效性。SchedGuard不仅能够防范上述攻击,还能确保实时任务/集装箱满足其时间要求。