Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot configure Fiddler proxy in Android to decrypt HTTPS

I am trying to set up Fiddler proxy to capture traffic from a Xamarin app. I have completed the following steps:

  1. Installed Fiddler v5.0.20173.50948 on a Windows machine
  2. Set Allow remote computers to connect and port 8888
  3. Set Capture HTTPS CONNECTs, Decrypt HTTPS traffic and ...from all processes, installed the root cert to Trusted Root Certification Authorities folder.
  4. on Android device I'm using the same Wi-Fi network and configured manual Wi-Fi proxy with PC's ip and port 8888
  5. I was able to open ipv4.fiddler:8888, downloaded the cert and installed it on the Android device, I can see it in Trusted credentials>User. I compared the thumbprint on the PC cert and Android cert, they are the same.

Fiddler is able to capture traffic from some websites, but for the URLs I care about I only see tunnel CONNECTs, but no decrypted traffic. fiddlerScreenshot fiddlerInspectorScreen

PS When these steps didn't work I also tried:

  • resetting all certs in Fiddler and re-installing them on both PC and the Android device
  • installing the cert for VPN and apps as well as for Wi-Fi in Android

That didn't help.

Any help is very appreciated.

like image 560
Shalom Aleichem Avatar asked Jan 29 '18 20:01

Shalom Aleichem


People also ask

How do I enable HTTPS decryption in Fiddler?

In Fiddler, go to Tools > Fiddler Options > HTTPS. Select Capture HTTPS CONNECTs and Decrypt HTTPS traffic.

How do I download Fiddler root certificate on my phone?

Install the root certificate of Fiddler Everywhere on the Android device. Open a mobile browser on the Android device and type the http://ipv4.fiddler:8866 echo service address of Fiddler Everywhere. Tap the option to download the certificate.


1 Answers

maybe it is caused by some app using SSL pinning, you could try JustTrustMe or tool like http://repo.xposed.info/module/mobi.acpm.sslunpinning but first you should install a framework http://repo.xposed.info/module/de.robv.android.xposed.installer

Attention: it's better to do this in simulator since it may cause damage to your device

like image 117
J1B Avatar answered Oct 29 '22 17:10

J1B