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

Source code reinforcement method and device based on execution order and single-point logic

An execution sequence, source code technology, applied in computer security devices, program/content distribution protection, instruments, etc., can solve the problem that the source code anti-reverse analysis capability needs to be improved, so as to improve the anti-reverse analysis capability and increase the difficulty of cracking Effect

Active Publication Date: 2022-01-07
BEIJING BANGCLE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing source code obfuscation methods such as control flow flattening still have the risk of being cracked, and the ability to prevent reverse analysis of source code needs to be improved

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
  • Source code reinforcement method and device based on execution order and single-point logic
  • Source code reinforcement method and device based on execution order and single-point logic
  • Source code reinforcement method and device based on execution order and single-point logic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0026] In order to improve the anti-reverse analysis capability of the source code, the embodiment of the present application provides a source code hardening method and device based on execution order and single-point logic, which will be described respectively below.

[0027] It should be noted that the execution subject implementing the source code...

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

This application discloses a source code reinforcement method and device based on execution sequence and single-point logic, which can split the original source code into multiple code blocks based on the jump logic of the original source code of the application program when compiling or running ; Based on the jump logic of the original source code when compiling or running, a jump table representing the execution sequence of the multiple code blocks is established, and the jump table stores the corresponding relationship between the code block mark and the address of the code block; The above address is the address of the code block in the memory when the second source code is compiled or running, and the code block mark is used to access the address of the corresponding code block; the jump logic between the code blocks of the original source code , realized by the code block mark in the jump table, so as to generate the first source code after hardening; use the opaque predicate to fuzzy the condition variable in the function of the first source code, and obtain the second hardened source code. The method and device can improve the anti-reverse analysis capability.

Description

technical field [0001] The present application relates to the technical field of software security, in particular to a source code reinforcement method and device based on execution order and single-point logic. Background technique [0002] Nowadays, with the rapid development of technologies such as the mobile Internet, the Internet of Things, and the Internet of Vehicles, the number of terminals is increasing, and more and more applications are installed in the terminals, which brings great convenience to people's work and life . Some important information will be generated during the running of the application, which arouses the great interest of the attackers, which makes the important information have the risk of being leaked. [0003] At present, attackers often use static analysis tools such as disassembly and decompilation to reverse-analyze and crack the source code of the application to obtain the execution logic of the application, thereby illegally stealing and...

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 Patents(China)
IPC IPC(8): G06F21/12G06F21/14
CPCG06F21/125G06F21/14
Inventor 阚志刚陈彪王文洋李世杰尉爽生卢佐华
Owner BEIJING BANGCLE TECH CO LTD
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