← Attack pathsWATCH A WI-FI PASSWORD get cracked.

WATCH A WI-FI PASSWORD get cracked.

$aircrack-ng -w rockyou.txt capture.cap
no download link on purpose. cracking wi-fi handshakes is only legal on networks you own. the takeaway is defensive: use wpa3 and a long passphrase so a captured handshake is uncrackable.

the command everyone's sharing

you've probably seen the clip. someone runs one line, points a laptop at a coffee shop router, and boom, password cracked. it looks like magic. it's not magic, it's math and patience, and honestly, understanding it is the fastest way to make sure it doesn't work on your network.

so let's actually break down what's happening in that command, because the "hollywood hacking" version and the real version are pretty different, and the real version tells you exactly what to fix.

what's actually in that command

aircrack-ng -w rockyou.txt capture.cap

here's the plain english breakdown:

aircrack-ng is the tool doing the cracking. it doesn't capture anything itself in this line, it just does the math on data someone already grabbed.

-w rockyou.txt points to a wordlist. rockyou.txt is a famous list of about 14 million real passwords leaked from an actual data breach years ago. it's used because people reuse bad passwords constantly, so a leaked list from one breach ends up predicting passwords everywhere else.

capture.cap is the actual target, a file containing something called a "handshake." this is the part people skip over, and it's the important part.

the handshake is the whole game

wpa2 wifi doesn't send your password over the air. instead, when a device connects, the router and the device do a four way "handshake" to prove they both know the password without ever saying it out loud. that handshake gets encrypted with your actual wifi password as the key.

an attacker can't see your password from that handshake directly. what they can do is capture that handshake (sometimes by forcing a device to reconnect) and then, offline, on their own machine, try guessing passwords one at a time. for each guess, they run the same math the router and device used, and check if it produces a matching handshake. if it matches, that's your password.

this is why aircrack-ng doesn't need to be anywhere near your router while it's cracking. the capture already happened. the cracking is just guessing against a list, over and over, completely offline. no alarms, no logs on your router, nothing to notice.

why rockyou.txt actually works

the scary part isn't the tool, it's the wordlist. wpa2 handshakes are genuinely hard to brute force with pure random guessing, there are just too many possible combinations. but people don't pick random passwords. they pick "sunshine123" or their dog's name plus a birth year, and those exact patterns are already sitting in leaked breach lists like rockyou.txt.

a strong, random, 16+ character wifi password makes this entire attack basically pointless, because it would take longer than anyone's lifetime to grind through. a weak, memorable, "i can type it on my phone" password is exactly what these wordlists exist to catch.

how to check and fix your own network

here's the defender's version of this exercise, and it takes ten minutes.

log into your router's admin panel (usually something like 192.168.1.1 in a browser, check the sticker on the router if you don't know it) and look at your wifi security settings.

make sure you're on wpa3 if your router and devices support it, or wpa2 with aes at minimum. if you see wep or wpa listed as your current setting, that's ancient and trivially broken, switch it immediately.

change your wifi password to something long and random, not clever. a password manager can generate and store a 20 character password so you never have to remember it, you just copy paste it once per device.

disable wps (wifi protected setup). that "push the button to connect" feature has its own separate weaknesses that have nothing to do with your actual password strength.

if you want to test your own resilience, you can capture your own handshake and run it against rockyou.txt yourself. if your password cracks in seconds, you know exactly what to change. this is the same tool, same wordlist, just pointed at something you own and have permission to test.

the takeaway

cracking a wifi password isn't about breaking encryption, it's about guessing something a human picked. the tool is just fast, patient math running against human laziness. fix the human part, long random password, wpa3, wps off, and this entire attack turns into a very expensive way to accomplish nothing.

watch the reel ↗
the weekly drop

one command a week that makes you harder to hack.

a single tool, explained in plain english, every week. straight to your inbox.

no spam. one email a week. unsubscribe anytime.