Paper 2024/983 Original: eprint.iacr.org/2024/983 ↗

SoCureLLM: An LLM-driven Approach for Large-Scale System-on-Chip Security Verification and Policy Generation

Shams Tarek
Dipayan Saha
Sujan Kumar Saha
Mark Tehranipoor
Farimah Farahmandi
Abstract

Contemporary methods for hardware security verification struggle with adaptability, scalability, and availability due to the increasing complexity of the modern system-on-chips (SoCs). Large language models (LLMs) have emerged as a viable approach to address these shortcomings in security verification because of their natural language understanding, advanced reasoning, and knowledge transfer capabilities. However, their application to large designs is limited by inherent token limitation and memorization constraints. In this paper, we introduce SoCureLLM, an LLM-based framework that excels in identifying security vulnerabilities within SoC designs and creating a comprehensive security policy database. Our framework is adaptable and adept at processing varied, large-scale designs, overcoming the abovementioned issues of LLM. In evaluations, SoCureLLM detected 76.47% of security bugs across three vulnerable RISC-V SoCs, outperforming the state-of-the-art security verification methods. Furthermore, assessing three additional large-scale RISC-V SoC designs against various threat models led to the formulation of 84 novel security policies, enriching the security policy database. Previously requiring extensive manual effort to craft, these newly generated security policies can be used as guidelines for developing secured SoC designs.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2024-12-09: last updated
2024-06-18: published
Short URL
https://ia.cr/2024/983
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/983,
      author = {Shams Tarek and Dipayan Saha and Sujan Kumar Saha and Mark Tehranipoor and Farimah Farahmandi},
      title = {SoCureLLM: An LLM-driven Approach for Large-Scale System-on-Chip Security Verification and Policy Generation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/983},
      year = {2024},
      url = {https://eprint.iacr.org/2024/983}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.