FPGA Trojans Through Detecting and Weakening of Cryptographic Primitives
Authors:
Open Access
- 3 February 2015
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 34 (8) , 1236-1249
Abstract
This paper investigates a novel attack vector against cryptography realized on FPGAs, which poses a serious threat to real-world applications. We demonstrate how a targeted bitstream modification can seriously weaken cryptographic algorithms, which we show with the examples of AES and 3-DES. The attack is performed by modifying the FPGA bitstream that configures the hardware elements during initialization. Recently, it has been shown that cloning of FPGA designs is feasible, even if the bitstream is encrypted. However, due to its proprietary file format, a meaningful modification is challenging. While some previous work addressed bitstream reverse-engineering, so far it has not been evaluated how difficult it is to detect and modify cryptographic elements. We outline two possible practical attacks that have serious security implications. We target the S-boxes of block ciphers that can be implemented in look-up tables or stored as precomputed set of values in the memory of the FPGA. We demonstrate that it is possible to detect and apply meaningful changes to cryptographic elements inside an unknown, proprietary, and undocumented bitstream. Our proposed attack does not require any knowledge of the internal routing. Furthermore, we show how an AES key can be revealed within seconds. Finally, we discuss countermeasures that can raise the bar for an adversary to successfully perform this kind of attack.Keywords
Funding Information
- University of Massachusetts Amherst
- National Science Foundation (CNS-1318497)
- H. L. Merkle Foundation
This publication has 7 references indexed in Scilit:
- Hardware Trojan Insertion by Direct Modification of FPGA Configuration BitstreamIEEE Design & Test, 2013
- Side-channel attacks on the bitstream encryption mechanism of Altera Stratix II2013
- Black-Box Side-Channel Attacks Highlight the Importance of Countermeasures2012
- On the vulnerability of FPGA bitstream encryption against power analysis attacks2011
- Lest we rememberCommunications of the ACM, 2009
- On the Classification of 4 Bit S-Boxes2007
- PRESENT: An Ultra-Lightweight Block Cipher2007