![]() Assuming our wireless card is mon0, and we want to capture packets on channel 6 into a text file called data: airodump-ng -c 6 bssid 00:0F:CC:7D:5A:74 -w data mon0 (-c6 switch would capture data on channel 6, bssid 00:0F:CC:7D:5A:74 is the address of our target, -w data specifies that we want to save captured packets into a file called 'data' in the current directory, mon0 is our wireless network adapter) Running airodump-ng on a single channel targeting a specific Notes: You typically need between 20,000 and 40,000 data packets to successfully recover a key. Most importantly, you should restrict monitoring to a single channel to speed up data collection, otherwise the wireless card has to alternate between all channels. To do that under linux, in a terminal window (logged in as root), type: iwconfig (to find all wireless network interfaces and their status) airmon-ng start wlan0 (to set in monitor mode, you may have to substitute wlan0 for your own interface name) Note: You can use the su command to switch to a root account.Ĭapture Data (airodump-ng) To capture data into a file, we use the airodump-ng tool again, with some additional switches to target a specific AP and channel. Setup (airmon-ng) As mentioned above, to capture network traffic wihtout being associated with an, we need to set the wireless network card in monitor mode. The ones we will be using are: airmon-ng - script used for switching the wireless network card to monitor mode airodump-ng - for monitoring and capturing network packets aireplay-ng - used to generate additional traffic on the wireless network aircrack-ng - used to recover the key, or launch a dictionary attack on WPA-PSK using the captured data. If you're using the BackTrack CD aircrack-ng is already installed, with my version of linux it was as simple as finding it with: yum search aircrack-ng yum install aircrack-ng The aircrack-ng suite is a collection of command-line programs aimed at and WPA-PSK key cracking. For this article, I am using aircrack-ng on another Linux distro (Fedora Core) on a Sony Vaio SZ-680 laptop, using the built-in Intel 4965agn network card. ![]() ![]() ![]() Is probably the most commonly used distribution, since it runs from a Live CD, and has aircrack-ng and a number of related security auduting tools already installed. ![]() If your network card is not supported under Windows, one can use a free Linux Live CD to boot the system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |