Skip to main content

Extract all apks from an Android device and check for malicious apps

Project description

Snoopdroid is a simple utility to automate the process of extracting installed apps from an Android phone using the [Android Debug Bridge](https://developer.android.com/studio/command-line/adb). Optionally, Snoopdroid is able to lookup the extracted packages on various online services in order to attempt to immediately recognize any known malicious apps.

Installation on Debian GNU/Linux

In order to run Snoopdroid on Debian you will need to install the following dependencies:

apt install python3 python3-pip python3-dev build-essential libssl-dev libffi-dev swig android-sdk-platform-tools

Make sure to generate your Android keys with:

adb keygen ~/.android/adbkey

You can then install Snoopdroid with pip3:

pip3 install rsa pip3 install snoopdroid

Installation on Mac

Running Snoopdroid on Mac requires Xcode and [homebrew](https://brew.sh) to be installed.

In order to install adb and other dependencies use:

brew install openssl swig libusb brew install homebrew/cask/android-platform-tools

Make sure to generate your Android private key with:

mkdir $HOME/.android adb keygen $HOME/.android/adbkey adb pubkey $HOME/.android/adbkey > $HOME/.android/adbkey.pub

You can now install Snoopdroid with pip3:

pip3 install rsa pip3 install snoopdroid

How to use

In order to use Snoopdroid you need to connect your Android device to your computer. You will then need to [enable USB debugging](https://developer.android.com/studio/debug/dev-options#enable) on the Android device.

If this is the first time you connect to this device, you will need to approve the authentication keys through a prompt that will appear on your Android device.

You can now launch Snoopdroid simply with snoopdroid. At each run, Snoopdroid will generate a new acquisition folder containing all the extracted APKs in the current working directory. You can change the base folder using:

snoopdroid –storage /path/to/folder

Optionally, you can decide to enable lookups of the SHA256 hash of all the extracted APKs on [VirusTotal](https://www.virustotal.com) and/or [Koodous](https://www.koodous.com). While these lookups do not provide any conclusive assessment on all of the extracted APKs, they might highlight any known malicious ones.

snoopdroid –virustotal snoopdroid –koodous

Or, to launch all available lookups:

snoopdroid –all

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

snoopdroid-1.4.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snoopdroid-1.4-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file snoopdroid-1.4.tar.gz.

File metadata

  • Download URL: snoopdroid-1.4.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for snoopdroid-1.4.tar.gz
Algorithm Hash digest
SHA256 1fcaa7df06049517ca4d48b6f34d1cd874f22697fb5433d09b1b8f3ffcc61f0c
MD5 b4ad24687533c8af93cce541d0492e64
BLAKE2b-256 a80b7da3c13f9174f071f0c43cd56800983211fafa63be193cde3fc11f2c86d3

See more details on using hashes here.

File details

Details for the file snoopdroid-1.4-py3-none-any.whl.

File metadata

  • Download URL: snoopdroid-1.4-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for snoopdroid-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b91864fd91a3892d2b4c3ce2307b9c948387c40e4fbb33d4b9b14d72b0f8ed69
MD5 d79ba67530cd2c1f8ebaeee4188fe26c
BLAKE2b-256 d46026983bcf3d4beef684191862a9c95672f0d1f54882e8b5a45a9a0e7a4968

See more details on using hashes here.

Supported by

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