Adhrit is an open source Android APK reversing and analysis tool that can help security researchers and CTF enthusiasts alike. The tool is an effort to cut down on the amount of time spent on reversing and basic reconnaissance of Android applications. The project is still under progress and will continually incorporate features with time. Feel free to report the issues. Feature requests and suggestions are always welcome!
- Extracts the apk contents.
- Disassembles native libraries
- Extracts jar out of dex.
- Extracts source code in Java.
- Extracts source code in Smali.
- Recompiles smali into APK
- Signs the APK
- Checks for virtual apps/droppers
- Checks for bytecode injection points and write it to a file.
- Analyzes permissions used by the application.
- Dumps the Manifest.
- Dumps the certificate details.
- Checks for malware footprints in the VirusTotal database.
- Linux or MAC
- Java JDK
- Dowload the zip or clone the package and extract the tool (
git clone https://github.com/abhi-r3v0/Adhrit.git
). - Place the application in the tool directory.
- Open a terminal and cd into the directory.
- Run
python installer.py
for installing the necessary tools. - Use
python adhrit.py -h
for usage help.
Example: python adhrit.py -a my_app.apk
- Have any cool idea? Here's how you can implement it:
- Create a
module_name.py
and place it in therecons
directory. - Define a class with a relevant name and define a function that takes
apk_name
as a parameter. [eg:my_func(apk_name)
] - Open
adhrit.py
and import the new class from recons. You can look at the already existing imports as an example. - Define a new function inside the class
Adhrit
in this format:my_new_func(self, apk_name)
. Call the imported function here. [eg:my_func(apk_name)
] - Create a new argument in the argument parser for the new included
my_new_func
- Call the function with the argument.
Voila! Send us a PR. We'll review it and add it to the project.
- Follow the pep8 conventions.
- Comment wherever necessary.
- Abhishek J M ([email protected], @abhi_r3v0)
- P S Narayanan ([email protected], @0xP5N_)
- Heeraj Nair ([email protected], @heerajnair)
- Loyd Jayme ([email protected], @loydjayme25)
- Troopers
- Seclist
- DedSec
- Howucan.gr
- HackerTor
- tuicool
- @androidtools on Twitter
- pcbbc
- Ethical Hacking Consultants
- Anonymoushacker
- Pax0r
- KitPloit
- NeOnSec
- ISEC
- Prodefence
- appscan.io
- Weixin
- blackhatsecdevteam
- 360doc
- Hackers Online Club
- Altervista
- Xaunwulab
- Filenames with two '.' may give an error. Please rename the apk in such cases.
For example, if your file name is
my.app.apk
, rename it tomyapp.apk