Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Unity 2017 Code encryption

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

According to statistics, among the tens of thousands of games on the market, most of them have security problems such as cracking, malicious code insertion, advertisement insertion, plug-in, secondary packaging and so on. The hidden dangers brought by these security problems for enterprises are the increase in the difficulty of research and development, the increase in the cost of research and development, the reduction of players' willingness to pay, the loss of fairness in the game, the loss of players, and the direct loss of revenue-- therefore, it is very important for developers to eliminate game risks.

First, how does Virbox do it?

1. How to protect the program?

Virbox Protector and Virbox AHS can prevent static analysis and dynamic debugging of Unity3D software products respectively, and have the following characteristics:

(1) encrypt your code logic with one click, cannot decompile, and cannot dump memory.

(2) do not reduce the number of game frames.

(3) Assembly-CSharp.dll code is decrypted on demand. Only when it is called, it will be decrypted in memory. If it is not called, it cannot be decrypted at once.

(4) complete authorization scheme, which supports cloud license, soft license, hard license, network lock license, time limit, number of times and network concurrency.

(5) it has its own anti-black engine, drive-level anti-debugging, and kill all debuggers on the market.

2. How to protect resources?

The protection of Unity3D resources is mainly through Virbox shelling tools combined with DS Protector for protection.

DS Protector:DS Protector is a program data protection tool developed by ourselves, which makes up for the function of the shell tool Virbox Protector. Virbox Protector protects the compiled binary code of the program, and cooperates with DS Protector data protection tools to form the protection of code, data, authorization and trinity.

The main way to protect the program developed by Unity engine is to encrypt Assembly-CSharp.dll, which can protect the main code logic of Unity from decompilation, so as to protect the legitimate rights and interests of software developers to the greatest extent. at the same time, DS Protector can encrypt .ress and resources resource files in the software developed by Unity engine to prevent resources in software or games from being extracted illegally.

3. Comparison before and after using encryption tools

(1) the effect of encrypted resource files

Before encryption

After encryption

(2) the effect of dnspy decompilation being shelled:

Before adding the shell

After adding shell

Analysis: from the results of the comparison, we can see that a lot of code information has been lost, and it will be very difficult to analyze again.

(3) debugging failure and additional failure of X64Dbg and OllyDbg on PC

Analysis: this protection scheme for dynamic debugging provided by Virbox AHS will play a significant role in real-time analysis of programs.

(4) Cheat-Engine failed to read memory (need new anti-triad engine support)

Analysis: through the protection of the memory data of the original program, malicious acts that want to cheat in the form of modified data will also be rejected.

II. Characteristics of Virbox protection scheme

L more secure

High reinforcement strength, effective against a variety of decompilation and debugging tools (IDA and other tools), prevent shelling

L more comprehensive

Support Arm32, Arm64, x86, x64 multiple CPU architectures

L is simpler

Provide tools and command line operation, compile and shell integration quickly

As long as it is a game developed by Unity, whether it is a PC game or a mobile game, Virbox can provide a simple and secure solution, so that game developers can devote their energy to development.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report