Collage: fingers hold a hardware security key while a lime probe picks up waveforms and field rings radiating from it.
On this page (5)

Article from 6 September 2024: some information may have changed since.

Recent investigations into the security of cryptographic hardware devices have highlighted concerning vulnerabilities that have the potential to compromise the integrity of systems relying on these tools for secure authentication. YubiKeys, a brand of security tokens from Yubico widely utilized for second-factor authentication, have come under scrutiny following the discovery of a potentially serious side-channel attack that could lead to the cloning of these devices. This raises significant concerns for enterprises and individuals that depend on YubiKeys for enhancing security.

How side-channel attacks work

The vulnerabilities exploit a phenomenon known as a side-channel attack, where attackers gather information inadvertently leaked during the cryptographic processes performed by the device. This information can then be used to reconstruct secret keys stored on the hardware. In the specific context of YubiKeys, the vulnerability lies in the way the device executes digital signature operations, a foundational process for their authentication protocols.

A side-channel attack, leveraging variations in power consumption, electromagnetic emissions, or timing information during cryptographic computations, can reveal critical information about the keys used by the device. Such attacks are not new but have typically required sophisticated setups and significant technical know-how. However, recent advancements have lowered the barrier for executing these attacks, making them accessible to a wider pool of adversaries.

The ECDSA flaw and what an attacker needs

The core issue identified involves vulnerabilities in the implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA). ECDSA is widely used due to its strength and efficiency in establishing secure communications. When executing ECDSA, the YubiKey inadvertently reveals subtle variations in power consumption that can be monitored and analyzed to extract the private key associated with the device.

For the attack to be successful, physical access to the device is necessary to some extent. Adversaries can capture the emissions or power consumption data by placing probes near the device during operation. Despite this requirement, the potential impact is significant, particularly for high-value targets and high-security environments where such devices are frequently employed.

Hardware and software mitigations

Mitigations against such side-channel attacks generally involve enhancing both hardware and software defenses. Hardware mitigations can include shielding to prevent leakage of electromagnetic emissions, while software-level defenses can implement constant-time operations to ensure that computational steps take uniform amounts of time, independent of the data being processed. Yubico, the company behind YubiKey, is likely to explore these and other countermeasures to enhance the robustness of their devices against such advanced attack vectors.

Rethinking hardware tokens in MFA

The discovery of these vulnerabilities has led the cybersecurity industry to reevaluate the reliance on hardware tokens for authentication, especially in high-security applications. While hardware tokens like YubiKeys have traditionally been viewed as highly secure, this incident underscores the necessity for continuous security evaluations and updates to counteract evolving attack methodologies.

This incident also highlights the importance of adopting comprehensive security policies that do not rely solely on single points of failure. Multi-factor authentication (MFA) systems should consider incorporating diverse authentication mechanisms, including biometrics and context-aware authentication, to provide robust security even if one factor is compromised. Additionally, organizations need to maintain vigilant monitoring for unauthorized access attempts and conduct regular security audits to identify and rectify potential vulnerabilities.

Vulnerability disclosures such as these play a crucial role in the cybersecurity ecosystem by driving improvements and ensuring that trust in critical security technologies is maintained. While YubiKeys and similar devices will continue to be valuable assets in the cybersecurity toolkit, it is imperative that their deployment is accompanied by a strong understanding of their limitations and potential vulnerabilities.

Enterprises and individuals using YubiKeys are advised to stay informed about updates and patches released by Yubico, and to implement layered security strategies that can mitigate risks associated with potential vulnerabilities. Ensuring devices are used within secure environments and minimizing physical access to them can also reduce the effectiveness of side-channel attacks.

What to remember

In conclusion, the advent of advanced side-channel attacks on YubiKeys illustrates the dynamic and perpetual nature of cybersecurity threats. As adversaries evolve their tactics, it is incumbent on both users and manufacturers to adapt and fortify security measures continuously. This incident serves as a reminder of the critical balance between usability and security, and the ongoing effort required to protect sensitive cryptographic operations against increasingly sophisticated threats. The cybersecurity community must remain proactive, pushing the boundaries of defense mechanisms to safeguard against vulnerabilities that might compromise the trust and effectiveness of essential security tools.

Sources

  1. NinjaLab — EUCLEAK (opens in a new tab)
  2. Yubico — Security Advisory YSA-2024-03 (opens in a new tab)

How we address this risk

Trusted Integration

The implementation

Implements the designed security (migrate, deploy, integrate) through to go-live, and proves that it works.

Explore Trusted Integration

Proof: French public financial institution

Migrating a public financial institution's public key infrastructure

Programme management and integration of a public financial institution's public key infrastructure migration: certificates of 140 applications migrated with no service interruption, on schedule.

140 applications whose certificates were migrated with no service interruption

  • Identity and access

    AI licences: when access to tools becomes a cyber risk and a social risk

    Among French civil servants already exposed to AI, 55% use tools their employer has not approved. Authorised AI licences remain scarce and their allocation is rarely justified. A licence is an access right: without written criteria or review, it feeds shadow AI and creates unequal treatment that social dialogue will end up challenging.

  • Identity and access

    MFA enabled is not MFA enforced: why boards need proof that authentication works

    CISA lists a SonicWall SSLVPN flaw classified as single-factor authentication as actively exploited. An OpenSSH flaw lets some Linux accounts accept any password of 257 to 1,024 characters. Both show that "MFA enabled" is intent, not evidence. Under NIS2 Article 20, boards oversee access controls and should ask for proof that authentication works.

Does this risk concern you?

Tell us about your context: an expert will get back to you.

Contact us

or write directly to trust@blooo.io

  • Reply within 24 hours
  • Non-disclosure agreement on request, before any exchange
  • First call of 30 minutes

Your e-mail is sent from your own mail client: blooo.io stores nothing. We only use your details to reply to you. Privacy policy.