{"id":69,"date":"2013-07-29T09:04:04","date_gmt":"2013-07-29T09:04:04","guid":{"rendered":"https:\/\/www.varutra.com\/blog\/?p=69"},"modified":"2023-03-24T11:21:38","modified_gmt":"2023-03-24T05:51:38","slug":"proxying-httphttps-traffic-on-android","status":"publish","type":"post","link":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/","title":{"rendered":"Proxying HTTP\/HTTPS traffic on android"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/varutra-1a3b6.kxcdn.com\/wp-content\/uploads\/2013\/07\/http-traffic-1024x683.png\"  class=\"sh-overlay-item sh-table-cell ls-is-cached lazyloaded\" data-rel=\"lightcase\" title=\"http traffic - Varutra Consulting\"><\/p>\n<h3>Proxying HTTP\/HTTPS traffic on android &#8211;<\/h3>\n<p style=\"text-align: justify\">There are several stages to perform thorough penetration testing on android based application including but not limited to Authentication, Authorization, session management, parameter manipulation, to name a few. One of the important steps to perform testing of an android application is intercepting, analyzing and modifying the traffic. In case of plain text (HTTP) traffic, the configuration to intercept the traffic is easy, but for the SSL enabled application, there are few challenges. Here, we shall be discussing about how to intercept HTTP (plain text) &amp; HTTPS (encrypted) traffic through the proxy tools.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Pre-requisites:<\/strong><\/h3>\n<p>Android SDK (in case of Emulator based testing)<br \/>\nA proxy tool (<a href=\"http:\/\/www.charlesproxy.com\/download\/\">Charles proxy<\/a>, <a href=\"http:\/\/portswigger.net\/burp\/\">Burp<\/a>, etc)<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Steps to Execute:<\/strong><\/h3>\n<p style=\"text-align: justify\">Proxying on emulator is fairly simple technique. If the proxy (such as Burp, Charles proxy, Paros etc.) is configured at 10.1.1.109 on port 8080, then entering the following command into the console will configure a HTTP proxy on the android virtual device (AVD)<\/p>\n<p><em><strong># emulator -avd &lt;Your AVD Name&gt; -http-proxy 10.1.1.109:8080<\/strong><\/em><\/p>\n<p style=\"text-align: justify\">The &#8211;http-proxy setting used for the emulator tends to only work for the browser; other applications generally ignore this setting.<\/p>\n<p style=\"text-align: justify\">In case of SSL traffic proxying, the challenge is to make the Android device\/emulator \u201ctrust\u201d the SSL certificate issued by proxy. The simple solution would be to install the proxy\u2019s certificate on the device\/emulator.<\/p>\n<p><strong>Setting up Proxy for Android &lt; 4.0<\/strong><\/p>\n<p style=\"text-align: justify\">Prior to Android version 4.0, the way in which Android handled certificates is different than the latest android OS. To install certificates, perform below mentioned steps:<\/p>\n<p>1. Launch the emulator with read-write permission for system partition<br \/>\n2. Pull out the \u201ccacerts.bks\u201d file from the filesystem located at \/system\/etc\/security\/<br \/>\n3. Add the SSL certificate of proxy into it using keytool (keytool is a utility that comes with java sdk and jre)<br \/>\n4. Push the updated &#8220;cacerts.bks&#8221; file back onto the device in the same folder<br \/>\n5. Make it persistent (so this works when the AVD reboots)<\/p>\n<p><strong>Adding Certificate<\/strong><br \/>\nThe procedure is same for all proxy tools.<a href=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/Em1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-19 alignright\" src=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/Em1-300x263.jpeg\" alt=\"Em1\" width=\"300\" height=\"263\" \/><\/a><\/p>\n<p>1. To start the AVD, open the command prompt\/terminal and navigate to android sdk. Go to tools directory and run \u2018emulator\u2019 executable with \u201c-partition-size 128\u201d argument. This argument instructs the AVD to mount &#8220;\/system&#8221; partition with read-write permission, which is not possible with remounting it.<\/p>\n<p><strong><em># emulator \u2013avd &lt;avd name&gt; -partition-size 128<\/em><\/strong><\/p>\n<p>2. Next, to pull cacerts.bks file from the emulator:<\/p>\n<p><strong><em># adb pull \/system\/etc\/security\/cacerts.bks cacerts.bks<\/em><\/strong><\/p>\n<p>3. Now, to add the certificate of the proxy tools into the &#8220;cacerts.bks&#8221; file, pulled from the device:<\/p>\n<p><strong><em># keytool -keystore cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storepass changeit -importcert -trustcacerts -alias somealias -file &lt;your_proxy_certificate.crt&gt; -noprompt<\/em><\/strong><\/p>\n<p style=\"text-align: justify\">Obtain Charles proxy\u2019s certificate from <a href=\"http:\/\/charlesproxy.com\/charles.crt\">http:\/\/charlesproxy.com\/charles.crt<\/a> or for any other proxy, we can export the certificate by configuring proxy on the web browser on laptop\/desktop.<\/p>\n<p style=\"text-align: justify\">Alternatively, we can use <a href=\"http:\/\/portecle.sourceforge.net\/\">Portecle<\/a>. Portecle is a user friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more.<\/p>\n<p>Note: On the Mac, we may get an error about keytool not being able to find bouncycastle, which can be fixed by getting the latest provider from <a href=\"http:\/\/www.bouncycastle.org\/latest_releases.html\">here<\/a> and putting it in $JAVA_HOME\/jre\/lib\/ext\/. (On the Mac OSX Mountain Lion, the path is &#8220;\/System\/Library\/Frameworks\/JavaVM.framework\/Home\/lib\/ext\/&#8221;)<\/p>\n<p style=\"text-align: justify\">4. Now push the &#8220;cacerts.bks&#8221; file back to the device\/emulator using adb<\/p>\n<p><em><strong># adb remount<\/strong><\/em><br \/>\n<em><strong> # adb shell rm \/system\/etc\/security\/cacerts.bks<\/strong><\/em><br \/>\n<em><strong> # adb push cacerts.bks \/system\/etc\/security\/<\/strong><\/em><\/p>\n<p style=\"text-align: justify\">5. <a href=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/e4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-34 size-medium\" src=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/e4-300x180.png\" alt=\"Proxying HTTP\/HTTPS traffic on android\" width=\"300\" height=\"180\" srcset=\"https:\/\/www.varutra.com\/varutravrt3\/wp-content\/uploads\/2013\/07\/e4-300x180.png 300w, https:\/\/www.varutra.com\/varutravrt3\/wp-content\/uploads\/2013\/07\/e4-768x462.png 768w, https:\/\/www.varutra.com\/varutravrt3\/wp-content\/uploads\/2013\/07\/e4.png 775w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>In case of emulator, make this change persistent with the help of a new system.img file. This is done with a tool called, `mkfs.yaffs2.arm`. <a href=\"http:\/\/code.google.com\/p\/android-group-korea\/downloads\/detail?name=mkfs.yaffs2.arm&amp;can=2&amp;q=\">Download it here<\/a><\/p>\n<p style=\"text-align: justify\">6. To push the mkfs.yaffs2.arm tool to our android instance.<\/p>\n<p style=\"text-align: justify\"><strong><em># adb push mkfs.yaffs2.arm \/data\/data\/temp\/mkfs.yaffs2<\/em><\/strong><br \/>\n<strong> <em> # adb shell chmod 777 \/data\/data\/temp\/mkfs.yaffs2<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>7. We will now make new system.img on sdcard<\/p>\n<p><strong><em># adb shell<\/em><\/strong><br \/>\n<strong> <em> # \/data\/data\/temp\/mkfs.yaffs2 \/system \/sdcard\/system.img<\/em><\/strong><\/p>\n<p>8. Quit the shell and download the newly generated system.img.<\/p>\n<p><strong><em># adb pull \/sdcard\/system.img system.img<\/em><\/strong><\/p>\n<p>9. Close the emulator and boot the new system.img. Paste the new system.img in \u201cpath\/to\/.android\/avd\/&lt;avdname&gt;.avd\/\u201d<\/p>\n<p>10. Boot your avd<br \/>\n# <strong><em>emulator -avd &lt;avd name&gt; -http-proxy &lt;ip:port&gt;<\/em><\/strong><\/p>\n<p>11. In case of actual rooted device, steps 5 to 10 will be skipped<\/p>\n<p>Configure Charles proxy for SSL Proxying from here : <a href=\"http:\/\/www.charlesproxy.com\/documentation\/proxying\/ssl-proxying\/\">http:\/\/www.charlesproxy.com\/documentation\/proxying\/ssl-proxying\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Setup Proxy after Android 4.0<\/strong><\/h3>\n<p>Proxying Application traffic changed significantly after Android 4.0 (Ice Cream Sandwich or \u201cICS\u201d) was released.<a href=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/p1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-39 size-medium\" src=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/p1-180x300.png\" alt=\"Setup Proxy after Android 4.0\" width=\"180\" height=\"224\" \/><\/a><\/p>\n<p style=\"text-align: justify\">Contrary to iOS, Android &lt; 4.0 had no setting for proxying traffic.<br \/>\nAndroid 4.0 (ICS) Proxying could be done by long press on the currently-connected Wi-Fi network and then a check box for advanced options as seen below.<\/p>\n<p>Even with this, Proxying application SSL traffic is not possible.<\/p>\n<p style=\"text-align: justify\">There are multiple solutions to this problem, one of them being installation of \u201c<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=org.proxydroid\">ProxyDroid<\/a>\u201d app directly on a rooted ICS phone. This allows an analyst to easily forward all traffic from the real application through a proxy; the only problem becomes SSL certificates, since the proxy will need to use its own SSL certificate, which Android will not recognize as valid.<\/p>\n<p>Next step would be to install FS CERT Installer app.<\/p>\n<p>FS CERT Installer is an Android app by Foundstone used to install CA and site certificate when proxying Android applications.<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/Screenshot_2013-07-27-14-09-29.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-41 alignleft\" src=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/Screenshot_2013-07-27-14-09-29-168x300.png\" alt=\"Screenshot_2013-07-27-14-09-29\" width=\"168\" height=\"300\" \/><\/a><strong> Installation and Usage Instructions:<\/strong><\/h3>\n<p>1. Install the FS Cert Installer (Download:FS CERT Installer)<\/p>\n<p>2. Push the certificates into the device sdcard:<br \/>\n<em><strong># adb push PortSwiggerCA.cer \/sdcard\/<\/strong><\/em><\/p>\n<p>3. Change the certificate on Burp to generate a certificate with a specific hostname.<\/p>\n<p>4. Install certificate by Settings -&gt; Security -&gt; Install from SD card.<\/p>\n<p>5. Open Proxy and set intercept to off<\/p>\n<p>6. Launch FS Cert Installer and test the certificate installations<\/p>\n<p>7. Test Proxying of the target application.<\/p>\n<p>After the process is complete, we are all set to start intercepting app SSL traffic on Android ICS.<\/p>","protected":false},"excerpt":{"rendered":"<p>Proxying HTTP\/HTTPS traffic on android &#8211; There are several stages to perform thorough penetration testing on android based application including but not limited to Authentication,&#8230;<\/p>\n","protected":false},"author":3,"featured_media":3144,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[51,259,140,264,265],"tags":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.7.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"kalpadmin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.7.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Varutra Consulting\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting\" \/>\n\t\t<meta property=\"og:description\" content=\"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1125\" \/>\n\t\t<meta property=\"og:image:height\" content=\"750\" \/>\n\t\t<meta property=\"article:section\" content=\"Android Security\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-07-29T09:04:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-24T05:51:38+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"kalpadmin\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#article\",\"name\":\"Proxying HTTP\\\/HTTPS traffic on android | Varutra Consulting\",\"headline\":\"Proxying HTTP\\\/HTTPS traffic on android\",\"author\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/http-traffic.png\",\"width\":1125,\"height\":750,\"caption\":\"http traffic\"},\"datePublished\":\"2013-07-29T09:04:04+05:30\",\"dateModified\":\"2023-03-24T11:21:38+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#webpage\"},\"articleSection\":\"Android Security, Authentication &amp; Authorization, Case Study, Mobile Application Security, Reverse Engineering\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/category\\\/android-security\\\/#listItem\",\"name\":\"Android Security\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/category\\\/android-security\\\/#listItem\",\"position\":2,\"name\":\"Android Security\",\"item\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/category\\\/android-security\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#listItem\",\"name\":\"Proxying HTTP\\\/HTTPS traffic on android\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#listItem\",\"position\":3,\"name\":\"Proxying HTTP\\\/HTTPS traffic on android\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/category\\\/android-security\\\/#listItem\",\"name\":\"Android Security\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/#organization\",\"name\":\"Varutra\",\"description\":\"Secure your digital world with our Cybersecurity services.\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Varutra-Found-e1612984024606.jpg\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/author\\\/admin\\\/\",\"name\":\"kalpadmin\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d69b4bf504d3e2e3c6ad0c424e16bcb2?s=96&d=mm&r=g\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#webpage\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/\",\"name\":\"Proxying HTTP\\\/HTTPS traffic on android | Varutra Consulting\",\"description\":\"Proxying HTTP\\\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP & HTTPS (encrypted) traffic through the proxy tools.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/wp-content\\\/uploads\\\/2013\\\/07\\\/http-traffic.png\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#mainImage\",\"width\":1125,\"height\":750,\"caption\":\"http traffic\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/proxying-httphttps-traffic-on-android\\\/#mainImage\"},\"datePublished\":\"2013-07-29T09:04:04+05:30\",\"dateModified\":\"2023-03-24T11:21:38+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/#website\",\"url\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/\",\"name\":\"Varutra Consulting\",\"description\":\"Secure your digital world with our Cybersecurity services.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.varutra.com\\\/varutravrt3\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Proxying HTTP\/HTTPS traffic on android | Varutra Consulting<\/title>\n\n","aioseo_head_json":{"title":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","description":"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP & HTTPS (encrypted) traffic through the proxy tools.","canonical_url":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#article","name":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","headline":"Proxying HTTP\/HTTPS traffic on android","author":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.varutra.com\/varutravrt3\/wp-content\/uploads\/2013\/07\/http-traffic.png","width":1125,"height":750,"caption":"http traffic"},"datePublished":"2013-07-29T09:04:04+05:30","dateModified":"2023-03-24T11:21:38+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#webpage"},"isPartOf":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#webpage"},"articleSection":"Android Security, Authentication &amp; Authorization, Case Study, Mobile Application Security, Reverse Engineering"},{"@type":"BreadcrumbList","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3#listItem","position":1,"name":"Home","item":"https:\/\/www.varutra.com\/varutravrt3","nextItem":{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/#listItem","name":"Android Security"}},{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/#listItem","position":2,"name":"Android Security","item":"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#listItem","name":"Proxying HTTP\/HTTPS traffic on android"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#listItem","position":3,"name":"Proxying HTTP\/HTTPS traffic on android","previousItem":{"@type":"ListItem","@id":"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/#listItem","name":"Android Security"}}]},{"@type":"Organization","@id":"https:\/\/www.varutra.com\/varutravrt3\/#organization","name":"Varutra","description":"Secure your digital world with our Cybersecurity services.","url":"https:\/\/www.varutra.com\/varutravrt3\/","logo":{"@type":"ImageObject","url":"https:\/\/www.varutra.com\/wp-content\/uploads\/2021\/11\/Varutra-Found-e1612984024606.jpg","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#organizationLogo"},"image":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.varutra.com\/varutravrt3\/author\/admin\/#author","url":"https:\/\/www.varutra.com\/varutravrt3\/author\/admin\/","name":"kalpadmin","image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/d69b4bf504d3e2e3c6ad0c424e16bcb2?s=96&d=mm&r=g"}},{"@type":"WebPage","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#webpage","url":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/","name":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","description":"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP & HTTPS (encrypted) traffic through the proxy tools.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/#website"},"breadcrumb":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#breadcrumblist"},"author":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.varutra.com\/varutravrt3\/wp-content\/uploads\/2013\/07\/http-traffic.png","@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#mainImage","width":1125,"height":750,"caption":"http traffic"},"primaryImageOfPage":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/#mainImage"},"datePublished":"2013-07-29T09:04:04+05:30","dateModified":"2023-03-24T11:21:38+05:30"},{"@type":"WebSite","@id":"https:\/\/www.varutra.com\/varutravrt3\/#website","url":"https:\/\/www.varutra.com\/varutravrt3\/","name":"Varutra Consulting","description":"Secure your digital world with our Cybersecurity services.","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.varutra.com\/varutravrt3\/#organization"}}]},"og:locale":"en_US","og:site_name":"Varutra Consulting","og:type":"article","og:title":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","og:description":"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.","og:url":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/","og:image":"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png","og:image:secure_url":"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png","og:image:width":"1125","og:image:height":"750","article:section":"Android Security","article:published_time":"2013-07-29T09:04:04+00:00","article:modified_time":"2023-03-24T05:51:38+00:00","twitter:card":"summary_large_image","twitter:title":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","twitter:description":"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.","twitter:image":"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png","twitter:label1":"Written by","twitter:data1":"kalpadmin","twitter:label2":"Est. reading time","twitter:data2":"5 minutes"},"aioseo_meta_data":{"post_id":"69","title":"Proxying HTTP\/HTTPS traffic on android | Varutra Consulting","description":"Proxying HTTP\/HTTPS traffic on android. Here, we shall be discussing about how to intercept HTTP &amp; HTTPS (encrypted) traffic through the proxy tools.","keywords":[],"keyphrases":{"focus":{"keyphrase":"Proxying ","score":80,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":1},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":3,"maxScore":9,"error":1},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0}}},"additional":[{"keyphrase":"Proxying HTTP","score":83,"analysis":{"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":2},"keyphraseInIntroduction":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0}}}]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"featured","og_image_url":"https:\/\/www.varutra.com\/wp-content\/uploads\/2013\/07\/http-traffic.png","og_image_width":"1125","og_image_height":"750","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"Android Security","og_article_tags":[],"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"created":"2021-10-27 15:18:11","updated":"2026-05-24 09:04:14","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":"2026-05-22 13:10:02"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.varutra.com\/varutravrt3\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/\" title=\"Android Security\">Android Security<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tProxying HTTP\/HTTPS traffic on android\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.varutra.com\/varutravrt3"},{"label":"Android Security","link":"https:\/\/www.varutra.com\/varutravrt3\/category\/android-security\/"},{"label":"Proxying HTTP\/HTTPS traffic on android","link":"https:\/\/www.varutra.com\/varutravrt3\/proxying-httphttps-traffic-on-android\/"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":6,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":21198,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/posts\/69\/revisions\/21198"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/media\/3144"}],"wp:attachment":[{"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.varutra.com\/varutravrt3\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}