<scp>FirmState:</scp> Bringing Cellular Protocol States to Shannon Baseband Emulation
Cellular baseband processors represent critical security components in modern mobile devices, yet they remain challenging to analyze due to their complexity and restricted access. Recent advances in baseband research introduced FirmWire, the state-of-the-art emulator enabling full-system baseband emulation with extensive features debugging capabilities. However, it lacks protocol state awareness, significantly limiting its coverage and fidenlity. While implementing such support demands substantial engineering effort, accurately modeling protocol states remains essential for comprehensive baseband security analysis. In this paper, we present FirmState, a state-aware methodology that augments baseband emulation, specifically targeting Samsung Shannon baseband. FirmState semi-automatically recovers and applies state information extracted from physical devices during actual network communication, enabling more complete code coverage and authentic behavior reproduction without extensive reverse engineering. Our evaluation demonstrates a significant improvement in code coverage, achieving 7.5% for RRC--2.7× higher than previous work. Additionally, our system newly supports NAS over FirmWire, with code coverage ranging from 4.5% to 9.2%, depending on the protocol state. Using our approach, we discovered and analyzed two 1-day vulnerabilities in Samsung's baseband implementation, demonstrating FirmState's effectiveness for baseband security. We make FirmState open-source to support further research in baseband security.
Authors
- CheolJun Park (ORCID: https://orcid.org/0009-0009-5102-2190)
- Insu Yun (ORCID: https://orcid.org/0000-0001-8931-2833)
- Yongdae Kim (ORCID: https://orcid.org/0000-0003-4879-1262)
- Beomseok Oh (ORCID: https://orcid.org/0009-0009-0692-0899)
- Keunyeong Kim (ORCID: https://orcid.org/0009-0009-1121-733X)
- Suhwan Jeong
Institutions
- Korea Advanced Institute of Science and Technology (KR)
- Kyung Hee University (KR)
Publication Details
- Published
- 2025-06-27
- DOI
- https://doi.org/10.1145/3734477.3734726
- Citations
- 1
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 1.49