Book Image

Learning Pentesting for Android Devices

By : Aditya Gupta
Book Image

Learning Pentesting for Android Devices

By: Aditya Gupta

Overview of this book

Table of Contents (18 chapters)
Learning Pentesting for Android Devices
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

HTTPS Proxy interception


The preceding method will work in the normal traffic interception of application and browser when they are communicating via the HTTP protocol. In HTTPS, we will get an error due to the certificate mismatch, and thus we won't be able to intercept the traffic.

However, in order to solve the challenge, we will be creating our own certificate or Burp/PortSwigger and installing it on the device. In order to create our own certificate, we will need to set up a proxy in Firefox (or any other browser or global proxy):

  1. To set up a proxy in Firefox, go to Options present in Tools (Firefox | Preferences on Mac) and go to the Advanced tab. Under the Advanced tab, we will click on the Network option.

  2. Once in the Network tab, we need to click on Settings in order to configure the proxy with Firefox.

  3. Once done, go to the HTTPS website on our system browser of which we would want to intercept the traffic on our device. Here we will receive a The Network is Untrusted message. Click...