drozer is a security testing framework for Android. A console on your computer drives an Agent on a device to probe apps, IPC, and the OS.
Overview
drozer is a security assessment framework for the Android platform. It lets testers act like an installed app: interacting with the Android runtime, other apps’ IPC endpoints, and the underlying operating system to find vulnerabilities.
The setup pairs a drozer Console on a PC with a drozer Agent APK on the test device or emulator. The Agent can expose an embedded server; the console connects over the network or via adb port forwarding. Sessions expose modules for tasks such as listing packages, running shells in the Agent context, and loading command scripts.
It reduces repetitive one-off test apps by offering dynamic analysis and extensible modules. It runs on emulators and physical devices and can be used without USB debugging enabled for some assessment scenarios. Install paths include pip or pipx from PyPI, source builds, and a maintained Docker image.
Tools support discovering attack surfaces, running dynamic Java-related logic on the device, and extending the tool with additional modules. A companion vulnerable app called sieve is available for practice.
Key features
- Console plus on-device Agent
- Modular security commands
- IPC and OS interaction
- Network or USB connection modes
- Embedded server in the Agent
- Docker-packaged console environment
- pip and pipx installation
- Extensible module system
Use cases
- Android app penetration testing
- Dynamic analysis of device attack surface
- Security regression automation
- IPC endpoint exploration