Skip to content

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.

License

Notifications You must be signed in to change notification settings

BugHunterID/Adhrit

 
 

Repository files navigation

Logo

INDIA BUILD STATUS Open Source Love made-with-python saythanks pep8 version

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!


Features:

  • APK Extraction

    • assets
    • classes.dex
    • native libraries
    • jar file from dex (integrated Enjarify)
  • Source Extraction

    • Certificate/signature
    • Java source (CFR)
    • smali source
    • Parsed XML resource files
    • Parsed AndroidManifest
    • Native library
  • Static Analysis

    • Manifest analysis
      • Critical permission usage analysis
      • MainActivity identification
      • Backup status
      • Exported activities
      • Automated ADB payload generation for exported activities
    • Bytecode analysis
      • const-strings
      • CTF flags
      • URLs
    • Malware analysis
      • VirusTotal scan
      • VirtualApp droppers scan
  • Dynamic Analysis

    • Automatically setting up a testing environment
    • Launching MainActivity
    • Checking for root access in the emulator/device
    • Dumping the runtime log
  • Miscellaneous

    • Rebuilding the APK
    • Signing the APK
    • Deploying the APK into an emulator/device
    • Disassembly of native libraries

Screenshots:

1

2

3

4

5

6


Pre-requisites:

  • Linux or MAC
  • Python3
  • Java JDK

Quick Setup

  1. Dowload the zip or clone the package and extract the tool ( git clone https://github.com/abhi-r3v0/Adhrit.git ).
  2. Open config and input your VirusTotal API key without any quotes. (Click here to know how to obtain your VT API key)
  3. Open a terminal and cd into the directory.
  4. Run python3 installer.py for installing the necessary tools.

Presentations / Conferences:


Usage:

  1. Place the application (apk file) in the tool directory.
  2. Use python3 adhrit.py -h for usage help.

Example: python3 adhrit.py -a myapp.apk

ADHRIT can now be run in two modes:

Pentest Mode

python3 adhrit.py -pen myapp.apk

Malware Analysis Mode

python3 adhrit.py -mal myapp.apk

Refer to the detailed documentation for complete details


Blogs:


Video:


Team:

Project Lead:

Lead Contributors:

Logo:


Mentions:


Credits:


Note:

  1. 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 to myapp.apk

About

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.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%