Baseband Exploitation Modern Smartphones

AUTHOR:
UPDATED:
5 MIN READ

title: "Baseband Exploitation in Modern Smartphones" description: "TelcoSec research on smartphone baseband exploitation: attack surfaces, Shannon/MediaTek firmware analysis, OTA fuzzing methods, and zero-click vulnerabilities." date: "2024-03-04" lastModified: "2026-05-15" author: "Ruben F. Silva" authorName: "TelcoSec Research" category: "MOBILE_SECURITY" severity: "CRITICAL" image: "/images/articles/baseband-exploitation-hero.webp" imageAlt: "Baseband Exploitation - Smartphone Modem Security Analysis" readingTime: 22

The baseband processor — the modem chip that handles all cellular communication — is arguably the most security-critical component in any smartphone. It operates below the application processor (AP), runs its own Real-Time Operating System (RTOS) with full access to the radio hardware, and processes untrusted over-the-air (OTA) messages before any authentication occurs. A vulnerability in the baseband grants an attacker full control of the modem, enabling silent call interception, location tracking, and in many cases, escalation to the application processor and the Android/iOS operating system itself.

This makes baseband exploitation the holy grail of mobile offensive security: a single vulnerability can enable a zero-click, zero-interaction remote code execution attack against any device within radio range. No phishing link, no user action — just a crafted radio message.

CLASSIFIED
// CONTENT UPGRADE AVAILABLE

RESOURCES: Baseband Attack Surface Map

Download the complete baseband vulnerability taxonomy and fuzzing framework reference for Samsung Shannon, Qualcomm, and MediaTek chipsets (PDF).

CRITICAL RISK
INTEL // L-2

Baseband vulnerabilities represent the most critical class of mobile security flaws. They are reachable over-the-air without user interaction, execute in a privileged context with direct hardware access, and often bypass all application-layer security measures. Unlike application vulnerabilities that require user interaction, baseband bugs are exploitable by anyone with a IMSI catchers within radio range.

KEY TAKEAWAYS:
  • Zero-click, over-the-air exploitation — no user interaction required
  • Pre-authentication attack surface: NAS, RRC, and paging messages processed before security mode
  • Samsung Shannon, Qualcomm, and MediaTek basebands are prime research targets
  • Private lab infrastructure is essential for safe OTA fuzzing
  • Baseband-to-AP escalation can compromise the entire device

I. Baseband Architecture: The Hidden Computer Inside Your Phone

Every smartphone contains two processors: the Application Processor (AP) running Android/iOS, and the Baseband Processor (BP) running a proprietary Real-Time Operating System (RTOS) that handles all cellular protocol processing. These two processors share a communication channel (typically shared memory or a PCIe bus) but run completely independent software stacks.

Critical Security Boundary
The baseband processor handles all protocol parsing for untrusted over-the-air messages. It processes NAS (Non-Access Stratum), RRC (Radio Resource Control), and lower-layer radio messages — many of which arrive BEFORE mutual authentication is established. This means the baseband must parse attacker-controlled data in an unauthenticated context, creating a vast pre-authentication attack surface.

Major Baseband Platforms

VendorChipset FamilyRTOSDevicesResearch Accessibility
SamsungShannon (Exynos Modem)Samsung Proprietary RTOSSamsung Galaxy (Exynos variants), Google Pixel 6/7/8High — most researched, ASAN support available
QualcommSnapdragon Modem (X55/X65/X75)QuRT (Qualcomm RTOS)Most Android flagships (Snapdragon variants), iPhones 12-15Medium — heavily obfuscated, some research published
MediaTekHelio/Dimensity ModemNucleus RTOSBudget-to-mid-range Android devicesMedium — growing research community
IntelXMM (discontinued)ThreadX RTOSiPhones 7-11High — well-documented post-discontinuation
HiSiliconBalongLiteOSHuawei devicesLow — restricted access

Vendor Architecture Deep-Dive

> Qualcomm MSM

Powers the majority of Android devices globally. Firmware extracted via QFIL or EDL mode. The QuRT RTOS uses a microkernel architecture with hardware-enforced memory isolation between tasks. However, the cellular protocol handlers share a flat memory space, making intra-modem lateral movement trivial after initial exploitation.

> Samsung Shannon

Used in Samsung Exynos-based Galaxy devices and Google Pixels. Notable for multiple RCE vulnerabilities discovered by Google Project Zero in 2023-2024. Samsung has since added ASAN (AddressSanitizer) to Shannon firmware builds, making it the first baseband with runtime memory safety instrumentation.

> MediaTek

Dominant in budget and mid-range devices across emerging markets. The Nucleus RTOS runs a monolithic architecture where all tasks share the same address space. Less publicly researched but equally susceptible to firmware vulnerabilities — and deployed on billions of devices worldwide.

The Pre-Authentication Attack Surface

The critical insight for baseband exploitation is that a significant portion of the cellular protocol stack must be processed before mutual authentication is established. When a UE (smartphone) encounters a new cell, the following messages are processed without any cryptographic protection:

  1. MIB (Master Information Block): Broadcast on the Physical Broadcast Channel (PBCH) — contains basic system parameters
  2. SIB (System Information Blocks): Broadcast on the DL-SCH — contains cell configuration, PLMN identity, access control
  3. Paging Messages: Addressed to specific UEs to notify them of incoming calls/data — processed in idle mode
  4. RRC Setup/Reconfiguration: Initial RRC connection establishment — occurs before NAS security is activated
  5. NAS Identity Request: Pre-authentication identity queries (IMSI request in 4G, SUCI in 5G)
  6. NAS Authentication Request: The 5G-AKA challenge — malformed authentication vectors can trigger parsing bugs
  7. NAS Security Mode Command: Activates encryption/integrity — but the message itself is received before protection is active
  8. Tracking Area Update (TAU) Reject: Used to force devices off a network or into a different radio access technology
DIAGRAM::BASEBAND EXPLOIT CHAINAIR TO USER LAND
Malicious RRC SetupMODERN SMARTPHONE SoCBaseband CPUARM Cortex-R / RTOSHeap Overflow RCESHMEMApplication CPUARM Cortex-A / Android/iOSPrivilege Esc / Pivottelcosec.net

Pre-Authentication Message Flow
        UE (Baseband)                                    gNB/eNB
  |                                                |
  |<--- MIB (PBCH broadcast) ----------------------|  ← UNAUTHENTICATED
  |<--- SIB1-SIB9 (DL-SCH broadcast) -------------|  ← UNAUTHENTICATED
  |<--- Paging (if applicable) --------------------|  ← UNAUTHENTICATED
  |---- RRC Setup Request ---------------------->  |  ← UNAUTHENTICATED
  |<--- RRC Setup --------------------------------|  ← UNAUTHENTICATED
  |---- RRC Setup Complete (+ NAS Registration) ->|  ← UNAUTHENTICATED
  |<--- NAS Identity Request (optional) ----------|  ← UNAUTHENTICATED
  |---- NAS Identity Response ------------------->|  ← UNAUTHENTICATED
  |<--- NAS Authentication Request ---------------|  ← UNAUTHENTICATED
  |---- NAS Authentication Response ------------->|  ← UNAUTHENTICATED
  |<--- NAS Security Mode Command ---------------|  ← INTEGRITY PROTECTED
  |---- NAS Security Mode Complete -------------->|  ← ENCRYPTED + INTEGRITY
  |================================================|  ← ALL SUBSEQUENT = PROTECTED
      

WAS THIS ARTICLE HELPFUL?

Help us improve our developer education