High-level synthesis (HLS) is the next emerging trend for designing complex customized architectures for applications such as Machine Learning, Video Processing. It provides a higher level of abstraction and freedom to hardware engineers to perform hardware software co-design. However, it opens up a new gateway to attackers to insert hardware trojans. Such trojans are semantically more meaningful and stealthy, compared to gate-level trojans and therefore are hard-to-detect using state-of-the-art gate-level trojan detection techniques. Although recent works have proposed detection mechanisms to uncover such stealthy trojans in high-level synthesis (HLS) designs, these techniques are either specially curated for existing trojan benchmarks or may run into scalability issues for large designs. In this work, we leverage the power of greybox fuzzing combined with concolic execution to explore deeper segments of design and uncover stealthy trojans. Experimental results show that our proposed framework is able to automatically detect trojans faster with fewer test cases, while attaining notable branch coverage, without any manual pre-processing analysis.
翻译:高级合成(HLS)是设计机械学习、视频处理等应用的复杂定制结构的下一个新趋势,它为硬件工程师提供了更高层次的抽象和自由,以进行硬件软件共同设计。然而,它为攻击者打开了新的门户,以插入硬件天马。与门级的天马相比,这些天马具有更生意义和隐秘性,因此很难使用最先进的门级天马探测技术来探测。虽然最近的工作提出了在高水平合成设计中发现这种隐形的天马的探测机制,但这些技术要么是为现有的天马基准专门设计的,要么是在大型设计中出现可扩缩问题。在这项工作中,我们利用灰盒的模糊和隐形执行的力量来探索更深层的设计部分并发现隐形的天马。实验结果表明,我们提议的框架能够以较少的测试案例自动地更快地探测天马,同时达到显著的分支覆盖范围,而没有任何人工预处理分析。