Skip to main content
Mallory
← Back to News
credential-access-methodproof-of-concept-release

CPU Side-Channel Exploits Recover BoringSSL Private Keys on Vulnerable Intel Servers

Attack Tradecraft · 2 sources · Updated 1mo ago · First seen Aug 21, 2023

CPU Side-Channel Exploits Recover BoringSSL Private Keys on Vulnerable Intel Servers

Researchers demonstrated practical extraction of cryptographic private keys from BoringSSL’s X25519 operations using two Microarchitectural Data Sampling (MDS) variants on vulnerable Intel processors. The Google Bug Hunters report builds on the broader class of CPU data-leakage research documented in RIDL. The demonstrated attacks used Microarchitectural Fill Buffer Data Sampling (MFBDS) and Microarchitectural Load Port Data Sampling (MLPDS); a parallelized MLPDS exploit reportedly recovered a complete private key in approximately 15 minutes under normal server load. Such key theft could enable server impersonation or privilege escalation, depending on how the key is used.

Exploitation required local code execution, Intel TSX enabled, and attacker execution overlapping the victim on the same physical core. MFBDS additionally required knowledge of the victim’s stack layout and precise cache eviction, while MLPDS reconstructed keys from intermediate cryptographic values without requiring memory-offset control. Microcode-based buffer flushing alone did not prevent leakage between simultaneously executing hyperthreads. Organizations running mutually untrusted workloads on affected hardware should assess processor exposure and TSX status, and consider newer processor designs, disabling simultaneous multithreading, or core scheduling that prevents different trust domains from sharing a physical core.

Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · May 2019
  1. Reported Aug 21, 20233y ago

    Researchers publish reproducible X25519 key-extraction proof of concept

    Researchers published a reproducible proof of concept in Google's security-research GitHub repository. It uses a custom target that repeatedly calls BoringSSL's X25519() function.

    No More Speculation: Exploiting CPU Side-Channels for Real - Google Bug Hunters
  2. Reported Aug 21, 20233y ago

    Researchers demonstrate MDS attacks that recover server private keys

    Researchers demonstrated MFBDS and MLPDS attacks against BoringSSL X25519 operations, requiring unprivileged code execution on a vulnerable, TSX-enabled Intel machine and physical-core sharing with the victim. Their parallelized MLPDS exploit recovered an entire private key in approximately 15 minutes under normal server load, potentially enabling server impersonation.

    No More Speculation: Exploiting CPU Side-Channels for Real - Google Bug Hunters
  3. Reported Aug 21, 20233y ago

    Google Cloud implements core tagging to isolate workloads

    Google Cloud implemented core tagging with a guarantee that virtual CPUs presented as occupying different virtual cores never share a physical core. This also allows guests to implement core tagging.

    No More Speculation: Exploiting CPU Side-Channels for Real - Google Bug Hunters
  4. Reported Aug 21, 20233y ago

    Intel provides microcode updates enabling internal buffer flushing

    Intel provided microcode updates for older processors that allow operating systems to flush internal buffers. This mitigation does not prevent leakage between simultaneously executing hyperthreads.

    No More Speculation: Exploiting CPU Side-Channels for Real - Google Bug Hunters
  5. May 2019

    Intel discloses Microarchitectural Data Sampling vulnerabilities

    Intel disclosed the Microarchitectural Data Sampling (MDS) vulnerability family, which enables leakage from internal CPU buffers. The report identifies affected mainstream Intel processors released between 2008 and 2018.

    No More Speculation: Exploiting CPU Side-Channels for Real - Google Bug Hunters
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Intel Corporation
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.