drozer
Android security testing framework, assuming the role of an app on a device.
1.6K
Reversec's official Docker image for drozer's computer client.
drozer allows you to search for security vulnerabilities in apps and devices by assuming the role of an app and interacting with the Android Runtime, other apps' IPC endpoints and the underlying OS. Its primary use case is simulating a rogue application on the device. A penetration tester does not have to develop an app with custom code to interface with a specific content provider. Instead, drozer can be used with little to no programming experience required to show the impact of letting certain components be exported on a device.
This is a Docker image that uses OpenJDK 11 to compile and run the drozer computer agent. The alpine:3.19.1 Docker image is used for both the build stage and the final image.
A pre-built image can be pulled by running:
docker pull drozerdocker/drozer
Alternatively, to build this container yourself, use the docker build command, pointing it towards Reversec's GitHub repository:
docker build -t drozerdocker/drozer https://github.com/ReversecLabs/drozer.git#develop:docker
The source Dockerfile is available here.
If the target phone and PC are on the same network, this tends to be the easiest approach.
docker run --net host -it drozerdocker/drozer console connect --server <phone IP address>If a system shell is required (for example, to inspect and retrieve any files downloaded by drozer), you can:
docker run --net host -it --entrypoint sh drozerdocker/drozerdrozer console connect --server <phone IP address>If network communications is restricted, adb port forwarding can be used to forward TCP traffic via USB.
adb forward tcp:31415 tcp:31415docker run --net host -it drozerdocker/drozer console connect --server localhostIf a system shell is required (for example, to inspect and retrieve any files downloaded by drozer), you can:
adb forward tcp:31415 tcp:31415docker run --net host -it --entrypoint sh drozerdocker/drozerdrozer console connect --server localhostRefer to the drozer README.md and Wiki on GitHub.
Content type
Image
Digest
sha256:0e66b2bfb…
Size
148.8 MB
Last updated
9 months ago
docker pull drozerdocker/drozerPulls:
21
Last week