appsec.fyi

Mobile — A Practical Guide

A curated AppSec resource library covering XSS, SQLi, SSRF, IDOR, RCE, XXE, OSINT, and more.

Mobile: A Practical Guide

Curated and synthesized by . Last updated 2026-09-01. Synthesized from 138 of 138 curated resources. Browse all 138 Mobile resources →

Problem Framing

The mobile application security landscape is a complex interplay of platform-level security, application development choices, and the dynamic nature of user behavior. Understanding the threats and attack vectors is critical for a practitioner. Attackers leverage various techniques, from exploiting third-party libraries [1] to manipulating deep links [2][3] and custom URL schemes [4]. The inherent complexity and extensibility of mobile operating systems, particularly Android's open nature [5], present a broad attack surface. Furthermore, the increasing reliance on AI and evolving agentic browser technologies introduces new security paradigms and challenges [6][7]. Ultimately, the goal of mobile app security testing is to identify and mitigate vulnerabilities before they can be exploited, ensuring the confidentiality, integrity, and availability of sensitive data and user functionality.

Core Mechanics

Mobile application security is built on several foundational principles and mechanics that directly influence how vulnerabilities manifest and are exploited.

Application Components and Inter-Process Communication (IPC)

Mobile platforms expose various components that applications use for functionality and communication. Understanding these components is key to identifying potential attack vectors:

IPC mechanisms like Android Intents are critical for inter-component and inter-app communication. Misconfigurations or insufficient validation in how these intents are handled can lead to intent redirection and hijacking vulnerabilities [2][3][9]. Similarly, iOS Universal Links and custom URL schemes offer deep linking capabilities, but insecure handling can lead to hijacking and data exfiltration [13][4][14][15].

Data Storage and Management

The way mobile applications store and manage sensitive data is a prime target for attackers. Common vulnerabilities include:

Network Communication

Secure network communication is vital. Key areas of concern include:

Runtime Analysis and Instrumentation

Dynamic analysis tools like Frida and Objection are indispensable for understanding and manipulating application behavior at runtime. These tools enable:

Third-Party Libraries and SDKs

The reliance on third-party libraries and SDKs introduces significant supply chain risks. Vulnerabilities within these components can be inherited by the application, creating broad attack surfaces [1][9][44][33]. Attackers can exploit these dependencies through various means, including identifying and leveraging vulnerabilities in bundled libraries.

Notable Techniques

The mobile security research community has identified and documented numerous techniques for exploiting mobile applications. These range from leveraging platform-specific features to exploiting flaws in libraries and custom code.

Arbitrary File Overwrite (AFO) via Libraries

A common vector for attack is through vulnerable third-party libraries. For instance, a popular image cropping library was found to ship with android:exported="true" on an Activity and root-scoped on a FileProvider by default. This allowed arbitrary file overwrites within the app's sandboxed storage by any installed app. The primitive was limited to overwriting files with image data, but could still be leveraged for account takeover via config corruption or, in theory, code execution if native libraries were unpacked from writable locations [1].

Intent Redirection and Hijacking

Android's Intent mechanism, used for inter-app communication, can be exploited if not properly secured. Intent redirection vulnerabilities allow a malicious app to intercept or manipulate intents intended for another application or component. This can lead to unauthorized access to private data, privilege escalation, or even remote code execution within the context of the vulnerable app [2][3][9]. The android:autoVerify="true" attribute in the AndroidManifest.xml is a mitigation to prevent automatic hijacking of deep links [3].

URL Scheme Hijacking and Universal Links

On iOS, custom URL schemes and Universal Links allow apps to be launched from external sources. Insecure handling of these schemes can lead to hijacking attacks where a malicious app can intercept URLs intended for other applications. This is particularly concerning in OAuth flows, where an attacker might steal authentication codes, leading to account takeover [13][4][14][15]. The apple-app-site-association file plays a crucial role in verifying Universal Links [13][45].

WebView Exploitation

Android's WebView component, used for displaying web content within an app, is a frequent source of vulnerabilities. Improper URL validation, insecure JavaScript interface exposure (addJavascriptInterface), and enabling universal/file access from file URLs can lead to XSS, data exfiltration, and remote code execution [32][46][47][48]. Exploiting addJavascriptInterface can be particularly dangerous due to the ability to execute arbitrary Java code via reflection [46].

Root/Jailbreak Detection Bypass

Many sensitive applications implement root (Android) or jailbreak (iOS) detection mechanisms to prevent execution on compromised devices. These mechanisms are frequently bypassed using dynamic instrumentation tools like Frida or specific bypass utilities. By hooking detection functions and returning false, or by manipulating detection artifacts, testers can effectively circumvent these controls [17][49][50][37][38][39][43][42][40][41].

SSL Pinning Bypass

Certificate pinning is a security measure to prevent MITM attacks by ensuring that an app only trusts specific certificates. However, these protections can be bypassed using Frida to hook into the app's network libraries at runtime, disabling the validation checks. This allows for the interception and inspection of encrypted traffic [26][27][28][29][30][21][31][24]. Tools like Objection automate much of this process with simple commands [41][30][21]. Static analysis and patching of truststore files can also be used [30][21].

Exploiting Third-Party SDKs

Vulnerabilities in third-party SDKs are a significant risk as they can affect multiple applications that integrate them. An example is an intent redirection vulnerability in a widely used EngageSDK that exposed millions of Android wallets to data theft [9]. The use of vulnerable SDKs highlights the importance of thorough dependency management and security reviews [1][44][33].

iOS Exploit Chains and Zero-Days

Sophisticated attackers leverage chains of vulnerabilities, including zero-days, to achieve full device compromise on iOS. Campaigns like DarkSword and Coruna have been observed exploiting multiple vulnerabilities in WebKit and other system components to deploy malware and exfiltrate sensitive data [51][52][53][54][55][56][57]. These exploit chains often involve JavaScript-based attacks delivered through compromised websites, targeting specific iOS versions.

Memory Corruption and Kernel Exploitation

Vulnerabilities in media decoders, drivers, or kernel components can lead to memory corruption and even kernel-level code execution. Project Zero's research into the Dolby Unified Decoder on Pixel devices demonstrated how media parsers can be targeted, leading to arbitrary code execution and privilege escalation by chaining bugs in the decoder and device drivers [58]. Similarly, vulnerabilities in trusted execution environments like OP-TEE can have significant impact due to their privileged position [59].

Detection & Prevention

Mitigating the identified vulnerabilities requires a multi-layered approach encompassing secure coding practices, robust platform configurations, and continuous security testing.

Secure Coding Practices

Developers must prioritize security throughout the software development lifecycle:

Platform-Specific Configurations

Leverage platform security features to enhance application security:

Runtime Application Self-Protection (RASP)

Implement RASP solutions to detect and respond to threats at runtime, such as detecting root/jailbreak, debugging, or tampering attempts [44][62].

Security Testing and Auditing

Regular and comprehensive security testing is paramount:

Tooling

A robust set of tools is essential for performing thorough mobile application security assessments.

Static Analysis

Dynamic Analysis and Instrumentation

Network Traffic Interception

General Utilities

Recent Developments

The mobile security landscape is constantly evolving with new attack techniques and platform-level changes.

AI-Driven Attacks and Defenses

The integration of AI into mobile applications and attack methodologies presents a significant shift. Attackers are leveraging AI for more sophisticated phishing, social engineering, and even malware development [6][7][83][44]. Concurrently, AI is being employed by platforms like Google Play Protect and security vendors to improve detection and defense mechanisms [7][84]. The rise of "Agentic Browsers" and AI-powered assistants introduces new attack surfaces related to prompt injection and data exfiltration [6].

iOS Security Enhancements and Jailbreak Challenges

Recent iOS versions have introduced significant security features, such as app-level Face ID protection and app hiding [67][85]. However, these features are not immune to bypasses. Furthermore, the increasing difficulty and rarity of jailbreaks for newer iOS versions pose challenges for security researchers relying on jailbroken devices for dynamic analysis and deeper inspection. Tools and techniques are emerging to bypass these protections or work around their limitations [34][38][86][82][87]. The proliferation of exploit kits like DarkSword and Coruna, which leverage multiple zero-day vulnerabilities, underscores the ongoing Sophistication of iOS attacks [53][54][55][56][57].

Android Security Updates and Vulnerabilities

Google continues to enhance Android's security through regular security bulletins, patching numerous vulnerabilities across various components. Critical flaws in adbd (Android Debug Bridge daemon) have been addressed, including remote code execution vulnerabilities that could be exploited without user interaction [88][89][90][91][92][93][94][95][96][97]. The patching of MediaTek and Qualcomm components also addresses platform-specific risks [94][95][97]. Concerns remain regarding Android's fragmentation, which can delay security updates for a significant portion of devices [5][98][44].

Supply Chain Attacks and Third-Party Risks

Supply chain attacks remain a significant threat, with attackers compromising popular libraries, SDKs, or build pipelines to distribute malicious code. The OWASP Mobile Top 10 2024 now explicitly includes "Inadequate Supply Chain Security" (M2) [33][61], highlighting the critical need for thorough vetting and monitoring of third-party dependencies. Compromised SDKs can grant attackers access to sensitive data and introduce vulnerabilities into otherwise secure applications [9][44].

Privacy and Data Protection Evolving

With increased focus on data privacy regulations (GDPR, CCPA) and user expectations, mobile applications are facing greater scrutiny regarding data handling. Features like end-to-end encryption for iCloud backups [63], granular app permissions, and privacy dashboards on both iOS and Android are becoming standard [83][99]. However, insecure implementation of these features or inadequate sanitization of logs and error messages can still lead to privacy violations [33].

Where to Go Deeper

For practitioners looking to deepen their expertise in mobile application security, the following resources and areas of study are highly recommended:

Sources cited in this guide

  1. How a popular Android library silently exposed thousands of apps to Arbitrary File Overwrite (AFO). https://itis911.github.io/writeups/cropper-vulnerability.html — itis911.github.io
  2. Android Intent Redirection: A Hacker's Gateway to Internal Components — medium.com
  3. Unsafe use of deep links - Android Developers Security — developer.android.com
  4. Mobile OAuth Attacks - iOS URL Scheme Hijacking Revamped — evanconnelly.github.io
  5. Android vs iOS Security Comparison — aglowiditsolutions.com
  6. Agentic Browser Security: 2025 Year-End Review — wiz.io
  7. Google Blocks 2.36 Million Risky Android Apps from Play Store in 2024 — vocal.media
  8. SQL injection vulnerabilities in Owncloud Android app — securitylab.github.com
  9. Intent redirection vulnerability in third-party SDK exposed millions of Android wallets — microsoft.com
  10. Android Reports and Resources — github.com
  11. Exploiting Content Providers in Android Applications — redfoxsecurity.medium.com
  12. Android, SQL and ContentProviders - Why SQL injections aren't dead yet — blog.ostorlab.co
  13. iOS Universal Links - HackTricks — book.hacktricks.wiki
  14. Deep Linking Vulnerabilities - Application Security Cheat Sheet — 0xn3va.gitbook.io
  15. Android Pentest: Deep Link Exploitation — hackingarticles.in
  16. I Wasted 3 Days Intercepting a Flutter App. Here’s What Actually Works. — infosecwriteups.com
  17. Reversing Android Apps: Bypassing Detection Like a Pro — kayssel.com
  18. Android Keystore Pitfalls and Best Practices — stytch.com
  19. Mobile App Security Testing Guide 2026 — 42gears.com
  20. Understanding Mobile App Reverse Engineering: How Attackers Break Apps — iteratorshq.com
  21. Bypassing Certificate Pinning | OWASP MASTG — mas.owasp.org
  22. Account Takeover in Facebook mobile app due to usage of cryptographically unsecure random number generator and XSS in Facebook JS SDK — ysamm.com
  23. How to encrypt your Mac iPhone and iPad backups — appleinsider.com
  24. mobsfscan — github.com
  25. OWASP MASVS & MASTG: Mobile Security Guide (2026) — appsecsanta.com
  26. Reverse engineering and modifying Android apps with JADX and Frida — httptoolkit.com
  27. frida-interception-and-unpinning: Scripts to MitM all HTTPS traffic — github.com
  28. Bypassing Certificate Pinning Using Frida: A Step-by-Step Guide — approov.io
  29. Hail Frida!! The Universal SSL Pinning Bypass for Android — infosecwriteups.com
  30. Four Ways to Bypass Android SSL Verification and Certificate Pinning | NetSPI — netspi.com
  31. Defeating Android Certificate Pinning with Frida — httptoolkit.com
  32. Android security checklist: WebView - Oversecured Blog — blog.oversecured.com
  33. OWASP Mobile Top 10 and MobSF — tmasolutions.com
  34. Bypassing iOS Frida Detection with LLDB and Frida — tonygo.tech
  35. Frida's Impact on Mobile Security and How to Fight Back — medium.com
  36. iOS Reverse Engineering: Defeating Anti-Debug and Extracting Hidden Flag — dev.to
  37. Frida CodeShare: iOS Jailbreak Detection Bypass — codeshare.frida.re
  38. iOS Jailbreak Detection Bypass with Frida - Full Guide — corellium.com
  39. Frida - OWASP Mobile Application Security Tool — mas.owasp.org
  40. Grapefruit: Open-source mobile security testing suite — github.com
  41. Objection 2026: Runtime Mobile Exploration via Frida — appsecsanta.com
  42. iOS App Reverse Engineering: Tools & Tactics — corellium.com
  43. Mobile App Tampering and Reverse Engineering - OWASP MASTG — mas.owasp.org
  44. Mobile App Security Testing in 2026: Statistics and OWASP Threats — vervali.com
  45. MASTG-TEST-0070: Testing Universal Links — mas.owasp.org
  46. WebView addJavascriptInterface Remote Code Execution - WithSecure Labs — labs.withsecure.com
  47. Exploiting Insecure Android WebView with JavaScript Interface — medium.com
  48. From Browser to Breach: One-Click Android Deep Link Exploitation — medium.com
  49. A Comprehensive Guide to iOS Jailbreak Detection Bypass — appknox.com
  50. Bypassing iOS Security Suite: Jailbreak Detection Explained and Tested — appknox.com
  51. Zero-Day Vulnerabilities in Apple WebKit — CSA Singapore — csa.gov.sg
  52. Update Apple Devices: Actively Exploited CVE-2025-14174 & CVE-2025-43529 — helpnetsecurity.com
  53. DarkSword iOS Exploit Chain Adopted by Multiple Threat Actors - Google — cloud.google.com
  54. Inside DarkSword: A New iOS Exploit Kit - iVerify — iverify.io
  55. DarkSword iOS Exploit Kit: 6 Flaws and 3 Zero-Days for Full Takeover — thehackernews.com
  56. Hundreds of Millions of iPhones Can Be Hacked With a New Tool Found in the Wild — wired.com
  57. Apple: iPhone users should update software amid hacking campaigns — nbcnews.com
  58. A 0-click exploit chain for the Pixel 9 Part 1: Decoding Dolby - Project Zero — projectzero.google
  59. TrustFall: When the Trusted Execution Environment Cannot Be Trusted — blog.byteray.co.uk
  60. 38 Vulnerabilities Found in OpenEMR Medical Software — securityweek.com
  61. OWASP Mobile Top 10 — owasp.org
  62. 10 Mobile App Security Best Practices for 2026 — catdoes.com
  63. Enable End-to-End Encryption for Your iCloud Backups — macrumors.com
  64. Android Data Encryption in depth — blog.quarkslab.com
  65. Kimwolf v7: An Evolution of the Kimwolf Botnet — unit42.paloaltonetworks.com
  66. The Xcode Assassin Returns: A Deep Dive Into the Latest XCSSET Version — unit42.paloaltonetworks.com
  67. iOS 18 Quick Tips; Security Edition — scotthelme.co.uk
  68. Mobile Security Framework - MobSF Documentation — mobsf.github.io
  69. MobSF: Mobile Security Framework (GitHub) — github.com
  70. Awesome Android Reverse Engineering: Curated List — github.com
  71. iOS Penetration Testing: Definition, Process and Tools — thecyphere.com
  72. A Comprehensive Guide to iOS Penetration Testing — getastra.com
  73. Mobile Application Penetration Testing: iOS and Android — atlantsecurity.com
  74. OWASP Mobile Top 10 2024: A Security Guide — getastra.com
  75. OWASP Mobile Top 10 (2024) — Bug Bounty Hunter's Guide — medium.com
  76. Independent Audits of Our iOS and Android Apps — expressvpn.com
  77. Vxcon2024 workshop — zerodayengineering.com
  78. The Mac Malware of 2024 👾 — objective-see.org
  79. Hacking Android and IOT Apps by Example - DEF CON Training LV 2026 — training.defcon.org
  80. OWASP MASTG Testing Guide — mas.owasp.org
  81. iOS Security Testing - OWASP MASTG — mas.owasp.org
  82. Advanced Android Hacking Course — mobilehackinglab.com
  83. 2025 Phone Security Guide: Android vs iOS — vertu.com
  84. NowSecure Launches AI Data Partner Program to Expand Mobile Application Risk Intelligence for Security Platforms — manilatimes.net
  85. Five important iOS 17 security features coming to your iPhone this month — 9to5mac.com
  86. Mobile Security Testing Challenges: 2025-2026 Outlook — corellium.com
  87. Writing an iOS Kernel Exploit from Scratch — secfault-security.com
  88. Critical Android vulnerability CVE-2026-0073 fixed by Google — securityaffairs.com
  89. Critical Remote Code Execution Vulnerability Patched in Android — oodaloop.com
  90. Google Update: Android Flaw Could Put Billions of Devices at Risk — techrepublic.com
  91. Android Zero-Click RCE Vulnerability Enables Remote Shell Access — esecurityplanet.com
  92. Google Confirms Critical Android 0-Click VulnerabilityUpdate Now — forbes.com
  93. Critical Remote Code Execution Vulnerability Patched in Android — securityweek.com
  94. Android Security Bulletin - March 2026 — source.android.com
  95. Android Security Bulletin - April 2026 — source.android.com
  96. December 2025 Android Security Bulletin: Two Zero-Day Flaws Exploited — socradar.io
  97. Android Security Bulletin - December 2025 — source.android.com
  98. iOS vs Android Security: Which Is More Secure? — qualysec.com
  99. Mobile App Security Trends: Safeguarding User Data in a Digital World — vocal.media
  100. OWASP Mobile Application Security (MAS) — mas.owasp.org
  101. A 0-click exploit chain for the Pixel 10: When a Door Closes, a Window Opens — projectzero.google
  102. Why Protocol Matters: Evil PWA Attack on Casdoor — blog.slonser.info
  103. Reversing of Eufy Security Video Doorbell sync protocol and wifi creds decryption from flash memory — adepts.of0x.cc
  104. LANDFALL: New Commercial-Grade Android Spyware (CVE-2025-21042) — unit42.paloaltonetworks.com
  105. Exploiting Android Fingerprint Authentication — medium.com
  106. From an Android Hook to RCE: $5000 Bounty — blog.voorivex.team
  107. Is the Android Lock Screen an Illusion? A Critical Logical Bypass Discovered in the Gemini App — infosecwriteups.com
📚 This guide is synthesized from the full text of resources curated in the Mobile library, and refreshed as new material is added.