ComputingComputer EngineeringComputer ScienceComputer SecurityEmbedded SystemsMobile SecurityCellular Network SecurityEmbedded SecurityEmbedded System SecurityFuzz TestingMobile Device SecurityMobile Network SecurityBase Station SecurityBuffer OverflowsHeap-based Buffer OverflowsMobile Threat DefenseRehostingSecurity TestingSoftware Security TestingStealthy Attacks
Rogue base stations are an effective attack vector. Cellular basebands represent a critical part of the smartphone's security: they parse large amounts of data even before authentication. They can, therefore, grant an attacker a very stealthy way to gather information about calls placed and even to escalate to the main operating system, over-the-air. In this paper, we discuss a novel cellular fuzzing framework that aims to help security researchers find critical bugs in cellular basebands and similar embedded systems. BaseSAFE allows partial rehosting of cellular basebands for fast instrumented fuzzing off-device, even for closed-source firmware blobs. BaseSAFE's sanitizing drop-in allocator, enables spotting heap-based buffer-overflows quickly. Using our proof-of-concept harness, we fuzzed various parsers of the Nucleus RTOS-based MediaTek cellular baseband that are accessible from rogue base stations. The emulator instrumentation is highly optimized, reaching hundreds of executions per second on each core for our complex test case, around 15k test-cases per second in total. Furthermore, we discuss attack vectors for baseband modems. To the best of our knowledge, this is the first use of emulation-based fuzzing for security testing of commercial cellular basebands. Most of the tooling and approaches of BaseSAFE are also applicable for other low-level kernels and firmware. Using BaseSAFE, we were able to find memory corruptions including heap out-of-bounds writes using our proof-of-concept fuzzing harness in the MediaTek cellular baseband. BaseSAFE, the harness, and a large collection of LTE signaling message test cases will be released open-source upon publication of this paper.
13
LTEInspector: A Systematic Approach for Adversarial Testing of 4G LTE
Syed Rafiul Hussain, Omar Chowdhury, Shagufta Mehnaz et al. · 2018 · 207 citations · Full text
What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
Marius Muench, Jan Stijohann, Frank Kargl et al. · 2018 · 197 citations · Full text
kAFL: Hardware-Assisted Feedback Fuzzing for {OS} Kernels
Sergej Schumilo, Cornelius Aschermann, Robert Gawlik et al. · USENIX Security Symposium · 2017 · 175 citations
Syed Rafiul Hussain, Mitziu Echeverria, Imtiaz Karim et al. · 2019 · 139 citations · Full text
Touching the Untouchables: Dynamic Security Analysis of the LTE Control Plane
Hongil Kim, Jiho Lee, Eun‐Kyu Lee et al. · 2019 · 126 citations · Full text