Skip to main content

Automation GUI for Android App Analysis

Project description

Description

Automation GUI for Android App Analysis

Installation

pip install autoappanalysis

Usage

Create a config file like the following schema:

// config.json
{
  "vm": "app-vm",                                              // Name of the VM
  "user": "admin",                                             // User Name 
  "pw": "admin",                                               // Password
  "input": "/media/sf_avd",                                    // Path to AVD shared folder on VM
  "output": "/media/sf_results",                               // Path to result shared folder on VM
  "outputHost": "C:\\Users\\admin\\results",                   // Path to result shared folder on host
  "snapshot": "C:\\Users\\admin\\.android\\avd\\analysis.avd", // Path to AVD shared folder on host
  "comparison": [                                              // Array of objects to provide different 
        {                                                      // comparison setup. 
            "name": "01_action_install",                       // Each object holds a comparison name,        
            "first": "init",                                   // a starting snapshot (first) 
            "second": ["install", "noise"]                     // to which the other snapshots
        },                                                     // (second) will be compared against
        {
            "name": "02_action_first_start",
            "first": "install",
            "second": ["first_start"]
        },
        {
            "name": "03_action_guest_login",
            "first": "first_start",
            "second": ["continue_as_guest"]
        }
  ],
  "files": [                                                  // Paths to files which are going to be
        "/data/data/path/to/app/user.db",                     // extracted for each snapshot
        "/data/data/path/to/app/host.db",
        "/data/data/path/to/app/config.json"
    ]
}

Example

python -m autoappanalysis -c config.json

Button Description
Create Snapshot Create a AVD Snapshot with Snapshot Name and Snapshot Number and extract all files given by AVD Files to be extracted
Decrypt Snapshots Decrypts all snapshots in VM Input Directory
Analyse Snapshots Analyses all snapshots in VM Input Directory + /decrypted as well as all AVD Files to be extracted based on given comparison rules in config.json
Extract Files Extract all files given by AVD Files to be extracted

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoappanalysis-1.2.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

autoappanalysis-1.2.0-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page