Overview
Frida is a dynamic instrumentation toolkit that lets researchers observe and interact with running processes. It is widely used for application debugging, mobile security research and controlled runtime analysis. Use it only on apps and devices you own or are authorized to test.
Key features
Runtime instrumentation; scripting; multiple operating systems; language bindings; mobile and desktop workflows.
Install & first run
# Python client plus the CLI tools
python3 -m pip install --user frida-tools
# or
brew install frida
# List apps and processes on a USB-connected device
frida-ps -U
# Attach to an app and load your script
frida -U -f com.example.app -l hook.js
# Android: push frida-server for the matching architecture and run it as root
adb push frida-server /data/local/tmp/
adb shell "su -c /data/local/tmp/frida-server &"
Use only on apps and devices you own or have written permission to test. Docs: https://frida.re/docs/installation/
Real-world example
Use Frida in a test device to observe how your own app handles a sensitive function or stores data during a controlled test.
Common questions
Is Frida an automated vulnerability scanner?
No. It is an instrumentation framework that supports manual analysis and custom tooling.
Do I need a rooted device?
On Android, frida-server needs root unless you repackage the APK with the gadget. On iOS you need a jailbroken or otherwise instrumentable device.
What is the gadget?
A shared library you embed in an app so Frida can attach without a rooted device. Standard route for instrumenting your own production builds.
Python client or CLI?
Same engine. frida-trace and frida-ps are the quick CLI entry points; the Python API is what you use to automate a workflow.
Related tools
JADX
Decompile Android APKs and DEX files into readable Java-like source, with a CLI and a GUI for following the code. Free, open source.
Mobile Security Framework (MobSF)
Static and dynamic analysis for Android APK/AAB and iOS IPA: permissions, secrets, network config and runtime behaviour. Free, runs in Docker.
Keep exploring: browse every assessment phase in the Pentest Hub.
Authorized testing only — only ever test systems you own or have explicit written permission to assess.
