FirmCred: Detecting Authentication Bypass Vulnerabilities in Firmware from Credential Initialization Perspective
Ziqi Wei, Haoyu Xiao, Yuan Zhang, Chi Chen, Jiarun Dai
Abstract
The widespread deployment of embedded devices has heightened their exposure to remote attacks, often due to the authentication bypass vulnerabilities caused by the use of weak credentials (UoWCs). Existing detection approaches explore three directions: solving concrete credentials as proof, scanning white-listed file contents, or testing with known credentials. However, solving-based approaches are limited by defects of solving techniques; scanning-based approaches overlook unlisted scanning targets; and testing-based approaches fail to discover unknown weak credentials. These limitations cause many UoWC vulnerabilities in firmware to remain undetected. To address this problem, our insight is that weak firmware credentials fundamentally arise from insecure initialization procedures, and thus can be effectively uncovered by analyzing how credentials are initialized. Leveraging this insight, we present FirmCred, a novel static analysis framework that detects UoWC vulnerabilities in firmware. FirmCred operates in three stages: first, it automatically identifies credential validation sites; second, it identifies validated credentials and constructs the credential initialization expression across firmware components; finally, it infers the deducibility of the initialized credentials. We evaluated FirmCred on 377 firmware images, where it identified 92 previously unknown UoWC vulnerabilities, achieving 63.5% higher recall than state-of-the-art approaches. To date, 25 vulnerability IDs have been assigned to these findings.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Through the Authentication Maze: Detecting Authentication Bypass Vulnerabilities in Firmware BinariesNanyu Zhong, Yuekang Li, Yanyan Zou, Jiaxu Zhao et al.NDSS 2026
- FirmSolo: Enabling dynamic analysis of binary Linux-based IoT kernel modulesIoannis Angelakopoulos, Gianluca Stringhini, Manuel EgeleUSENIX Security 2023
- Accurate and Efficient Recurring Vulnerability Detection for IoT FirmwareHaoyu Xiao, Yuan Zhang, Minghang Shen, Chaoyang Lin et al.CCS 2024 · 5 citations
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 citations
- FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic ExecutionGrant Hernandez, Farhaan Fowze, Dave (Jing) Tian, Tuba Yavuz et al.CCS 2017 · 98 citations
