Binary software protection method by means of dynamic fine-grained code hiding and obfuscating technology

A software protection, fine-grained technology, applied in program/content distribution protection, instruments, electronic digital data processing, etc., can solve the problems of large plaintext window, difficult to hide program control flow, etc., achieve high protection strength, reduce size and Duration, resistance to static and dynamic analysis effects

CN106650340AActive Publication Date: 2017-05-10NAT UNIV OF DEFENSE TECH
8 Cites 14 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2017-05-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a binary software protection method by means of a dynamic fine-grained code hiding and obfuscating technology. The method comprises the steps that S1, a hidden target is selected, wherein a to-be-hidden code block is selected in a target program with a basic block as a unit; S2, the selected basic block is hidden, wherein according to each to-be-hidden basic block, an original code segment is replaced with a distributor function call, and other obfuscating instructions are filled in the rest positions; S3, the codes are packaged again, a new code segment is created so as to save all additional logic and data. The method has the advantages of being wide in application range, light in magnitude, extendable, high in safety and the like.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention mainly relates to the technical field of computer system security and software protection, in particular to a binary software protection method using dynamic fine-grained code hiding and obfuscation technology. Background technique

[0002] Anti-reverse cracking is one of the cores of software protection. With the increasing importance of intellectual property rights, software reverse protection technology has made great progress, from packing technology, static obfuscation protection technology, to dynamic obfuscation protection and virtual With computer protection technology, the difficulty of software cracking continues to increase. On the other hand, with the vigorous development of software, various debugging software and attack software are becoming more and more advanced and intelligent, providing a more convenient way for software cracking and attacking.

[0003] There are three main types of attacks faced by software: software r...

Examples

Embodiment Construction

[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0036] The invention is mainly used for binary software protection technology against software reverse analysis, that is, binary software anti-analysis technology. The binary software protection method (Dynamically Fine-grained Code Hiding and Obfuscation, referred to as dynFCHO) adopting dynamic fine-grained code hiding and obfuscation technology of the present invention achieves Purpose of concealment and protection. Such as figure 1 Shown, in specific application examples, the detailed steps of the present invention are:

[0037] S1: Select a hidden target;

[0038] In the unit of basic block, select the code block to be hidden in the target program.

[0039] The selection method is explained as follows:

[0040] Obfuscation of binary files is based on correct disassembly. DynFCHO uses basic blocks as the smallest unit for cod...