<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by sumith p v on Medium]]></title>
        <description><![CDATA[Stories by sumith p v on Medium]]></description>
        <link>https://medium.com/@sumith.ec12?source=rss-d5022f5948f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Y_u5c4uwWKe46RRB</url>
            <title>Stories by sumith p v on Medium</title>
            <link>https://medium.com/@sumith.ec12?source=rss-d5022f5948f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:46:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sumith.ec12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bypassing SSL Pinning with Frida-Tools, Objection, Frida Server — Android pentesting]]></title>
            <link>https://medium.com/@sumith.ec12/bypassing-ssl-pinning-with-frida-tools-objection-frida-server-android-pentesting-8eb0e6a46d0b?source=rss-d5022f5948f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8eb0e6a46d0b</guid>
            <category><![CDATA[android-security]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[mobile-security]]></category>
            <category><![CDATA[ssl-pinning-bypass]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[sumith p v]]></dc:creator>
            <pubDate>Mon, 30 Dec 2024 07:02:23 GMT</pubDate>
            <atom:updated>2024-12-30T07:02:23.335Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bypassing SSL Pinning with Frida-Tools, Objection, Frida Server — Android pentesting</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-juipGMvmZUbhm9Fh-Vn_Q.png" /></figure><p>Bypassing SSL pinning in Android applications is a common technique in penetration testing to intercept encrypted network traffic. SSL pinning ensures that the app only accepts a specific server certificate or public key, even if a valid CA-signed certificate is presented. Here’s how you can bypass it:</p><blockquote>Tools Required</blockquote><ul><li>Python: Install Python on your Windows machine.</li><li>Burp Suite: Download and install Burp Suite.</li><li>Nox Player: Install Nox Player, an Android emulator for Windows.</li><li>Frida-Tools: Install Frida-Tools using the pip package manager.</li><li>Objection: Install Objection using the pip package manager.</li><li>Frida server: Download the appropriate Frida server based on your Android architecture.</li></ul><blockquote><strong>STEPS</strong></blockquote><blockquote><strong>1. Installation of python on your windows</strong></blockquote><p>You can download python from below link <a href="https://www.python.org/downloads/windows/">https://www.python.org/downloads/windows/</a></p><ul><li>Check Python Installation: Open PowerShell and type the following command to check if Python is installed:</li></ul><pre>python --version</pre><blockquote>2.<strong> Installation of Objection</strong></blockquote><p>it is possible to install <strong>Frida</strong> tools using <strong>Objection</strong>, as Objection is built on top of Frida. When you install Objection, it automatically installs Frida as a dependency.</p><pre>pip3 install objection</pre><p>if it’s already installed check for version</p><pre>objection version</pre><p>If your getting error like these while running objection</p><pre>C:\Users\User&gt; objection<br>Traceback (most recent call last):<br>  File &quot;&lt;frozen runpy&gt;&quot;, line 198, in _run_module_as_main<br>  File &quot;&lt;frozen runpy&gt;&quot;, line 88, in _run_code<br>  File &quot;C:\Users\User\AppData\Roaming\Python\Python312\Scripts\objection.exe\__main__.py&quot;, line 4, in &lt;module&gt;<br>  File &quot;C:\Users\User\AppData\Roaming\Python\Python312\site-packages\objection\console\cli.py&quot;, line 8, in &lt;module&gt;<br>    from .repl import Repl<br>  File &quot;C:\Users\User\AppData\Roaming\Python\Python312\site-packages\objection\console\repl.py&quot;, line 14, in &lt;module&gt;<br>    from objection.utils.agent import Agent<br>  File &quot;C:\Users\User\AppData\Roaming\Python\Python312\site-packages\objection\utils\__init__.py&quot;, line 7, in &lt;module&gt;<br>    from .update_checker import check_version<br>  File &quot;C:\Users\User\AppData\Roaming\Python\Python312\site-packages\objection\utils\update_checker.py&quot;, line 7, in &lt;module&gt;<br>    from pkg_resources import parse_version<br>ModuleNotFoundError: No module named &#39;pkg_resources&#39;</pre><pre>Steps to Fix the Issue<br>Install or Reinstall setuptools: Run the following command to ensure setuptools is installed:<br><br><br>pip3 install setuptools<br></pre><blockquote><strong>3. Modifying environment variable</strong></blockquote><p>After installing objection we have to add Frida-tools package path &amp; scripts path to environment variable</p><p>The reason we modify the system’s environment variables, specifically the “Path” variable, is to ensure that the command-line tools and executables associated with Python and its packages can be easily accessed from any directory in PowerShell or the command prompt.</p><p>When you add the path to the Python Scripts directory to the system’s “Path” variable, it allows the system to locate and execute the Python-related commands and tools, such as frida, without specifying the full path every time.</p><p>By adding the Python Scripts directory to the “Path” variable, you ensure that the PowerShell or command prompt can locate the frida command and any other Python-related commands from any directory. This allows for a more convenient and streamlined development experience, as you can use these tools directly without having to navigate to their specific installation directory.</p><p>to find this path run these commands</p><pre>$ pip3 show frida-tools<br>$ pip3 show objection</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xygpu9H2uQTdR5Kf7xiZ6w.png" /></figure><p>Go to the specified location and copy both path files , here these are my path</p><blockquote>frida tool package: C:\Users\User\AppData\Roaming\Python\Python312\site-packages</blockquote><blockquote>scripts: C:\Users\User\AppData\Roaming\Python\Python312\Scripts</blockquote><blockquote>add these paths to environment variable</blockquote><p>for accessing environment variable , try these</p><p>Press Win + R, type sysdm.cpl, and press Enter.</p><p>or</p><p>Go to start button and search environment variable</p><ol><li>Now, let’s modify the system’s environment variables to add this path:</li><li>Open the Start menu and search for “Environment Variables.” Select “Edit the system environment variables.” In the System Properties window, click on the “Environment Variables” button.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*crS3R43GftUMsTGsRlW8Fg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*m0fA1fU60F-Rc585cMsSYw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*NGhuPh6keb4Jij8fwJm4Pw.png" /></figure><p>after adding both the path click ok.</p><p><strong>Verify Frida-Tools and Objection Installation:</strong></p><pre>$ frida ps<br>$ objection</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7_QEu-98Q0YPGG6D1HiONg.png" /></figure><blockquote><strong>4. Frida-server setup</strong></blockquote><p><strong>4.a.</strong> <strong>For this we have to know the android architecture of our emulator</strong></p><p>To connect to emulator from windows machine</p><pre>adb connect &lt;emulator-ip&gt;</pre><p>after establishing the connection</p><pre>$ adb shell<br>$ getprop ro.product.cpu.abi</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*3lCVPxRTIZys9vzT3KQ2MQ.png" /></figure><p>Note the architecture (e.g., x86_64).</p><p><strong>4.b</strong>. <strong>Download and Configure Frida Server:</strong></p><ul><li>Search for the appropriate Frida server version based on your Android architecture from below link</li></ul><blockquote><a href="https://github.com/frida/frida/releases">https://github.com/frida/frida/releases</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-TKNE8yrq35w3TakjkPtEg.png" /></figure><ul><li>Download the Frida server file.</li><li>Extract the file and change the name to frida-server</li><li>push this file to /data/local/tmp</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULBUwBjjDkk1pOnR7UdC6Q.png" /></figure><p>after pushing run these commands</p><pre>$ adb shell<br>$ cd /data/local/tmp<br>$ chmod 777 frida-server<br>$ ./frida-server</pre><p>At this time we don’t need to start the frida server so we stop the frida server by using <em>“Ctrl+C”</em></p><blockquote><strong>5. Burpsuit configuration</strong></blockquote><p>To configure Burp Suite, we first need to modify the proxy settings on the Android device in the emulator.</p><p><em>on android device go to wi-fi settings → proxy → manual →edit proxy host name &amp; proxy port → save</em></p><p>proxy host → your windows machine ip (command prompt →ipconfig)</p><p>proxy port → 8083</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*x0xnzomdOCQwwX3kjphI4w.png" /></figure><p>now open burpsuite and goto proxy settings and add new proxy listener</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7K4UhAxtG_6tqoiqekSV2g.png" /></figure><blockquote><strong>6. Installing burp-CA certificate</strong></blockquote><p>Open browser on android device and on search bar <a href="https://burp/">https://burp</a> and click on CA certifiace</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*aTEp4-rMr3Qpfdu0CeRzzg.png" /></figure><ul><li>Download the Burp CA Certificate.</li><li>In the File Manager of Nox Player, locate the downloaded Burp CA Certificate (<strong>cacert.der</strong>).</li><li>Rename the certificate to <strong>cacert.cer.</strong></li><li>Then Go to Settings &gt; Install Certificates and import the certificate.</li></ul><p>To verify if Burp Suite is successfully configured, turn on the Intercept feature and search for something on browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9Z6eVmyoS5GltTwculYeQ.png" /></figure><blockquote><strong>7. Bypassing SSL pinning</strong></blockquote><ul><li>Download an Android app (e.g., Aptoids) for demonstration purposes.</li><li>Install the app in Nox Player. (from here it’s not possible to intercept traffic from the application)</li><li>Open PowerShell and run the following command to list all installed app package names:</li></ul><p>connect emulator to windows machine using</p><p><em>— -&gt; adb connect </em>&lt;emulator-ip&gt;</p><p>after establishing connection</p><pre>$ frida-ps -Uai</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*3w2EjXsUI0dQSM0yZ2RLyg.png" /></figure><ul><li>Start the Frida server in Nox Player by following the previous steps.</li></ul><pre>$ adb shell<br>$ cd /data/local/tmp<br>$ ./frida-server-file</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*gxmZAdgP8G2WBPbbGizZaw.png" /></figure><ul><li>Open new tab on powershell run following command (cm.aptoide.pt this package name of our android app)</li></ul><pre>objection -g cm.aptoide.pt explore</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJCJ8NfAbBqXhDS4voEWuQ.png" /></figure><p>after running objection type android sslpinning disable</p><pre> android sslpinning disable</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9s5XifEmB6aDAiPyqFrUw.png" /></figure><p>Now, you can intercept the app’s traffic</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9qApIhj6IbOyWQjEBT80Q.png" /></figure><blockquote>Keep hacking, stay secure, and happy hunting!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8eb0e6a46d0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Xposed Framework for Enhanced Penetration Testing (SSLunpinning)]]></title>
            <link>https://medium.com/@sumith.ec12/installing-xposed-framework-for-enhanced-penetration-testing-sslunpinning-d50fbb2354c6?source=rss-d5022f5948f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d50fbb2354c6</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vapt]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[security-testing]]></category>
            <category><![CDATA[ssl-pinning-bypass]]></category>
            <dc:creator><![CDATA[sumith p v]]></dc:creator>
            <pubDate>Thu, 19 Dec 2024 16:40:42 GMT</pubDate>
            <atom:updated>2024-12-20T06:34:12.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*rymZdTHZ9Ly8lY8aDDU3yQ.jpeg" /></figure><blockquote><strong>Objective</strong></blockquote><p>This report outlines the process of bypassing SSL/TLS pinning in an Android application using the Xposed Framework and modules such as “JustTrustMe” or “SSLUnpinning.” The goal is to intercept and analyze encrypted network traffic for security testing purposes.</p><blockquote><strong>Test Environment</strong></blockquote><ul><li><strong>Device:</strong> Rooted Android device or emulator (Android 7, 64-bit)</li><li><strong>Testing Tools:</strong></li><li>Xposed Installer</li><li>Xposed Framework</li><li>SSLUnpinning Module</li></ul><blockquote><strong>Overview of SSL Pinning</strong></blockquote><p>SSL/TLS pinning ensures an application communicates only with a trusted server by validating the server’s certificate or public key against a predefined set of values. While this is a critical security feature, it may obstruct legitimate security testing.</p><p>Bypassing SSL pinning allows penetration testers to intercept and analyze the app’s network traffic to check for vulnerabilities like sensitive data leakage, insecure API endpoints, or weak encryption practices.</p><blockquote><strong>Steps to Install Xposed Framework and SSLUnpinning Module</strong></blockquote><blockquote><strong>1. Root the Device</strong></blockquote><p>Ensure the Android device is rooted. In this guide, we are using an Android 7 (64-bit) emulator.</p><blockquote><strong>2. Install Xposed Installer</strong></blockquote><p>You can install Xposed Installer using one of the following methods:</p><ul><li>Clone and install via GitHub:</li></ul><p><a href="https://github.com/KhanhNguyen9872/xposed?tab=readme-ov-file">Xposed Installer GitHub Repository</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*wAtiPCVeBpqRnG31Ryh1rQ.png" /></figure><blockquote><strong>3. Install Xposed Framework</strong></blockquote><ol><li><strong>Download the Appropriate Xposed Framework Version:</strong></li></ol><ul><li>Visit the release page: <a href="https://github.com/youling257/XposedTools/releases/tag/v89">Xposed Framework v89</a>.</li></ul><p><strong>2. Prepare Files:</strong></p><ul><li>Unzip the downloaded file.</li><li>Rename the file to system.</li><li>Download the script file from the following resource: <a href="https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbUNDUXd0RURfTXA1YVdFYUIzU00ydW9FV0psQXxBQ3Jtc0tsd0pCZzQxVjk1MGM3NjlCRTZMbzZlZm53R25vVTh5R2RYOUNteTgwRTFCVnNkU1hfVzktRU0xTkJyUUtyTDJPSzN2OC12dFBlMG9XeG82ZjI0QUVPejdpenRvLUItZm1OVlgyemVZTUZaS2ppUjBPNA&amp;q=https%3A%2F%2Fforum.xda-developers.com%2Fattachments%2Fscript-zip.5216719%2F&amp;v=fwPJKmN2TIs">https://www.youtube.com/redirect?event=video_description&amp;redir_token=QUFFLUhqbUNDUXd0RURfTXA1YVdFYUIzU00ydW9FV0psQXxBQ3Jtc0tsd0pCZzQxVjk1MGM3NjlCRTZMbzZlZm53R25vVTh5R2RYOUNteTgwRTFCVnNkU1hfVzktRU0xTkJyUUtyTDJPSzN2OC12dFBlMG9XeG82ZjI0QUVPejdpenRvLUItZm1OVlgyemVZTUZaS2ppUjBPNA&amp;q=https%3A%2F%2Fforum.xda-developers.com%2Fattachments%2Fscript-zip.5216719%2F&amp;v=fwPJKmN2TIs</a></li><li>Rename the downloaded script file to script.sh.</li></ul><p><strong>3. Organize Files:</strong></p><ul><li>Create a folder named xposed.</li><li>Move the system and script.sh files into the xposed folder.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*ALrPnxAcZ5qYDzAkOQDrHQ.png" /></figure><p><strong>4. Transfer Files to Emulator:</strong></p><ul><li>Drag and drop the xposed folder onto the emulator.</li><li>Example path: /storage/emulated/0/xposed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*9juoILYQG4I7yckwZpsCWw.png" /></figure><p><strong>5. Connect Emulator Using ADB:</strong></p><ul><li>Connect to the emulator via ADB:</li></ul><pre>adb connect (ip address of your emulator)</pre><p><strong>6. Run Installation Commands:</strong></p><ul><li>Get shell access and execute the following:</li></ul><pre>PS C:\Users\User&gt; adb shell<br>d2q:/ # su<br>d2q:/ # cd /storage/emulated/0/xposed<br>d2q:/storage/emulated/0/xposed # mount -o rw,remount /system<br>d2q:/storage/emulated/0/xposed # sh script.sh<br>**************************<br>Xposed framework installer<br>**************************<br>- Checking environment<br>  Xposed version: 89<br>- Placing files<br>cp: bad &#39;system/priv-app/XposedInstaller/XposedInstaller.apk&#39;: No such file or directory<br>chmod: /system/priv-app/XposedInstaller/XposedInstaller.apk: No such file or directory<br>chcon: /system/priv-app/XposedInstaller/XposedInstaller.apk: No such file or directory<br>- Done</pre><p><strong>8. Reboot Emulator:</strong></p><ul><li>The emulator will reboot automatically.</li><li>Verify installation by opening the Xposed Installer app. Ensure that it indicates the framework is successfully installed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*HHlluKG4P51aw5yweO6K9Q.png" /><figcaption>installation complete</figcaption></figure><blockquote><strong>4. Install the SSLUnpinning Module</strong></blockquote><ol><li>Open the Xposed Installer app.</li><li>Tap the menu (three horizontal lines on the left).</li><li>Select <strong>Download</strong> from the menu.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*qPNF9FFwca0j1jmycMTlnw.png" /></figure><p>4. In the search bar, type “SSLUnpinning.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*jw2wvGm609QMbvYwzrWlsQ.png" /></figure><p>5. Select the SSLUnpinning module and click <strong>Install</strong>.</p><p>6. After installation, reboot the emulator if prompted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*RYowahG2B0QneJpdHlR5xQ.png" /></figure><blockquote><strong>Bonus</strong></blockquote><blockquote><strong>Steps to Install JustTrustMe</strong></blockquote><ol><li><strong>Download and Install JustTrustMe</strong></li></ol><p><a href="https://github.com/Fuzion24/JustTrustMe/releases/tag/v.2">https://github.com/Fuzion24/JustTrustMe/releases/tag/v.2</a></p><ul><li>Locate the JustTrustMe APK and install it on your device.</li><li>Ensure “Unknown Sources” is enabled in your security settings to allow APK installation.</li></ul><p><strong>2. Activate JustTrustMe in Xposed</strong></p><ul><li>Open the Xposed Installer app.</li><li>Navigate to the <strong>Modules</strong> section.</li><li>Check the box next to <strong>JustTrustMe</strong> to activate it.</li></ul><p><strong>3. Reboot Your Device</strong></p><ul><li>Reboot your device to apply the changes.</li></ul><blockquote><strong>Conclusion</strong></blockquote><p>By following these steps, you will have successfully installed the Xposed Framework and the SSLUnpinning module &amp; JustTrustMe on your emulator or rooted Android device. This setup allows penetration testers to bypass SSL pinning mechanisms, enabling the interception and analysis of encrypted network traffic.</p><p>Happy Hacking! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d50fbb2354c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>