Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 31

Understanding Radio-Based Tracking Attacks

Recommended resources

Introduction

Welcome back. In our last lesson, we focused on active attacks that capture a subscriber's permanent identity, the IMSI, by exploiting the pre-authentication phase of the LTE connection. This is a powerful method for tracking a subscriber.

But what if you could track a specific device over time, even if it changes its SIM card or you fail to capture its IMSI? This lesson will introduce a more subtle, yet powerful, method of tracking that relies on the unique characteristics of the device itself. We will address the learning outcome: Explain the concept of radio capability-based tracking attacks.

We will explore how the very features that make a smartphone "smart"—its supported frequency bands, data speeds, and communication protocols—can be turned against it to create a persistent device fingerprint, allowing an attacker to track the physical device without ever needing to know the identity of its user.


1. What Are UE Capabilities?

Every mobile device, or User Equipment (UE), needs to inform the network about its technical abilities. Can it handle high-speed data? Does it support voice calls over LTE? Which frequency bands can it use? This information is bundled into UE Capability messages.

These capabilities are broadly divided into two categories:

  1. Core Network Capabilities: These relate to non-radio functions, such as supported security algorithms and session management features. They are typically included in the initial Attach Request message.
  2. Radio Access Capabilities: This is the core of today's lesson. This information details the radio-specific features of the UE's modem (the baseband chipset). It's a highly detailed list including supported frequency bands, maximum data rates (UE Category), and complex combinations of technologies.

To function correctly, the base station (eNodeB) must ask the UE for its radio capabilities. This is done via a UE Capability Enquiry message, to which the UE responds with its UE Capability Information.

UE Capabilities Message and Signaling Overview in 4G/5G Networks
This diagram shows the signaling flow for retrieving UE capabilities. After an initial Attach Request, the network can send a `UE Capability Enquiry`. The UE responds with its detailed `UE Capability Information`, which includes its radio capabilities. Crucially, this exchange can happen before security is fully enabled.

The following short reading explains the role of these capabilities and highlights the vulnerability we are about to exploit.

Exploit Vulnerabilities in 4G and 5G Cellular Access Network

The paper 'Exploit Vulnerabilities in 4G and 5G Cellular Access Network' introduces the concept of UE capabilities and the vulnerabilities associated with how they are transmitted. This will provide the foundation for understanding the attack.

Please read two brief sections from this paper: Section 3, 'UE Capabilities': Focus on understanding the distinction between core network and radio access capabilities. Section 4.2, 'Vulnerabilities': Read the description of vulnerability (V1). This is the key insight: UE capabilities can be obtained by an adversary without authentication.


2. Fingerprinting a Device: The MNmap Attack

As the paper states, the fact that capabilities are exchanged before security is fully established creates a vulnerability. The set of radio capabilities is determined by the phone's manufacturer, its specific model, and the baseband modem it uses. This combination is often so specific that it can serve as a unique fingerprint for the device.

For example, an iPhone 14 Pro supports a different set of 5G band combinations than a Samsung Galaxy S23 Ultra. Even two phones with the same modem might report different capabilities due to manufacturer customizations. This uniqueness is what allows for a device-type identification attack.

NRUE-MRDC-Capability Structure
This image illustrates the complexity and detailed nature of a UE's radio capabilities report, focusing on how LTE and 5G band combinations are structured. This level of detail is what makes a device's capability set a unique fingerprint.

A well-documented attack that leverages this is called Mobile Network Mapping (MNmap). An active attacker with a rogue base station can use it to build a map of devices in the area based on their hardware fingerprints.

Here is the attack flow:

  1. Rogue eNodeB: The attacker sets up a rogue base station, just like in an IMSI catcher attack.
  2. Capability Enquiry: When a victim device attempts to connect (e.g., via a Tracking Area Update), the attacker's rogue base station sends a UE Capability Enquiry message.
  3. Capture Fingerprint: The UE, following standard protocol, dutifully responds with its UE Capability Information. This message contains the device's unique radio fingerprint, which the attacker captures.
  4. Release: The attacker can then release the device, which will connect back to a legitimate network, often without the user noticing.

The following reading describes this attack in detail.

Exploit Vulnerabilities in 4G and 5G Cellular Access Network

Let's return to the same paper, which describes the MNmap attack in detail. This section explains how an active adversary can execute the attack and its implications for tracking.

Please read Section 5.2, 'Mobile Network Mapping (MNmap)'. Pay close attention to how the adversary uses a rogue eNodeB to obtain the capabilities and the final paragraph, which explicitly states that these fingerprints can be used for subscriber tracking, even in 5G.

The key takeaway is that by matching these captured fingerprints over time, an attacker can track a physical device's movement across different locations, even if that device changes its temporary network identifiers (TMSI/GUTI).


3. Advanced Tracking with Radio Parameters

Fingerprinting is not the only way to use radio information for tracking. More advanced, stealthy attacks can use other unencrypted radio control messages to pinpoint a user's physical location passively. A state-of-the-art example of this is the LTRACK attack.

LTRACK combines two passive techniques:

  1. Exploiting the Timing Advance (TA) Command:

    • To prevent uplink signals from multiple UEs from colliding, the eNodeB measures the signal propagation delay from a UE and tells it to adjust its transmission timing. This correction is sent in an unencrypted Timing Advance Command.
    • The TA value is directly proportional to the distance between the UE and the eNodeB.
    • A passive sniffer can read this command and determine the UE's distance from the cell tower, placing it on a ring around the tower.
  2. Using Time Difference of Arrival (TDoA):

    • The attacker also uses their sniffer to measure the arrival time of the UE's uplink signal.
    • By calculating the difference in arrival time between the signal reaching the legitimate eNodeB and the attacker's sniffer, the attacker can place the UE on a hyperbola (or an ellipse, as described in the paper).

By intersecting the ring from the Timing Advance and the ellipse from the TDoA, the attacker can determine the UE's location with surprising accuracy (the paper reports an error of less than 6 meters).

The LTRACK paper is highly technical, but the core concepts are what matter for your understanding.

[PDF] LTRACK: Stealthy Tracking of Mobile Phones in LTE - USENIX

The paper 'LTRACK: Stealthy Tracking of Mobile Phones in LTE' demonstrates a sophisticated passive tracking attack. We will focus on the sections that explain the main ideas without getting lost in the mathematics.

Please read the following sections to understand the concepts: Section 4, 'Passive Localization Attack' (first two paragraphs): This introduces the concept of using the Timing Advance Command and times of arrival for localization. Section 4.1, 'Timing Advance Command': This explains what the TA command is and how it relates to distance. Section 4.3, 'Localization': Read the first and last paragraphs. This explains how intersecting a 'ring' (from TA) and an 'ellipsis' (from time of arrival) pinpoints the location. Section 4.4, 'Passive Fingerprinting Attack': This is a crucial tie-in. It explains how LTRACK also uses capability fingerprinting (similar to MNmap) to identify the phone model, which helps correct for hardware timing errors and makes the location tracking even more precise.

LTRACK demonstrates that by cleverly combining different pieces of unencrypted radio information, an attacker can achieve highly effective and stealthy tracking without ever needing to impersonate a network or request an IMSI.


Conclusion

In this lesson, we explored a different dimension of tracking in LTE networks. Instead of focusing on the subscriber's identity (IMSI), we learned how to target the physical device itself using its radio characteristics.

Key Takeaways:

  • A UE's radio capabilities form a complex and often unique set of features that can be used as a device fingerprint.
  • Attacks like MNmap use a rogue base station to actively query for these capabilities before security is established, allowing an attacker to identify and track specific device models.
  • This fingerprint allows for persistent tracking of a device even if its temporary identifiers (like TMSI) change.
  • More advanced passive attacks like LTRACK can use other unencrypted radio parameters, such as the Timing Advance Command, to stealthily calculate a device's physical location with high precision.
  • Capability-based fingerprinting and location tracking can be combined to create a powerful system for monitoring devices.

Preview of the Next Lesson:

So far, we have focused on attacks that compromise privacy through tracking and identification. In the next lesson, we will pivot to attacks that compromise integrity. We will describe user-plane manipulation attacks, such as the aLTEr attack for DNS spoofing, and understand how an attacker can move from simply watching traffic to actively modifying it.