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

Kernel fuzzy test sequence generation method based on deep learning

A technology of sequence generation and fuzzing testing, applied in the field of system call sequence learning and deep learning, which can solve the problems of heavy workload, error-prone and low algorithm accuracy.

Inactive Publication Date: 2021-07-06
HUNAN UNIV
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using traditional machine learning methods to manually extract data with high feature complexity is not only a heavy workload and error-prone, but also has the problem of low algorithm accuracy.

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
  • Kernel fuzzy test sequence generation method based on deep learning
  • Kernel fuzzy test sequence generation method based on deep learning
  • Kernel fuzzy test sequence generation method based on deep learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The hardware environment of the present invention is mainly a server whose GPU model is GeForce GTX 1080 Ti. The software is implemented on the platform of ubuntu 16.04, and is developed in python language under the environment of Pycharm editor. The open source artificial neural network library it is based on is Keras. Keras itself is a high-level neural network API that can run with Tensorflow, CNTK, or Theano as a backend. It itself supports various neural network models and algorithms including RNN and LSTM, and can meet the implementation requirements of the present invention. The specific implementation process is mainly divided into four parts: data collection and processing, model construction and training, model evaluation, and sequence generation. details as follows:

[0036] 1. Data collection and processing

[0037] Part of the data of the present invention comes from the Bug data website maintained by the kernel fuzzing tool Syzkaller, which contains th...

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 relates to deep learning in the field of artificial intelligence, in particular to learning of a system call sequence. The method comprises: data collection and processing, model construction, model training, model evaluation and sequence generation. The data collection and processing comprises the following steps: firstly, collecting a system call sequence with parameters and a sequence in a trace format, and then coding the sequences into input data suitable for model training. The model construction comprises: selecting RNN and LSTM neural network models, and determining a network structure as an input layer, a hidden layer and an output layer. Model training includes batching input data, initializing network parameters, calculating a value of a loss function to adjust the network parameters. Model evaluation includes calculating a normalized edit distance between test sequence data and a prediction sequence. The sequence generation comprises the following steps: randomly selecting initial system call and sequence length, generating an integer sequence according to a model obtained by training, and decoding the integer sequence into a system call sequence. And the generated sequence is used as the input of the kernel fuzzy test, so that the vulnerability mining efficiency is improved. The process is shown in Figure 1.

Description

technical field [0001] The invention relates to deep learning in the field of artificial intelligence, in particular to the learning of system call sequences. Specifically, the processed system call sequence is used as the input of the neural network, which is trained to obtain a model, and then a new system call sequence is generated by using the model. Subsequently, the generated system call sequence is used as the input of the kernel fuzzing test, so as to improve the efficiency of the kernel fuzzing test. Background technique [0002] The modern operating system kernel divides the virtual address space into two parts, one part is user space and the other part is kernel space. Applications such as browsers and video players run in user space; operating system codes such as process management and memory management run in kernel space. For security purposes, this design prevents user space programs from directly accessing and executing kernel space data and codes. The sy...

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): G06F21/57G06N3/04
CPCG06F21/577G06N3/044
Inventor 付远志孙建华陈浩
Owner HUNAN UNIV
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