드래곤블러드도 여전히 새어 나가고 있다: 야생 환경에서 실용적인 캐시 기반 사이드 채널
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 코드에 대한 보안에 새로운 관심을 불러일으켰다. 이 공격 중 하나는 인증 과정에서 사용자 비밀번호의 보호를 다루고 있다. Dragonfly라는 비밀번호 인증 키 교환 (PAKE) 프로토콜에서 비밀인 비밀번호는 타원 곡선 점으로 매핑된다. 이 작업은 비밀 비밀번호를 포함하므로 사이드채널 공격에 대한 저항성이 극히 중요하다. Dragonblood 초기 공개 이후, 이 특정 공격이 몇몇 구현에서 부분적으로 패치되었음을 발견했다. 본 논문에서는 Dragonblood 공개 후 구현된 패치가 불충분함을 보여준다. 우리는 최첨단 기법을 활용하여 원래 공격을 확장시켰으며, Dragonblood 공격에서 필요한 측정값의 1/3만으로도 비밀번호를 복원할 수 있음을 증명했다. 우리는 주로 iwd (iNet Wireless Daemon) 과 FreeRADIUS라는 두 개의 오픈소스 프로젝트에 본 공격을 적용하여 공격의 실용성을 강조한다. 실제로, Intel 가 작성한 iwd 패키지는 보안 전문가들 사이에서 잘 알려진 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.