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

基于图神经网络的HLS设计硬件安全特性预测研究

On the Prediction of Hardware Security Properties of HLS Designs Using Graph Neural Networks

Amalia Artemis Koufopoulou, Athanasios Papadimitriou, Aggelos Pikrakis, Mihalis Psarakis, David Hely

AI总结:

针对HLS设计空间中大量等效设计的安全评估效率难题,提出基于图神经网络的硬件安全特性评估方法,在AES SBox的DMR防护设计上验证了其高预测精度与远快于故障注入的速度优势。

摘要:

近年来,高级综合(High-level synthesis, HLS)工具大幅提升了数字系统设计流程的生产效率,可生成在面积和延迟方面高度优化的电路。随着硬件攻击手段不断演进,这类电路可能存在安全隐患,因此将安全性作为HLS设计流程的重要考量维度至关重要。然而,HLS设计空间中存在大量功能等效的设计需要评估,这给硬件安全评估方法(如故障注入(fault injection, FI)实验)带来了挑战。\n本研究提出一种利用前沿图神经网络(Graph Neural Network, GNN)方法评估HLS生成设计的硬件安全特性的方法,相比传统评估方法(如FI),该方法可实现显著的速度提升与更优的可扩展性。我们在应用于AES SBox实现的双模冗余(Double Modular Redundancy, DMR)防护方案上验证了所提方法,该方案通过HLS指令实现冗余模块的多样化设计。\n实验结果表明,采用回归方式,GNN可被高效训练,用于预测与故障攻击相关的重要硬件安全指标(如临界错误率和检测错误率)。所提方法预测基于HLS的设计的故障脆弱性指标时可取得较高的R²得分,且在GNN训练完成后,相比故障注入方法速度提升极为显著。

英文摘要:

High-level synthesis (HLS) tools have provided significant productivity enhancements to the design flow of digital systems in recent years, resulting in highly-optimized circuits, in terms of area and latency. Given the evolution of hardware attacks, which can render them vulnerable, it is essential to consider security as a significant aspect of the HLS design flow. Yet the need to evaluate a huge number of functionally equivalent de-signs of the HLS design space challenges hardware security evaluation methods (e.g., fault injection - FI campaigns). In this work, we propose an evaluation methodology of hardware security properties of HLS-produced designs using state-of-the-art Graph Neural Network (GNN) approaches that achieves significant speedup and better scalability than typical evaluation methods (such as FI). We demonstrate the proposed methodology on a Double Modular Redundancy (DMR) coun-termeasure applied on an AES SBox implementation, en-hanced by diversifying the redundant modules through HLS directives. The experimental results show that GNNs can be efficiently trained to predict important hardware security met-rics concerning fault attacks (e.g., critical and detection error rates), by using regression. The proposed method predicts the fault vulnerability metrics of the HLS-based designs with high R-squared scores and achieves huge speedup compared to fault injection once the training of the GNN is completed.

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

↑