<?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 Lakshmi on Medium]]></title>
        <description><![CDATA[Stories by Lakshmi on Medium]]></description>
        <link>https://medium.com/@maha.lakshmi?source=rss-30a33d394445------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CFsyWZbHfiIzpFsq</url>
            <title>Stories by Lakshmi on Medium</title>
            <link>https://medium.com/@maha.lakshmi?source=rss-30a33d394445------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:39:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maha.lakshmi/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[Exploring e-MAPT: My Experience and Review]]></title>
            <link>https://medium.com/@maha.lakshmi/exploring-e-mapt-my-experience-and-review-1b80e337c870?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b80e337c870</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Tue, 30 Apr 2024 17:36:31 GMT</pubDate>
            <atom:updated>2024-04-30T17:36:31.414Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey there! I’m back after some holiday time and busy workdays. Today, I’m thrilled to share my journey with one of the most talked-about certifications in the industry: eLearnSecurity Mobile Application Penetration Testing, also known as e-MAPT. Recently, I successfully passed the exam on my first attempt, and I’m excited to share all the insights I gained along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*DlGdbTiPRaKFESkYYGlKWA.png" /></figure><blockquote><strong>The Exam Experience:</strong></blockquote><blockquote><em>I purchased a voucher at half price and held onto it for a while. With a six-month window to take the exam, I spent time learning and researching before finally deciding to start in the last month. Although I was uncertain, especially about my Android Development skills, I pushed through and began the exam.</em></blockquote><blockquote><em>During the exam, I encountered two Android apps with vulnerabilities. To pass, I needed to develop a new app that exploited both. While identifying the weaknesses was swift, exploiting them proved challenging as it was unfamiliar territory for me. With perseverance and extensive reading of security blogs, I eventually created a proof-of-concept and submitted the APK file.</em></blockquote><p><strong><em>Review:</em></strong></p><p>There are two paths to obtaining an e-MAPT certificate: either take the exam with a voucher code or undergo training beforehand. If you’re experienced in mobile app security and have conducted penetration tests before, you can succeed with just the voucher code. However, if you’re new or need to enhance your knowledge, training is recommended.</p><blockquote><strong>Personal Tips:</strong></blockquote><blockquote><em>Utilize the full 7-day exam duration wisely as there’s no report to write, only your POC code and APK with Source code file.</em></blockquote><blockquote><em>Explore tools like Jadx and Android Studio.</em></blockquote><blockquote><em>Familiarize yourself with Android Studio for app development using Java.</em></blockquote><blockquote><em>Learn about encryption and decryption algorithms.</em></blockquote><blockquote><em>Ensure your Java application meets the Minimum SDK requirement.</em></blockquote><blockquote><strong>Remember to open the victim apps before running your exploit.</strong></blockquote><p><strong><em>Closing Thoughts:</em></strong></p><p>That wraps up my e-MAPT journey. I hope you found this blog enjoyable and insightful. If you’re interested in further exploring Mobile Application Security Testing, consider online courses offered by TCM Academy, INE, or reputable Udemy courses.</p><p>Cheers, and happy hacking!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b80e337c870" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PART-I Jailbreaking Process for IOS]]></title>
            <link>https://medium.com/@maha.lakshmi/part-i-jailbreaking-process-for-ios-e7a058684cf7?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7a058684cf7</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Mon, 25 Mar 2024 17:01:40 GMT</pubDate>
            <atom:updated>2024-03-25T19:50:20.711Z</atom:updated>
            <content:encoded><![CDATA[<p>Greetings, everyone!</p><p>I trust you’re all doing well. Today, we’re diving into the process of preparing a jailbroken iOS device to initiate iOS Pentesting.</p><p><strong>Step 1:</strong> Identify the iOS version on your iPhone and the latest available jailbreak method for it. You can find the iOS version of your device by navigating to <strong>Settings &gt; General &gt; About.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*li59sbbGYBxpc1aowSELcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*rTiptVXgVF1a6NQA5nyk6g.png" /></figure><p><strong>Step 2:</strong> current situation ios versions are mostly updated Jailbreaking iphone using palera1n</p><p>To jailbreak a device using palera1n we need to ensure two things on our device</p><p>✓ Disable passcode on your iphone</p><p>✓ Enter the device in DFU (Device Firmware Update) mode</p><p><strong>Step 3:</strong> <a href="https://ios.cfw.guide/installing-palera1n/?source=post_page-----e322c73ab9a0--------------------------------#running-palera1n-1">Installing palera1n</a></p><p>After Downloading, You can simply run the command “palera1n” from CLI while your device is connected to your mac/windows in DFU mode. It will boot jailbroken post that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*sBSXwwmxqh-ZS1n8GyYfvQ.png" /></figure><p><strong>Step 4</strong>: Post jailbreaking you should be able to view <strong>palera1n</strong> app using which you can install <strong>Sileo</strong> which is the package manager to install IOS tweaks and tools that we will require to test IOS application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*DXP2LS3q6gwlZK5Sf_tF8A.png" /></figure><p>😊 Happy app hunting” signifies encouragement and enthusiasm for exploring and discovering new aspects within the iOS security. “May your discoveries enhance the world of iOS security” extends well-wishes for the findings to contribute positively to the overall improvement and reinforcement of security measures within the iOS ecosystem.</p><p>#iOSAppAnalysis #JailbreakingMastery</p><p>Follow me on <a href="https://www.linkedin.com/in/marcha-lakshmi?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BOWrkRoQ7RGK0BYbzWGZTfQ%3D%3D">linkedin</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7a058684cf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to IOS Penetration Testing….!!!!]]></title>
            <link>https://medium.com/@maha.lakshmi/introduction-to-ios-penetration-testing-96cb399f39c4?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/96cb399f39c4</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 18:05:22 GMT</pubDate>
            <atom:updated>2024-03-25T16:38:55.175Z</atom:updated>
            <content:encoded><![CDATA[<p>“I’m Happy to share my expertise on iOS penetration testing with you. We’ll explore the various tools and techniques used in iOS penetration testing, providing you with insights to enhance your understanding and secure application testing.”</p><p>IOS is a dominant operating system in the mobile device market. This popularity has spurred creation of various applications and ultimately main this blog we walk through methods to discover unseen flaws in iOS devices. There is no device 100% secure from threat actors looking to exploit new vulnerabilities. So, we are going to cover the most important aspects pertaining to iOS application security. So, without further ado, let’s get started.</p><p><strong>Note:-</strong> “There are numerous tools and methodologies available for iOS penetration testing, but I’ll focus solely on sharing my own methodology here, as it’s not feasible to cover all of them.”</p><p>The assessment can be broadly categorized into Three main parts:</p><p><strong><em>Most Important is Part -I</em></strong></p><p><strong>Part-I Jailbreaking iOS device:</strong></p><p>Generally, Apple does not let you run third-party/unrecognized software or unsigned codes that are not officially allowed by the company. It results in losing control over your own smartphone you cannot use whatever app you want on your iPhone device regardless of its version. But jailbreaking your iPhone removes all the restrictions from your device, and you can do whatever you want; that too includes installing third-party software programs, modifying the user interface, and enjoying these services.</p><p><strong>Part - II. Static Analysis</strong></p><p>Static analysis involves performing an in-depth examination of iOS app source code without actually running it to detect vulnerabilities at its core, such as unsecured data storage, lack of input validation, and improper error handling. Hopper and IDA Pro are typically utilized as tools for static analysis.</p><blockquote><strong><em>Here are Key areas to focus on:</em></strong></blockquote><blockquote><strong>→</strong> Info.plist: This file contains some application-specific configurations.</blockquote><blockquote>→ <em>Explore your app’s source code files (.swift, .m, .h) for telltale signs of hardcoded sensitive data or insecure data handling.<br>Configuration Files:</em></blockquote><blockquote>→ Insecure URL schemes<br><strong>→</strong> Insecure permissions and ATS misconfiguration<br><strong>→ </strong>Insecure binary options<br><strong>→ </strong>Presence of hardcoded sensitive information such as Firebase database or email addresses<br><strong>→ </strong>Other interesting files that may contain security issues or vulnerabilities.</blockquote><p><strong>Part - III</strong>. <strong>Dynamic Analysis</strong></p><p>Dynamic analysis involves running an iOS app under controlled conditions to observe its behavior to discover vulnerabilities that are only identifiable during runtime, such as insecure network communication, sensitive data leakage, or improper session management. Tools like Objection and Charles Proxy are often employed for dynamic analysis.</p><blockquote><strong><em>Here are some Key areas to focus on:</em></strong></blockquote><blockquote><strong>→ </strong>Check for Sensitive Information saved by the application in the filesystem.</blockquote><blockquote><strong>→</strong> Broken Cryptography</blockquote><blockquote><strong>→ </strong>Local Authentication using Keychain</blockquote><blockquote><strong>→</strong> Sensitive Data in Database- Developer can save sensitive data such as username and password in client side database</blockquote><p><strong>→ </strong>Objection &amp; Frida to bypass jailbreak detection and SSL pinning.</p><blockquote><strong>Installing the required tools</strong></blockquote><blockquote>1) MobSF (Mobile Security Framework)</blockquote><blockquote>MobSF is an open-source mobile app security testing framework compatible with iOS that enables testers to analyze iOS app security by scanning for vulnerabilities, including insecure data storage, improper session handling, and code injection.</blockquote><blockquote>2) Hope you already have Frida and Objection tools in your system, If not, install.</blockquote><blockquote>Releases · frida/frida (github.com)</blockquote><blockquote>3) GitHub — /objection: 📱 objection — runtime mobile exploration</blockquote><blockquote>4) 3uTools: This one has a lot of useful features such as Direct SSH connection, Screen mirroring, iOS application installer, etc..</blockquote><blockquote><strong><em>3uTools | The best all-in-one tool for iOS users</em></strong></blockquote><p>👍That’s essentially all need to set up for iOS Pentesting Parts 1, 2, and 3 will address Jailbreaking, static analysis, and dynamic analysis of iOS applications.</p><p>To be continued….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96cb399f39c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PART-II {Android Dynamic Analysis}]]></title>
            <link>https://medium.com/@maha.lakshmi/introduction-to-android-application-part-ii-dynamic-analysis-37dcd4f2b340?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/37dcd4f2b340</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 17:38:22 GMT</pubDate>
            <atom:updated>2024-03-25T19:36:05.288Z</atom:updated>
            <content:encoded><![CDATA[<p>“Hi everyone,</p><p>I’m thrilled to share my expertise on Android Dynamic Penetration Testing with you. This blog covers everything from setting up your pen-testing environment to identifying vulnerabilities in dynamic testing.</p><p>I’ll be exploring Dynamic Android Penetration Testing, breaking down its importance for securing mobile apps.</p><p>For Dynamic Penetration Testing, Three important parts are:</p><ol><li>Configuring the Burp Proxy Listener.</li></ol><p>2. Enumerating Local Data Storage with ADB.</p><p>3. Utilizing Open-Source Frameworks.</p><p>Setting up proxy configurations for <a href="https://portswigger.net/burp/pro">Burp Suite Professional:</a></p><blockquote><strong><em>I. Burp Suite Configuration:</em></strong></blockquote><p>To capture traffic using Burp Suite, follow these steps:</p><p><strong>Step 1: Burpsuite configurations.</strong></p><p>Open Burp Suite and go to the Proxy tab. Select “Proxy Settings” and click on “Add” under the Proxy Listeners section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*rlyH4JaGWUmfKYNCzveHHA.png" /></figure><p><strong>Configuring the proxy listener</strong></p><p><em>Android Device Proxy Configuration:</em></p><p>On your Android emulator or Device, open the Wi-Fi settings and long-press the connected Wi-Fi name. Select the “Modify Network” option. Under the Proxy settings, choose “Manual” and enter the IP address of your Burpsuite machine (Windows or Kali Linux).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*QBT3_hu8AY-0zPStlw5K5g.png" /><figcaption>configuring proxy in the emulator</figcaption></figure><p><strong>Step 2: Installing Burp Certificate in android emulator:</strong></p><p>Open any browser on your Android device and browse to <a href="http://burp/">http://burp</a>, Click on the CA Certificate to download it into the Downloads folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*Kp13V_0Mop1wnf4bNTNA_w.png" /><figcaption>Installing CA certificate</figcaption></figure><p><strong>Step 3: Modify the Certificate Extension:</strong></p><p>Change the file extension from .der to .cer. Then, navigate to the mobile settings, search for “Install Certificate,” and proceed accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*PPRQy5fjGPCYZxgMyWLqlQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*uOrFN_-I7gQcwNvOaEn9_Q.png" /></figure><blockquote><strong>II. Local Data Storage Enumeration with ADB</strong></blockquote><p>ADB, Android Debug Bridge, is a command-line utility included with Google’s Android SDK. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more.</p><p>Connecting via ADB</p><p>Enable the USB Debugging function on the device.</p><p>How to set up ADB on your phone</p><p>Preparing to communicate with your computer.</p><p>Setting up ADB requires some preparation on both the Android phone and the PC you want to use. For starters, follow these steps on your phone:</p><ol><li>Access the settings menu, which may be labeled as “About Device” or “About Phone,” depending on your device.</li><li>Tap the build number seven times until you see a message that says, “You’re now a developer.” You may be prompted to enter your screen.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*39rMPiXKQ1byncBIaMc9nA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*enFiG0i1ipVtoWelxqV6pQ.png" /></figure><p>3. Now go back to the main Settings screen, look for the new Developer options that appear in your system settings after completing the step before.</p><p>4. Within the developer options, enable USB debugging. This prepares your device for ADB connections with your computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*AAJnql7PLl8gP0iJAQtuoA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*5Egw2VQ3HaDcYxAEj205aQ.png" /></figure><p>How to set up ADB on Microsoft Windows</p><p>1. Download the Android SDK Platform Tools ZIP file for Windows. (https://adbinstaller.com/)</p><p>2. Extract the contents of this ZIP file into an easily accessible folder (such as C:\platform-tools).</p><p>3. Open File Explorer and browse to where you extracted the contents of this ZIP file.</p><p>4. Open up a Command Prompt/Terminal instance from the same directory as this ADB executable. Then you can start using ADB. Connect your phone and enter. ADB devices to see if it’s working. A list with attached devices appears.</p><p>5. Connect your smartphone or tablet to your computer with a USB cable.</p><p>6. On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).</p><p>7. In the Command Prompt/Terminal window, enter the following command to launch the ADB daemon:</p><p>Finally, If everything was successful, you should now see your device’s serial number in the command prompt/Terminal window.</p><p>You can now run any ADB command on your device! Now, go forth and start modding your phone.</p><p>Useful ADB Commands</p><p>adb devices — — Enumerates all linked Android devices and their current statuses..</p><p>adb shell — — Gives you an interactive Linux command-line shell on your device.</p><p>adb logcat — — View your Android device’s log. Can be useful for debugging apps.</p><p>adb install C:\package.apk — — Installs the package located at C:\package.apk on your computer on your device.</p><p>adb uninstall package.name — — Uninstalls the package with package.name from your device. For example, you’d use the name com.rovio.angrybirds to uninstall the Angry Birds app.</p><p>In Android, the directory /data/data/ contains the installation directories of every application that is installed on the device. This directory is private and cannot be accessed by other apps or by non-root users. Having root access via ADB, we can list the contents of this directory.</p><p>Applications that are stored in the internal memory of the device reside in the directory <strong>/data/data/</strong>.</p><p>Directories like <strong>databases</strong> and <strong>shared_prefs</strong> are created as part of the installation process.</p><blockquote><strong>III. Open-Source Frameworks</strong></blockquote><p><strong>Drozer: </strong>drozer is the leading security testing framework for Android.<strong> </strong>it designed to empower security researchers in uncovering vulnerabilities and potential exploits within Android applications.</p><p><a href="https://github.com/ozguralp/gmapsapiscanner"><em>Gmaps scanner</em></a><em> : </em>Used for determining whether a leaked/found Google Maps API Key is vulnerable to unauthorized access by other applications or not.</p><p>“It seems that I’m concluding my Android Pentesting series today. I hope it serves as a helpful guide for those who have recently delved into Android Pentesting and might be feeling a bit stuck. Stay tuned for more exciting content ahead! 😄”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37dcd4f2b340" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PART-I {Android Static Analysis}]]></title>
            <link>https://medium.com/@maha.lakshmi/introduction-to-android-application-static-analysispart-1-c8bf3dd7f7fc?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8bf3dd7f7fc</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 18:29:45 GMT</pubDate>
            <atom:updated>2024-03-24T17:28:46.147Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“Hello to all..! I hope everyone is doing well. Here’s my comprehensive walkthrough for Android Static Penetration Testing. Let’s get straight to it, with the hope that you gain valuable insights from this exploration.”</blockquote><blockquote><strong>Static Analysis</strong></blockquote><p>Static analysis involves analyzing an application’s code, resources, and configuration files without executing the application. This type of analysis is typically performed by analyzing the application’s source code or its compiled binary file (APK) using tools like APKtool, dex2jar. The goal of static analysis is to identify potential vulnerabilities in the code, such as insecure coding practices, data leakage, or hard-coded credentials.</p><p><strong>MOBSF</strong></p><p>AndroidManifest.xml: This file contains information about the application, including its</p><p>package name, version number, required permissions, and components such as activities, services, and broadcast receivers.</p><p><strong>Manifest file analysis</strong></p><p><strong>→ Look for Allow backup </strong>attribute<strong>: </strong>The default value of this attribute is true. This setting defines whether application data can be backed up and restored by a user who has enabled usb debugging.(Should be false)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*1HoSCls5Cokh0r8Q7GUBYw.png" /></figure><p><strong>→ Look for Allow debugable: </strong>Without a rooted phone it is possible to extract the data or run an arbitrary code using application permission (Should be false) The default value is “false.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*D23cHcTIDJphHBQxgw-LVw.png" /></figure><p><strong>→ Permissions</strong>: Check if the application requests any sensitive permissions like camera, microphone, location, SMS, or call logs. If the app is requesting unnecessary permissions, it could be a red flag for privacy violations or potential security risks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*BlX9ir_xrE7LPnbEl46ttw.png" /></figure><p><strong>→ Components</strong>: Android components like activities, services, receivers, and providers can be exploited by attackers to gain unauthorized access or to launch attacks. Check if any of the components are exposed to other applications or if they are exported with overly permissive access.<br> <strong>android: exported:</strong> The default value of the attribute is true. (should be set to false)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*9DJ_LgwdpLlnFhQKyhHlBA.png" /></figure><p>→ <strong>Application information: </strong>Check if the application has any hard-coded credentials, sensitive information, or debugging features that could be exploited by attackers.</p><p><strong>JADX</strong></p><p>We use JADX, an Android decompile, to easily convert the app’s binary code into Java classes, allowing us to view the source code by opening the APK file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*pzNYuPEJDpzmnCCZmmCsRQ.png" /></figure><blockquote><strong>What to check in the code?</strong></blockquote><p><strong>Hardcoded sensitive information:</strong> Check for any insecure storage of sensitive data such as passwords, user credentials, or personal information. Search for hardcoded database(SQL queries), password, keys, sensitive information, URLs</p><p><strong>Code Obfuscation</strong>: Check for obfuscation techniques used to hide the code and make it difficult to understand. Obfuscation techniques make it harder for reverse engineering, but it can also hide any malicious code.</p><p><strong>META-INF/</strong>: This folder contains the manifest file, the certificate of the APK signature, and a list of all the files in the APK, along with their checksums.</p><p><strong>Cryptography:</strong> Look for any use of encryption algorithms and verify that they are implemented correctly. Check for any hardcoded keys, weak encryption methods, or use of insecure cryptographic algorithms.</p><p><strong>API Usage:</strong> Verify that the application does not use any insecure APIs or APIs with known vulnerabilities. Look for any APIs that allow unauthorized access or data leakage.</p><p><strong>res/</strong>: This folder contains the application resources, such as layouts, strings, and images, in their original format before being compiled into the Resources .arsc file.</p><p><strong>External Libraries:</strong> Verify that the application does not use any insecure third-party libraries or libraries with known vulnerabilities.</p><p><strong>Access Control:</strong> Verify that the application has implemented proper access control to sensitive functionality and data. Look for any hardcoded credentials or access tokens.</p><p><strong>Integrity Checks</strong>: Look for any integrity checks that the application performs to ensure that the code has not been tampered with</p><p>For the initial stage, this understanding will be very helpful. Detailed parts will be published soon, covering actual practical Android penetration testing.</p><p>I hope you have learned something from this blog. Please like, share with your friends, and follow for more Android and iOS blogs.</p><p>Follow and stay tuned for the next part of Android Dynamic testing — Part II.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8bf3dd7f7fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Android Application Penetration Testing.]]></title>
            <link>https://medium.com/@maha.lakshmi/introduction-to-android-application-penetration-testing-f8a02ec66427?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8a02ec66427</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Tue, 30 Jan 2024 18:12:00 GMT</pubDate>
            <atom:updated>2024-03-25T13:33:23.854Z</atom:updated>
            <content:encoded><![CDATA[<p>“Hello to all..! I hope everyone is doing well. Here’s my comprehensive walkthrough for Android Penetration Testing. Let’s get straight to it, with the hope that you gain valuable insights from this exploration.”</p><p><strong><em>To begin with it you would need few things:</em></strong></p><p>To conduct Android Pen-testing on a physical mobile device (ROOTED) or initiate the process in a virtual environment, it is essential to set up an Android emulator. There are various emulators to choose from, including Genymotion, Memu, NOX_Player, etc. compared to others. Based on personal experience, I recommend utilizing Memu emulator for effective testing.”</p><p><strong>Steps to begin assessment:</strong></p><p>Obtain the .apk file from the developer. If you don’t have the .apk file, install the app from the Play Store and extract the .apk to commence the assessment.</p><p>The assessment can be broadly categorized into two main parts:</p><p><strong>Static Analysis and Dynamic Analysis</strong></p><p><strong>1) <em>STATIC ANALYSIS</em>: </strong>Static Analysis is focused on assessing the code, it Analyze the code, requirements documents, and design documents. Static analysis involves examining the app’s code and resources without executing it.</p><p><strong><em>Here are key areas to focus on:</em></strong></p><p>· Analyzing manifest file</p><p>· Sensitive information found in logs.</p><p>· Stored Secrets/API Keys</p><p>· Sensitive information found in cache.</p><p>· Firebase</p><p>· Sensitive information stored in shared preference files.</p><p>· Sensitive information found in installed application folder.</p><p>· Content Providers</p><p>· Sensitive information stored in SQLite database in clear text.</p><p>. Check if sensitive information remains there even after logging out.</p><p><strong>2) <em>DYNAMIC ANALYSIS</em>:</strong> Dynamic Analysis aims to understand the software’s functional behavior and resolve any active issues<strong>.</strong></p><p>i. Examine the functional behavior of software systems.</p><p>ii. Evaluate aspects such as memory usage and performance.</p><p>iii. Identify and address any active bugs.</p><p><strong><em>Here are key areas to focus on:</em></strong></p><p>· Analyzing request response using proxy tool (Burp Suite)</p><p>· Understanding all functionalities of the app and then performing scenario-based assessment</p><p><strong>Business logic issues</strong></p><p>· User account compromise of another user</p><p>· Admin account compromise from user account</p><p>· Brute force authentication/otp/other services</p><p>· Check for server-side validation.</p><p>· Check for root detection method / bypass it</p><p><strong>Transport layer security</strong></p><p>· Older version of SSL used.</p><p>· SSL pinning bypass</p><p>· Weak SSL ciphers and other SSL related vulnerabilities (sslscan, sslyze, etc.)</p><p><strong>Server-side checks</strong></p><p>· Check for SQL injection.</p><p>· CAPTCHA implementation flaws &amp; bypass</p><p>· Check for all HTTP methods (PUT, DELETE etc. Use burp intruder using HTTP verb tampering)</p><p>· Check for client-side injection (XSS)</p><p>· Username enumeration</p><p>· Other user’s sensitive details enumeration</p><p>· User detail’s enumeration using IDOR.</p><p>· Malicious file upload</p><p>· Server-side flaws (IIS, APACHE, TOMCAT etc.)</p><p>· Run nikto, dirb on web content URL.</p><p>· Check for session management (cookie flaws, session overriding, session fixation etc.)</p><p><strong><em>Suggested Tools for Android Penetration Testing:</em></strong></p><p>Below is a list of tools that can be used to conduct Android application penetration testing. Some are used for automated testing, and others for manual testing.</p><p>Ø <strong>Android Debug Bridge (ADB):</strong> A versatile command-line tool that lets you communicate with a device.</p><p>Ø <strong>Dex2jar:</strong> Converts .dex files to .class files, zipped as a jar file.</p><p>Ø <strong>JD-GUI:</strong> A standalone graphical utility that displays Java sources from CLASS files.</p><p>Ø <strong>JADX</strong>: Command line and GUI tools for producing Java source code from Android Dex and APK files.</p><p>Ø <strong>APKTOOL:</strong> A tool for reverse engineering, for decompiling and recompiling Android apps and the ability to extract resources, edit manifest files and more.</p><p>Ø <strong>Burp Suite:</strong> A set of tools used for web applications penetration testing.</p><p>Ø <strong>Frida:</strong> A dynamic instrumentation toolkit for developers, reverse engineers, and security researchers.</p><p>Ø <strong>Objection:</strong> A runtime mobile exploration toolkit, powered by Frida, built to help you assess the security posture of your mobile applications, without needing a jailbreak.</p><p>Ø <strong>Drozer:</strong> drozer (formerly Mercury) is the leading security testing framework for Android. It identifies flaws in an app or a device.</p><p>Ø <strong>MobSF:</strong> Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.</p><p>I hope you enjoy this walkthrough and get to learn something new.</p><p>“In my upcoming blog, I will unravel the intricacies of static and dynamic assessments, providing clarity on these integral aspects of cybersecurity Stay tuned for an insightful journey into the distinctions and practical applications of these assessment techniques.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8a02ec66427" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Way To Bypass The IOS Flutter Application.]]></title>
            <link>https://medium.com/@maha.lakshmi/a-way-to-bypass-the-ios-flutter-application-935c583fb507?source=rss-30a33d394445------2</link>
            <guid isPermaLink="false">https://medium.com/p/935c583fb507</guid>
            <dc:creator><![CDATA[Lakshmi]]></dc:creator>
            <pubDate>Thu, 30 Nov 2023 17:26:16 GMT</pubDate>
            <atom:updated>2023-11-30T17:26:16.119Z</atom:updated>
            <content:encoded><![CDATA[<p>“There are numerous methods available for bypassing the iOS Flutter application, and I’ve found a Great helpful solution.”</p><p><strong><em>Pre-Requisites:</em></strong></p><ul><li>Jailbroken iOS device.</li><li>Burp Suite up and running.</li><li>OpenVPN application installed in your iOS device.</li><li>Liberty — Root detection bypass Cydia Repo.</li><li>Filza — To extract ipa from iOS device Cydia Repo</li><li>Your system and mobile device must be connected to the same Wi-Fi network.</li><li>Must have Frida installed in your system as well as in iOS device.</li></ul><p><strong><em>Brief Process:</em></strong></p><ol><li>We are going to create one OpenVPN connection file, configure it in our iOS device using OpenVPN application and stablish the connection.</li><li>Using IP table command we will route the device traffic through our system.</li><li>find and analyze the binary which contains the SSL verification code.</li><li>Using frida we will bypass the SSL verification implementation.</li></ol><p><strong>Let’s Get Started:</strong></p><ol><li><strong><em>First install OpenVPN application to the iOS device from app store</em></strong></li><li><strong><em>Create OpenVPN file to connect:</em></strong></li></ol><p>Use below command to download one script which helps us in creating OpenVPN file as per our need.</p><pre>~$ sudo wget https://git.io/vpn -O openvpn-install.sh<br><br>~$ sudo sed -i &quot;$(($(grep -ni &quot;debian is too old&quot; openvpn-install.sh | cut  -d : -f 1)+1))d&quot; ./openvpn-install.sh<br><br>~$ sudo chmod +x openvpn-install.sh<br><br>~$ sudo ./openvpn-install.sh</pre><p>After running Scripts Select Below options:</p><pre>Which IPv4 address should be used?  <br>&gt; Select option of your system IP. i.e. 192.X.X.118<br>    <br>Public IPv4 address / hostname []:<br>&gt; Provide your system IP i.e. 192.X.X.118<br>    <br>Protocol [1]: 1<br>Port [1194]: 1194<br>DNS server [1]: 1<br>Name [client]: flutter_Bypass</pre><p>And Press enter. OpenVPN file will be created at /root/flutter_bypass.ovpn</p><p><strong><em>3. Install OpenVPN file to device:</em></strong></p><p>python3 -m http.server 9999--directory /root/</p><p>Open the downloaded ovpn file using OpenVPN, configure and connect to it.</p><p><strong>Note</strong>: You can start openvpn in your system through below command:</p><p>~$ sudo service openvpn start</p><p><strong><em>4. Route the traffic and burp proxy configuration:</em></strong></p><p>Run below commands to route the traffic from your iOS device through your system.</p><p><strong>Note</strong>: In the last command the provided IP is your iOS device IP i.e. 192.X.X.101.</p><pre>~$ sudo iptables -t nat -A PREROUTING -i tun0 -p tcp --dport 80 -j REDIRECT --to-port 8080<br>~$ sudo iptables -t nat -A PREROUTING -i tun0 -p tcp --dport 443 -j REDIRECT --to-port 8080<br>~$ sudo iptables -t nat -A POSTROUTING -s 192.X.X.101/24 -o eth0 -j MASQUERADE</pre><p><strong><em>5. Config BurpSuite</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/0*KtMvY0Ptzw3z3sUW.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*VFqGmKgmBS-DU95evNOd-w.png" /></figure><p>References: <a href="https://bhattsameer.github.io/2021/06/23/Intercepting-flutter-iOS-application.html">Intercepting Flutter iOS Application</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=935c583fb507" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>