Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for fault-injection test based on virtual machine

A technology of fault injection and fault testing, which is applied in the direction of software testing/debugging, etc., and can solve problems such as easy loss of test data and test environment reconfiguration

Inactive Publication Date: 2010-10-27
曾凡平 +2
View PDF0 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the fault injection techniques currently researched are all for special applications, and since the fault injection testing tool and the system under test are in the same operating platform, once the system crashes, the test data is easily lost, and the test environment needs to be reconfigured

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for fault-injection test based on virtual machine
  • Method for fault-injection test based on virtual machine
  • Method for fault-injection test based on virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0004] The fault injection vulnerability test system generally operates in the C / S mode, and the fault monitor is an application program in the virtual machine host (including fault test case generator module, fault library module, security analysis module and environment recovery module), which is responsible for Generate fault instances according to the parameters set by the user, store the fault instances in the dynamic database, transmit the fault instances to the target system through the communication protocol, and accept the test status data sent back from the target system, and analyze the data to determine the test results . The target system is a virtual machine guest operating system that includes the program under test and the fault injection test engine (including configuration files, fault injectors, and data collector modules). The fault injection test engine is responsible for static scanning and analysis of the application under test. The rule sets the fault i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for using a virtual machine to improve the performance in software-testing based on fault injection. Based on the EAI (environment-application interaction) model put forward by WENLIANG DU, Syracuse University (US), the fault injection is carried out on the interaction point of the application program and the environment thereof in the invention to disturb the environment and further test the software vulnerability, thus reducing the semantic difference between the injected fault and the actual fault, reducing the number of test cases and respectively achieving the two functional parts of the test tool at the host and guest of the virtual machine; and based on the shared files between the virtual machine and the guest, and the backup and recovery mechanism of the virtual machine, the invention can improve the robustness and flexibility of the test tool. The tool generated by the method comprises an application program configuration file (10), a fault test case generator (5), a security analysis module (6), a graphical user interface (7), an environment recovery module (9), a fault injector (11) and a data collector (12), wherein the tool further comprises software (13) to be tested and shared memory auxiliary modules (14), (15) and (16) of the virtual machine for sharing the data related to the tests. The method of the invention is capable of effectively detecting and simulating the security breaches in the software and improving the security of the software.

Description

Technical field [0001] The patent invention relates to a fault injection software safety testing method, in particular, a virtual technology is introduced into the fault injection testing method. Background technique [0002] Fault injection is a technology that injects faults into the application under test to observe its response. It is mainly used in attack analysis to detect the location of potential vulnerabilities that may lead to security vulnerabilities in software programs. The software fault injection method does not damage the hardware environment of the target system, and can easily track the execution of the target program and recover data; the complexity of the detailed model is low, the system overhead is reduced, and it has good portability. However, the currently researched fault injection techniques are all for special applications, and because the fault injection testing tool and the system under test are in the same operating platform, once the system cra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 曾凡平李娟尹凯涛
Owner 曾凡平
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products