Title
The Nexmon firmware analysis and modification framework: Empowering researchers to enhance Wi-Fi devices.
Abstract
The most widespread Wi-Fi enabled devices are smartphones. They are mobile, close to people and available in large quantities, which makes them perfect candidates for real-world wireless testbeds. Unfortunately, most smartphones contain closed-source FullMAC Wi-Fi chips that hinder the modification of lower-layer Wi-Fi mechanisms and the implementation of new algorithms. To enable researchers’ access to lower-layer frame processing and advanced physical-layer functionalities on Broadcom Wi-Fi chips, we developed the Nexmon firmware patching framework. It allows users to create firmware modifications for embedded ARM processors using C code and to change the behaviour of Broadcom’s real-time processor using Assembly. Currently, our framework supports nine Broadcom chips available in smartphones and Raspberry Pis. Our example patches enable monitor mode, frame injection, handling of ioctls, ucode compression, flashpatches, software-defined radio capabilities, channel state information extraction and access to debugging features. To enhance firmware analysis, we present a debugger application that directly accesses the debugging core of the ARM microcontroller executing the Wi-Fi firmware. Additionally, we discuss how Wi-Fi chips can be protected from malicious firmware while still allowing researchers to run custom code. Using Nexmon, researchers can unleash the full capabilities of off-the-shelf Wi-Fi devices.
Year
DOI
Venue
2018
10.1016/j.comcom.2018.05.015
Computer Communications
Keywords
Field
DocType
Wi-Fi chips,Reverse engineering,Firmware,Smartphones,Debugging,Channel state information extraction,Software-defined radio,Nexmon,Broadcom
ARM architecture,Wireless,Arm microcontroller,Computer science,Debugger,Computer network,Monitor mode,Embedded system,Firmware,Debugging,Channel state information
Journal
Volume
ISSN
Citations 
129
0140-3664
1
PageRank 
References 
Authors
0.45
7
3
Name
Order
Citations
PageRank
Matthias Schulz111112.74
Daniel Wegemer2334.91
Matthias Hollick375097.29