TLDR InfoSec · STRATEGIES & TACTICS
MODDING AND DISTRIBUTING MOBILE APPS WITH FRIDA
Summary from the TLDR InfoSec newsletter
Frida enables powerful mobile app modifications by injecting custom agents into running processes. However, distributing these modifications for use by others—especially on non-rooted Android devices—requires embedding Frida's gadget library directly inside the APK. Using a demo app, this post walks through preparing an agent script that always rolls a 'one' in a dice app, compiling it, and patching the APK to include Frida's gadget for autonomous script execution.