GuidesUsing Charles with Corellium

Using Charles with Corellium

Let's walk through how easy it is to set up Charles with your virtual Corellium device.

Overview

In this guide we'll be walking through how easy it is to set up Charles with your virtual Corellium device.

If you haven’t done so already, head over to charlesproxy.com and download the latest version. For this demo, we're using Charles version 4.6.1 on a MacBook Pro with an iOS-based virtual device. If you haven't tried Charles before, be sure to check out the free 30-day trial.

Confirm VPN Address and Port

The first thing you'll need to do is confirm the VPN address assigned to your local machine and the port that Charles is listening on. To confirm the VPN address, run ifconfig in Terminal after you have connected to VPN and check the output for the VPN address. To verify the port, select the Settings icon in Charles, then Proxy Settings.

Configure the Virtual Device

Next, on the virtual device, select the Settings icon, and then select "WiFi."

Here, we see we're connected to the Corellium Network. Click the “i” button, and scroll down to “Configure Proxy.” Select "Manual."

Next, enter the VPN address and the default port. Then select "Save."

You will likely receive a prompt from Charles notifying you of a connection attempt. Go ahead and select "Allow." To validate we are intercepting traffic, you can perform a quick web search.

Troubleshooting

If you have set up your proxy and are not able to see traffic, try closing and restarting your VPN session. Ensure that you are able to ping the IP address from the virtual device console.

Remember, you may not be able to reach HTTPS websites without proper trust certificates installed.

If the issue still persists, contact your network administrator to determine if any local network configurations may be blocking or interfering with the virtual device network.

Further Questions

We hope this helps demonstrate how simple it is to get Charles set up with your virtual device! Feel free to check out our community Slack as well as our online knowledge base if you have any additional questions along the way.

Happy Virtualizing!