BaseMirror:从安卓无线电接口层自动逆向工程基带命令
BaseMirror: Automatic Reverse Engineering of Baseband Commands from Android's Radio Interface Layer
AI总结:
本文提出BaseMirror工具,通过静态分析安卓RIL二进制文件自动逆向基带命令,在三星Exynos设备上发现873条未公开命令及8个零日漏洞。
摘要:
在现代移动设备中,基带是运行在蜂窝处理器之上的核心组件,负责处理关键的无线电通信。然而,近期研究揭示了这些基带中存在重大漏洞,带来了诸如远程代码执行等严重安全风险。尽管如此,有效审查基带仍然是一项艰巨的任务,因为它们运行的是闭源且专有的软件,并部署在供应商特定的芯片组上。现有分析方法受限于对手动流程和启发式方法的依赖,导致其可扩展性降低。本文提出了一种从独特视角揭示基带安全问题的新方法:从无线电接口层(RIL)这一与基带交互的硬件抽象层中,挖掘供应商特定的基带命令。为验证这一概念,我们设计并开发了BaseMirror,这是一种静态二进制分析工具,用于从供应商特定的RIL二进制文件中自动逆向工程基带命令。它利用双向污点分析算法,在经重建的虚拟函数调用增强的控制流图上,精准识别基带命令。我们的方法已应用于28个供应商RIL库,涵盖市场上广泛的三星Exynos智能手机型号。值得注意的是,BaseMirror发现了873条未公开的独特基带命令。基于这些结果,我们开发了一个自动化攻击发现框架,成功推导并验证了8个零日漏洞,这些漏洞可在三星Galaxy A53设备上触发蜂窝服务拒绝和任意文件访问。这些发现已报告给三星并得到确认,我们因此获得了漏洞赏金。
英文摘要:
In modern mobile devices, baseband is an integral component running on top of cellular processors to handle crucial radio communications. However, recent research reveals significant vulnerabilities in these basebands, posing serious security risks like remote code execution. Yet, effectively scrutinizing basebands remains a daunting task, as they run closed-source and proprietary software on vendor-specific chipsets. Existing analysis methods are limited by their dependence on manual processes and heuristic approaches, reducing their scalability. This paper introduces a novel approach to unveil security issues in basebands from a unique perspective: to uncover vendor-specific baseband commands from the Radio Interface Layer (RIL), a hardware abstraction layer interfacing with basebands. To demonstrate this concept, we have designed and developed BaseMirror, a static binary analysis tool to automatically reverse engineer baseband commands from vendor-specific RIL binaries. It utilizes a bidirectional taint analysis algorithm to adeptly identify baseband commands from an enhanced control flow graph enriched with reconstructed virtual function calls. Our methodology has been applied to 28 vendor RIL libraries, encompassing a wide range of Samsung Exynos smartphone models on the market. Remarkably, BaseMirror has uncovered 873 unique baseband commands undisclosed to the public. Based on these results, we develop an automated attack discovery framework to successfully derive and validate 8 zero-day vulnerabilities that trigger denial of cellular service and arbitrary file access on a Samsung Galaxy A53 device. These findings have been reported and confirmed by Samsung and a bug bounty was awarded to us.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。