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

Fuzzy test case adaptive variation method and device based on reinforcement learning

A technology of reinforcement learning and test cases, applied in the field of information security, can solve problems such as blind mutation strategy, undesigned targeted mutation strategy, coarse-grainedness, etc., and achieve the effects of auxiliary loop feedback, improving intelligence, improving efficiency and quality

Active Publication Date: 2019-08-27
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides an adaptive mutation method for fuzzy test cases based on reinforcement learning, which mainly solves the problem that the current fuzzy test mutation process is relatively blind and the mutation strategy is relatively coarse-grained, and there is no targeted mutation according to the program design of a specific structure type. strategic question

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
  • Fuzzy test case adaptive variation method and device based on reinforcement learning
  • Fuzzy test case adaptive variation method and device based on reinforcement learning
  • Fuzzy test case adaptive variation method and device based on reinforcement learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0032] The present invention provides a self-adaptive mutation scheme for fuzzy test cases based on reinforcement learning, the basic idea of ​​which is: obtain the type of the test case to be mutated; select the mutation operation group corresponding to the type of the test case to be mutated; type information and each mutation The operation forms a context information, vectorizes to obtain the feature vector, and inputs the test cases to be mutated and the formed feature vectors into the single-step reinforcement learning model; the single-step reinforcement learning model transforms the selection problem of different mutation operations into a multi-armed bandit problem For the selection of different rockers, use the context-dependent confidence interval upper bound algorithm LinUCB to learn adaptive mutation operations to achieve adaptive learning of mu...

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 fuzzy test case adaptive variation method and device based on reinforcement learning, and the method comprises the steps of selecting a variation operation group corresponding to a to-be-mutated test case type to carry out the learning of adaptive variation, thereby selecting a variation strategy in a targeted manner, and achieving the variation operation with a finer granularity. According to the present invention, the type information and the variation operation are further adopted to form the context information to be input into a single-step reinforcement learningmodel, the single-step reinforcement learning model converts the selection problems of different variation operations into the selection of different rocker arms in a multi-arm gambling machine problem, and the context-related confidence interval upper bound algorithm LLUCB is used for learning the adaptive variation operation, so that the adaptive learning of the variation operation under different types of scenes is realized, the variation operation capable of obtaining a higher path coverage rate is used for carrying out test case variation, and the efficiency and the quality of the fuzzytest adaptive variation are improved.

Description

technical field [0001] The invention belongs to the field of information security, in particular to a method and device for self-adaptive variation of fuzzy test cases based on reinforcement learning. Background technique [0002] Fuzz testing is an important method in the field of vulnerability mining. At present, most of the popular fuzz testing tools have good vulnerability discovery capabilities, so fuzz testing has received extensive attention in both practice and research. At present, the more popular fuzzers include libFuzzer, AFL and its improved work AFLFast, AFLGo, VUzzer, QSYM, PTFuzz, AGF, TIFF, etc. Although the above tools can effectively find vulnerabilities in many scenarios, they still have the following two limitations: [0003] (1) Existing research work mainly focuses on how to select the most promising parent seeds for mutation, that is, preferentially select seeds that may trigger vulnerabilities or cover new paths, so as to increase the probability of...

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
IPC IPC(8): G06F11/36
CPCG06F11/3672G06F11/3684G06F11/3692
Inventor 胡昌振王夏菁马锐赵鹏飞贺金媛
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
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