Has it been Pwned
Side channelPractical impact

PortSmash: SMT port contention steals an OpenSSL ECDSA P-384 key

Aldaya, Brumley, ul Hassan, Pereida García and Tuveri showed that a process sharing a physical core via simultaneous multithreading can time contention on execution ports to infer which instructions the sibling thread executes. They recovered a P-384 private key from an OpenSSL-based TLS server by observing its ECDSA scalar multiplication.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

PortSmash requires no shared memory and no cache: execution-unit contention alone leaks. It strengthened the case that SMT siblings must be treated as a shared side-channel surface; OpenBSD disabled SMT by default the same year, and OpenSSL hardened its EC scalar multiplication to be constant-time (OpenSSL 1.1.1). ECDSA's math is unaffected.

Published at IEEE S&P 2019 (ePrint 2018/1060).

Sources

  1. paperPort Contention for Fun and Profit (ePrint 2018/1060, IEEE S&P 2019)IACR ePrint, eprint.iacr.org
  2. cveCVE-2018-5407NIST NVD, nvd.nist.gov