Supercharge Your Innovation With Domain-Expert AI Agents!

Binary function boundary detection method and system based on semantic features and electronic equipment

A technology of function boundaries and semantic features, applied in the detection field of binary code function boundaries, to achieve good results and enhance the recognition ability

Pending Publication Date: 2022-03-04
COMP APPL RES INST CHINA ACAD OF ENG PHYSICS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both efficiency and accuracy have been improved, but the LSTM neural network's information recognition results for contextual semantics are not as ideal as BERT

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
  • Binary function boundary detection method and system based on semantic features and electronic equipment
  • Binary function boundary detection method and system based on semantic features and electronic equipment
  • Binary function boundary detection method and system based on semantic features and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. 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.

[0030] combine Figure 1-3 , the present invention proposes a binary function boundary detection method based on semantic features, builds a data set by disassembling a binary program with a symbol table through IDApro, uses the BERT model to train the assembly code to determine whether it is the boundary of a binary function, and obtains the binary code through disassembly Assembly code, the assembly code is composed of assembly instructions, 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 provides a binary function boundary detection method and system based on semantic features and electronic equipment, and the method comprises the steps: disassembling a binary program with a symbol table through IDApro to construct a data set, and training an assembly code through a BERT model to judge whether the assembly code is the boundary of a binary function or not. According to the method, the recognition capability of the function can be enhanced in the disassembling process, and better effects can be achieved in the fields of vulnerability detection, malicious software analysis, software engineering reversion and the like.

Description

technical field [0001] The invention belongs to the technical field of binary code function boundary detection, in particular to a binary function boundary detection method, system and electronic equipment based on semantic features. Background technique [0002] In the field of binary function boundary identification, disassembly tools such as IDApro and BAP can be used. Among them, IDApro uses a pattern matching algorithm for function boundary detection, which has high precision and applicability, but removes the symbol table and high optimization level in disassembly. In the binary program, the function boundary is often inaccurately located, causing some functions to be unrecognizable; while BAP uses a pattern and signature matching algorithm, but the signature relies on human experience and needs to be updated dynamically. [0003] In order to solve the above problem, a neural network is cited to solve this problem. Methods such as ByteWeight use a weighted prefix tree...

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): G06F8/41G06F8/52G06F8/53G06F40/284G06F40/30G06N3/04G06N3/08
CPCG06F8/436G06F8/53G06F8/52G06F40/30G06F40/284G06N3/04G06N3/08
Inventor 张春瑞王莘姜训智殷明勇徐建宇王振邦李冶天
Owner COMP APPL RES INST CHINA ACAD OF ENG PHYSICS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More