The Security Overview and Analysis of 3GPP 5G MAC CE

Jin Cao, Yuanyuan Yang, Ruhui Ma, Sheng Li, Hui LiarXiv 2025 · DOI · arXiv

Introduction

While 5G is often heralded as the most secure cellular generation, recent analysis reveals a critical security "blind spot" within the Medium Access Control (MAC) layer. Specifically, MAC Control Elements (CEs)—the low-level signaling messages responsible for dynamic resource allocation and timing—operate below the Packet Data Convergence Protocol (PDCP) layer. Consequently, they lack the encryption and integrity protection standard in higher layers, leaving them vulnerable to location tracking, behavioral profiling, and denial-of-service (DoS) attacks.

The MAC Layer Security Gap

In the 5G New Radio (NR) protocol stack, MAC CEs serve as the "fast-twitch" muscles of the network, managing sub-millisecond tasks such as timing adjustments and power control. To meet the stringent latency requirements of Ultra-Reliable Low-Latency Communication (URLLC), these messages were designed without cryptographic overhead. However, as 5G has evolved through Release 18, the number of MAC CE types has expanded to over 50, significantly increasing the unprotected attack surface.

Structure of a 5G MAC PDU illustrating the multiplexing of MAC CEs and SDUs.

As illustrated in the MAC PDU structure, MAC CEs are encapsulated within subPDUs. Because these reside below the PDCP protection layer, an attacker utilizing a "fake base station" or a high-end radio sniffer can intercept these messages in plaintext.

Methodology

This analysis is based on a systematic security audit of the 3GPP TS 38.321 specification (version V18.5.0). The research involved mapping vulnerabilities within bit-level protocol structures, modeling attack vectors for both information leakage and active tampering, and performing correlation analysis to demonstrate how multi-dimensional data leakage can compromise user privacy.

Vulnerability Analysis and Attack Modeling

The study identifies several high-risk fields within MAC CEs that can be exploited:

1. High-Precision Location Tracking

By correlating multiple plaintext fields, an attacker can perform real-time triangulation. The C-RNTI (Cell Radio Network Temporary Identifier) provides a unique user ID within a cell, while the Timing Advance (TA) Command specifies the device's distance from the tower.

Bit-level structures of the C-RNTI and Timing Advance (TA) Report MAC Control Elements.

When combined with the Serving Cell ID and beam direction (SSB Index), these fields allow an attacker to pinpoint a user's exact geographical coordinates with high precision.

2. Behavioral Fingerprinting

Monitoring Logical Channel Group (LCG) IDs allows for traffic profiling. Since different LCGs map to specific traffic types (e.g., high-priority video vs. background IoT updates), an attacker can infer user activity even when the underlying data is encrypted.

3. Cascading Denial-of-Service

Active tampering with the TA value can lead to total service termination. Injecting a malicious TA command causes the device's uplink signals to arrive at the base station at the incorrect time, resulting in desynchronization and a highly efficient DoS attack.

Proposed Differentiated Security Framework

To mitigate these risks while preserving low latency, a "Differentiated Security Framework" is proposed, categorizing MAC CEs into four protection levels:

  • M1 (Plaintext): For low-risk, high-speed tasks (e.g., Buffer Status Reports).
  • M2 (Integrity): Adds dynamic verification to prevent tampering.
  • M3 (Encryption): Utilizes AES-256 for privacy-sensitive fields.
  • M4 (Hybrid): Combines encryption and integrity for the most critical identifiers.

Conclusion

The expansion of MAC CEs has outpaced the evolution of 5G security standards. While the proposed M1-M4 framework offers a robust defense, its implementation requires balancing security with the strict timing constraints of 5G. Future efforts should focus on hardware acceleration and the integration of these recommendations into upcoming 3GPP releases to ensure a holistic defense across the protocol stack.

Summary updated

BibTeX
@misc{cao2025security,
  author = {Jin Cao and Yuanyuan Yang and Ruhui Ma and Sheng Li and Hui Li},
  title = {{The Security Overview and Analysis of 3GPP 5G MAC CE}},
  year = {2025},
  eprint = {2506.09502},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.09502},
}
Figure