arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.18438cs.CRcs.SE
收藏

LLMs作为固件专家:一种运行时增长的代理树框架

LLMs as Firmware Experts: A Runtime-Grown Tree-of-Agents Framework

Beijing Jiaotong University(北京交通大学);Trinity University(三一大学);Virginia Tech(弗吉尼亚理工大学)

Xiangrui Zhang, Zeyu Chen, Haining Wang, Qiang Li

AI总结:

本文提出FIRMHIVE框架,利用LLMs作为固件安全分析师,通过递归代理蜂群实现更深入的固件漏洞检测,提升漏洞识别率和精度。

摘要:

大型语言模型(LLMs)及其代理系统最近在自动化代码推理和漏洞检测方面展示了强大的潜力。然而,当应用于大规模固件时,由于固件的二进制性质、复杂的依赖结构和异构组件,其性能会下降。为了解决这一挑战,本文提出了FIRMHIVE,一种递归代理蜂群,使LLMs能够作为自主固件安全分析师。FIRMHIVE引入了两个关键机制:(1)将委托转化为可执行的代理级原语;(2)构建运行时代理树(ToA)以实现去中心化协调。我们使用来自公开数据集的真实固件镜像评估FIRMHIVE,涵盖五个代表性安全分析任务。与现有LLM-代理基线相比,FIRMHIVE在跨文件探索方面更深入(约16倍更多推理步骤)且更广泛(约2.3倍更多检查文件),导致每部固件约5.6倍的警报。与最先进的(SOTA)安全工具相比,FIRMHIVE识别了约1.5倍更多的漏洞(总计1802个),并实现了71%的精度,代表了在产出和保真度方面的显著改进。

英文摘要:

Large Language Models (LLMs) and their agent systems have recently demonstrated strong potential in automating code reasoning and vulnerability detection. However, when applied to large-scale firmware, their performance degrades due to the binary nature of firmware, complex dependency structures, and heterogeneous components. To address this challenge, this paper presents FIRMHIVE, a recursive agent hive that enables LLMs to act as autonomous firmware security analysts. FIRMHIVE introduces two key mechanisms: (1) transforming delegation into a per-agent, executable primitive and (2) constructing a runtime Tree of Agents (ToA) for decentralized coordination. We evaluate FIRMHIVE using real-world firmware images obtained from publicly available datasets, covering five representative security analysis tasks. Compared with existing LLM-agent baselines, FIRMHIVE performs deeper (about 16x more reasoning steps) and broader (about 2.3x more files inspected) cross-file exploration, resulting in about 5.6x more alerts per firmware. Compared to state-of-the-art (SOTA) security tools, FIRMHIVE identifies about 1.5x more vulnerabilities (1,802 total) and achieves 71% precision, representing significant improvements in both yield and fidelity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑