Dragonblood ainda está vazando: um canal lateral prático baseado em cache no 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.
Resumo
Recentemente, os ataques Dragonblood despertaram novo interesse na segurança da implementação do WPA-3, e em particular no código Dragonfly implantado em muitas bibliotecas de código aberto. Um desses ataques preocupa-se com a proteção das senhas dos usuários durante a autenticação. No protocolo de troca de chaves de autenticação de senha (PAKE) chamado Dragonfly, o segredo, ou seja, a senha, é mapeado para um ponto em uma curva elíptica. Esta operação é sensível, pois envolve a senha secreta, e, portanto, sua resistência contra ataques de canal lateral é de extrema importância. Após a divulgação inicial do Dragonblood, notamos que este ataque específico foi parcialmente mitigado apenas por algumas implementações. Neste trabalho, mostramos que as correções implementadas após a divulgação do Dragonblood são insuficientes. Aproveitamos técnicas de estado da arte para estender o ataque original, demonstrando que somos capazes de recuperar a senha com apenas um terço das medições necessárias no ataque Dragonblood. Aplicamos principalmente nosso ataque em dois projetos de código aberto: iwd (iNet Wireless Daemon) e FreeRADIUS, a fim de sublinhar a praticabilidade do nosso ataque. De fato, o pacote iwd, escrito pela Intel, já está implantado na distribuição Arch Linux, que é bem conhecido entre especialistas em segurança, e visa oferecer uma alternativa ao wpa_supplicant. Quanto ao FreeRADIUS, é um projeto de código aberto de upstream amplamente implantado e bem mantido. Publicamos um Proof of Concept completo do nosso ataque e participamos ativamente do processo de correção do código vulnerável. Aqui, sob uma perspectiva de compatibilidade para trás, aconselhamos o uso de uma implementação sem ramificações como técnica de mitigação, como foi utilizado no hostapd, devido à sua simplicidade e ao seu overhead negligenciável.
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.