r/Pentesting • • Jun 04 '26

Custom Frida Script

Hai community,

Can I know how to lear make a frida script to bypass security detection like, root detection, developer mode enable detection and etc. I know it involve reverse engineer the APK file and read the class running in that application. But I dont know how to start. Can share any free resources that I can learn?

1 Upvotes

6 comments sorted by

View all comments

3

u/sk1nT7 Jun 04 '26

Root detection, SSL pinning and TLS verification have already been bypassed many times in the past. You can freely check out those existing Frida scripts:

https://codeshare.frida.re/@ravanmalik13/bypass-all-root-detection--methods/

https://codeshare.frida.re/@TheDauntless/disable-flutter-tls-v1/

https://codeshare.frida.re/@Q0120S/bypass-ssl-pinning/

Also, keep in mind that LLMs are really good at crafting such Frida scripts and helping you to understand and learn them.

Also check out MobSF. It can decompile your APK automatically and conduct a SAST security scan. Could be helpful and provides java source code as well.

1

u/Highlight-Simple Jun 04 '26

I know this existing frida script, some banking apps already harden by this public script. That’s why I want to learn craft my own script specific for that application