2018 · 18 citations · 33 references
ComputingComputer EngineeringComputer ScienceComputer SecurityCryptographySecurity ArchitectureCryptographic ArchitectureCryptographic ImplementationCryptographic VulnerabilitiesData SecuritySide-channel AnalysisSide-channel AttacksCache Side-channel AttacksInformation LeakageMicroarchitectural Side-channel AnalysisPublic-key Cryptography ImplementationPublic-key EncryptionSide-channel CountermeasuresSide-channel Leakage AssessmentTiming Side-channel Analysis
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.
33
Meltdown: reading kernel memory from user space
Moritz Lipp, Michael Schwarz, Daniel Gruss et al. · USENIX Security Symposium · 2018 · 645 citations