Discovering Logical Vulnerabilities in the Wi-Fi Handshake Using Model-Based Testing
Title | Discovering Logical Vulnerabilities in the Wi-Fi Handshake Using Model-Based Testing |
Publication Type | Conference Paper |
Year of Publication | 2017 |
Authors | Vanhoef, Mathy, Schepers, Domien, Piessens, Frank |
Conference Name | Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4944-4 |
Keywords | 802.11, Collaboration, edge detection, fuzzing, handshake, Human Behavior, human factors, Metrics, policy-based governance, pubcrawl, resilience, Resiliency, security, security weaknesses, Testing, Wi-Fi |
Abstract | We use model-based testing techniques to detect logical vulnerabilities in implementations of the Wi-Fi handshake. This reveals new fingerprinting techniques, multiple downgrade attacks, and Denial of Service (DoS) vulnerabilities. Stations use the Wi-Fi handshake to securely connect with wireless networks. In this handshake, mutually supported capabilities are determined, and fresh pairwise keys are negotiated. As a result, a proper implementation of the Wi-Fi handshake is essential in protecting all subsequent traffic. To detect the presence of erroneous behaviour, we propose a model-based technique that generates a set of representative test cases. These tests cover all states of the Wi-Fi handshake, and explore various edge cases in each state. We then treat the implementation under test as a black box, and execute all generated tests. Determining whether a failed test introduces a security weakness is done manually. We tested 12 implementations using this approach, and discovered irregularities in all of them. Our findings include fingerprinting mechanisms, DoS attacks, and downgrade attacks where an adversary can force usage of the insecure WPA-TKIP cipher. Finally, we explain how one of our downgrade attacks highlights incorrect claims made in the 802.11 standard. |
URL | https://dl.acm.org/citation.cfm?doid=3052973.3053008 |
DOI | 10.1145/3052973.3053008 |
Citation Key | vanhoef_discovering_2017 |