Jump to content

Mobile Legends Bang Bang reversing


tanis

2 posts in this topic

Recommended Posts

Posted

I don't know if this is the right place to post this topic. If not, please move it to the right place :)

I would like to start a community effort to reverse Mobile Legends Bang Bang as I think there are quite some members of the forum that could jump in and fill the gaps. My main goal is to be able to dissect the game code. I'm using the Android version as a reference but it looks like it works the same way on iOS. So far what I can tell is the following:

  • the game is written in Unity3D
  • the actual game code sits in Lua files
  • the Lua files are probably encrypted because their file size is a multiple of 8 and there are good chances that the algorithm being used is AES (more on this later)
  • the C# DLLs have been encrypted and obfuscated
  • Moonton modified the original mono loader to actually decrypt and deobfuscate those DLLs while loading them into memory
  • there is another DLL inside assets/Any/android/MobaLogicAndroidData.unity3d and that DLL has been obfuscated and encrypted but it looks like it might slightly differ from the protection used with the other DLLs.

There are plenty of *.lua files in the assets/android/lua folder. While they should be text files with the actual game code, it clearly shows that they've been encrypted. Checking the file size I can assume that they're using some block cypher algorithm and I guess it's almost surely AES as that algorithm is also used to encrypt pieces of the C# DLLs.

I decompiled libmono.so, libmain.so, libunity.so, libunityx.so but I couldn't find any trace of the parts that should load the Lua files so far. What is clear is that the libmono.so has been modified because the C# DLLs in assets/bin/Data/Managed aren't standard .NET DLLs. They have their headers modified. Kao did a great job at analyzing them and finding out more about what's going on with them and I invite you to check his blog there: https://lifeinhex.com/unity3d-protection-in-moonton-games-part-2/

Basically the MS-DOS signature has been changed so that they know that the file is an encrypted DLL and if you replace it they just won't load it.

The PE header has been encrypted with a slightly modified version of AES -128.

The stream names have been changed and their size and data fields have been switched around. The size and data fields have been encoded.

The method header have been encoded and both tiny and fat methods have been slightly modified in the way they work.

What I'm trying to do now is to find out who's loading the Lua files and the decryption algorithm. It would be nice if we could join forces and get deeper with this. I'm looking forward for comments if you're interested :)

 

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Legend of Avatar v1.11.0 Jailed Cheats +3
      Modded/Hacked App: Legend of Avatar By billionairegames
      Bundle ID: com.billionairegames.serares
      App Store Link: https://apps.apple.com/us/app/legend-of-avatar/id6746192853?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 143 replies
    • Westland Survival - Cowboy RPG v11.1.1 +7 [ Items Cheat ]
      Modded/Hacked App: Westland Survival - Cowboy RPG By HELIO LTD
      Bundle ID: com.heliogames.a1
      iTunes Store Link: https://apps.apple.com/us/app/westland-survival-cowboy-rpg/id1339238576?uo=4


      Hack Features:
      - Unlimited Energy / Instant Energy Refills
      - Unlock All Blueprints
      - Items Duplicate When Split / Items Hack
      - Unlimited Consumable Items
      - Unlimited Item Durability
      - God Mode / Never Die -> Linked with enemies. Useful for looting.
      - One Hit Kill / High Damage -> Linked with enemies. Use with caution.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 511 replies
    • Fishing Travel v4.0.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Fishing Travel By Ark Game Limited
      Bundle ID: com.arkgame.ft
      App Store Link: https://apps.apple.com/ph/app/fishing-travel/id6505145935?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      - Easy Catch
      - DMG
      • 21 replies
    • Fishing Travel v4.0.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Fishing Travel By Ark Game Limited
      Bundle ID: com.arkgame.ft
      App Store Link: https://apps.apple.com/ph/app/fishing-travel/id6505145935?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      - Easy Catch
      - DMG
      • 23 replies
    • Galaxy Wing Zero v1.072.219 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Galaxy Wing Zero By Noodle Games Limited
      Bundle ID: com.space.shooter.galaxy.attack.wing.fighter
      App Store Link: https://apps.apple.com/us/app/galaxy-wing-zero/id6753129049?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 4 replies
    • Galaxy Wing Zero v1.072.219 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Galaxy Wing Zero By Noodle Games Limited
      Bundle ID: com.space.shooter.galaxy.attack.wing.fighter
      App Store Link: https://apps.apple.com/us/app/galaxy-wing-zero/id6753129049?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 6 replies
    • Loadout Warrior v3.0.5 [ +3 APK MOD ] Good MoD
      Mod APK Game Name: Loadout Warrio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.mobgame.loadout.warrior&hl=en

       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]
      - HP
      - ATK CD

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 0 replies
    • Loadout Warrior v3.0.4 [ +5 Jailed ] ADS NO
      Modded/Hacked App: Loadout Warrior By MobGame Pte. LTD
      Bundle ID: com.mobgame.loadout.warrior
      iTunes Store Link: https://apps.apple.com/us/app/loadout-warrior/id6743389761?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Battle Coins

      - HP

      - ATK

      - ATK CD
      • 28 replies
    • Loadout Warrior v3.0.4 [ +5 Cheats ] ADS NO
      Modded/Hacked App: Loadout Warrior By MobGame Pte. LTD
      Bundle ID: com.mobgame.loadout.warrior
      iTunes Store Link: https://apps.apple.com/us/app/loadout-warrior/id6743389761?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Battle Coins

      - HP

      - ATK

      - ATK CD
      • 14 replies
    • Hello Town: Merge & Succeed v3.1 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 31 replies
    • Hello Town: Merge & Succeed v3.1 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 31 replies
    • 20 Minutes Till Dawn v7.3.b31 [ +12+++ Cheats ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


      Hack Features:
      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 42 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines