Androguard Reverse Engineering Tool for Android Apps
Androguard is mainly a tool written in python to play with :
· Dex/Odex (Dalvik virtual machine) (.dex) (disassemble, decompilation)
· APK (Android application) (.apk)
· Android's binary xml (.xml)
· Android Resources (.arsc)
Features
· Map and manipulate DEX/ODEX/APK/AXML/ARSC format into full Python objects,
· Diassemble/Decompilation/Modification of DEX/ODEX/APK format,
· Decompilation with the first native (directly from dalvik bytecodes to java source codes) dalvik decompiler (DAD),
· Access to the static analysis of the code (basic blocks, instructions, permissions (with database from http://www.android-permissions.org/) ...) and create your own static analysis tool,
· Analysis a bunch of android apps,
· Analysis with ipython/Sublime Text Editor,
· Diffing of android applications,
· Measure the efficiency of obfuscators (proguard, ...),
· Determine if your application has been pirated (plagiarism/similarities/rip-off indicator),
· Check if an android application is present in a database (malwares, goodwares ?),
· Open source database of android malware (this opensource database is done on my free time, of course my free time is limited, so if you want to help, you are welcome !),
· Detection of ad/open source librairies (WIP),
· Risk indicator of malicious application,
· Reverse engineering of applications (goodwares, malwares),
· Transform Android's binary xml (like AndroidManifest.xml) into classic xml,
· Visualize your application with gephi (gexf format), or with cytoscape (xgmml format), or PNG/DOT output,
· Integration with external decompilers (JAD+dex2jar/DED/fernflower/jd-gui...)
How to install Androguard
There are three ways to get Androguard working:
1. Default solution: use the mercurial version
hg clone https://androguard.googlecode.com/hg/ androguard
2. Use AndroGuard from a pre-installed Virtual Machine. Download ARE, then don't forget to update AndroGuard to get the latest functionalities:
hg pull && hg update
3. Use pre-built executables (Windows only). Get the Microsoft Visual C++ 2008 Redistributable Package, and download pre-built executables: currently, only androsim.exe is pre-built.
Important Links
Note: If you want to learn more about Linux and Windows based Penetration testing, you might want to subscribe our RSS feed and Email Subscription or become our Facebook fan! You will get all the latest updates at both the places.