Simple Wi-Fi Sniffer with Nvidia Jetson Nano on Ubuntu
Categories:
Requirements
- Nvidia Jetson Nano with Ubuntu installed
- A Wi-Fi adapter compatible with monitor mode (e.g., Alfa AWUS036NH or any other compatible adapter)
Steps
Connect your Jetson Nano to a power source and insert an SD card with Ubuntu installed.
Power on the device and connect it to a monitor, keyboard, and mouse.
Open a terminal window by clicking on the top-left corner of the screen and selecting “Terminal”.
Update the package lists by running the following command:
sudo apt update
Install the
aircrack-ng
suite of wireless security tools by running the following command:sudo apt install aircrack-ng
Connect your Wi-Fi adapter to one of the USB ports on your Jetson Nano and power it on.
Check if your Wi-Fi adapter is recognized by the system by running the following command (ensure your adapter supports monitor mode):
ls /sys/class/net/
You should see an output similar to this:
eth0 wlan0
If you do not see
wlan0
in the list of network interfaces, it may be because your Wi-Fi adapter is not compatible with monitor mode. In that case, you will need to use a different Wi-Fi adapter or follow alternative steps to enable monitor mode on your specific adapter.Bring up the
wlan0
interface by running the following command:sudo ip link set wlan0 up
Put the
wlan0
interface into monitor mode by running the following command:sudo iw phy wlan0 interface add mon0 type monitor sudo ip link set mon0 up
Run a packet capture utility such as
tshark
to capture network traffic on the nearby wireless networks, and save the output to a file:tshark -i mon0 -f "wlan" -w wifi_capture.pcapng
Observe the captured network traffic in real-time by running the following command in another terminal window:
tcpdump -r wifi_capture.pcapng
After you have collected enough network traffic data, stop the packet capture utility by pressing
Ctrl+C
.Analyze the captured network traffic using tools such as Wireshark or
aircrack-ng
to identify potential security vulnerabilities or other interesting patterns of behavior.
Conclusion
In this tutorial, we covered the steps to create a simple Wi-Fi sniffer using the Nvidia Jetson Nano on Ubuntu. By following these steps, you should be able to use your new tool to capture and analyze network traffic on nearby wireless networks, potentially allowing you to identify potential security vulnerabilities or other interesting patterns of behavior.