Bypass protection in obfuscated DLL file

Some Unity games (Mono backend) are using weird protection in Assembly-Csharp.dll file. If you mod the dll, the game won’t load, causing game issues or crashes

After the developer moved to il2cpp, I can disclose how I bypassed protection

Assuming you are using dnSpy. Before saving DLL, preserve all MD Tokens then save

1614443231725.png

Preserving MD tokens and saving may cause error with some changes you made. If it happens, undo your changes and edit in IL as possible instead C#, until there is no errors during saving.

Using de4dot deobfuscation tool automatically preserve all MD Tokens

Popular Posts

[TOOL] Unity Assets Bundle Extractor

Il2CppDumper GUI Android App