Supercharge Your Innovation With Domain-Expert AI Agents!

A Java code obfuscation method based on control flow complexity

A technology for code obfuscation and control flow, applied in the field of computer security, can solve the problems of insufficient utilization of loop structures, additions, software piracy, etc., and achieve the effect of realizing the method of complicating control flow and overcoming insufficient utilization.

Active Publication Date: 2019-06-11
STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST +1
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. Software piracy, lawbreakers can easily copy software with the same or similar functions as the original software through decompiled source code, or crack software that does not need to be activated
[0004] 2. Tampering or modifying the software source code without changing the function of the software, but adding advertisements or other malicious codes and viruses to it
These methods are mainly used to deal with decompilation, and the loop structure is underutilized

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
  • A Java code obfuscation method based on control flow complexity
  • A Java code obfuscation method based on control flow complexity
  • A Java code obfuscation method based on control flow complexity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0052] like figure 1 As shown, a Java code obfuscation method based on control flow complexity includes the following steps:

[0053] Step 1, construct the set of opaque predicates.

[0054] Using the comparison of references in Java to construct opaque predicate sets, the opaque predicate sets include constructing the set T of predicates that are always true and the set F of predicates that are always false.

[0055] Step 2, find the loop structure.

[0056] Discover loop structures from Java code snippets, they should look like this case:

[0057] code show as below:

[0058] B: Cal_A

[0059] If not A go to E;

[0060] C

[0061] Go to B;

[0062] E:

[0063] The specific process is...

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 discloses a control flow complication-based Java code obfuscation method. The method comprises the steps of 1, constructing a non-transparent predicate set; 2, discovering a loop structure; 3, separating the loop structure; 4, inserting the non-transparent predicate set into the separated loop structure; and 5, complicating the loop structure. According to the method, the shortcoming of insufficient utilization of the loop structure in an existing code obfuscation method is overcome and a control flow complication method utilizing the loop structure is realized.

Description

technical field [0001] The invention relates to a Java code obfuscation method based on the complication of control flow, which belongs to the field of computer security. Background technique [0002] With the rise of the mobile Internet, mobile applications are becoming more and more popular. These applications make full use of the computing power and portability of mobile devices and facilitate people's lives. However, there are a large number of Java programs in mobile applications. Java programs are distributed in the form of packaged .class files after compilation. These .class files are all Java bytecodes, and the original Java bytecodes can be decompiled to restore the source code that differs from the original code only in the comments. code. This gives attackers or other criminals an opportunity. The main problems this brings are as follows: [0003] 1. Software piracy, lawbreakers can easily copy software with the same or similar functions as the original softwa...

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/14
CPCG06F21/14
Inventor 周超郭雅娟黄伟朱道华姜海涛郭静李斌王黎明陈锦铭
Owner STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST
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