How to Hack WiFi Password on Android with Kali Linux
In this article
This guide explains how to use Kali Linux on an Android device to test the security of your own WiFi network by recovering a forgotten password. It covers installing Kali NetHunter or Termux, putting your WiFi adapter into monitor mode (if supported), capturing handshakes, and cracking them with wordlists. This is for educational purposes only—only use these techniques on networks you own or have explicit permission to test.
What You'll Need
- An Android phone with root access (required for monitor mode on most devices).
- A compatible WiFi chipset that supports monitor mode (e.g., certain Qualcomm, MediaTek, or Broadcom chips). Check your device's chipset online.
- Kali NetHunter (recommended) or Termux with root permissions.
- A wordlist file (e.g., rockyou.txt) stored on your device.
- Basic familiarity with the Linux command line.
Step-by-Step
- Install Kali NetHunter – Download the NetHunter APK from the official Kali website (nethunter.com) or via the Kali repository. You need a rooted device; if you don't have root, you can use Termux but monitor mode may not work. Install the app and open it.
- Update and prepare the environment – In NetHunter, open a terminal session (or use Termux if you chose that). Run
apt update && apt upgradeto ensure all tools are current. Install needed tools:apt install aircrack-ng. - Check WiFi adapter support – Run
iw listto see if your WiFi chipset supports monitor mode. Look for "Supported interface modes" and check if "monitor" is listed. If not, you cannot proceed with packet capture on this device; consider an external USB WiFi adapter with an OTG cable. - Enable monitor mode – Use
ip link showto find your wireless interface name (usually wlan0). Then bring it down:ip link set wlan0 down. Set monitor mode:iw dev wlan0 set type monitor. Bring it back up:ip link set wlan0 up. Verify withiw dev. - Scan for WiFi networks – Run
airodump-ng wlan0to list nearby networks. Note the BSSID (MAC address) and channel of your target network (the one you own). Press Ctrl+C to stop scanning. - Capture the WPA handshake – Start a targeted capture:
airodump-ng wlan0 --bssid [BSSID] -c [channel] -w capture. This writes packets to a file. To force a client to reconnect and capture the handshake, open another terminal and send deauthentication packets:aireplay-ng -0 2 -a [BSSID] wlan0. Wait for the handshake to appear in the top-right of the airodump output. - Stop the capture – Once the handshake shows "WPA handshake: [BSSID]", press Ctrl+C to stop. You now have a .cap file (e.g., capture-01.cap).
- Crack the password – Use aircrack-ng with a wordlist:
aircrack-ng capture-01.cap -w /path/to/wordlist.txt. If the password is in the wordlist, it will be displayed. For a more powerful attack, use hashcat on a PC, but on Android aircrack-ng is sufficient for simple passwords. - Exit monitor mode – After cracking, restore your WiFi to normal:
ip link set wlan0 down,iw dev wlan0 set type managed,ip link set wlan0 up.
Common Mistakes
- Using a device that does not support monitor mode—you'll get errors like "Operation not supported."
- Forgetting to run commands as root (use
sufirst). - Not waiting long enough for a handshake; sometimes you need to send more deauth packets.
- Using a weak wordlist that doesn't contain the password.
- Not turning off monitor mode afterward, which breaks normal WiFi connectivity.
Tips
- Use a wordlist that matches likely passwords (e.g., common passwords, names, numbers).
- If your phone's internal WiFi doesn't support monitor mode, buy a cheap USB WiFi adapter that is known to work with Kali (e.g., Alfa AWUS036NHA) and use an OTG cable.
- Keep your Kali NetHunter updated to get the latest tools and bug fixes.
- Practice on your own router first to understand the process.
- For WPS-enabled networks, you can try
reaverinstead, but it's slower and less reliable.
Troubleshooting
- Monitor mode fails – Ensure you have root. Check
iw listfor monitor support. If not supported, you cannot proceed without an external adapter. - No handshake captured – Increase the number of deauth packets (e.g.,
-0 10). Ensure the client is actually connected to the target network. Try again at a different time when clients are active. - Airplay-ng errors – Make sure you use the correct interface and that it's in monitor mode. Also, some devices need a small delay between deauth packets; use
--deauth-rcif needed. - Cracking too slow – For longer passwords, aircrack-ng on a phone is impractical. Transfer the .cap file to a PC and use hashcat with a GPU.
- WiFi stops working after exiting monitor mode – Reboot your phone or manually reset the interface as shown in step 9.
- NetHunter not installing – Ensure your Android version is compatible (NetHunter supports most versions, but check the official docs). You may need to allow installation from unknown sources.
Frequently Asked Questions
Is it legal to hack WiFi passwords with Kali Linux?
Only if you own the network or have written permission from the owner. Unauthorized access is illegal in most jurisdictions and violates computer fraud laws.
Do I need root access?
Yes, for monitor mode on Android, root is generally required. Without root, you can use Termux for basic scanning but not for capturing handshakes.
Can I hack WPA2 or WPA3?
WPA2 can be cracked if the password is weak and in your wordlist. WPA3 is much more secure and current methods are not practical for most users.
How long does it take to crack a password?
It depends on the password complexity and the wordlist size. Simple passwords may crack in seconds; complex ones may never be found.
What if my phone doesn't support monitor mode?
You can use an external USB WiFi adapter that supports monitor mode, connected via OTG. Many Kali-compatible adapters are available.
Can I use this to hack my neighbor's WiFi?
Doing so without permission is illegal. This guide is for educational and security testing purposes only. Always get explicit consent.