arXiv:2509.00647cs.CRcs.AI2025-09被引 6

用大模型从漏洞库中自动发现硬件缺陷,提升安全分析效率。

LLM-HyPZ: Hardware Vulnerability Discovery using an LLM-Assisted Hybrid Platform for Zero-Shot Knowledge Extraction and Refinement

  • 结合大模型零样本分类与聚类,自动化挖掘硬件漏洞
  • 从11万条漏洞数据中发现1742个硬件相关漏洞,提炼出5类主题
  • 助力MITRE更新硬件弱点清单,减少专家工作量

硬件漏洞的快速增长急需系统化、可扩展的分析方法。与可修补的软件漏洞不同,硬件缺陷贯穿产品全生命周期,对处理器、嵌入式设备和物联网平台构成持续威胁。现有方法如MITRE CWE硬件列表(2021)依赖专家德尔菲调查,缺乏统计严谨性且存在主观偏差,而面向硬件弱点的大规模数据驱动基础几乎空白。本文提出LLM-HyPZ——一种基于大模型的混合框架,用于零样本知识提取与精炼。该方法融合零样本大模型分类、上下文嵌入、无监督聚类和提示驱动摘要,实现对漏洞库的大规模硬件相关CVE挖掘。在2021–2024年CVE语料库(114,836条)上,识别出1,742个硬件相关漏洞,归纳为五类典型模式,包括通过固件和BIOS的权限提升、移动与物联网系统中的内存破坏、物理访问攻击等。七种大模型对比测试显示,LLaMA 3.3 70B在验证集上达到99.5%的分类准确率。本框架不仅具有方法论创新,更直接支持了MITRE CWE 2025年度重要硬件弱点(MIHW)更新,将候选漏洞范围缩小至1,026条中的411条,显著降低专家工作量并加速证据收集。结果证明,LLM-HyPZ是首个数据驱动、可扩展的硬件漏洞系统发现方法,有效弥合专家知识与真实漏洞证据之间的鸿沟。

原文摘要 · Abstract (English)

The rapid growth of hardware vulnerabilities has created an urgent need for systematic and scalable analysis methods. Unlike software flaws, which are often patchable post-deployment, hardware weaknesses remain embedded across product lifecycles, posing persistent risks to processors, embedded devices, and IoT platforms. Existing efforts such as the MITRE CWE Hardware List (2021) relied on expert-driven Delphi surveys, which lack statistical rigor and introduce subjective bias, while large-scale data-driven foundations for hardware weaknesses have been largely absent. In this work, we propose LLM-HyPZ, an LLM-assisted hybrid framework for zero-shot knowledge extraction and refinement from vulnerability corpora. Our approach integrates zero-shot LLM classification, contextualized embeddings, unsupervised clustering, and prompt-driven summarization to mine hardware-related CVEs at scale. Applying LLM-HyPZ to the 2021-2024 CVE corpus (114,836 entries), we identified 1,742 hardware-related vulnerabilities. We distilled them into five recurring themes, including privilege escalation via firmware and BIOS, memory corruption in mobile and IoT systems, and physical access exploits. Benchmarking across seven LLMs shows that LLaMA 3.3 70B achieves near-perfect classification accuracy (99.5%) on a curated validation set. Beyond methodological contributions, our framework directly supported the MITRE CWE Most Important Hardware Weaknesses (MIHW) 2025 update by narrowing the candidate search space. Specifically, our pipeline surfaced 411 of the 1,026 CVEs used for downstream MIHW analysis, thereby reducing expert workload and accelerating evidence gathering. These results establish LLM-HyPZ as the first data-driven, scalable approach for systematically discovering hardware vulnerabilities, thereby bridging the gap between expert knowledge and real-world vulnerability evidence.

硬件安全大模型应用漏洞挖掘零样本学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。