ThreatLens: LLM-guided Threat Modeling and Test Plan Generation for Hardware Security Verification

๐Ÿ“… 2025-05-11
๐Ÿ›๏ธ IACR Cryptology ePrint Archive
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
To address the low efficiency, error-proneness, and poor scalability of manual threat modeling and test plan generation in hardware security verification, this paper proposes the first LLM-driven multi-agent framework. The framework integrates retrieval-augmented generation (RAG), multi-agent collaborative reasoning, and interactive human-in-the-loop feedback to jointly generate explainable threat models and test cases. Empirical evaluation on the NEORV32 SoC demonstrates that our approach significantly reduces manual verification effort, broadens threat coverage, and enhances the practicality of test plansโ€”enabling structured, adaptive security verification for complex SoCs. Key contributions include: (1) the first multi-agent LLM architecture specifically designed for hardware security verification; and (2) a synergistic co-evolution mechanism between threat analysis and test case generation, ensuring mutual refinement and interpretability throughout the verification workflow.

Technology Category

Machine Learning: Hardware-aware MLMultiagent Systems: Adversarial AgentsCognitive Modeling & Cognitive Systems: Agent Architectures

Application Category

Semantics and Knowledge: Data modeling to support human-machine intelligence, including LLMs agents, intelligent system behavior, explanations, and user-friendly interactionsEconomics, Online Markets and Human Computation: Cost models of using LLMs in production systemsSearch and Retrieval-Augmented AI: Agentic search
๐Ÿ“ Abstract
Current hardware security verification processes predominantly rely on manual threat modeling and test plan generation, which are labor-intensive, error-prone, and struggle to scale with increasing design complexity and evolving attack methodologies. To address these challenges, we propose ThreatLens, an LLM-driven multi-agent framework that automates security threat modeling and test plan generation for hardware security verification. ThreatLens integrates retrieval-augmented generation (RAG) to extract relevant security knowledge, LLM-powered reasoning for threat assessment, and interactive user feedback to ensure the generation of practical test plans. By automating these processes, the framework reduces the manual verification effort, enhances coverage, and ensures a structured, adaptable approach to security verification. We evaluated our framework on the NEORV32 SoC, demonstrating its capability to automate security verification through structured test plans and validating its effectiveness in real-world scenarios.
Problem

Research questions and friction points this paper is trying to address.

Automates hardware security threat modeling and test generation
Reduces manual effort and errors in security verification
Enhances coverage and adaptability for complex hardware designs
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLM-driven multi-agent framework automates security verification
Integrates RAG for extracting relevant security knowledge
Uses LLM-powered reasoning for threat assessment
๐Ÿ”Ž Similar Papers
No similar papers found.