漏洞检测方法、装置、电子设备、存储介质及程序产品

By preprocessing the binary code, extracting function features using natural language processing and graph embedding neural networks, and combining feature fusion with multilayer perceptrons, the problem of high false alarm rate in existing binary code vulnerability detection methods is solved, achieving higher detection accuracy and efficiency.

CN116663008BActive Publication Date: 2026-07-17BEIJING UNIV OF POSTS & TELECOMM

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING UNIV OF POSTS & TELECOMM
Filing Date
2023-04-24
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing deep learning-based binary code vulnerability detection methods suffer from high false positive rates, mainly due to biases introduced by human-selected features and the neglect of instruction-level and control flow graph structure information.

Method used

By acquiring and preprocessing the code fragments to be detected, the instruction sequence and control flow graph are determined. Function sequence features are extracted using a natural language processing model, and function graph structure features are extracted using a graph embedding neural network. Feature fusion is then performed using a multilayer perceptron, and the similarity of adjacent function feature vectors is calculated for vulnerability detection.

Benefits of technology

It effectively eliminates the bias introduced by human selection of features, focuses on easily overlooked features, and improves the accuracy and efficiency of vulnerability detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116663008B_ABST
    Figure CN116663008B_ABST
Patent Text Reader

Abstract

本申请提供一种漏洞检测方法、装置、电子设备、存储介质及程序产品,包括:获取待检测代码片段,对所述待检测代码片段进行预处理,确定指令序列和控制流图;根据所述指令序列,通过预先构建的自然语言处理模型进行特征提取,确定函数序列特征;根据所述控制流图,通过预先构建的图嵌入神经网络进行特征提取,确定函数图结构特征;将所述函数序列特征和所述函数图结构特征输入预先构建的多层感知机进行特征融合,确定若干函数特征向量;确定相邻的所述函数特征向量的相似度,根据所述相似度进行漏洞检测。
Need to check novelty before this filing date? Find Prior Art