Skip to content

DroidSafe Android Static Analysis Source Repository

Notifications You must be signed in to change notification settings

mas2tg/droidsafe-src

 
 

Repository files navigation

How to run

You can install the container by first running: docker-compose build, then docker-compose run droidsafe. After that, you can cd to your app's directory (e.g., ./android-apps/examples/IntentSink1) and run: make specdump-apk Results will be under ./android-apps/examples/IntentSink1/droidsafe-gen/info-flow-results.txt.

To run the analysis in your own app, put your apk under a folder under ./android-apps/examples/ alongside the modified Makefile (similar to the one in IntentSink1/).

Overview

The DroidSafe project develops novel program analysis techniques to diagnose and remove malicious code from Android mobile applications. The DroidSafe project is developed by MIT's Center for Resilient Software and the Kestrel Institute. The core of our system is a static information-flow analysis that operates on either Java bytecode for an application or an application's APK. The DroidSafe team co-designed a semantic model of Android runtime behaviors and a static information-flow analysis to achieve acceptable precision, accuracy, and scalability for real-world Android applications.

Setup

Directory Structure

  • android-apps
    • Example applications and Makefiles to simplify analysis runs
  • android-lib
    • Libraries for applications to use to accomplish particular tasks.
  • bin
    • Packages and Executables of DroidSafe tool.
  • config-files
    • Configuration files for the main DroidSafe tool including logging.
  • doc
    • Documents
  • lib
    • External libraries needed by the main DroidSafe tool.
  • Modeling
    • Current and old source code for Android semantic model.
  • src
    • Source code for main DroidSafe analyses
  • tools
    • Various non-DroidSafe tools to aid in malware detection and DroidSafe implementation.

About

DroidSafe Android Static Analysis Source Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • HTML 0.2%
  • Makefile 0.1%
  • GAP 0.0%
  • JavaScript 0.0%
  • Python 0.0%