{One&Done}: A {Single-Decryption} {EM-Based} Attack on {OpenSSL’s} {Constant-Time} Blinded {RSA}
Monjur AlamHaider Adnan KhanMoumita DeyNishith SinhaRobert CallanAZAlenka ZajicMilos Prvulovic
Monjur Alam
Haider Adnan Khan
Moumita Dey
Nishith Sinha
Robert Callan
AZAlenka Zajic
Milos Prvulovic
+7
The paper presents the first side-channel attack that, without relying on cache organization or timing, recovers the secret exponent from a single decryption of arbitrary ciphertext in the current OpenSSL fixed-window constant-time RSA implementation. Rather than targeting squaring/multiplication or table-lookup signals, it exploits analog electromagnetic emanations unintentionally produced while the constant-time code builds each exponent window. Demonstrated on two mobile phones and an embedded system using a 40 MHz narrowband demodulation around the processor clock, it recovers enough exponent bits after one decryption to reconstruct the full private key within seconds. Because ciphertext value is irrelevant, it works even with unknown ciphertext or blinding; a proposed mitigation, already merged into OpenSSL's master branch, derives exponent bits in integer-sized groups of tens of bits rather than bit by bit.

USENIX · 2018