Netinfo Security ›› 2019, Vol. 19 ›› Issue (6): 19-27.doi: 10.3969/j.issn.1671-1122.2019.06.003

Previous Articles     Next Articles

Study and Implementation of Fault Injection Method for Device Drivers

Gaoshou ZHAI(), Ruixia ZHAI, Feng LIU, Honghui LI   

  1. School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China
  • Received:2019-03-20 Online:2019-06-10 Published:2020-05-11

Abstract:

In this paper, a flexible and controllable model of fault injection is put forward based on location and replacement of function invocation instructions at the time of module installation and based on automatic recovery and interactive re-triggering at run-time. The corresponding prototype is designed and implemented where notifier chain is used for monitoring the installation of target modules, command line arguments of Shell programs and module parameters are used comprehensively for the configuration of target functions of fault injection, and debugfs is exploited for triggering fault again. Compared with other fault injection tools, our prototype has more flexible and more controllable features in routines of triggering faults of multiple kernel functions so that robustness and dependability of kernel modules such as device drivers can be verified more effectively.

Key words: security of kernel, device drivers, fault injection, notifier chain, pseudo file system for kernel debugging

CLC Number: