USC-SQL / droidsafe-src

DroidSafe Android Static Analysis Source Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 99.6%Language:HTML 0.2%Language:Makefile 0.1%Language:GAP 0.0%Language:JavaScript 0.0%Language:Python 0.0%Language:Shell 0.0%Language:AIDL 0.0%Language:PHP 0.0%Language:Perl 0.0%Language:Dockerfile 0.0%Language:CSS 0.0%