How to use Aireplay-ng

Hackbydoing Academy tool guide · Wi-Fi & wireless security · free, no login

What Aireplay-ng is, in plain words

Aireplay-ng sends forged Wi-Fi frames (small wireless messages it makes up) to provoke a reaction from a network, most often to force a device to reconnect so its login handshake can be recorded.

A working aireplay-ng command

aireplay-ng --deauth 5 -a AA:BB:CC:11:22:33 -c DC:A6:32:11:22:33 wlan0mon

This sends 5 fake 'you are disconnected' messages pretending to come from that access point, knocking that one client device off so it rejoins and performs its handshake again.

Every piece of the command, explained

--deauthSend deauthentication frames — fake 'disconnect now' messages. The next number is how many to send; 0 would mean keep sending until stopped.
-aThe next piece is the hardware address (BSSID) of the access point — the network you are aiming at, and the address the fake messages pretend to come from.
-cThe next piece is the hardware address of one client device to aim at. Without it, the messages are broadcast to every device on that network.
interfaceThe last piece is the name of your wireless card in monitor mode, such as wlan0mon — the card sending the frames.

Use it the legal way

Only run aireplay-ng on systems you own or have explicit, written permission to test — at work that means a signed engagement, at home that means your own lab. Inside Hackbydoing Academy you practice on simulated networks and lab machines built for exactly this, where breaking things is the lesson and no one else's systems are involved. Learning how a tool works also teaches you what it looks like from the defender's chair: the logs it leaves, the traffic it makes, and the settings that shut it down.

✦ Practice Aireplay-ng hands-on in a guided lab

Reading about aireplay-ng is step one. In the Academy you run it yourself, step by step, in guided labs on simulated networks — 185 rooms covering attack and defense, from your first scan to full operations, with a defender's debrief at the end of every room. Founding membership is $9.99/mo for the first 500 members.

Join Hackbydoing Academy →

Related tool guides

Free from the Hackbydoing Academy — learn cybersecurity by doing: real tools, guided labs, attack and defense, on simulated networks. More free material: Tool Guides index · Free Downloads Library · Hackbydoing Academy · Print this page (Ctrl/Cmd+P) for a clean paper copy.