Search arXiv⌕ Search

arXiv · 2612.05449

NASReplayLab: An Experimental Analysis of Downlink NAS Replay Protection in the srsRAN 4G UE

Abstract

Once NAS security is active, LTE signalling between a device (UE) and the Mobility Management Entity (MME) is integrity protected, and the receiver should accept each NAS COUNT value only once. We tested whether srsUE, the UE in the open-source srsRAN 4G stack, enforces this for downlink messages. We ran srsUE, srsENB and srsEPC over ZeroMQ loopback on one host, added logging to the UE's NAS receive path that records delivery, integrity verification, dispatch and drops, and modified the EPC to resend recorded NAS messages. We compared four cases: a normal attach, a repeated plaintext Authentication Request before security, a repeated integrity-protected EMM Information in the same session, and an EMM Information from one session sent into another. The UE rejected the message from the other session but accepted the repeated protected message: both copies passed the integrity check, the handler ran twice, and the stored receive COUNT went from 3 back to 2. The cause is in nas_base::integrity_check, which builds the COUNT from the received sequence number and stores it after any MAC match without checking that it is newer than COUNT values already accepted. The same root cause was reported for srsUE's 5G NAS in a public srsRAN issue; because the 4G and 5G NAS classes share this function, our results independently confirm it on the 4G EPS path, with packet-level evidence and a cross-context control. Source inspection shows the same code on the current master branch. Each case was run once with null ciphering, and EMM Information does not change registration state.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Saad Kabir Uddin, Raihan Islam Arnob. 2026-12-03. NASReplayLab: An Experimental Analysis of Downlink NAS Replay Protection in the srsRAN 4G UE. https://searcharxiv.org/abs/2612.05449

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)

Distributed Denial of Service (DDoS) attacks remain a persistent threat to the availability of Internet services, edge networks, and cyber-physical infrastructure. Although recent AI-security work has increasingly focused on foundation models, autonomous agents, and adversarial robustness, many operational defense tasks still require low-latency classification close to the network edge, where cloud-scale analysis may be too slow or expensive. This paper presents a lightweight supervised deep learning approach for DDoS detection using a convolutional neural network (CNN) trained on packet-flow representations derived from the CIC-DDoS2019 benchmark dataset. The proposed pipeline extracts packet flows from PCAP traffic, normalizes them to fixed-length representations, and classifies each flow as benign or malicious using a compact CNN architecture with convolution, dropout, pooling, and sigmoid classification layers. On a held-out test set of previously unseen flows, the model achieves 0.9883 accuracy, 0.9864 precision, 0.9784 recall, and 0.9824 F1 score, while processing the evaluated test flows in 0.28 seconds. These results suggest that compact neural models can provide useful early-warning signals for edge-oriented DDoS detection. We further discuss deployment constraints, benchmark limitations, and future directions for cross-dataset evaluation, hardware-aware profiling, and integration with mitigation pipelines.

cs.CR↗

LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution

LLMs are increasingly explored for malware analysis; however, current LLM-based malware attribution remains limited by unsupported indicators and insufficient code-level grounding for identifying malicious and vulnerable code segments. To address these limitations, this research introduces LCC-LLM, a code-centric benchmark dataset and evidence-grounded framework for malware attribution and multi-task static malware analysis. The proposed LCCD dataset contains approximately 34K PE samples processed through a large-scale reverse-engineering pipeline and represented using decompiled C code, assembly code, CFG/FCG artifacts, hexadecimal data, PE metadata, suspicious API evidence, and structural features. Beyond dataset construction, LCC-LLM integrates LangGraph-orchestrated static analysis with multi-source cybersecurity knowledge to support evidence-grounded malware reasoning. The framework employs a seven-layer retrieval-augmented generation pipeline, CoVe for IoC validation, and a multi-dimensional quality gate to improve factual reliability and analyst-oriented decision support. Curriculum-ordered instruction data is used to fine-tune DeepSeek-R1-Distill-Qwen-14B and Qwen3-Coder-30B-A3B using QLoRA. Evaluation across 43 malware-analysis task types achieves an average semantic similarity of 0.634, with the highest task-level performance in structured report generation, IoC extraction, vulnerability assessment, malware configuration extraction, and malware class detection. In a real-world case study using MalwareBazaar samples, the grounded pipeline achieves a 10/10 structured analysis pass rate, producing CFG/FCG evidence, MITRE ATT&CK mappings, detection guidance, and analyst-ready reports. These results show that code-centric representations, retrieval grounding, and verification-guided reasoning improve the reliability and operational usefulness of LLM-assisted malware attribution.

cs.CR↗

PromptPET: Prompt Obfuscation Against Profiling by AI Agents

Privacy is an important challenge when users interact with AI agents, since users share sensitive information, explicitly or implicitly, and AI agents provider can use this information for user profiling. In this paper, we aim to protect user privacy via a user-side approach that obfuscates sensitive information in a user prompt before it is sent, while preserving enough information to elicit a useful response from the chatbot. This approach faces an inherent tradeoff: what an AI agent needs to produce a personalized and detailed response is largely what it uses to profile the user. To that end, we consider, evaluate, and compare four different obfuscation actions, namely redact, abstract, replace, and a novel decoy that we introduce, which keeps the true information, hides it among plausible alternatives that the online AI agent answers separately, and retains only the answer to the true one. First, we systematically evaluate each obfuscation action independently in terms of the privacy-utility tradeoff it achieves. Second, we propose PromptPET, which follows a decision rule set to select an obfuscation action for each sensitive unit based on the unit context. The rule set is searched by an LLM-based optimizer that iteratively proposes and refines rules based on their measured privacy and utility. On real user queries, PromptPET delivers 3.3x more privacy per unit of utility cost than the strongest prior approach and reaches 1.4x higher privacy. Its advantage holds at the user level, where the provider accumulates a profile across all of a user queries.

cs.CR↗