Activities per year
SM2 is a public key cryptography suite originating from Chinese standards, including digital signatures and public key encryption. Ahead of schedule, code for this functionality was recently mainlined in OpenSSL, marked for the upcoming 1.1.1 release. We perform a security review of this implementation, uncovering various deficiencies ranging from traditional software quality issues to side-channel risks. To assess the latter, we carry out a side-channel security evaluation and discover that the implementation hits every pitfall seen for OpenSSL's ECDSA code in the past decade. We carry out remote timings, cache timings, and EM analysis, with accompanying empirical data to demonstrate secret information leakage during execution of both digital signature generation and public key decryption. Finally, we propose, implement, and empirically evaluate countermeasures.
|Title of host publication
|ACSAC '18 Proceedings of the 34th Annual Computer Security Applications Conference
|Place of Publication
|Number of pages
|Published - 3 Dec 2018
|A4 Article in conference proceedings
|Annual Computer Security Applications Conference -
Duration: 3 Dec 2018 → 7 Dec 2018
|Annual Computer Security Applications Conference
|3/12/18 → 7/12/18
Publication forum classification
- Publication forum level 1
FingerprintDive into the research topics of 'Side-Channel Analysis of SM2: A Late-Stage Featurization Case Study'. Together they form a unique fingerprint.
Electromagnetic (EM) side-channel traces of elliptic curve point multiplication during SM2 decryption in OpenSSL