Program semantic confusion method and system based on natural language processing

A natural language processing and semantic technology, applied in the field of network security, can solve problems such as difficulty in dealing with software reverse analysis and cracking methods, poor anti-semantic analysis effect of obfuscation algorithm, and decline in the application effect of obfuscation algorithm, so as to achieve good application prospects and improve reverse engineering. Defense capability and safety factor, feasible effect of the plan

Pending Publication Date: 2022-06-03
PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Code obfuscation is a hot issue in the field of network security research at home and abroad. Although many research results have been obtained, including garbage instruction insertion, equivalent instruction replacement, control flow flattening, etc., there are still some restrictions on the actual application effect of code obfuscation and deformation technology. The main problems need to be further studied and resolved: (1) Obvious features of confusion
At present, the existing obfuscation algorithms have the ability to resist static reverse analysis, but while protecting the program, a large number of obfuscation features with fixed patterns will be introduced, which seriously affects the security of the algorithm and causes the application effect of many obfuscation algorithms to ...

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
  • Program semantic confusion method and system based on natural language processing
  • Program semantic confusion method and system based on natural language processing
  • Program semantic confusion method and system based on natural language processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the objectives, technical solutions and advantages of the present invention clearer and more comprehensible, the present invention will be described in further detail below with reference to the accompanying drawings and technical solutions.

[0028] Aiming at prominent problems such as obvious obfuscation features and poor confrontation effect of semantic analysis that commonly exist in existing code obfuscation technologies, the embodiment of the present invention provides a program semantic obfuscation method based on natural language processing, see figure 1 shown, including the following:

[0029] S101, extracting a text sequence used to describe the program execution process from the flow description text corpus, and constructing a confusing corpus material library with inducing and fuzzy functions;

[0030] S102. Perform vectorization processing on the target program code fragment, and select a text sequence unrelated to the target program code f...

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 belongs to the technical field of network security, and particularly relates to a program semantic confusion method and system based on natural language process.The method comprises the steps that firstly, a text sequence used for describing a program execution process is extracted from a flow description text corpus, and a confusion corpus material library with induction and fuzzy functions is constructed; secondly, vectorizing the target program code snippets, selecting text sequences irrelevant to the target program code snippets from the obfuscated corpus material library according to the semantic information as prompt output class codes, and fusing the prompt output class codes to the positions of the target program code snippets; according to the method, the semantic confusion corpus with inductivity and fuzziness is fused into the target code, the confusion code with semantic analysis resistance is generated, understanding of reverse analysts on real functions of a program can be misguided, the code understanding difficulty is increased, legal software can be effectively prevented from being pirated or maliciously tampered, and the method has good application prospects.

Description

technical field [0001] The invention belongs to the technical field of network security, and in particular relates to a method and system for confusing program semantics based on natural language processing. Background technique [0002] In order to prevent legitimate software from being pirated or maliciously tampered with, software developers generally use software protection technologies such as packing, obfuscation, and encryption to protect software. The core idea of ​​all software protection technologies is to increase the difficulty of software being cracked as much as possible, making it difficult for software crackers to analyze the specific functions, organizational structure, working process and other implementation details of the software in a short time. Code obfuscation is a commonly used software protection method. The functions and behaviors of the programs before and after the obfuscation are consistent. The main purpose is to make it difficult for software ...

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): G06F40/194
CPCG06F21/14
Inventor 熊小兵舒辉康绯杨巨光焱卜文娟赵耘田魏然沙子涵李卓伦
Owner PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
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