Learn Pentesting like a Pro!

Share this post

How to reverse engineer any Android game using Unity in 3 steps

pentesting.academy

How to reverse engineer any Android game using Unity in 3 steps

pentesting.academy
Jun 15, 2022
Share this post

How to reverse engineer any Android game using Unity in 3 steps

pentesting.academy

LEVEL: ADVANCED

Step 1: Get the tool: Il2cppdumper

Download https://github.com/Perfare/Il2CppDumper (Unity il2cpp reverse engineer)

Step 2: Grab the APK needed files: libil2cpp.so & global-metadata.dat

Run the following commands in your Windows terminal:

apktool d package.apk

copy package\lib\armeabi-v7a\libil2cpp.so .

copy package\assets\bin\Data\Managed\Metadata\global-metadata.dat .

Il2cppDumper.exe libil2cpp.so global-metadata.dat package_re\

Step 3: Show the code with DnSpy

Now open package_re\DummyDll\Assembly-CSharp.dll with DnSpy.

Bonus track

Also you can use the following Frida wrapper to save time: https://github.com/vfsfitvnm/frida-il2cpp-bridge

You might be also read:

Learn Pentesting like a Pro
✅ The Ultimate Cheat Sheet for Android and iOS hacking: Part II (Dynamic Analysis)
In this post you will learn how to use different tools and frameworks to audit the security of running Apps in Android and Apple smartphones. Android emulators Genymotion Genymotion Cloud: Cloud-based Android emulators running on SaaS or as virtual images on AWS, GCP or Alibaba Cloud (PaaS…
Read more
3 months ago · pentesting.academy

Thanks for reading Learn Pentesting like a Pro! Subscribe for free to receive new posts.

Share this post

How to reverse engineer any Android game using Unity in 3 steps

pentesting.academy
Comments
TopNew

No posts

Ready for more?

© 2023 pentesting.academy
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing