Supercharge Your Innovation With Domain-Expert AI Agents!

Unity code obfuscation method based on Il2cpp compiling

A code obfuscation and code technology, applied in the field of computer communication, can solve problems such as cumbersome operation, developer debugging risk, unclear name meaning, etc., and achieve the effect of resisting static analysis and protecting normal display

Active Publication Date: 2019-12-31
福建天晴在线互动科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although it has performed an irreversible code obfuscation operation, it has to obfuscate many Dll files generated by C# one by one, which is cumbersome to operate, and brings debugging risks to developers because of the unclear name meaning in the process of calling each other Dll

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
  • Unity code obfuscation method based on Il2cpp compiling
  • Unity code obfuscation method based on Il2cpp compiling
  • Unity code obfuscation method based on Il2cpp compiling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further described below in conjunction with the accompanying drawings.

[0039]The present invention needs to analyze the format of the global-metadata.dat file, then confuse part of the data in the global-metadata.dat file, and then apply compression and encryption. It is also necessary to modify the Il2cpp project code in the Unity editor, which involves decrypting and decompressing the obfuscated global-metadata.dat, and restoring the obfuscated data; so as to realize the global-metadata.dat file generated based on Il2cpp compilation. Code obfuscation protection.

[0040] see figure 1 Shown, a kind of method of the Unity code obfuscation based on I12cpp compiling of the present invention, described method comprises writing confusion application stage and revising I12cpp project stage in no particular order;

[0041] The writing confusion application phase includes the following steps:

[0042] Step S11, the global-metadata.dat file th...

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 Unity code obfuscation method based on Il2cpp compiling. The Unity code obfuscation method based on Il2cpp compiling comprises the following steps: analyzing the format of a global-metadata.dat file, then confusing a part of data of the global-metadata.dat file and then applying compression and encryption ;modifying an Il2cpp project code in a Unity editor, which relates to decrypting and decompressing the obfuscated global-metadata.dat, and restoring the obfuscated data, and therefore, code obfuscation protection can be performed on the global-metadata.dat file generated on the basis of Il2cpp compilation.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a method for obfuscating Unity code compiled based on I12cpp. Background technique [0002] At present, the game engine Unity can choose to use Il2cpp compilation when releasing program installation packages on computers and mobile phones. It will convert files written in C# into local native binary files and generate global-metadata.dat files at the same time. This file contains data such as static text and events, methods, field names, and corresponding memory addresses, so reverse applications usually parse the global-metadata. Code, and then find the key code to crack the purpose. [0003] Reverse engineers can also analyze the static text content in global-metadata.dat to achieve the purpose of modifying the application display information, such as translating or changing to illegal text. [0004] Although the existing outside world has a solution to encrypt...

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): G06F8/20G06F8/41
CPCG06F8/20G06F8/434
Inventor 刘德建官泉陈宏展
Owner 福建天晴在线互动科技有限公司
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