arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.05623cs.CRcs.SE
收藏

IoT边缘设备安全攻击的形式化辅助建模与测试方法

A Formal Assisted Approach for Modeling and Testing Security Attacks in IoT Edge Devices

A. Bhanpurawala, K. El-Fakih, I. Zualkernan

摘要:

随着物联网设备数量的快速增长,这些系统的安全性成为一个主要问题。由于这些设备资源有限,安全措施难以在边缘实施。我们提出了一种基于形式化建模和突变测试的物联网设备攻击检测新方法。也就是说,我们将运动传感器和RFID阅读器等小型物联网设备的行为建模为具有超时的状态机。我们还对基本的物联网攻击进行了建模,即电池耗尽、睡眠剥夺、数据伪造、重放和中间人攻击,作为这些规范的特殊突变体。我们还考虑用于检测实际物理设备操作的测试。然后使用突变测试来导出将这些攻击与原始规范区分开的测试。通过对这些突变体进行测试,在真实环境中测试它们的行为。我们的实验表明,派生的攻击突变体和测试的数量是小的,因此这些测试可以执行多次,在物理设备上的开销有限。因此,我们的方法不会受到传统突变检测相关高成本的阻碍。此外,我们还表明,通过我们的方法得出的测试覆盖了所有物联网攻击,但没有提供使用传统的基于突变代码的算子得出的突变体的良好覆盖率,这表明需要使用我们的方法。一个框架,实现我们的方法,以及其他一些相关的案例研究。

英文摘要:

With the rapid growth in the number of IoT devices being added to the network, a major concern that arises is the security of these systems. As these devices are resource constrained, safety measures are difficult to implement on the edge. We propose a novel approach for the detection of IoT device attacks based on the use of formal modeling and mutation testing. Namely, we model the behavior of small IoT devices such as motion sensors and RFID reader as state machines with timeouts. We also model basic IoT attacks; namely, battery draining, sleep deprivation, data falsification, replay, and man in the middle attacks, as special mutants of these specifications. We also consider tests for detecting actual physical device manipulation. Mutation testing is then used to derive tests that distinguish these attacks from the original specifications. The behavior of these mutants is tested in real environment by running the tests on them. Our experiments show that derived the number of attack mutants and tests is small and thus these tests can be executed many times with limited overhead on the physical device. Consequently, our approach is not deterred by related high costs of traditional mutation testing. In addition, we also show that tests derived by our method which cover all IoT attacks do not provide good coverage of mutants derived using traditional mutation code-based operators and this indicates the need of using our method. A framework that implements our approach is presented along with some other relevant case studies.

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

↑