490 likes | 640 Views
New Methods for Cost-Effective Side-Channel Attacks on Cryptographic RFIDs. Chair for Embedded Security Ruhr University Bochum David Oswald Timo Kasper Christof Paar www.crypto.rub.de 01.07.2009. Motivation. RFID Smartcards. Source: Wikimedia Commons.
E N D
New Methods for Cost-Effective Side-Channel Attacks on Cryptographic RFIDs Chair for Embedded Security Ruhr University Bochum David Oswald Timo Kasper Christof Paar www.crypto.rub.de 01.07.2009
RFID Smartcards Source: Wikimedia Commons • Applications: Payment, Access control, ... • Proprietary ciphers: Often insecure • New Generation: 3DES / AES • Mathematically secure Side Channel Analysis?
RFID Side Channel Measurement:Authentication Protocol Measure EM ? Smartcard: Encrypt this value with 3DES Output: Success/Failure Reader: Send protocol value
Measurement Setup • ISO14443-compatible • Freely Programmable • Low Cost (< 40 €)
Measurement Setup • 1 GS/s, 128 MB Memory • ± 100 mV • USB 2.0 Interface
Measurement Setup Aim: Reduce Carrier Wave Influence vs.
Carrier Dampening Aim: Reduce Carrier Wave Influence vs.
Carrier Dampening Side-Channel Model (idealised): =
Carrier Dampening Side-Channel Model (idealised): =
Side Channel Analysis Step 1: Raw measurements
Digital Demodulation Digital Demodulator Rectifier Digital Filter
Alignment Pick Reference Pattern
Alignment Pick Reference Pattern
Alignment Varies for identical Plaintext
Data Bus Locate Plain- & Ciphertext Transfer
Data Bus DPA: Plaintext 8 Bit Hamming Weight
Data Bus DPA: Ciphertext 8 Bit Hamming Weight
Trace Overview ... Other processing Plaintext 3DES Ciphertext
Assumptions ?! ?! C 3DES
3DES Engine DPA ?! C 3DES 3DES located Power Model: Hamming distance R0 R1, 4 Bit (S-Box output)
3DES-Engine DPA But: Only for S-Box 1 & 3
3DES Engine DPA: Binwise Apply DPA binwise
3DES Engine DPA: Binwise Correlation Correct Key for 4 of 8 S-Boxes
Results Real World Device Black Box Analysis Low Cost Key Recovery
Summary Measurement Setup built Profiling done Data Bus revealed Correct Subkey for 4/8 S-Boxes found
Future Work • Improve • More traces • Equipment • Extend • Other RFID smartcards • Remote Attacks
Thank you for your attention! Questions? Chair for Embedded Security Timo Kasper David Oswald Christof Paar www.crypto.rub.de timo.kasper@rub.de david.oswald@rub.de cpaar@crypto.rub.de