Back to Browse

Android Root Detection Bypass (Frida Hooking and APK Patching)

35.1K views
Jun 8, 2023
18:50

📱🐛 Learn the basics of Mobile Hacking (Android). In this video, we'll look at two common approaches to bypass root detection on Android devices. First, we'll use Frida to dynamically hook root-detection functions and override the behaviour. We'll do this via the Mobile Security Framework (MobSF), as well as with the standalone Frida (various troubleshooting steps were required in my case). Secondly, we'll use apktool to decompile, patch and then recompile the InsecureBankv2 APK, removing the root detection functionality. This static approach was demonstrated in the previous video, where we actually had to fix the root detection mechanism, before we could begin to bypass it 🥲 #BugBounty #EthicalHacking #Mobile #Android #Tutorial Check the full video playlist HERE: https://www.youtube.com/playlist?list=PLmqenIp2RQcjBWzwMZQbIkbuVDmkYi_KF Overview: 0:00 Intro 0:16 Recap / Code review 2:22 Method 1: Hooking with Frida (MobSF) 5:32 Alternative: Frida (without MobSF) 8:43 Resolve Frida issues (downgrade) 12:55 Method 2: APK Patching 18:01 Conclusion Looking to try android hacking and score some bug bounties? check out the active programs on Intigriti 💜 🧑💻 Sign up and start hacking right now - https://go.intigriti.com/register 👾 Join our Discord - https://go.intigriti.com/discord 🎙️ This show is hosted by https://twitter.com/_CryptoCat ( @_CryptoCat ) & https://twitter.com/intigriti 👕 Do you want some Intigriti Swag? Check out https://swag.intigriti.com 📚 Video-specific Resources 🤓 https://github.com/dineshshetty/Android-InsecureBankv2 https://ibotpeaches.github.io/Apktool https://github.com/techexpertize/SignApk https://github.com/MobSF/Mobile-Security-Framework-MobSF https://frida.re/docs/examples/android https://vishvesh71.medium.com/how-to-install-frida-in-android-device-49583edecb64

Download

1 formats

Video Formats

360pmp443.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Android Root Detection Bypass (Frida Hooking and APK Patching) | NatokHD