EvoPatch-IoT: Evolution-Aware Cross-Architecture Vulnerability Retrieval and Patch-State Profiling for BusyBox-Based IoT Firmware
Yinhao Xiao, Huixi Li, Yongluo Shen · 2026
Read EvoPatch-IoT: Evolution-Aware Cross-Architecture Vulnerability Retrieval and Patch-State Profiling for BusyBox-Based IoT Firmware by Yinhao Xiao, Huixi Li, Yongluo Shen (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-19496.txt.
Introduction
Xiao, Li, and Shen propose EvoPatch-IoT, a retrieval framework for stripped BusyBox firmware binaries across architectures. BusyBox is widely reused in Linux-based Internet-of-Things firmware. Security assessment stays hard because images are stripped and vendor patch practices vary. EvoPatch-IoT combines anonymous instruction features, graph statistics, geometric priors, and historical prototypes to find vulnerable functions without symbols or version strings. The work targets a part found in countless home and factory devices. Its tests need no source code and no version labels.
Catalog record
| CREATOR | Yinhao Xiao, Huixi Li, Yongluo Shen |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 53345 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.19496
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
EvoPatch-IoT: Evolution-Aware Cross-Architecture Vulnerability Retrieval and Patch-State Profiling for BusyBox-Based IoT Firmware Yinhao Xiao, Huixi Li, Yongluo Shen Abstract BusyBox is one of the most widely reused userland components in Linux-based Internet-of-Things (IoT) firmware, yet its security assessment remains difficult because firmware images are frequently stripped, vendor patch practices are inconsistent, and the same source component is compiled for heterogeneous architectures. We propose EvoPatch-IoT, an evolution-aware cross-architecture retrieval framework for stripped BusyBox firmware binaries. EvoPatch-IoT combines anonymous instruction/context features, graph-level statistics, per-binary geometric priors, and historical function prototypes to localize homologous and potentially vulnerable functions without relying on symbols, source paths, or version strings at test time. We further construct a large-scale BusyBox benchmark from 57 historical versions, 270 unstripped binaries, 285 stripped binaries, and 130 source releases, yielding 1,550,752 function-symbol rows, 1,290,369 analysis-function rows, and 155,845 high-confidence stripped-to-unstripped matches. On 57 fully covered versions and 1,020 directed architecture pairs, EvoPatch-IoT achieves a weighted Hit@1 of 34.56% and Hit@10 of 56.24%, outperforming the strongest baseline by 16.04% and 26.85%, respectively, and reducing the expected manual inspection space by 98.98%. The method is best on 56 of 57 versions and maintains consistent advantages on difficult architecture pairs. In addition, a version-change transfer study reaches a mean ROC-AUC of 0.9887, and a CVE-2021-42386 patch-state proxy obtains 82.44% mean accuracy and 88.47% mean F1 across held-out architectures. These results show that evolution-aware binary retrieval is a practical foundation for scalable IoT firmware vulnerability auditing. I Introduction Internet-of-Things (IoT) devices such as routers, cameras, gateways, and industrial edge nodes commonly embed Linux-based firmware that reuses open-source components for years after release. BusyBox is particularly important because it packages hundreds of shell and utility functionalities into a compact binary and is therefore routinely bundled into firmware images that must operate under tight resource budgets. As a result, a single BusyBox flaw can propagate across heterogeneous vendors, architectures, and deployment scenarios. The security auditing workflow, however, is far from straightforward. Real-world firmware images are usually distributed as stripped binaries, not source releases. Vendor firmware often omits trustworthy version identifiers, backports only part of an upstream patch, or combines a vulnerable BusyBox core with vendor-specific customization. In large-scale audits, analysts are therefore asked to answer three binary-centric questions at once: (i) which stripped function corresponds to a known upstream BusyBox routine, (ii) whether the target binary is closer to the vulnerable or patched lineage, and (iii) how much manual inspection can be eliminated before reverse engineering becomes necessary. Prior work has substantially advanced binary code similarity and firmware analysis, from self-attentive and transformer-based function embedding to semantics-oriented graphs, prompt-based supervision, and recurring-vulnerability mining [ 8 , 5 , 11 , 2 , 4 , 10 , 14 , 1 , 15 , 7 , 13 , 16 , 3 , 6 ] . Nevertheless, two gaps remain pronounced for IoT firmware. First, many techniques are optimized for cross-architecture similarity but not for version-evolution-aware vulnerability retrieval. Second, firmware-oriented methods often reason at the binary or service level, whereas auditors still need function-level evidence inside stripped components. This paper addresses the gap with EvoPatch-IoT , an evolution-aware retrieval framework centered on BusyBox-based IoT firmware. Rather than treating stripped firmware as an opaque whole, EvoPatch-IoT constructs anonymous multi-view function representations, aligns stripped functions to unstripped labels through a bidirectional geometric matching layer, and injects historical function prototypes to stabilize retrieval across versions. The resulting framework remains stripped-compatible at evaluation time while still exploiting the long-term evolution signal available in historical BusyBox releases. The paper is grounded in the project artifacts available in our workspace. We built a reproducible benchmark with 57 BusyBox versions, 270 unstripped binaries, and 285 stripped binaries across AArch64, ARM, MIPS, MIPSEL, and x86_64. Ghidra-based feature extraction recovers 1,879 to 3,614 anonymous functions per stripped binary, while our mutual matching layer establishes 155,845 high-confidence stripped-to-unstripped anchors. On top of this benchmark we evaluate 13 unified stripped-compatible methods under a shared protocol, including token, graph, multi-view, prototype, and IR-inspired families. The main contributions are as follows. • We compile and organize a cross-version BusyBox corpus spanning 57 releases and both stripped and unstripped binary views across five architectures. To the best of our knowledge, this is the only current BusyBox binary dataset that jointly exposes cross-version evolution and stripped/unstripped correspondence at this scale, and we release all the data and codes to support future research 1 1 1 https://github.com/xxxyyyzzz3984/EvoPatch-IoT . • We construct a BusyBox-based IoT firmware benchmark that jointly covers multi-version unstripped labels, multi-architecture stripped binaries, function-level statistics, historical source releases, and CVE-oriented case-study artifacts. • We design EvoPatch-IoT, a stripped-compatible retrieval framework that fuses per-binary geometric priors, architecture-normalized graph/context features, and historical evolution prototypes into a unified scoring function. • We provide explicit algorithms and mathematical formulations for anonymous alignment, multi-view feature fusion, and evolution-aware retrieval, making the workflow reproducible from raw binaries to ranked functions. • We report extensive experiments on 57 versions, 1,020 directed architecture pairs, and 128,084 evaluated query functions, showing consistent gains over 12 baseline families and useful behavior on a patch-state proxy and a CVE-2021-42386 AWK case study. II Related Work II-A Binary Function Representation and Similarity Binary similarity has evolved from structure-driven matching toward increasingly semantic representations. SAFE introduced self-attentive function embeddings for binary similarity [ 8 ] , PalmTree transferred masked language modeling ideas to assembly code [ 5 ] , and jTrans incorporated jump-aware positional modeling for binary functions [ 11 ] . These approaches established strong foundations, but they largely preceded the latest wave of stripped-compatible, architecture-robust retrieval work. Recent studies have pushed the state of the art toward richer supervision and more explicit cross-architecture reasoning. CLAP combines natural-language supervision with parameter-efficient prompts [ 2 ] . RCFG2Vec captures long-distance dependencies inside binary control flow [ 4 ] . Code Is Not Natural Language emphasizes semantics-oriented graph representation [ 10 ] , while StrTune couples data-dependence slicing and contrastive learning [ 14 ] . Binary2vec, Ex2Vec, and UniASM further explore global-attention graph embeddings, execution-aware representations, and fine-tuning-free similarity detection [ 1 , 15 , 7 ] . VEXIR2Vec is also notable for bringing intermediate representations into cross-ISA matching [ 9 ] . Our work differs in two ways. First, EvoPatch-IoT explicitly targets the BusyBox evolution setting instead of generic pairwise similarity. Second, our scoring function retains a strong stripped-binary geometric prior because our anonymous alignment stage must bridge Ghidra-recovered stripped functions with unstripped labels before any higher-level reasoning can be trusted. II-B Binary Vulnerability Search and Retrieval Binary vulnerability analysis increasingly benefits from retrieval and query-oriented formulations. BinQuery recently showed that natural language can be used to search binary vulnerabilities [ 17 ] . However, practical IoT auditors frequently start from upstream patches, vulnerable functions, or component histories rather than complete textual descriptions. EvoPatch-IoT therefore focuses on function-centric binary retrieval, historical prototypes, and patch-state evidence that remain available even when source-level context is weak or absent. II-C IoT Firmware Security Analysis Firmware-oriented research has recently moved toward scalable recurring-vulnerability detection and service-level analysis. FirmRec detects recurring vulnerabilities in binary firmware at scale [ 13 ] . Operation Mango discovers taint-style vulnerabilities in binary firmware services [ 16 ] . LuaTaint studies web-configuration vulnerabilities in IoT devices and