Wi-Fi Coconut
Userspace driver for USB Wi-Fi NICs and the Hak5 Wi-Fi Coconut. Provides tools to manage and interact with Wi-Fi Coconut devices for wireless operations.
Description
The hak5-wifi-coconut package supplies a userspace driver for the Hak5 Wi-Fi Coconut, a USB Wi-Fi device designed for advanced wireless tasks. It enables management of the device through the wifi_coconut command-line tool, which supports interactive and non-interactive modes for packet capture and device control.
Use cases include wireless network monitoring, packet logging to PCAP files, and multi-device handling in environments with multiple Wi-Fi Coconuts. The tool is particularly useful for penetration testers needing portable, high-performance Wi-Fi sniffing capabilities.
By default, wifi_coconut launches in interactive mode with LED indicators for status and traffic. Non-interactive options allow scripting and integration with other tools via piped PCAP output.
How It Works
The wifi_coconut tool interfaces with the Wi-Fi Coconut via USB using libusb-1.0-0 and firmware-mediatek. It manages device enumeration, channel selection UI (in interactive mode), and packet capture to PCAP format. LEDs provide visual feedback on traffic and status, with options to disable or invert them. The driver handles multiple devices and waits for connection, logging packets for analysis.
Installation
sudo apt install hak5-wifi-coconutFlags
Examples
wifi_coconut -hwifi_coconutwifi_coconut --disable-ledswifi_coconut --pcap=capture.pcapwifi_coconut --pcap=- | tcpdump -r -wifi_coconut --list-coconutswifi_coconut --wait --no-display