Use Burp Suite with Genymotion Desktop

2024-05-07

Prerequisites

Step 1 – Setting up Burp Suite

Step 2 – Upload and install the Burp Suite Certificate

as user certificate

Android 14+

Android 12-13

Android 11 and below

Installing System certificates on Android 14+ requires Magisk and a third party plugin.

1. Root the device

2. Install Magisk

3. Install the certificate as user certificate

4. Install the Cert-Fix plugin for Magisk

1. Root the device

2. Convert the certificate

3. Install the certificate

Step 3 – Set Android global proxy to Burp Suite proxy

Extras

Start script example

#!/bin/bash
## Start your device with gmtool.
## We assume Genymotion is installed in your Home folder.
$home/genymotion/gmtool admin start "your_device_name"
## Set Burp Suite proxy as global proxy to the device.
## We use proxy IP 10.0.3.2 and port 8080. Replace with your own settings.
## We use Genymotion built-in ADB.
$home/genymotion/tools/adb shell settings put global http_proxy 10.0.3.2:8080

Batch script (Windows):

@echo off
REM Start your device with gmtool.
REM We assume Genymotion is installed in "C:\Program Files".
C:\Program Files\Genymobile\Genymotion\gmtool.exe admin start "your_device_name"
REM Set Burp Suite proxy.
REM We use proxy IP 10.0.3.2 and port 8080. Replace with your own settings.
REM We use Genymotion built-in ADB
C:\Program Files\Genymobile\Genymotion\tools\adb shell settings put global http_proxy 10.0.3.2:8080

Stop script example

#!/bin/bash
## Remove the global proxy settings.
$home/genymotion/tools/adb shell settings put global http_proxy :0
## Stop the running device.
$home/genymotion/gmtool admin stop "your_device_name"

Batch script (Windows):

@echo off
REM Remove the global proxy settings.
C:\Program Files\Genymobile\Genymotion\tools\adb shell settings put global http_proxy :0
REM Stop the running device.
C:\Program Files\Genymobile\Genymotion\gmtool.exe admin stop "your_device_name"

Navigation