Navigation Menu

Skip to content


Repository files navigation


This repo contains the code and data for our paper `PROWISH: Measuring tracker market concentration'.

Android app analysis

This is a pipeline for installing apps from the app store, using an automated UI on an android device, pulling the APKs from the device, and statically analysing them to detect third party libraries and hosts.


JDK version 1.8.0_25

Downloading APKs via the app store

Requires root access to the android device.

  1. Install android-developer-tools.
  2. Get the device id adb devices
  3. Modify static-app-analysis/ with the device id.
  4. Start ADB demon as root adb root
  5. Run python

APK files will be written to a directory outside the repo called apks

Static analysis

There are two aspects to the APK analysis. Both require APKTool. The library detection tool is static-app-analysis/librarysearch.js. The host detection tool is static-app-analysis/

Data obtained is in data/app-data.

Dynamic analysis

Can use monkeyrunner to simulate user events, or manually. Log traffic data using mitmproxy.i

Requires Android Developer Studio tools (for monkeyrunner)

Requires rooted phone with adb root shell access, network log tool with superuser permissions.

Requires working xray tool. Follow instructions there to get mitmproxy running (nb: requires mitmproxy to be installed within python virtualenv).

Web analysis

Using the Open Web Privacy Measurement framework.

Data obtained is in data/web-tracking.


Data cited in the paper is all available in data.


Code and data for the tracker market concentration project






No releases published


No packages published