arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.02816cs.CR
收藏

释放GHOST:一种基于LLM的自动化硬件木马设计框架

Unleashing GHOST: An LLM-Powered Framework for Automated Hardware Trojan Design

Md Omar Faruque, Peter Jamieson, Ahmad Patooghy, Abdel-Hameed A. Badawy

AI总结:

针对传统硬件木马插入手动耗时、ML方法存在数据需求大等问题,提出基于LLM的GHOST自动化攻击框架,评估三种LLM在三类硬件设计上的表现,发现GPT-4性能最优,且该框架生成的木马可规避现有检测工具,凸显相关安全防御需求。

摘要:

传统上,将真实的硬件木马(HTs)插入复杂硬件系统是耗时的手动过程,需要全面的设计知识和对复杂硬件描述语言(HDL)代码库的深入理解。基于机器学习(ML)的方法试图自动化这一过程,但常面临训练数据需求大、学习时间长、跨多样硬件设计场景泛化能力有限等挑战。本文提出GHOST(面向硬件的隐秘木马生成器)解决这些问题,这是一种利用大语言模型(LLMs)实现快速HT生成与插入的自动化攻击框架。研究评估了GPT-4、Gemini-1.5-pro、Llama-3-70B三种先进LLM在SRAM、AES、UART三种硬件设计上的表现。评估显示,GPT-4性能最优,88.88%的HT插入尝试成功生成可合成的功能性HT。研究还强调了LLM生成HT带来的安全风险,表明GHOST生成的可合成HT 100%规避了基于ML的HT检测工具的检测。这些结果凸显了硬件安全领域迫切需要先进检测与防御机制,以应对LLM生成HT这一新兴威胁。GHOST HT基准可在https://github.com/HSTRG1/GHOSTbenchmarks.git获取。

英文摘要:

Traditionally, inserting realistic Hardware Trojans (HTs) into complex hardware systems has been a time-consuming and manual process, requiring comprehensive knowledge of the design and navigating intricate Hardware Description Language (HDL) codebases. Machine Learning (ML)-based approaches have attempted to automate this process but often face challenges such as the need for extensive training data, long learning times, and limited generalizability across diverse hardware design landscapes. This paper addresses these challenges by proposing GHOST (Generator for Hardware-Oriented Stealthy Trojans), an automated attack framework that leverages Large Language Models (LLMs) for rapid HT generation and insertion. Our study evaluates three state-of-the-art LLMs - GPT-4, Gemini-1.5-pro, and Llama-3-70B - across three hardware designs: SRAM, AES, and UART. According to our evaluations, GPT-4 demonstrates superior performance, with 88.88% of HT insertion attempts successfully generating functional and synthesizable HTs. This study also highlights the security risks posed by LLM-generated HTs, showing that 100% of GHOST-generated synthesizable HTs evaded detection by an ML-based HT detection tool. These results underscore the urgent need for advanced detection and prevention mechanisms in hardware security to address the emerging threat of LLM-generated HTs. The GHOST HT benchmarks are available at: https://github.com/HSTRG1/GHOSTbenchmarks.git

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

↑