Idira Identity: How to capture network traffic from iOS devices using Fiddler

Idira Identity: How to capture network traffic from iOS devices using Fiddler

87
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM


Objective


Idira Identity Support has requested Fiddler traces from an iOS device. These are used for troubleshooting a range of issues, especially issues with authenticating to mobile applications.

How are these traces retrieved?


Procedure


You will need a wireless network, iOS device, and a Windows machine with Fiddler installed. Fiddler is a tool for capturing web traffic.


Configure the Windows/Fiddler host to capture traffic from the mobile device

* Download and install Fiddler and then open the application.

1. Click Tools > Fiddler Options > Connections
2. Click the checkbox to "Allow remote computers to connect."



3. Restart Fiddler.
4. Ensure your firewall allows incoming connections to the Fiddler process.
5. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.


 

  • Note: Save this address for later use on the mobile device.

6. Verify client iOS device can reach Fiddler by navigating in the browser to 
  • http://[IPAddressofFiddlerHostMachine]:8888 
  • This address should return the Fiddler Echo Service page.

7. Verify that Fiddler is capturing traffic by going to File > Capture Traffic. There should be a check mark.



To capture traffic from an iOS device

1. On the iOS device, disable any 3G/4G connections.
2. Go to Settings > Wi-Fi
3. Click on the Wi-Fi network to go to the settings.  

  • Note: The Wi-Fi network that the iOS device is on needs to be on the same network that the Fiddler host machine is on.

4. Tap the "Manual" button in the HTTP Proxy section.
5. In the Server box, type the IP address or hostname of the Fiddler instance (from Step 6 of the Windows machine configuration section).
6. In the Port box, type the port Fiddler is listening on (Usually 8888) 
7. Ensure the Authentication slider is set to Off.



Install the Fiddler root certificate on iOS device to decrypt HTTPS traffic

  • Note: After the root certificate is installed, all web traffic on your iOS device will be decrypted and captured using Fiddler. Proceed with caution.
  1. Go to http://ipv4.fiddler:8888/  in the iOS browser. or Download the FiddlerRoot certificate from the bottom of the Fiddler Echo Service webpage http://[IPAddressofFiddlerHostMachine]:8888
  2. Open the FiddlerRoot.cer file and tap the Install button. 


4. There will be a warning message. Click the Install button again.

Note: On iOS 10 and later, after installing the FiddlerRoot certificate, go to Settings -> General -> About -> Certificate Trust Settings and manually enable full trust for the FiddlerRoot root certificate. Accept the dialog that says that this will allow a third-party to eavesdrop on all your communications.


Reproduce the issue on the iOS device and capture the traffic

1. Reproduce the issue on the iOS device and the web traffic should now be seen being captured in Fiddler.
2. After the issue has been captured, go to File > Save > All sessions...
3. 
Send in the .saz file in to CyberArk Identity Support for further investigation.


Additional Information


Details

Question:

CyberArk Identity Support has requested Fiddler traces from an iOS device. These are used for troubleshooting a range of issues, especially issues with authenticating to mobile applications.

How are these traces retrieved?



Answer:

You will need a wireless network, iOS device, and a Windows machine with Fiddler installed. Fiddler is a tool for capturing web traffic.


Configure the Windows/Fiddler host to capture traffic from the mobile device

* Download and install Fiddler and then open the application.

1. Click Tools > Fiddler Options > Connections
2. Click the checkbox to "Allow remote computers to connect."



3. Restart Fiddler.
4. Ensure your firewall allows incoming connections to the Fiddler process.
5. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.


 

  • Note: Save this address for later use on the mobile device.

6. Verify client iOS device can reach Fiddler by navigating in the browser to 
  • http://[IPAddressofFiddlerHostMachine]:8888 
  • This address should return the Fiddler Echo Service page.

7. Verify that Fiddler is capturing traffic by going to File > Capture Traffic. There should be a check mark.



To capture traffic from an iOS device

1. On the iOS device, disable any 3G/4G connections.
2. Go to Settings > Wi-Fi
3. Click on the Wi-Fi network to go to the settings.  

  • Note: The Wi-Fi network that the iOS device is on needs to be on the same network that the Fiddler host machine is on.

4. Tap the "Manual" button in the HTTP Proxy section.
5. In the Server box, type the IP address or hostname of the Fiddler instance (from Step 6 of the Windows machine configuration section).
6. In the Port box, type the port Fiddler is listening on (Usually 8888) 
7. Ensure the Authentication slider is set to Off.



Install the Fiddler root certificate on iOS device to decrypt HTTPS traffic

  • Note: After the root certificate is installed, all web traffic on your iOS device will be decrypted and captured using Fiddler. Proceed with caution.
  1. Go to http://ipv4.fiddler:8888/  in the iOS browser. or Download the FiddlerRoot certificate from the bottom of the Fiddler Echo Service webpage http://[IPAddressofFiddlerHostMachine]:8888
  2. Open the FiddlerRoot.cer file and tap the Install button. 


4. There will be a warning message. Click the Install button again.

Note: On iOS 10 and later, after installing the FiddlerRoot certificate, go to Settings -> General -> About -> Certificate Trust Settings and manually enable full trust for the FiddlerRoot root certificate. Accept the dialog that says that this will allow a third-party to eavesdrop on all your communications.


Reproduce the issue on the iOS device and capture the traffic

1. Reproduce the issue on the iOS device and the web traffic should now be seen being captured in Fiddler.
2. After the issue has been captured, go to File > Save > All sessions...
3. 
Send in the .saz file in to CyberArk Identity Support for further investigation.
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001aKnCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail