阻断技术在实践中的应用--针对高安全性USB闪存驱动器的硬件木马
Interdiction in Practice -- Hardware Trojan Against a High-Security USB Flash Drive
摘要:
作为国家安全局活动披露的一部分,封锁的概念已为公众所知:拦截交付,以引入后门的方式操纵硬件。操作可以发生在固件或硬件级别。关于硬件,FPGA是特别有趣的目标,因为它们可以通过操纵配置设备的相应比特流来改变。在本文中,我们展示了第一个成功的现实世界的FPGA硬件木马插入到商业产品。在目标设备上,金士顿的FIPS-140-2 2级认证USB闪存驱动器,用户数据使用AES-256在XTS模式下加密,加密/解密由基于SRAM的现成FPGA处理。我们的调查需要两个逆向工程步骤,涉及专有的FPGA比特流和底层ARM CPU的固件。在我们的特洛伊木马插入场景中,目标USB闪存驱动器在交付给受害者之前被拦截。物理木马插入需要操纵SPI闪存内容,其中包含FPGA比特流以及ARM CPU代码。FPGA比特流操作改变了利用AES-256算法的方式,它变成一个线性函数,可以打破32个已知的明文-密文对。在受害者使用被操纵的USB闪存驱动器后,攻击者能够从密文中获取所有用户数据。我们的工作确实突出了安全风险,特别是由于FPGA比特流操作而变得现实的比特流修改攻击的实际相关性。
英文摘要:
As part of the revelations about the NSA activities, the notion of interdiction has become known to the public: the interception of deliveries to manipulate hardware in a way that backdoors are introduced. Manipulations can occur on the firmware or at hardware level. With respect to hardware, FPGAs are particular interesting targets as they can be altered by manipulating the corresponding bitstream which configures the device. In this paper, we demonstrate the first successful real-world FPGA hardware Trojan insertion into a commercial product. On the target device, a FIPS-140-2 level 2 certified USB flash drive from Kingston, the user data are encrypted using AES-256 in XTS mode, and the encryption/decryption is processed by an off-the-shelf SRAM-based FPGA. Our investigation required two reverse-engineering steps, related to the proprietary FPGA bitstream and to the firmware of the underlying ARM CPU. In our Trojan insertion scenario, the targeted USB flash drive is intercepted before being delivered to the victim. The physical Trojan insertion requires the manipulation of the SPI flash memory content, which contains the FPGA bitstream as well as the ARM CPU code. The FPGA bitstream manipulation alters the exploited AES-256 algorithm in a way that it turns into a linear function which can be broken with 32 known plaintext-ciphertext pairs. After the manipulated USB flash drive has been used by the victim, the attacker is able to obtain all user data from the ciphertexts. Our work indeed highlights the security risks and especially the practical relevance of bitstream modification attacks that became realistic due to FPGA bitstream manipulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。