For most of my tasks where I need special software, I set up a Docker container that offers me the tools to do the job. This time, I am going to share my Android reverse engineering and analysis setup, which I call android-re.
If you are interested in Android application security or just want to fiddle with some tools, you can use the Docker setup below to create your own Android playground.
Download files from GitHub: https://github.com/Dbof/docker-android-re
The package contains the actual Dockerfile, a build script for building the image and a “decompile” script that is included in the image. To start the container, you can run:
docker run -it --name android-re --rm -v "$PWD":/work dbof/android-re
Note that this mounts the current directory into the image. If you don’t want this, remove the “-v …” flag.