Chao Luo, Yunsi Fei, Pei Luo, Saoni Mukherjee, D. Kaeli
{"title":"Side-channel power analysis of a GPU AES implementation","authors":"Chao Luo, Yunsi Fei, Pei Luo, Saoni Mukherjee, D. Kaeli","doi":"10.1109/ICCD.2015.7357115","DOIUrl":null,"url":null,"abstract":"Graphics Processing Units (GPUs) have been used to run a range of cryptographic algorithms. The main reason to choose a GPU is to accelerate the encryption/decryption speed. Since GPUs are mainly used for graphics rendering, and only recently have they become a fully-programmable parallel computing device, there has been little attention paid to their vulnerability to side-channel attacks. In this paper we present a study of side-channel vulnerability on a state-of-the-art graphics processor. To the best of our knowledge, this is the first work that attempts to extract the secret key of a block cipher implemented to run on a GPU. We present a side-channel power analysis methodology to extract all of the last round key bytes of a CUDA AES (Advanced Encryption Standard) implementation run on an NVIDIA TESLA GPU. We describe how we capture power traces and evaluate the power consumption of a GPU. We then construct an appropriate power model for the GPU. We propose effective methods to sample and process the GPU power traces so that we can recover the secret key of AES. Our results show that parallel computing hardware systems such as a GPU are highly vulnerable targets to power-based side-channel attacks, and need to be hardened against side-channel threats.","PeriodicalId":129506,"journal":{"name":"2015 33rd IEEE International Conference on Computer Design (ICCD)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"57","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 33rd IEEE International Conference on Computer Design (ICCD)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCD.2015.7357115","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 57
Abstract
Graphics Processing Units (GPUs) have been used to run a range of cryptographic algorithms. The main reason to choose a GPU is to accelerate the encryption/decryption speed. Since GPUs are mainly used for graphics rendering, and only recently have they become a fully-programmable parallel computing device, there has been little attention paid to their vulnerability to side-channel attacks. In this paper we present a study of side-channel vulnerability on a state-of-the-art graphics processor. To the best of our knowledge, this is the first work that attempts to extract the secret key of a block cipher implemented to run on a GPU. We present a side-channel power analysis methodology to extract all of the last round key bytes of a CUDA AES (Advanced Encryption Standard) implementation run on an NVIDIA TESLA GPU. We describe how we capture power traces and evaluate the power consumption of a GPU. We then construct an appropriate power model for the GPU. We propose effective methods to sample and process the GPU power traces so that we can recover the secret key of AES. Our results show that parallel computing hardware systems such as a GPU are highly vulnerable targets to power-based side-channel attacks, and need to be hardened against side-channel threats.
图形处理单元(gpu)已被用于运行一系列加密算法。选择GPU的主要原因是为了加快加密/解密速度。由于gpu主要用于图形渲染,并且直到最近才成为完全可编程的并行计算设备,因此很少有人关注其对侧信道攻击的脆弱性。在本文中,我们提出了一项研究在最先进的图形处理器侧通道漏洞。据我们所知,这是第一个试图提取在GPU上运行的块密码的秘密密钥的工作。我们提出了一种侧信道功率分析方法,以提取在NVIDIA TESLA GPU上运行的CUDA AES(高级加密标准)实现的所有最后一轮密钥字节。我们描述了如何捕获电源走线并评估GPU的功耗。然后,我们构建了一个合适的GPU功耗模型。提出了对GPU电源走线进行采样和处理的有效方法,从而实现AES密钥的恢复。我们的研究结果表明,像GPU这样的并行计算硬件系统是基于功率的侧信道攻击的高度脆弱目标,需要针对侧信道威胁进行强化。