ドラゴンブラッドは依然として漏洩している:ワイルドにおける実用的なキャッシュベースなサイドチャネル
Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild
Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild
@misc{braga2020dragonblood,
title = {Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild},
author = {Daniel De Almeida Braga and Pierre-Alain Fouque and Mohamed Sabt},
year = {2020},
eprint = {2012.02745},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/2012.02745}
}
Braga, D. D. A., Fouque, P.-A., & Sabt, M. (2020). Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.02745
BRAGA DDA, FOUQUE PA, SABT M. Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild[EB/OL]. (2020-12-04)[2026-11-30]. https://arxiv.org/abs/2012.02745.
要旨
最近、Dragonblood 攻撃は WPA-3 実装のセキュリティ、特に多数のオープンソースライブラリに展開されている Dragonfly コードのセキュリティについて新たな関心を集めている。ある攻撃は認証中のユーザーパスワードの保護に関わるものである。PAKE プロトコル Dragonfly では、秘密情報であるパスワードが楕円曲線上の点にマッピングされる。この操作は秘密パスワードを関与させるため機密性が高く、サイドチャネル攻撃に対する耐性が極めて重要である。Dragonblood の初期公開後、この特定の攻撃は少数の実装のみで部分的にパッチ化されていることに気づいた。本稿では、Dragonblood 公開後に実装されたパッチが不十分であることを示し、最先端の技術を活用して元の攻撃を拡張した。その結果、Dragonblood 攻撃で必要な測定値の 1/3 だけでパスワードを復元できることを示した。本攻撃は主に 2 つのオープンソースプロジェクト、すなわち iwd(iNet Wireless Daemon)と FreeRADIUS に適用し、攻撃の実用性を裏付けるものである。iwd パッケージは Intel によって作成され、セキュリティ専門家間でよく知られている Arch Linux 配布版に既に展開されており、wpa_supplicant の代替を提供することを目的としている。FreeRADIUS については、広く展開され、アップストリームでよくメンテナンスされているオープンソースプロジェクトである。本稿では攻撃の完全な Proof of Concept を公開し、脆弱なコードのパッチ化プロセスに積極的に関与した。ここでは、互換性の観点から、hostapd で使用されているようなブランチフリー実装を緩和技術として推奨する。その理由は、その単純さと極めて小さいオーバーヘッドである。
Recently, the Dragonblood attacks have attracted new interests on the security of WPA-3 implementation and in particular on the Dragonfly code deployed on many open-source libraries. One attack concerns the protection of users passwords during authentication. In the Password Authentication Key Exchange (PAKE) protocol called Dragonfly, the secret, namely the password, is mapped to an elliptic curve point. This operation is sensitive, as it involves the secret password, and therefore its resistance against side-channel attacks is of utmost importance. Following the initial disclosure of Dragonblood, we notice that this particular attack has been partially patched by only a few implementations. In this work, we show that the patches implemented after the disclosure of Dragonblood are insufficient. We took advantage of state-of-the-art techniques to extend the original attack, demonstrating that we are able to recover the password with only a third of the measurements needed in Dragonblood attack. We mainly apply our attack on two open-source projects: iwd (iNet Wireless Daemon) and FreeRADIUS, in order underline the practicability of our attack. Indeed, the iwd package, written by Intel, is already deployed in the Arch Linux distribution, which is well-known among security experts, and aims to offer an alternative to wpa_supplicant. As for FreeRADIUS, it is widely deployed and well-maintained upstream open-source project. We publish a full Proof of Concept of our attack, and actively participated in the process of patching the vulnerable code. Here, in a backward compatibility perspective, we advise the use of a branch-free implementation as a mitigation technique, as what was used in hostapd, due to its quite simplicity and its negligible incurred overhead.