On the Feasibility of Training-time Trojan Attacks through Hardware-based Faults in Memory
On the Feasibility of Training-time Trojan Attacks through Hardware-based Faults in Memory
复制标题
DOI:
10.1109/host54066.2022.9840266
复制
发表时间:
2022-06
期刊:
影响因子:
--
通讯作者:
Kunbei Cai;Zhenkai Zhang;F. Yao
中科院分区:
文献类型:
--
作者:
Kunbei Cai;Zhenkai Zhang;F. Yao
Training-time trojan attacks have been one of the major security threats that can tamper integrity of deep learning models. Existing trojan attacks either require poisoning of the training dataset or depend on control of the training process. In this paper, we investigate the practicality of leveraging hardware-based fault attacks to introduce trojan in deep neural networks (DNNs) at training time. Specifically, we consider a memory-based fault injection using the rowhammer attack vector. We propose a new attack framework where the adversary injects faults to the feature map of DNN models during training. We investigate the impact of bit flips in feature maps and derive a bit flip strategy that enables the victim model to associate a perturbed feature map pattern with a target label without impacting the prediction of normal inputs. We further propose an input trigger identification algorithm that obtains the trigger pattern for the trojaned model at inference time. Our evaluation shows that our attack can trojan DNN models with very high attack success rate. Our work highlights the importance of understanding the impact of hardware-based fault attacks in machine learning training.