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

    • Animal Hunt: PvP Clash v1.0 [ +1 Jailed ] Enough Currency
      Modded/Hacked App: Animal Hunt: PvP Clash By Creative Distrix
      Bundle ID: com.cd.sniper.hunting.shooter
      App Store Link: https://apps.apple.com/us/app/animal-hunt-pvp-clash/id6761612123?uo=4

      🤩 Hack Features

      - Enough Currency
      • 1 reply
    • Animal Hunt: PvP Clash v1.0 [ +1 Cheats ] Enough Currency
      Modded/Hacked App: Animal Hunt: PvP Clash By Creative Distrix
      Bundle ID: com.cd.sniper.hunting.shooter
      App Store Link: https://apps.apple.com/us/app/animal-hunt-pvp-clash/id6761612123?uo=4

      🤩 Hack Features

      - Enough Currency
      • 0 replies
    • Animal Hunting Sniper PvP Game v3.6 [ +1 APK MOD ] Enough Currency
      Mod APK Game Name: Animal Hunting Sniper PvP Game
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.cd.sniper.shooter.animal.hunting&hl=en

      🤩 Hack Features

      - Enough Currency
      • 0 replies
    • Too Many Zombies v1.1.11 [ +2 APK MOD ] ATK Max
      Mod APK Game Name: Too Many Zombies
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.boomcat.zombiedefense.aos.global

      🤩 Hack Features

      - Immortal
      - ATK Max
      • 1 reply
    • Dream Master v1.0.5 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Dream Master! By 远翔 张
      Bundle ID: com.dream.master
      App Store Link: https://apps.apple.com/us/app/dream-master/id6749934992?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Spin
      - Build Cost
      - Star Enough
      • 2 replies
    • Dream Master v1.0.5 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Dream Master! By 远翔 张
      Bundle ID: com.dream.master
      App Store Link: https://apps.apple.com/us/app/dream-master/id6749934992?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Spin
      - Build Cost
      - Star Enough
      • 0 replies
    • Window Meow v1.0.7161 [ +24 APK MOD ] Currency Max
      Mod APK Game Name: Window Meow
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.skywalkgames.wildcat&hl=en

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Yarn
      - Unlimited Sunlight
      - Unlimited Food +11
      - Unlimited Water +5
      - Unlimited Warm Milk
      - Unlimited Music
      - Unlimited Rabbit Fur
      - Unlimited Fur Glove
      - Unlimited Tri Brush
      - Unlimited Stripe Ball
      - Unlimited Mouse Wand
      - Coins Freeze
      - Yarn Freeze
      - Sunlight Freeze
      - Food Freeze +11
      - Water Freeze +5
      - Warm Milk Freeze
      - Music Freeze
      - Rabbit Fur Freeze
      - Fur Glove Freeze
      - Tri Brush Freeze
      - Stripe Ball Freeze
      - Mouse Wand Freeze
      • 1 reply
    • Tower Defense PvP Tower Royale v1.8.16 [ +2 Jailed ] Max Elixir
      Modded/Hacked App: Tower Defense PvP:Tower Royale By Lightweight Inc
      Bundle ID: kr.lightweight.randomtower
      App Store Link: https://apps.apple.com/us/app/tower-defense-pvp-tower-royale/id1579639395?uo=4

      🤩 Hack Features

      - Max Elixir
      - Merge All Dice
      • 4 replies
    • Match Clash: 3 Puzzle Game v5.0.0 [ +4 Cheats ] Easy Win
      Modded/Hacked App: Match Clash: 3 Puzzle Game By Supercent Inc.
      Bundle ID: com.hidea.leaguepuzzle
      App Store Link: https://apps.apple.com/us/app/match-clash-3-puzzle-game/id6751880314?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - VIP Active
      - AI Freeze
      - Easy Win / Some Time Issue By Server
      • 4 replies
    • Match Clash: 3 Puzzle Game v5.0.0 [ +4 Jailed ] Easy Win
      Modded/Hacked App: Match Clash: 3 Puzzle Game By Supercent Inc.
      Bundle ID: com.hidea.leaguepuzzle
      App Store Link: https://apps.apple.com/us/app/match-clash-3-puzzle-game/id6751880314?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - VIP Active
      - AI Freeze
      - Easy Win / Some Time Issue By Server
      • 2 replies
    • (Watcher of Realms) 境界守望者 +2 Jailed Cheats
      Modded/Hacked App: 境界守望者 By VIZTA PTE. LTD.
      Bundle ID: com.ap.watcherofrealms
      App Store Link: https://apps.apple.com/tw/app/%E5%A2%83%E7%95%8C%E5%AE%88%E6%9C%9B%E8%80%85/id6470362045?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 14 replies
    • (The Eminence in Shadow RPG ) 陰の実力者になりたくて!マスターオブガーデン +2 Jailed Cheats
      Modded/Hacked App: 陰の実力者になりたくて!マスターオブガーデン By Aiming Inc.
      Bundle ID: com.aiming.shadow.garden.mog
      iTunes Store Link: https://apps.apple.com/jp/app/%E9%99%B0%E3%81%AE%E5%AE%9F%E5%8A%9B%E8%80%85%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%9F%E3%81%8F%E3%81%A6-%E3%83%9E%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%AA%E3%83%96%E3%82%AC%E3%83%BC%E3%83%87%E3%83%B3/id1629373124?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 60 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