Unlock instant, AI-driven research and patent intelligence for your innovation.

A Variational Autoencoding Method for Fuzzing Test Case Generation

A technology for test case generation and fuzz testing, which is applied in software testing/debugging, computing models, error detection/correction, etc. It can solve the problems of non-disclosure of protocol format, increase of fuzz test test time and test difficulty, failure to generate test cases, etc. , to achieve the effect of increasing efficiency and scope and reducing burden

Active Publication Date: 2022-08-02
SHANGHAI UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data generated based on the generated test case generation method can be directly received by the test object and has a higher acceptance rate, so it is a hot spot in most researches at present. However, this method requires researchers to be proficient in protocol-related knowledge, which greatly increases The test time and difficulty of fuzz testing are reduced, and for private protocols whose protocol formats are not disclosed, test cases cannot be generated

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
  • A Variational Autoencoding Method for Fuzzing Test Case Generation
  • A Variational Autoencoding Method for Fuzzing Test Case Generation
  • A Variational Autoencoding Method for Fuzzing Test Case Generation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Example: Modbus / TCP protocol test case generation:

[0033]Modbus is an application layer messaging protocol that is widely used to communicate on millions of automation devices. The Modbus protocol format is simple and open, and it realizes request / response communication on different types of buses or network devices by providing the service of function codes. Modbus also provides TCP / IP-based messaging services, connecting MODBUS TCP / IP clients to server devices on a TCP / IP network. The Modbus protocol defines a simple protocol data unit (PDU) that is independent of the underlying communication layer. And by introducing a dedicated MODBUS Application Protocol header (MBAP header), it is possible to transmit and identify Modbus data on the TCP / IP network. Modbus data structure based on TCP / IP such as Figure 4 shown. The MBAP header is generated by the client and includes the transport identification, protocol identification, subsequent byte length, and unit identi...

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 discloses a variational self-encoding fuzzy test test case generation method, comprising the following steps: A. For different test objects, collect communication data conforming to the test object protocol format as training samples; B. Pass the VAE encoder , extract the feature space of the training data samples; C. Propose three generation strategies, and generate the corresponding feature space according to the three data generation strategies; D. According to the generated new feature space, through the VAE decoder, generate a new test case. The method can be applied to a variety of different industrial control network protocols, rather than for a certain protocol. Its biggest feature is that it learns the characteristics of sample data through machine learning, and generates new test cases based on the characteristics and VAE technology, which avoids the need for testers to be proficient in protocol-related knowledge when generating test cases from traditional fuzzing tests, which greatly reduces the number of tests. The burden on personnel increases the efficiency and scope of testing.

Description

technical field [0001] The invention relates to a method for generating a fuzzy test test case, in particular to a method for generating a fuzzy test test case by variational self-coding, and belongs to the technical field of test case generation methods. Background technique [0002] Fuzz testing generates a large amount of abnormal data and sends the data to the test object, expecting to find data that can cause the test object to work abnormally. Through detection technology, abnormal data records are analyzed to discover vulnerabilities hidden in industrial networks. According to the definition of fuzz testing, its specific steps can be divided into the following three steps, such as figure 1 shown. Fuzz testing is a gray-box test, which does not need to obtain all the source code of the test object in advance, but needs to generate abnormal data that can be accepted by the industrial control network device, because the industrial control network device will directly d...

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 Patents(China)
IPC IPC(8): H04L43/50H04L43/18H04L43/12G06N20/00G06F11/36H04L9/40
CPCH04L43/50H04L43/18H04L43/12G06F11/3684G06N20/00H04L63/1433H04L63/1425
Inventor 付敬奇曹一帆易慕白张越沈仁亮
Owner SHANGHAI UNIV