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

双重打击:破解DNNs的基于近似计算的侧信道防御措施

Double Strike: Breaking Approximation-Based Side-Channel Countermeasures for DNNs

CentraleSupélec(中央苏佩莱克高等师范学院);Inria(法国国家信息与自动化研究所);IRISA(布列塔尼信息与系统研究学院);CNRS(法国国家科学研究中心);Lab-STICC(实验室、信号与图像处理中心);Univ. Bretagne-Sud(南布列塔尼大学);Univ. Rennes(雷恩大学);INSA Rennes(雷恩国立应用科学学院);IETR(电子与电信研究所)

Lorenzo Casalino, Maria Méndez Real, Jean-Christophe Prévotet, Rubén Salvador

AI总结:

本文提出了一种预处理方法,利用MACPRUNING防御措施中的控制流依赖性,成功恢复了DNN中96%的重要权重,揭示了该防御措施的安全性缺陷。

摘要:

深度神经网络(DNNs)支持驾驶助手和医疗诊断等服务,其训练过程漫长且昂贵。因此,训练的结果——DNN权重——代表了需要保护的重要知识产权资产。侧信道分析(SCA)最近出现作为一种有效的方法来从DNN实现中恢复这一机密资产。对此,研究人员提出了通过经典侧信道防御措施来保护DNN实现,但代价是更高的能耗、推理时间和资源利用。采用不同的方法,Ding等人(HOST'25)引入了MACPRUNING,一种基于剪枝的新型侧信道防御措施,这是一种以性能为导向的近似计算技术:在推理过程中,实现会随机剪枝(或跳过)第一层中不重要的权重(即对DNN准确性贡献低的权重),从而指数级提高受保护DNN实现的侧信道韧性。然而,MACPRUNING的原始安全分析并未考虑该防御措施设计中固有的控制流依赖性。这种依赖性可能允许攻击者绕过MACPRUNING并恢复对DNN准确性重要的权重。本文描述了一种预处理方法来利用上述控制流依赖性。通过在Chipwhisperer-Lite上运行MACPRUNING保护的多层感知机的实践实验,我们针对每个神经元的前8个权重,并恢复了96%的重要权重,展示了受保护实现的安全性大幅降低。此外,我们展示了微架构泄露如何提高我们方法的有效性,甚至允许恢复多达100%的目标非重要权重。最后,通过适应我们的方法[继续在PDF中]。

英文摘要:

Deep neural networks (DNNs), which support services such as driving assistants and medical diagnoses, undergo lengthy and expensive training procedures. Therefore, the training's outcome - the DNN weights - represents a significant intellectual property asset to protect. Side-channel analysis (SCA) has recently appeared as an effective approach to recover this confidential asset from DNN implementations. In response, researchers have proposed to defend DNN implementations through classic side-channel countermeasures, at the cost of higher energy consumption, inference time, and resource utilisation. Following a different approach, Ding et al. (HOST'25) introduced MACPRUNING, a novel SCA countermeasure based on pruning, a performance-oriented Approximate Computing technique: at inference time, the implementation randomly prunes (or skips) non-important weights (i.e., with low contribution to the DNN's accuracy) of the first layer, exponentially increasing the side-channel resilience of the protected DNN implementation. However, the original security analysis of MACPRUNING did not consider a control-flow dependency intrinsic to the countermeasure design. This dependency may allow an attacker to circumvent MACPRUNING and recover the weights important to the DNN's accuracy. This paper describes a preprocessing methodology to exploit the above-mentioned control-flow dependency. Through practical experiments on a Chipwhisperer-Lite running a MACPRUNING-protected Multi-Layer Perceptron, we target the first 8 weights of each neuron and recover 96% of the important weights, demonstrating the drastic reduction in security of the protected implementation. Moreover, we show how microarchitectural leakage improves the effectiveness of our methodology, even allowing for the recovery of up to 100% of the targeted non-important weights. Lastly, by adapting our methodology [continue in pdf].

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

↑