Giter Site home page Giter Site logo

android-analyzer's Introduction

Android SSL Analyzer Service

Upload APKs (for x86 architecture) to be analysed for common SSL-related vulnerabilities in Android.
Vulnerabilities include

  • Custom Trustmanager accepting all certificates (with valid hostname)
  • Custom HostnameVerifier accepting all hostnames
  • Custom WebViewClient.onSSLErrorReceived accepting all certificates
  • Apps not using certificate pinning
  • Apps implementing certificate pinning erroneously (getPeerCertificates bug)
  • Other vulnerabilities for which you can check by configuring your own scenario and MITM proxy certificate settings

How to run locally

Run sudo xhost + to enable displaying emulator UI.
Run docker-compose -f docker-compose-local.yml up --build. The initial building of the docker images might take some time (~ 1 hour).
You can access the web service on http://0.0.0.0:5000/index

See docker-compose configuration files for customization options.

How to run on multiple machines

Specify the IP of the manager machine in the URLs in config.py.
Run docker-compose -f docker-compose-manager.yml up --build on the manager machine.
Run sudo xhost + and docker-compose -f docker-compose-workers.yml up --build on each of the worker machines (including the manager machine if it should also run workers).
Make sure that the ports of the docker-compose configuration files are not already in use (e.g. by a local RabbitMQ server).
You can access the web service on the IP of the manager machine on port 5000 at /index.

See docker-compose configuration files for customization options.

The service can currently not be run in swarm mode, since after the latest Android emulator update the emulator just starts with a black screen when not using GPU acceleration. GPU acceleration requires docker privileged mode which is not supported in swarm mode.

android-analyzer's People

Contributors

mgabr avatar

Stargazers

Subho Halder avatar

Watchers

James Cloos avatar  avatar

Forkers

subho007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.