arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.19948cs.CRcs.SE
收藏

面向云FPGA中高级综合IP的触发罕见目标的可扩展测试生成

Scalable Test Generation to Trigger Rare Targets in High-Level Synthesizable IPs for Cloud FPGAs

Mukta Debnath, Animesh Basak Chowdhury, Debasri Saha, Susmita Sur-Kolay

AI总结:

本文提出一种针对云FPGA中HLS设计IP的测试方法,结合灰盒模糊测试与符号执行技术,有效检测隐藏在罕见条件下的硬件木马,显著提升了覆盖率与效率。

摘要:

高级综合(HLS)通过SystemC/C++等语言提供抽象和可配置性,改变了复杂硬件IP(HWIP)的开发方式,特别是针对高性能和云计算环境中的现场可编程门阵列(FPGA)加速器。这些IP可以在云中为不同的FPGA板进行综合,提供紧凑的面积需求和增强的灵活性。HLS使设计能够直接在现代FPGA内的ARM处理器上执行,而无需寄存器传输级(RTL)综合,从而节省FPGA资源。虽然HLS提供了灵活性和效率,但它也引入了潜在的漏洞,如隐藏电路的存在,包括在设计内部植入硬件木马的可能性。在云环境中,这些漏洞构成了重大的安全隐患,如敏感数据泄露、IP功能破坏和硬件损坏,因此需要开发强大的测试框架。本研究提出了一种针对HLS开发的云IP的高级测试方法,专门针对设计中可能存在于罕见条件下的隐藏恶意功能。该方法利用选择性插桩,结合灰盒模糊测试和符号执行技术来增强测试生成能力。在具有基于FPGA的云IP特征并嵌入云相关威胁的各种HLS基准上进行的评估表明,我们的框架在检测木马和罕见场景方面具有有效性,与现有方法相比,在覆盖率、时间效率、内存使用和测试成本方面均有提升。

英文摘要:

High-Level Synthesis (HLS) has transformed the development of complex Hardware IPs (HWIP) by offering abstraction and configurability through languages like SystemC/C++, particularly for Field Programmable Gate Array (FPGA) accelerators in high-performance and cloud computing contexts. These IPs can be synthesized for different FPGA boards in cloud, offering compact area requirements and enhanced flexibility. HLS enables designs to execute directly on ARM processors within modern FPGAs without the need for Register Transfer Level (RTL) synthesis, thereby conserving FPGA resources. While HLS offers flexibility and efficiency, it also introduces potential vulnerabilities such as the presence of hidden circuitry, including the possibility of hosting hardware trojans within designs. In cloud environments, these vulnerabilities pose significant security concerns such as leakage of sensitive data, IP functionality disruption and hardware damage, necessitating the development of robust testing frameworks. This research presents an advanced testing approach for HLS-developed cloud IPs, specifically targeting hidden malicious functionalities that may exist in rare conditions within the design. The proposed method leverages selective instrumentation, combining greybox fuzzing and concolic execution techniques to enhance test generation capabilities. Evaluation conducted on various HLS benchmarks, possessing characteristics of FPGA-based cloud IPs with embedded cloud related threats, demonstrates the effectiveness of our framework in detecting trojans and rare scenarios, showcasing improvements in coverage, time efficiency, memory usage, and testing costs compared to existing methods.

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

↑