SPICED:使用LLM增强检测的A/MS电路中语法错误与木马模式识别
SPICED: Syntactical Bug and Trojan Pattern Identification in A/MS Circuits using LLM-Enhanced Detection
AI总结:
针对A/MS电路外包制造带来的模拟木马风险,提出基于LLM的SPICED框架,利用思维链和少样本推理在软件域检测并定位电路网表中的语法错误与木马,无需硬件修改与显式训练,实现93.32%覆盖率和93.4%真阳性率。
摘要:
模拟和混合信号(A/MS)集成电路(IC)在现代电子设备中至关重要,在信号处理、放大、传感和电源管理中发挥关键作用。许多IC公司将制造外包给第三方代工厂,带来了隐蔽的模拟木马等安全风险。传统检测方法,包括嵌入电路水印或进行基于硬件的监控,通常会带来显著的面积和功耗开销,且可能无法有效识别所有类型的木马。为了解决这些缺陷,我们提出了SPICED,这是一个基于大型语言模型(LLM)的框架,它在软件域内运行,消除了木马检测和定位对硬件修改的需求。这是首个使用LLM辅助技术来检测和定位电路网表中语法错误和模拟木马的工作,无需显式训练且零面积开销。我们的框架采用思维链推理和少样本示例来向LLM传授异常检测规则。通过所提出的方法,在评估的模拟基准电路中,我们在识别受木马影响的节点方面实现了93.32%的平均木马覆盖率和93.4%的平均真阳性率。这些实验结果验证了LLM在检测和定位模拟网表中语法错误和木马方面的有效性。
英文摘要:
Analog and mixed-signal (A/MS) integrated circuits (ICs) are crucial in modern electronics, playing key roles in signal processing, amplification, sensing, and power management. Many IC companies outsource manufacturing to third-party foundries, creating security risks such as stealthy analog Trojans. Traditional detection methods, including embedding circuit watermarks or conducting hardware-based monitoring, often impose significant area and power overheads, and may not effectively identify all types of Trojans. To address these shortcomings, we propose SPICED, a Large Language Model (LLM)-based framework that operates within the software domain, eliminating the need for hardware modifications for Trojan detection and localization. This is the first work using LLM-aided techniques for detecting and localizing syntactical bugs and analog Trojans in circuit netlists, requiring no explicit training and incurring zero area overhead. Our framework employs chain-of-thought reasoning and few-shot examples to teach anomaly detection rules to LLMs. With the proposed method, we achieve an average Trojan coverage of 93.32% and an average true positive rate of 93.4% in identifying Trojan-impacted nodes for the evaluated analog benchmark circuits. These experimental results validate the effectiveness of LLMs in detecting and locating both syntactical bugs and Trojans within analog netlists.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。