Configure the Burp Proxy Listener
To configure the proxy settings for - BurpSuiteProfessional
-
Open Burp Suite Professional and click Settings to open the Settings dialog.
-
Go to Tools > Proxy.
-
In Proxy Listeners, click Add.
-
In the Binding tab, set Bind to port to 8083 (or another port that is not in use).
-
Select All interfaces and click OK.
-
At the prompt, click Yes.
In your Android device, go to Settings > Network & internet.
- Select Internet and long-press the name of your Wi-Fi network.
- Select Modify.
- From the Advanced options menu, select Proxy > Manual.
- Set Proxy hostname to the IP of the computer running Burp Suite Professional.
- Set Proxy port to the port value that you configured for the Burp Proxy listener, in this example 8083.
- Touch Save
Install a CA certificate on your Android device
In order to interact with HTTPS traffic, you need to install a CA certificate from Burp Suite Professional on your Android device.
To download the CA certificate
- In your Android device, Open any browser and Enter http://burp
- Click on the CA certificate
- cacert.der is available for download
- rename the file as cacert.cer
- Click on Download
To install the CA certificate
- In your Android device, go to Settings > Network & internet.
- Click on the 3 dots in the upper right corner and select Advanced
- Select Install Certificates from Advanced Wi-Fi
- Select the downloaded cacert.cer file
- Enter a name to the certificate and click on OK
- Certificate installed successfully.
Depending upon the android version and device version there are multiple methods to install the CA certificate. Please refer the below links if this method not worked for your version.
- Setting up Burp for android application testing
https://github.com/HackWithSumit/Config-BurpSuite-With-AndroidEmulator
Test the configuration/ Intercepting the request
To test the configuration:
- Open Burp Suite Professional.
- Go to Proxy > Intercept and click Intercept is off to switch intercept on.
- Open the browser on your Android device and go to an HTTPS web page.
- The page should load without any security warnings. You should see the corresponding requests within Burp Suite Professional.
In order to enumerate the file structure of an installed application, we need to have access to a real or emulated device. This could be achieved by using the Android Debug Bridge (ADB), a command-line tool that lets you communicate directly with the device. Using ADB, we can install and debug applications, while the Unix shell it provides can be used to run commands on the device.
Enable the USB Debugging option on the device
Settings, then About Device or About Phone, depending on the device, and then we scroll down and tap on the Build Number seven times until the message “You are now a developer!” pops up.
Next, tap the back button one time and navigate to Developer Options.