WiFi Security: Understanding Airdump, the Dangers of Public WiFi, and How to Protect Yourself
A complete guide to WiFi security from both the attacker and defender side, covering airodump-ng, the risks of public WiFi, and practical tips for staying safe on wireless networks.
WiFi is one of the technologies we rely on most in daily life. But most people do not realize how vulnerable wireless networks are to attack. This article will discuss how attackers exploit WiFi security gaps, which tools they use, and how you can protect yourself.
Getting to Know Airodump-ng
Airodump-ng is an 802.11 packet sniffing tool that is part of the Aircrack-ng suite. This tool is designed to capture raw frames from a wireless network, which is crucial for a security audit.
How It Works
When run, airodump-ng puts the wireless adapter into monitor mode, which allows it to capture every packet traveling through the air, not just those addressed to the device itself. This gives you full visibility into all wireless traffic in the surrounding area.
# Install Aircrack-ng
sudo apt update && sudo apt install aircrack-ng
# Check wireless interface
iwconfig
# Enable monitor mode
sudo airmon-ng start wlan0
# Start scanning all networks
sudo airodump-ng wlan0mon
# Specific target (BSSID + channel)
sudo airodump-ng --bssid 00:11:22:33:44:55 -c 6 -w capture wlan0mon
Fields to Pay Attention To
| Field | Explanation |
|---|---|
| BSSID | MAC address of the access point |
| PWR | Signal strength (the higher it is, the closer you are) |
| ENC | Encryption type (WEP, WPA, WPA2, OPN) |
| CIPHER | Cipher in use (CCMP, TKIP) |
| ESSID | Network name (SSID) |
| STATION | MAC address of connected clients |
Types of WiFi Attacks
WPA/WPA2 Handshake Capture
The attacker captures the 4-way handshake when a client connects to the AP. This handshake can be attacked offline to brute force the WiFi password.
Evil Twin Attack
The attacker creates a fake AP with the same name as the legitimate WiFi. Any client that connects to the fake AP will route all of its traffic through the attacker.
Deauthentication Attack
The attacker sends deauth packets to the client, disconnecting them from the AP. The client will automatically reconnect, and that is when the handshake is captured.
The Dangers of Public WiFi
Free WiFi at cafes, airports, or hotels is tempting. But behind the convenience lurks a serious threat.
Attacks That Happen Frequently
Man-in-the-Middle (MITM)
The attacker impersonates a WiFi hotspot you recognize. You think you are connecting to “CoffeeShop_Free”, but you are actually connecting to a “CoffeeShop_Free” created by the attacker. All the data you send through this fake hotspot can be read by the attacker.
Packet Sniffing
On unencrypted public WiFi, an attacker can use tools like Wireshark to read all the data you send, including passwords, emails, and messages.
Captive Portal Phishing
You connect to the WiFi, and then a login page appears asking for a username and password. It turns out to be fake, and your credentials have already been stolen.
How to Protect Yourself
- Always use a VPN on public WiFi. It encrypts all your traffic.
- Make sure HTTPS is used on every website you visit.
- Turn off auto-connect to public WiFi in your device settings.
- Do not access internet banking or sensitive data on public WiFi.
- Use mobile data for important transactions.
WiFi Security Tips at Home
- Change the default password on your router. Use a combination of letters, numbers, and symbols with a minimum of 12 characters.
- Enable WPA3 if your router supports it. If not, WPA2-AES is the minimum.
- Disable WPS (WiFi Protected Setup). This feature is vulnerable to brute force.
- Update your router firmware regularly. Vulnerabilities that have already been patched are often left un-updated by users.
- Turn off SSID broadcast if it is not needed. This is not 100% secure, but it adds a layer of defense.
- Use MAC filtering as an additional layer of security.
- Create a guest network for visitors. Do not share your main WiFi password.
Fun Fact: According to a 2025 study, 68% of public WiFi in Indonesia does not use adequate encryption. That means almost all the data you send can be read by an attacker.
Conclusion
WiFi security is not just about setting a strong password. You need to understand how attacks work, which tools attackers use, and the concrete steps you can take to protect yourself. Start with the simple things: turn off auto-connect, use a VPN, and change your router’s default password.
Related Articles
10 Cybersecurity Tips You Need to Know in 2026
A set of practical cybersecurity tips you can apply right away to protect yourself and your data in the digital age.
SecurityThe Hidden Danger Behind the Browser Extensions You Use
Seemingly normal browser extensions can become tools for personal data theft. Learn how they work and how to protect yourself.
SecurityWhy Learning Networking Is a Mandatory Prerequisite for Understanding Hacking
Hackers and security analysts share one foundation: understanding how data flows across networks, which is why networking must come before hacking.
Your ideas deserve to be read by thousands of people.
ByteNesia is built for everyone. If you have experience, tutorials, or opinions about technology, write and share them here. Your name will be credited as a contributor.
Write anything: tool reviews, homelab tutorials, security tips, or your tech stories.