arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01012cs.DCcs.CRcs.RO
收藏

线程动态平衡:安全关键软件的实时的异常行为检测

Thread Homeostasis: Real-Time Anomalous Behavior Detection for Safety-Critical Software

Mohamed Alsharnouby, Anil Somayaji

摘要:

安全关键型系统必须始终具有可预测和可靠的行为,否则系统会出现故障,生命会受到威胁。即使是最严格的测试,也不可能使用所有可能的输入来测试系统。复杂的软件系统在给定新的输入集时通常会失败;因此,安全关键系统在受到开发中未见过的输入组合时可能会以非预期的危险方式运行。安全关键系统通常被设计为容错的,因此当给定意外输入时它们不会失败。异常检测已经被提出作为用于改进安全关键系统的容错的技术。然而,过去的工作在很大程度上局限于错过许多种系统偏差的行为参数阈值。在这里,我们提出了一种新的方法,在容错安全关键系统中使用线程之间的消息模式的异常检测。这种方法是基于最初开发的技术,用于检测系统上的安全违规与UNIX类系统调用API,在这里,我们表明,它们可以适应的安全关键的基于微内核的硬实时的【形】系统的约束。我们介绍了在基于QNX的自动驾驶汽车平台上实现的tH(线程稳态)的设计、实现和初步评估。

英文摘要:

Safety-critical systems must always have predictable and reliable behavior, otherwise systems fail and lives are put at risk. Even with the most rigorous testing it is impossible to test systems using all possible inputs. Complex software systems will often fail when given novel sets of inputs; thus, safety-critical systems may behave in unintended, dangerous ways when subject to inputs combinations that were not seen in development. Safety critical systems are normally designed to be fault tolerant so they do not fail when given unexpected inputs. Anomaly detection has been proposed as a technique for improving the fault tolerance of safety-critical systems. Past work, however, has been largely limited to behavioral parameter thresholds that miss many kinds of system deviations. Here we propose a novel approach to anomaly detection in fault-tolerant safety critical systems using patterns of messages between threads. This approach is based on techniques originally developed for detecting security violations on systems with UNIX-like system call APIs; here we show that they can be adapted to the constraints of safety critical microkernel-based hard real-time systems. We present the design, implementation, and initial evaluation of tH (thread Homeostasis) implemented on a QNX-based self-driving car platform.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑