The VikiD Truth

Knowledge base / Computing / Security

Read This! | Picolisp | Picolisp Machine | Pil Sources | Linux | BASH | C-Programmming | Javascipt | Python | Operating Systems | Computer Security | Firewalls | Exploitation | Social Engineering | Metasploit | Emacs | vim | Pharo Smalltalk | wifi-penetration

Wifi Penetration

The Wifi-Alliance is the worldwide network of companies that brings you Wi-Fi!

Protocols

Techniques

The plain idea

Wi-Fi security is about one hard problem: your data travels through the air, where anyone nearby can listen. So every Wi-Fi standard is an attempt to encrypt that air so only people who know the password can read it. My notes above walk through the generations, WEP, WPA, WPA2, and each one is a patch on the broken promises of the one before. “Wi-Fi penetration” means testing how well that encryption actually holds.

Why it matters

A wired network has a physical boundary: to tap it you must plug in. Wi-Fi has no such wall; its boundary is wherever the signal reaches, often the street outside. If the encryption is weak, an attacker never has to touch your building. Knowing how each protocol fails is how you choose the right one and spot a network you should not trust.

An everyday analogy: shouting across a crowded room

Talking over Wi-Fi is like holding a conversation by shouting across a packed café. Everyone can hear the sound; encryption is agreeing a private code beforehand so that, although they hear you, only your friend understands. WEP was a laughably simple code cracked in minutes. WPA2 is a strong one. WPA3 adds the trick that even if someone records the whole conversation and later learns the code, they still cannot decode what was already said.

A worked example: why WEP fell, and what replaced it

My WEP diagram shows the fatal flaw. WEP sends small “initialisation vectors” (IVs) in clear text, and reuses them often. Capture enough packets, about 50,000 as my note says, and the key falls out by statistics, in ten to fifteen minutes. That is the classic aircrack-ng attack. WEP has been deprecated since 2004 and must never be used.

The modern equivalent against WPA/WPA2 is the handshake capture, which my “Techniques” commands sketch:

sudo airmon-ng start wlan0                         # monitor mode
sudo airodump-ng wlan0mon                          # find the target BSSID/channel
sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w cap wlan0mon
sudo aireplay-ng -0 2 -a AA:BB:CC:DD:EE:FF wlan0mon   # deauth to force a reconnect
sudo aircrack-ng cap-01.cap -w wordlist.txt           # crack the captured handshake offline

Crucially, WPA2 is not cracked live. You capture the four-way handshake when a device joins, then guess the password offline against a wordlist. So WPA2’s real weakness is a weak, guessable password, not the protocol. A long random passphrase makes this attack hopeless.

A 2026 update

The big news since these notes: WPA3 arrived in 2018 and is now standard on current hardware. It replaces the handshake with SAE (Simultaneous Authentication of Equals, the “Dragonfly” exchange), which defeats the offline-guessing attack above and adds forward secrecy. The practical advice today:

Common misconceptions

How it connects

The truth revealed: Wi-Fi security is a thirty-year arms race over the one thing you cannot hide, radio in the open air, and today it mostly comes down to a password long enough that no wordlist will ever hold it.

Last edited · 12 revisions

Tags: #Computing