Dragonblood sigue filtrando: un canal lateral práctico basado en caché en el mundo real
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.
Resumen
Recientemente, los ataques Dragonblood han despertado un nuevo interés en la seguridad de la implementación de WPA-3, y en particular en el código Dragonfly desplegado en muchas bibliotecas de código abierto. Uno de estos ataques se centra en la protección de las contraseñas de los usuarios durante la autenticación. En el protocolo de intercambio de claves de autenticación por contraseña (PAKE) llamado Dragonfly, el secreto, es decir, la contraseña, se mapea a un punto de curva elíptica. Esta operación es sensible, ya que implica la contraseña secreta, y por lo tanto su resistencia contra ataques de canal lateral es de suma importancia. Tras la divulgación inicial de Dragonblood, notamos que este ataque en particular ha sido parcheado parcialmente solo por unas pocas implementaciones. En este trabajo, demostramos que los parches implementados tras la divulgación de Dragonblood son insuficientes. Aprovechamos técnicas de vanguardia para extender el ataque original, demostrando que somos capaces de recuperar la contraseña con solo un tercio de las mediciones necesarias en el ataque Dragonblood. Aplicamos principalmente nuestro ataque a dos proyectos de código abierto: iwd (iNet Wireless Daemon) y FreeRADIUS, con el fin de subrayar la practicabilidad de nuestro ataque. De hecho, el paquete iwd, escrito por Intel, ya está desplegado en la distribución Arch Linux, que es muy conocida entre los expertos en seguridad, y busca ofrecer una alternativa a wpa_supplicant. En cuanto a FreeRADIUS, es un proyecto de código abierto de upstream ampliamente desplegado y bien mantenido. Publicamos una prueba de concepto completa de nuestro ataque y participamos activamente en el proceso de parcheo del código vulnerable. Aquí, desde una perspectiva de compatibilidad hacia atrás, recomendamos el uso de una implementación sin ramas como técnica de mitigación, como la utilizada en hostapd, debido a su simplicidad y a su sobrecarga insignificante.
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.