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

Unknown sensitive function discovery method based on two-stage analogy reasoning

A sensitive function and analogy reasoning technology, applied in the field of network security, can solve the problems of poor detection effect of sensitive functions and incomplete coverage of seed functions, so as to improve the accuracy of reasoning and reduce false negatives and false positives

Pending Publication Date: 2022-02-11
XIDIAN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when analogy reasoning is used directly in practical applications, a small number of seed function pairs often cannot completely cover the semantics of sensitive functions of this type, resulting in the potential sensitive functions derived by analogy inference often having homogeneity with the seed function, and there is a certain difference between the pair and the seed function. Qualitative sensitive function detection is not good

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
  • Unknown sensitive function discovery method based on two-stage analogy reasoning
  • Unknown sensitive function discovery method based on two-stage analogy reasoning
  • Unknown sensitive function discovery method based on two-stage analogy reasoning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Please refer to figure 1 and figure 2 , figure 1 It is a flow chart of a method for discovering unknown sensitive functions based on two-stage analogical reasoning provided by an embodiment of the present invention; figure 2It is a schematic diagram of specific steps of a method for discovering unknown sensitive functions based on two-stage analogical reasoning provided by an embodiment of the present invention. As shown in the figure, the method for discovering unknown sensitive functions based on two-stage analogy reasoning in this embodiment includes:

[0045] S1: Preprocess the code of the target system to be detected to obtain the function call sequence;

[0046] S2: According to the function call sequence, several frequent function pairs are obtained through frequent pattern mining;

[0047] S3: use the word vector model trained by the function call sequence to obtain the embedding vector corresponding to each frequent function pair;

[0048] S4: Calculate ...

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 an unknown sensitive function discovery method based on two-stage analogy reasoning, which comprises the following steps: preprocessing a to-be-detected target system code to obtain a function call sequence; according to the function call sequence, obtaining a plurality of frequent function pairs through frequent pattern mining; training the obtained word vector model by using the function call sequence to obtain an embedded vector corresponding to each frequent function pair; calculating a first similarity between the initial seed function and each frequent function pair, and selecting at least one frequent function pair as a secondary seed function pair according to a calculation result; calculating a second similarity between each quadratic seed function pair and each frequent function pair, and obtaining a potential sensitive function pair candidate set of each quadratic seed function pair according to a calculation result; and according to the potential sensitive function pair candidate set, a potential sensitive function pair set is obtained after merging and deduplication. According to the method, through two-stage analogy reasoning, a seed function pair set can be gradually expanded, and more potential sensitive function pairs can be found.

Description

technical field [0001] The invention belongs to the technical field of network security, and in particular relates to a method for discovering unknown sensitive functions based on two-stage analogy reasoning. Background technique [0002] Sensitive functions are a class of functions that are prone to various potential defects. Sensitive functions often appear in pairs. For example, resource release functions such as free functions are paired with resource allocation functions such as malloc functions. When developers use these functions inappropriately, it may lead to dangerous consequences such as leakage of sensitive information, data corruption, and even execution of arbitrary code. Unfortunately, there are a large number of sensitive functions that are not well known in large software systems. In fact, these sensitive functions are often only known to some program developers. The relevant defect detection, system security protection and other work must know these sensi...

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): G06F21/56
CPCG06F21/563
Inventor 梁文韬王璐曹壮
Owner XIDIAN 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