GO KALI FREE

Wifite

Wireless Attacks

Beginnermedium risk

Learn how to use Wifite in Kali Linux with this beginner tutorial: check your WiFi adapter, install Wifite, run your first authorized WiFi audit, capture WPA handshakes and PMKIDs, and crack them with a wordlist. Includes Wifite commands, a worked example, troubleshooting for common errors, and how Wifite compares with Aircrack-ng.

Installation

sudo apt update && sudo apt install wifite

Basic Syntax

sudo wifite [options]

Quick Facts

Full Name
Wifite2 (Rewritten Version)
License
GNU GPL v3
Written In
Python 3
Platforms
Linux (Kali, Ubuntu, Parrot, Arch)
Category
Automated Wireless Security Auditing
Attack Types
WEP, WPA, WPA2, WPS, PMKID
First Release
2010 (wifite2 rewrite: 2017)
Author
derv82 (Original), community maintained
GitHub
github.com/derv82/wifite2
Pre-installed
Yes, on Kali Linux

Tool Overview

To use Wifite, run sudo wifite on a Kali Linux machine with a monitor-mode WiFi adapter, wait for the scan to list nearby access points, press Ctrl+C, pick a target you own or are authorized to test, and let Wifite run its attacks — WPS Pixie-Dust first, then PMKID capture, then a WPA handshake capture. Captured handshakes are saved in the hs/ folder and cracked with a wordlist such as rockyou.txt.

The beginner loop is simple: confirm Kali sees your adapter, install Wifite, run sudo wifite --syscheck to verify root access and dependencies, scan for networks, select a target, capture a handshake or PMKID, and crack it with --dict. Each step is covered in the guide below, and every flag it uses is listed in the commands table.

A worked first scan looks like this. On your own router, set up a lab access point called Lab-WiFi with WPA2-Personal and a passphrase you know, on channel 6. Run sudo wifite and the scan table lists it with its ESSID, BSSID, channel, encryption, power, WPS status, and connected clients. Press Ctrl+C, type the target number, and Wifite switches to monitor mode and works through its attacks in order. When a client reconnects, Wifite captures the four-way handshake, saves it in the hs/ folder, and — if you let it crack — prints the recovered passphrase in green.

Your adapter decides whether any of this works. It must support monitor mode and packet injection: the ALFA AWUS036NHA with the Atheros AR9271 chipset is a reliable choice, but it is 2.4 GHz only, so it cannot see 5 GHz networks. In a Kali virtual machine, pass the USB adapter through to the guest and use the VM's virtual Ethernet connection for internet access. Keep the lab on your own router, set to WPA2-Personal with a passphrase you know, and never point Wifite at a network you do not own.

Wifite 3, also called wifit3, is a new version that talks to USB WiFi adapters directly from userland with its own drivers, so it runs on Linux and Windows — but only with certain supported USB adapters. Wifite2 remains the most-supported version. Wifite2 can also capture WPA3-SAE exchanges and downgrade WPA2/WPA3 transition-mode networks to WPA2, which succeeds 80-90% of the time on transition networks; cracking the capture needs hcxdumptool v6.0.0 or newer, hcxpcapngtool v6.0.0 or newer, and hashcat v6.0.0 or newer in mode 22000. Pure WPA3-SAE networks resist offline dictionary attacks, so cracking them is much harder than WPA2.

Wifite is an automated wireless security auditing tool written in Python that streamlines the entire WiFi cracking process. It combines multiple wireless security tools including Aircrack-ng, Reaver, Pixie Dust, and Hashcat into a single automated workflow, making wireless penetration testing accessible to users of all skill levels.

Originally created by derv82 in 2010, Wifite has been revived as wifite2 with support for modern wireless cards, improved attack methodologies, and additional features like PMKID capture, session management, and hashcat integration. It handles the entire workflow from interface setup to password recovery with minimal user interaction.

Unlike manual wireless testing that requires deep knowledge of individual tools, Wifite automates network discovery, monitor mode activation, deauthentication, handshake capture, and password cracking in one seamless process. Security professionals use it for quick wireless assessments where speed is prioritized over manual control.

Wifite is pre-installed on Kali Linux and is the most popular automated WiFi auditing tool in the penetration testing community. Its simple command-line interface makes wireless security testing accessible while still providing advanced options for experienced penetration testers who need customizable attack parameters.

Quick Reference Commands

Verified quick-reference commands for Wifite
CommandPurpose
sudo wifiteScan nearby networks and attack targets automatically.
sudo wifite --syscheckVerify root access, dependencies, and attack readiness.
sudo wifite --killStop NetworkManager and wpa_supplicant before scanning.
sudo wifite --pmkidCapture PMKIDs, which need no connected clients.
sudo wifite --crack --dict /usr/share/wordlists/rockyou.txtCrack captured handshakes with the rockyou wordlist.
sudo wifite --crackedList handshakes that are already cracked.
Wifite2 READMEWifite | Kali Linux Tools

Common Commands

sudo wifiteAuto scan - Launch the interactive scanner to automatically detect and attack nearby wireless networks with full automation
sudo wifite --killKill processes - Stop NetworkManager, wpa_supplicant, and other background processes that conflict with monitor mode
sudo wifite -wpaWPA targets only - Restrict automated attack vectors exclusively to WPA and WPA2 encrypted networks
sudo wifite -wpsWPS targets only - Isolate operations to target only access points running active WPS PIN configurations
sudo wifite --dict wordlist.txtCustom wordlist - Define a specific external dictionary file to use during the automated handshake cracking phase
sudo wifite -i wlan0Specific interface - Use a particular wireless adapter instead of relying on automatic interface detection
sudo wifite --wepWEP only - Focus automated attacks exclusively on WEP-encrypted networks for initialization vector capture
sudo wifite -b AA:BB:CC:DD:EE:FFBSSID filter - Target a specific access point by its unique MAC address for focused auditing
sudo wifite -c 6Channel filter - Scan only a specific wireless channel instead of hopping across all available channels
sudo wifite --num-deauths 5Deauth count - Control the number of deauthentication packets sent per target during handshake capture
sudo wifite --wpadt 30Deauth interval - Wait 30 seconds between deauthentication packets during a WPA attack
sudo wifite --wpat 600WPA attack timeout - Wait 600 seconds before giving up on a WPA handshake capture
sudo wifite --clients-onlyClients only - Only target networks that have active connected clients (required for deauthentication attacks)
sudo wifite -p 60Pillage mode - Attack all targets after 60 seconds of scanning
sudo wifite -vVerbose output - Display detailed attack information and debugging data for troubleshooting
sudo wifite --crack --crack-tool aircrackCrack with Aircrack-ng - Crack captured handshakes with aircrack-ng instead of hashcat
sudo wifite --random-macRandom MAC - Randomize the wireless adapter MAC address before starting attacks
sudo wifite --pow 30Power limit - Set the maximum wireless transmitter power in dBm to control signal range
sudo wifite --pmkidPMKID capture - Capture PMKIDs, which need no connected clients
sudo wifite --pixiePixie-Dust attack - Force the WPS Pixie-Dust attack
sudo wifite --syscheckSystem check - Verify root access, dependencies, and attack readiness
sudo wifite --dual-interfaceDual interface - Use two adapters in parallel for 30-50% faster attacks
sudo wifite --eviltwinEvil Twin - Run a rogue access point with a captive portal
sudo wifite --wpa3-onlyWPA3 only - Attack only WPA3 networks
sudo wifite -55 GHz scan - Scan the 5 GHz band
sudo wifite --skip-crackSkip cracking - Capture handshakes without cracking them now

Step-by-Step Guide

  1. 1Check your adapter and run sudo wifite --syscheck: confirm Kali sees a monitor-mode WiFi adapter, then verify root access, RF-Kill state, conflicting processes, and tool dependencies before you scan.
  2. 2Set the scope: test only your own router or a lab access point you have written permission to audit. In India, Section 43 of the IT Act covers unauthorized access — never run Wifite against a network you do not own or are not authorized to test.
  3. 3Install Wifite: on Kali it is preinstalled, or install it with sudo apt update && sudo apt install wifite. For the latest version, clone the GitHub repository and run sudo python3 setup.py install from the wifite2 folder.
  4. 4Free the adapter with sudo wifite --kill: this stops NetworkManager, wpa_supplicant, and other processes that fight Wifite for control of the interface.
  5. 5Start your first scan with sudo wifite and wait: the table lists nearby access points with ESSID, BSSID, channel, encryption, power, WPS status, and connected clients. Press Ctrl+C when your target appears.
  6. 6Read the table and pick a target: enter the target number, or filter with -b BSSID or -e SSID. Prefer a target with connected clients and WPS enabled for the fastest first result.
  7. 7Let Wifite run its attack order: WPS Pixie-Dust first, then WPS PIN, then PMKID capture, then a WPA handshake capture. Use --clients-only to attack only networks with connected clients.
  8. 8Capture the handshake or PMKID: Wifite deauthenticates a client to force a fresh handshake, then saves it in the hs/ folder. Tune the wait with --wpadt 30 (seconds between deauths) and --wpat 600 (seconds before failing a WPA attack).
  9. 9Crack the capture with a wordlist: run sudo wifite --crack --dict /usr/share/wordlists/rockyou.txt, or skip cracking for now with --skip-crack and crack later with --crack. A green line shows the recovered passphrase.
  10. 10Review and hand off: check hs/ for saved captures, verify with sudo wifite --cracked, and hand a stubborn handshake to Hashcat (mode 22000) or Aircrack-ng for GPU or manual cracking.

Warnings

Use Cases

WPA/WPA2 Handshake Capture

Automatically capture 4-way handshakes from WPA/WPA2 networks for offline dictionary cracking using aircrack-ng or hashcat.

WPS PIN Recovery

Test WPS-enabled access points for PIN vulnerabilities using Reaver and Pixie Dust attacks to recover WPA passwords.

WEP Key Recovery

Recover WEP encryption keys by capturing sufficient initialization vectors (IVs) and using aircrack-ng for cracking.

Wireless Network Auditing

Audit wireless network security by testing encryption strength, password complexity, and configuration vulnerabilities.

Penetration Testing

Assess wireless infrastructure security as part of comprehensive penetration testing engagements and red team operations.

Security Compliance Testing

Validate that wireless networks meet organizational security standards, encryption requirements, and password policies.

Security Awareness Training

Demonstrate wireless security weaknesses in controlled training environments to educate users about WiFi risks.

Personal Network Security

Test the security of your own home or office WiFi networks to identify weak passwords and misconfigured encryption.

Best Practices

Common Errors

Error: No wireless interfaces found
Check if your wireless adapter is connected. Run iwconfig to list wireless interfaces. Install correct drivers for your chipset.
Error: Monitor mode could not be enabled
Use --kill flag to stop interfering processes. Verify your adapter chipset supports monitor mode. Try a different USB port.
Error: Permission denied
Always run Wifite with sudo: sudo wifite. The tool requires root for wireless adapter manipulation.
Error: aircrack-ng not found
Install aircrack-ng: sudo apt install aircrack-ng. Wifite depends on aircrack-ng for packet capture and cracking.
Error: No targets found
Move closer to target networks. Verify monitor mode is active. Check if antenna is connected for USB adapters.
Error: Handshake capture failed
Wait for clients to connect. Try --num-deauths to increase deauth packets. Use --clients-only to ensure clients are present.
Error: Python dependency missing
Install Python dependencies: pip3 install -r requirements.txt or reinstall wifite from GitHub.
Error: Adapter driver compatibility issue
Install correct drivers for your chipset. Try alternative drivers like ath9k_htc for Atheros or rtl8812au for Realtek.

People Also Ask

What is Wifite used for?

Wifite is used for automated WiFi security auditing — capturing WPA/WPA2 handshakes, testing WPS PINs, and cracking WEP keys for authorized security assessments.

Is Wifite pre-installed in Kali Linux?

Yes, Wifite comes pre-installed on Kali Linux. Run sudo wifite to start immediately without installation.

How to use Wifite for WPA2?

Run sudo wifite -wpa to target WPA2 networks. Wifite automatically captures the handshake and attempts dictionary cracking.

What wordlist does Wifite use?

Wifite can use custom wordlists with --dict. Kali Linux includes rockyou.txt at /usr/share/wordlists/rockyou.txt for dictionary attacks.

Does Wifite work on Windows?

No, Wifite is Linux-only. Use a Kali Linux live USB or virtual machine on Windows for wireless testing.

Is Wifite legal to use?

Wifite is legitimate security testing software. Using it against networks without authorization is illegal in most jurisdictions.

How long does Wifite take to crack WiFi?

Depends on password complexity and wordlist quality. Simple passwords crack in seconds; complex ones may take hours or longer.

Related Tools

Fern WiFi Cracker

Wireless Attacks

Fern WiFi Cracker is a GUI wireless security auditing tool that can crack WEP/WPA/WPS keys and run network-based attacks.

Aircrack-ng

Wireless Attacks

Aircrack-ng is a complete suite of tools to assess WiFi network security. It focuses on different areas of WiFi security: monitoring, attacking, testing, and cracking.

Reaver

Wireless Attacks

Reaver implements a brute force attack against WiFi Protected Setup (WPS) registrar PINs to recover WPA/WPA2 passphrases.

Kismet

Wireless Attacks

Kismet is a wireless network and device detector, sniffer, wardriving tool, and wireless IDS. It works passively with WiFi, Bluetooth, and other wireless protocols.

Hashcat

Password Attacks

Learn how to use Hashcat in Kali Linux as a beginner, from checking the install and selecting the right modes to running a wordlist crack and reading results.

Bettercap

Sniffing & Spoofing

Bettercap is a powerful, flexible network attack and monitoring framework. It is the complete modular successor to ettercap, offering wide-ranging capabilities for WiFi, Bluetooth, and IP network security auditing.

Related Cybersecurity Guides

Wireless Security · Advanced

Aircrack-ng Guide: Complete Wireless Security Assessment

A comprehensive guide to the Aircrack-ng suite for wireless security testing including monitor mode, packet capture, deauthentication attacks, WPA/WPA2 cracking, and WEP analysis.

Networking · Intermediate

WiFi Security Basics: Protecting Wireless Networks

An intermediate guide to WiFi security covering wireless protocols, common attacks, defensive techniques, and tools for securing and testing wireless networks.

Wireless Security · Advanced

WPA2 Explained: Security Protocols and Vulnerabilities

An in-depth technical analysis of WPA2 wireless security protocol covering the four-way handshake, CCMP/AES encryption, known vulnerabilities including KRACK, and defensive configurations.

Tools · Beginner

How to Use Dirb: Beginner's Guide to Directory Brute-Forcing in Kali Linux

Learn how to use Dirb in Kali Linux: run your first directory scan, pick the right wordlist, and read the results — with a worked example and cheat sheet.

Frequently Asked Questions

What is Wifite?

Wifite is an automated wireless security auditing tool written in Python that streamlines WiFi network assessment. It automates network discovery, monitor mode activation, deauthentication, handshake capture, and password cracking for WEP, WPA, WPA2, and WPS encrypted networks. Pre-installed on Kali Linux, Wifite wraps Aircrack-ng, Reaver, and Hashcat into a single streamlined workflow for authorized wireless security testing.

Is Wifite free to use?

Yes, Wifite is completely free and open-source software released under the GNU GPL v3 license. You can download, modify, and distribute it freely. It is pre-installed on Kali Linux at no cost.

Who created Wifite?

Wifite was originally created by a developer known as derv82. The tool was later rewritten as wifite2 with improved support for modern wireless cards, better WPA attack handling, and additional features like Pixie Dust support and hashcat integration.

What programming language is Wifite written in?

Wifite is written in Python. The current version, wifite2, uses Python 3 and leverages Python's subprocess module to interface with underlying wireless tools like aircrack-ng, reaver, and hashcat.

Is Wifite pre-installed in Kali Linux?

Yes, Wifite comes pre-installed on Kali Linux. Open a terminal and run sudo wifite to start. To update: sudo apt update && sudo apt install --reinstall wifite. For the latest features, install directly from GitHub.

How do I install Wifite on Kali Linux?

Wifite is pre-installed on Kali Linux. If you need to reinstall, run: sudo apt install wifite. For wifite2 (the latest version), clone from GitHub: git clone https://github.com/derv82/wifite2.git && cd wifite2 && sudo python3 Wifite.

How do I update Wifite?

Update via apt on Kali: sudo apt update && sudo apt install --reinstall wifite. For the latest wifite2 features from GitHub: cd wifite2 && git pull. The GitHub version always has the newest attack methods and compatibility fixes.

Can beginners learn Wifite?

Absolutely. Wifite is designed for beginners and is one of the most beginner-friendly wireless security tools. Its automated workflow means you can start auditing WiFi networks with a single command: sudo wifite. The tool handles the complex steps automatically.

Does Wifite support WPA3?

Wifite2 can capture WPA3-SAE exchanges and downgrade WPA2/WPA3 transition-mode networks to WPA2, which succeeds 80-90% of the time on transition networks. SAE capture works about 60-70% of the time with compatible hardware. You need hcxdumptool v6.0.0 or newer, hcxpcapngtool v6.0.0 or newer, and hashcat v6.0.0 or newer (mode 22000) to crack the capture. Pure WPA3-SAE networks resist offline dictionary attacks, so cracking is much harder than with WPA2.

Can Wifite run on Windows?

Wifite2 does not run natively on Windows. On a Windows PC, it can run in a Linux virtual machine with a compatible USB WiFi adapter passed through to the guest, or from a Linux live USB. Wifite 3 runs natively on Windows, but only with selected USB WiFi adapters. Check its compatibility list before buying an adapter.

Can Wifite run on Linux distributions other than Kali?

Yes. Install on Ubuntu or Debian with: sudo apt install wifite. On Arch Linux: sudo pacman -S wifite2. On Fedora: sudo dnf install wifite. Or install from GitHub on any Linux distribution with Python 3.

What wireless adapters work with Wifite?

Your wireless adapter must support monitor mode and packet injection. Popular compatible chipsets include Atheros AR9271, Ralink RT3070, Realtek RTL8812AU, and Ralink RT5370. USB adapters with these chipsets are widely available and affordable.

How do I use Wifite step by step?

1) Install: sudo apt install wifite. 2) Run: sudo wifite --kill. 3) Wait for network scan. 4) Press Ctrl+C to stop scanning. 5) Enter target number. 6) Wait for attack completion. 7) Review cracked passwords in green text.

What WiFi encryption types does Wifite support?

Wifite supports WEP, WPA, WPA2, and WPS encrypted networks. Use --wep for WEP only, -wpa for WPA/WPA2 only, or -wps for WPS only. WPA3 support is limited due to SAE protocol resistance to offline attacks.

How do I capture a WPA handshake with Wifite?

Run sudo wifite -wpa to target WPA networks. Wifite sends deauthentication packets to force clients to reconnect, capturing the 4-way handshake automatically during reconnection. Wait for the green handshake confirmation message.

How do I use a custom wordlist with Wifite?

Use the --dict flag followed by your wordlist path: sudo wifite --dict /usr/share/wordlists/rockyou.txt. This dictionary is used for WPA handshake cracking. Larger, more targeted wordlists produce better results.

What does the --kill flag do in Wifite?

The --kill flag stops NetworkManager, wpa_supplicant, and other background processes that may interfere with putting your wireless adapter into monitor mode. This is often necessary for successful scanning and attacks.

Wifite vs Aircrack-ng - which should I use?

Wifite automates the entire WiFi attack workflow with a single command. Aircrack-ng is a suite of manual tools offering more control. Use Wifite for quick automated assessments; use Aircrack-ng for detailed manual testing and complex scenarios.

How long does Wifite take to crack WiFi?

Depends on password complexity and wordlist quality. Simple passwords crack in seconds. Complex passwords may take hours or be uncrackable with dictionary attacks alone. WEP attacks typically take 5-30 minutes. WPS PIN attacks take 2-10 hours.

Does Wifite capture PMKID hashes?

Yes, wifite2 supports PMKID capture attacks which don't require deauthenticating clients. This is less disruptive and works against networks where traditional handshake capture fails. PMKID attacks target the access point directly.

Can Wifite attack multiple networks simultaneously?

Yes, Wifite can target all detected networks automatically or you can select specific targets. It processes targets sequentially, moving to the next after completing or timing out on each individual target.

How do I target a specific network with Wifite?

Use -b with the target MAC address: sudo wifite -b AA:BB:CC:DD:EE:FF. Use -e to target by SSID name: sudo wifite -e NETWORK_NAME. Combine with encryption filters like --wpa for focused targeting.

What is a WPS PIN attack in Wifite?

WPS PIN attack tests if the target's WPS feature is vulnerable to brute force. Wifite uses Reaver and Pixie Dust to recover the WPS PIN, which can reveal the WPA password. WPS attacks typically take 2-10 hours.

Is it legal to use Wifite?

Wifite is legitimate security testing software. However, using it against networks without explicit written authorization is illegal in most jurisdictions. Only use Wifite on networks you own or have documented permission to test.

Can Wifite work in a virtual machine?

Yes, but you need a USB wireless adapter that supports monitor mode. Connect the USB adapter to your VM using USB passthrough in VirtualBox or VMware. The VM needs direct access to the wireless hardware.

How do I use Wifite in Kali Linux?

Start with a monitor-mode WiFi adapter and run sudo wifite --syscheck to verify your setup. Then run sudo wifite, wait for the scan, press Ctrl+C, pick a target you own or are authorized to test, and let Wifite capture a handshake or PMKID. Crack the capture with sudo wifite --crack --dict /usr/share/wordlists/rockyou.txt. The full step-by-step walkthrough is in the guide above.

What is Wifite 3 and can I run Wifite on Windows?

Wifite 3 (wifit3) is a new version that talks to USB WiFi adapters directly from userland with its own drivers, so it runs on Linux and Windows — but only with certain supported USB adapters. Wifite2 is Linux-only, so on Windows it needs a Kali virtual machine with USB passthrough or a live USB. Check the Wifite 3 compatibility list before buying an adapter.

How do I fix 'No wireless interfaces were found'?

Run lsusb to see whether Linux detects the USB adapter, then iw dev to check for a wireless interface. In a virtual machine, verify the adapter is passed through to the guest. Check rfkill list for a radio block. If Linux sees the USB device but exposes no WiFi interface, the adapter's chipset lacks a driver — use an adapter with a supported chipset such as the Atheros AR9271.

Why does Wifite find no targets?

Check whether a normal device can see your lab network and whether the router uses a band your adapter supports — the ALFA AWUS036NHA is 2.4 GHz only. If Kali shows no wireless interface at all, fix adapter detection first. An empty target list means Wifite saw nothing, not that the network is secure.

How do I scan 5GHz networks with Wifite?

Add the -5 flag: sudo wifite -5 scans the 5 GHz band. Your adapter must support 5 GHz and be in range of the access point — many USB adapters are 2.4 GHz only. Check supported bands with iw list. Many WPA3 networks broadcast on 5 GHz, so -5 is often needed for modern routers.

How do I resume a Wifite session after it stops?

Wifite saves sessions automatically. Run sudo wifite --resume to pick a saved session, sudo wifite --resume-latest to continue the most recent one, or sudo wifite --resume-id session_20250126_120000 to continue a specific session. Sessions older than seven days are cleaned up automatically.

Tags

#wireless-attacks#wep#wpa#wpa2#wps#automated#handshake-capture#wifi-cracking#python#kali-linux#wireless-security#wifi-auditing#network-discovery#penetration-testing#security-assessment

Output Explanation

When you run sudo wifite, the first screen is a live scan table. Each row is one access point: ESSID is the network name, BSSID identifies the access point hardware, CH is the channel (1-14 is 2.4 GHz, higher channels are 5 GHz), ENCR shows WPA2, WPA3, WEP, or OPEN, PWR is signal strength (higher means closer), WPS shows whether WPS is enabled, and CLIENTS counts connected devices. Press Ctrl+C to freeze the scan, then type the target number. Wifite switches the adapter to monitor mode and works through its attacks in order — WPS Pixie-Dust, WPS PIN, PMKID, then a WPA handshake — printing each attempt as it goes. A successful capture shows a handshake-saved message and the capture lands in the hs/ folder. If you let Wifite crack it, a green line prints the recovered passphrase; if cracking was skipped, run sudo wifite --crack --dict /usr/share/wordlists/rockyou.txt later, or check what is already cracked with sudo wifite --cracked. No handshake after the timeout usually means no client reconnected — try --clients-only targets or increase --wpat.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.