شعار Reversing Unity Il2cpp

Reversing Unity Il2cpp

المجتمع
trilwu
reversing-unity-il2cpp

أجرِ هندسة عكسية لألعاب وتطبيقات Unity المبنية باستخدام IL2CPP أو Mono، باستخدام Il2CppDumper وIl2CppInspector وdnSpy. استخدم هذه المهارة عندما يحتوي ملف APK أو IPA على global-metadata.dat أو libil2cpp.so أو UnityFramework أو Assembly-CSharp.dll، أو عندما لا يُظهر jadx سوى UnityPlayerActivity، أو عندما يُذكر أن التطبيق المستهدف مبني باستخدام Unity.

Add to TypingMind

نظرة عامة

الناشرtrilwu
المستودعsecskills
اسم المهارةreversing-unity-il2cpp
النجوم
144
التفريعات
15
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها trilwu على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Reversing Unity Il2cpp في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reversing-unity-il2cpp
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/trilwu/secskills.git /tmp/secskills
mkdir -p .claude/skills
cp -r /tmp/secskills/secskills-core/skills/reversing-unity-il2cpp .claude/skills/reversing-unity-il2cpp
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Reversing Unity Il2cpp في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Reversing Unity Il2cpp تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Reversing Unity Il2cpp بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Reversing Unity IL2CPP

Unity ships in two very different shapes, and identifying which one you have is the entire first decision. A Mono build hands you decompilable .NET assemblies. An IL2CPP build compiles C# to C++ to native code, and the C# metadata lives in a separate file that you must recombine with the binary before anything is readable.

When to Use

  • The APK contains assets/bin/Data/Managed/Metadata/global-metadata.dat and lib/arm64-v8a/libil2cpp.so
  • The APK contains assets/bin/Data/Managed/Assembly-CSharp.dll (Mono build)
  • The IPA contains Frameworks/UnityFramework.framework
  • jadx shows only UnityPlayerActivity and Unity plumbing
  • You need to recover game or app logic, anti-cheat behaviour, or the API layer

When NOT to Use

  • Flutter or React Native — use reversing-flutter-apps or reversing-react-native-apps
  • Ordinary native apps — use testing-mobile-applications
  • Desktop game binaries with no Unity markers — use analyzing-binaries
  • Building cheats or bypassing anti-cheat in live multiplayer services — out of scope; that is service abuse, not assessment

Identify the Build

bash
unzip -l target.apk | rg 'global-metadata|libil2cpp|Assembly-CSharp|libmono'
PresentBuildDifficulty
Assembly-CSharp.dll, libmono*.soMonoEasy — decompile the DLL directly
global-metadata.dat + libil2cpp.soIL2CPPThe main path below
Neither, but UnityFrameworkiOS IL2CPPSame as IL2CPP; extract from the decrypted IPA

Mono builds are a short job. Pull the assembly and open it:

bash
unzip -j target.apk 'assets/bin/Data/Managed/Assembly-CSharp.dll' -d ./out
# dnSpy / dnSpyEx / ILSpy / dotPeek — full C# source recovery, and dnSpy can edit
ilspycmd ./out/Assembly-CSharp.dll -o ./decompiled

Everything below is for IL2CPP.

Recombining Metadata with the Binary

IL2CPP splits the information: libil2cpp.so holds the compiled code, global-metadata.dat holds the C# type system — class names, method names, field names, string literals. Neither is useful alone. The tools' job is to match them and produce symbols.

bash
unzip -j target.apk 'lib/arm64-v8a/libil2cpp.so' \
                    'assets/bin/Data/Managed/Metadata/global-metadata.dat' -d ./in

# Il2CppDumper: the standard first attempt
Il2CppDumper ./in/libil2cpp.so ./in/global-metadata.dat ./out

Typical output and what it is for:

ArtifactUse
dump.csEvery class, method, and field with addresses — read this first
DummyDll/Stub .NET assemblies; open in dnSpy/ILSpy to browse the type system comfortably
script.jsonSymbol import for IDA/Ghidra — applies names to libil2cpp.so
stringliteral.jsonString constants: URLs, keys, messages

Il2CppInspector is the alternative when Il2CppDumper fails; it supports a different range of Unity versions and emits Ghidra and IDA scripts plus a richer C++ header. Try both before concluding a build is unsupported.

Version mismatch is the usual failure. The metadata format changes across Unity releases; the tool asks for or infers the version. Read the Unity version first and feed it explicitly:

bash
strings ./in/libil2cpp.so | rg -m3 '20[0-9]{2}\.[0-9]+\.[0-9]+' 
strings ./in/global-metadata.dat | head -5

Protected builds encrypt or scramble global-metadata.dat — the header magic will be wrong and the dumpers will refuse. Signs: the file does not start with the expected metadata magic, or entropy is uniformly high. The practical route is dynamic: let the app decrypt the metadata itself, then dump it from memory once loaded.

bash
# Dump the decrypted metadata from a running process
frida -U -f com.target.app -l dump-metadata.js
# Then feed the dumped file to Il2CppDumper as normal

That pattern — let it unpack itself, dump from memory — is the same one used for packed malware, and it is almost always cheaper than defeating the protection statically. See analyzing-binaries.

Working the Recovered Code

  1. Read dump.cs for the type map. Search for the classes that matter: anything named *Manager, *Service, *Api, *Network, *Auth, *Purchase, *Config.
  2. Load script.json into IDA or Ghidra so libil2cpp.so shows C# method names instead of sub_1A2B3C. Without this step the disassembly is unreadable; with it, it reads like decompiled C#.
  3. Check stringliteral.json for endpoints and keys. Same reasoning as every other framework — string constants survive everything.
  4. Hook at runtime with Frida using the addresses from dump.cs. Method addresses are relative to the libil2cpp.so base, so resolve the module base and add the offset.
javascript
// Pattern: resolve base, add the RVA from dump.cs, intercept
const base = Module.findBaseAddress('libil2cpp.so');
Interceptor.attach(base.add(0x1A2B3C), {
  onEnter(args) { console.log('called with', args[1]); },
  onLeave(ret)  { console.log('->', ret); }
});

Security-Relevant Findings

For an assessment rather than a curiosity exercise, the recurring issues:

  • Hardcoded credentials and endpoints in stringliteral.json — backend keys, analytics tokens, cloud storage credentials.
  • Client-authoritative logic. Currency, entitlements, and validation done in C# and trusted by the server. Verify by calling the API directly.
  • Weak or absent certificate pinning. Unity's networking layer is often configured permissively; check UnityWebRequest usage.
  • Local save and config tampering. PlayerPrefs and local save files storing values the server trusts.
  • Receipt validation done client-side for in-app purchases.

Rationalizations to Reject

  • "jadx shows nothing, so it's protected." Unity apps have almost nothing in the dex by design.
  • "The dumper failed, so the build can't be analyzed." Try the other dumper, supply the Unity version explicitly, and if metadata is encrypted, dump it from memory.
  • "IL2CPP is compiled, so the logic is safe." The metadata ships alongside it. That is the whole point of the format.
  • "The client validates the purchase." Then the purchase is not validated.
  • "I'll read the raw arm64." Apply script.json first. The same function is unreadable before and routine after.

References

  • testing-mobile-applications — platform storage, permissions, and native layer
  • testing-apis — the backend, where client-authoritative logic becomes a finding
  • analyzing-binaries — memory dumping and anti-analysis for protected builds
  • Il2CppDumper, Il2CppInspector, dnSpy/ILSpy, Frida, IDA/Ghidra

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Reversing Unity Il2cpp؟

أجرِ هندسة عكسية لألعاب وتطبيقات Unity المبنية باستخدام IL2CPP أو Mono، باستخدام Il2CppDumper وIl2CppInspector وdnSpy. استخدم هذه المهارة عندما يحتوي ملف APK أو IPA على global-metadata.dat أو libil2cpp.so أو UnityFramework أو Assembly-CSharp.dll، أو عندما لا يُظهر jadx سوى UnityPlayerActivity، أو عندما يُذكر أن التطبيق المستهدف مبني باستخدام Unity.

لماذا تستخدم Reversing Unity Il2cpp على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Reversing Unity Il2cpp عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Reversing Unity Il2cpp في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/trilwu/secskills/tree/main/secskills-core/skills/reversing-unity-il2cpp. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Reversing Unity Il2cpp؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Reversing Unity Il2cpp؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Reversing Unity Il2cpp معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Reversing Unity Il2cpp مجانية؟

نعم. نشرها trilwu على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇