Software source code vulnerability detection method based on artificial neural network

An artificial neural network and vulnerability detection technology, applied in the field of software source code vulnerability detection, can solve the problems of increasing the threshold of feature participants, high manpower and time costs, and limiting algorithm prediction performance, so as to save time-consuming and cumbersome processes, The time saved, the effect of saving time investment

Pending Publication Date: 2020-05-19
江苏深度空间信息科技有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But nothing can be done about the loopholes caused by non-library references
Therefore, the quality of feature engineering may limit the performance of algorithm prediction performance
In order to ensure the quality of feature extraction, feature engineering participants have to have an in-depth understanding of the software project itself, which greatly increases the threshold for feature participants
At the same time, extracting features is usually a labor-intensive task with high demand for manpower and time costs

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
  • Software source code vulnerability detection method based on artificial neural network
  • Software source code vulnerability detection method based on artificial neural network
  • Software source code vulnerability detection method based on artificial neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0029] see figure 1 , the present invention provides a technical solution: a software source code vulnerability detection method based on an artificial neural network, comprising the following steps:

[0030] A. It is necessary to use labeled data to train a complete network first, which includes layers 1 to 6, that is, a function-level word vector framework plus a two-layer fully connected network;

[0031] B. At the same time, the marked data, that is, the ...

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 software source code vulnerability detection method based on an artificial neural network, and the method is based on deep learning and a word vector technology derived froma language model, so that a hidden mode of a code can be automatically learned by a deep learning algorithm, thereby saving the time consumption and tedious process of manual feature extraction. And the complexity of code processing and analysis is further weakened, so that the time investment of code processing and analysis is saved. The ELMo-based deep learning framework can directly accept a source code sequence as input and output a prediction result, so that end-to-end detection on a source code level is realized in a real sense.

Description

technical field [0001] The invention relates to the technical field of software source code loophole detection, in particular to an artificial neural network-based software source code loophole detection method. Background technique [0002] As a preventive attack defense measure, software vulnerability detection technology has attracted much attention in the field of computer security. The most cost-effective move is to conduct software vulnerability detection before the software is officially released. In this way, vulnerabilities that may be exploited by attackers can be discovered in advance and repaired in time, thereby preventing user data and services from being attacked. [0003] Traditional software vulnerability detection techniques can be divided into three categories: static, dynamic and hybrid. Static analysis techniques such as rule-matching-based filtering and symbolic execution are implemented by analyzing software source code. The disadvantage of these st...

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/57G06K9/62G06N3/04G06N3/08G06N20/00
CPCG06F21/577G06N3/08G06N20/00G06F2221/033G06N3/045G06F18/24323G06F18/241
Inventor 张军林观俊
Owner 江苏深度空间信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products