User Tools

Site Tools


airodump-ng.pt-br

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
airodump-ng.pt-br [2008/03/25 19:16] – created jaymessmithairodump-ng.pt-br [2009/08/11 22:57] (current) – --- mister_x
Line 1: Line 1:
-====== Airodump-ng ====== 
  
-Tradução e Adaptação em Desenvolvimento: JaymesSmith (25/03/08)\\ 
-Status: **00%** traduzido.\\ 
-//Quando terminada, essas linhas serão apagadas.\\ 
-When finished, these lines will be erased.// 
- 
-===== Descrição ===== 
-Airodump-ng é usado para captura de pacotes de frames brutos 802.11 e é particularmente ajustável para coletarIVs WEP (...) is used for packet capturing of raw 802.11 frames and is particularly suitable for collecting WEP [[http://en.wikipedia.org/wiki/Initialization_vector|IVs]] (Initialization Vector) for the intent of using them with [[aircrack-ng]]. If you have a GPS receiver connected to the computer, airodump-ng is capable of logging the coordinates of the found access points.  Additionally, airodump-ng writes out a text file containing the details of all access points and clients seen. 
- 
-===== Uso ===== 
- 
-Before running airodump-ng, you may start the [[airmon-ng]] script to list the detected wireless interfaces. It is possible, but not recommended, to run [[http://www.kismetwireless.net|Kismet]] and airodump-ng at the same time. 
-   
-  usage: airodump-ng <options> <interface>[,<interface>,...] 
-   
-  Options: 
-      --ivs               : Save only captured IVs 
-      --gpsd              : Use GPSd 
-      --write    <prefix> : Dump file prefix 
-      -w                  : same as --write 
-      --beacons           : Record all beacons in dump file 
-      --update     <secs> : Display update delay in seconds 
-      --showack           : Prints ack/cts/rts statistics 
-      -h                  : Hides known stations for --showack 
-      -f          <msecs> : Time in ms between hopping channels 
-      --berlin     <secs> : Time before removing the AP/client 
-                            from the screen when no more packets 
-                            are received (Default: 120 seconds). 
-      -r           <file> : Read packets from that file 
-   
-  Filter options: 
-      --encrypt   <suite> : Filter APs by cipher suite 
-      --netmask <netmask> : Filter APs by mask 
-      --bssid     <bssid> : Filter APs by BSSID 
-      -a                  : Filter unassociated clients 
-   
-  By default, airodump-ng hop on 2.4Ghz channels. 
-  You can make it capture on other/specific channel(s) by using: 
-      --channel <channels>: Capture on specific channels 
-      --band <abg>        : Band on which airodump-ng should hop 
-      --cswitch  <method> : Set channel switching method 
-                    0     : FIFO (default) 
-                    1     : Round Robin 
-                    2     : Hop on last 
-      -s                  : same as --cswitch 
-   
-      --help              : Displays this usage screen 
- 
-You can [[FAQ#Can I convert cap files to ivs files ?|convert]] .cap / .dump file to .ivs format or [[FAQ#How do I merge multiple capture files ?|merge]] them. 
- 
- 
-===== Usage Tips ===== 
- 
- 
-====  What's the meaning of the fields displayed by airodump-ng ? ==== 
- 
-airodump-ng will display a list of detected access points, and also a list of connected clients ("stations"). Here's an example screenshot: 
- 
-   CH  9 ][ Elapsed: 1 min ][ 2007-04-26 17:41 ][ WPA handshake: 00:14:6C:7E:40:80 
-                                                                                                               
-   BSSID              PWR RXQ  Beacons    #Data, #/s  CH  MB  ENC  CIPHER AUTH ESSID 
-                                                                                                               
-   00:09:5B:1C:AA:1D   11  16       10        0    0  11  54. OPN              NETGEAR                          
-   00:14:6C:7A:41:81   34 100       57       14    1    11  WEP  WEP         bigbear  
-   00:14:6C:7E:40:80   32 100      752       73    2    54  WPA  TKIP   PSK  teddy                              
-                                                                                                               
-   BSSID              STATION            PWR  Lost  Packets  Probes                                              
-                                                                                                               
-   00:14:6C:7A:41:81  00:0F:B5:32:31:31   51           14 
-   (not associated)   00:14:A4:3F:8D:13   19            4  mossy  
-   00:14:6C:7A:41:81  00:0C:41:52:D1:D1   -1            5 
-   00:14:6C:7E:40:80  00:0F:B5:FD:FB:C2   35           99  teddy 
- 
-The first line shows the current channel, elapsed running time, current date and optionally if a WPA/WPA2 handshake was detected.  In the example above, "WPA handshake: 00:14:6C:7E:40:80" indicates that a WPA/WPA2 handshake was successfully captured for the BSSID. 
- 
-^Field^Description^  
-|BSSID|MAC address of the access point. In the Client section, a BSSID of "(not associated)" means that the client is not associated with any AP.  In this unassociated state, it is searching for an AP to connect with.|  
-|PWR|Signal level reported by the card. Its signification depends on the driver, but as the signal gets higher you get closer to the AP or the station. If the BSSID PWR is -1, then the driver doesn't support signal level reporting.  If the PWR is -1 for a limited number of stations then this is for a packet which came from the AP to the client but the client transmissions are out of range for your card.  Meaning you are hearing only 1/2 of the communication.  If all clients have PWR as -1 then the driver doesn't support signal level reporting.| 
-|RXQ|Receive Quality as measured by the percentage of packets (management and data frames) successfully received over the last 10 seconds.  See note below for a more detailed explanation.|  
-|Beacons|Number of announcements packets sent by the AP. Each access point sends about ten beacons per second at the lowest rate (1M), so they can usually be picked up from very far.| 
-|# Data|Number of captured data packets (if WEP, unique IV count), including data broadcast packets.| 
-|#/s|Number of data packets per second measure over the last 10 seconds.| 
-|CH|Channel number (taken from beacon packets).\\ Note: sometimes packets from other channels are captured even if airodump-ng is not hopping, because of radio interference.| 
-|MB|Maximum speed supported by the AP. If MB = 11, it's 802.11b, if MB = 22 it's 802.11b+ and higher rates are 802.11g. The dot (after 54 above) indicates short preamble is supported.| 
-|ENC|Encryption algorithm in use. OPN = no encryption,"WEP?" = WEP or higher (not enough data to choose between WEP and WPA/WPA2), WEP (without the question mark) indicates static or dynamic WEP, and WPA or WPA2 if TKIP or CCMP is present.| 
-|CIPHER|The cipher detected. One of CCMP, WRAP, TKIP, WEP, WEP40, or WEP104.  Not mandatory, but TKIP is typically used with WPA and CCMP is typically used with WPA2.  WEP40 is displayed when the key index is greater then 0.  The standard states that the index can be 0-3 for 40bit and should be 0 for 104 bit.| 
-|AUTH|The authentication protocol used. One of MGT (WPA/WPA2 using a separate authentication server), SKA (shared key for WEP), PSK (pre-shared key for WPA/WPA2), or OPN (open for WEP).| 
-|ESSID|The so-called "SSID", which can be empty if SSID hiding is activated. In this case, airodump-ng will try to recover the SSID from probe responses and association requests.| 
-|STATION|MAC address of each associated station or stations searching for an AP to connect with. Clients not currently associated with an AP have a BSSID of "(not associated)".| 
-|Lost|The number of data packets lost over the last 10 seconds based on the sequence number.  See note below for a more detailed explanation.| 
-|Packets|The number of data packets sent by the client.| 
-|Probes|The ESSIDs probed by the client.  These are the networks the client is trying to connect to if it is not currently connected.  | 
- 
-NOTES: 
- 
-RXQ expanded:\\  
-Its measured over all management and data frames.  That's the clue, this allows you to read more things out of this value.  Lets say you got 100 percent RXQ and all 10 (or whatever the rate) beacons per second coming in.  Now all of a sudden the RXQ drops below 90, but you still capture all sent beacons.  Thus you know that the AP is sending frames to a client but you can't hear the client nor the AP sending to the client (need to get closer).  Another thing would be, that you got a 11MB card to monitor and capture frames (say a prism2.5) and you have a very good position to the AP. The AP is set to 54MBit and then again the RXQ drops, so you know that there is at least one 54MBit client connected to the AP. 
- 
-Lost expanded:\\  
-It means lost packets coming from the client.  To determine the number of packets lost, there is a sequence field on every non-control frame, so you can subtract the second last sequence number from the last sequence number and you know how many packets you have lost. 
- 
-Possible reasons for lost packets: 
-  - You cannot send (in case you are sending) and listen at the same time, so every time you send something you can't hear the packets being transmitted in that interval. 
-  - You are maybe losing packets due too high transmit power (you may be too close to the AP). 
-  - There is too much noise on the current channel (other APs, microwave oven, bluetooth...) 
- 
-To minimize the number of lost packets, vary your physical position, type of antenna used,  channel, data rate and/or injection rate. 
- 
- 
-==== Run aircrack-ng while capturing data ==== 
-To speed up the cracking process, run aircrack-ng while you are running [[airodump-ng]].  You can capture and crack at the same time.  Aircrack-ng will periodically reread the captured data so it is always working with all the available IVs. 
- 
- 
-==== Limiting Data Capture to a Single AP ==== 
- 
-To limit the data capture to a single AP you are interested in, include the "- -bssid" option and specificy the AP MAC address.  For example: "airodump-ng -c 8 - -bssid 00:14:6C:7A:41:20 -w capture ath0". 
- 
-==== How to Minimize Disk Space for Captures ==== 
- 
-To minimize disk space used by the capture, include the "- -ivs" option.  For example: "airodump-ng -c 8 - -bssid 00:14:6C:7A:41:20 -w capture - -ivs ath0" This only stores the initialization vectors and not the full packet. This cannot be used if you are trying to capture the WPA/WPA2 handshake or if you want to use PTW attack on WEP. 
- 
-==== How to Select All APs Starting With Similar BSSIDs ==== 
- 
-Lets say, for example, you wish to capture packets for all Cisco-Linksys APs where the BSSID starts with "00:1C:10". 
- 
-You specify that starting bytes you wish to match with the "-d" / "--bssid" option and pad with zeroes to a full MAC.  Then use  "-m" / "--netmask" option to specify which part of the BSSID you wish to match via "F"s and pad with zeroes to a full MAC. 
- 
-So since you want to match "00:1C:10", you use "FF:FF:FF". 
- 
-   airodump-ng -d 00:1C:10:00:00:00 -m FF:FF:FF:00:00:00 wlan0 
- 
-====  Text File Containing Access Points and Clients ==== 
- 
-Each time airodump-ng is run with the option to write IVs or full packets, a text file is also generated and written to disk.  It has the same name and a suffix of ".txt" This text file contains the details of all access points and clients seen. 
- 
-Here is an example: 
- 
-   BSSID, First time seen, Last time seen, channel, Speed, Privacy, Cipher, Authentication, Power, # beacons, # IV , LAN IP, ID-length, ESSID, Key 
-   00:1C:10:26:22:41, 2007-10-07 12:48:58, 2007-10-07 12:49:44,  6,  48, WEP , WEP,   , 171,      301,        0, 0.  0.  0.  0,   5, zwang, 
-   00:1A:70:51:B5:71, 2007-10-07 12:48:58, 2007-10-07 12:49:44,  6,  48, WEP , WEP,   , 175,      257,        1, 0.  0.  0.  0,   9, brucey123, 
-   00:09:5B:7C:AA:CA, 2007-10-07 12:48:58, 2007-10-07 12:49:44, 11,  54, OPN ,    ,   , 189,      212,        0,   0.  0.  0.  0,   7, NETGEAR, 
-    
-   Station MAC, First time seen, Last time seen, Power, # packets, BSSID, Probed ESSIDs 
-   00:1B:77:7F:67:94, 2007-10-07 12:49:43, 2007-10-07 12:49:43, 178,        3, (not associated) , 
- 
- 
-===== Usage Troubleshooting ===== 
- 
- 
-====  I am getting no APs or clients shown ==== 
- 
-If you have a laptop with a builtin wireless card, ensure it is "turned on / enabled" in the bios 
- 
-Does your card works in managed mode?  If not, the problem is not with airodump-ng.  You need to get this working first. 
- 
-See if this [[http://madwifi.org/wiki/UserDocs/MiniPCI|madwifi-ng web page]] has information that may be helpful. 
- 
-Although it is not very “scientific”, sometimes simply unloading then reloading the driver will get it working. This is done with the rmmod and modprobe commands. 
- 
-Also see the next troubleshooting tip. 
- 
- 
-====  I am getting little or no data ==== 
- 
-  * Make sure you used the "-c" or "- -channel" option to specify a single channel. Otherwise, by default, airodump-ng will hop between channels. 
-  * You might need to be physically closer to the AP to get a quality signal. 
-  * Make sure you have started your card in monitor mode with [[airmon-ng]] (Linux only). 
- 
- 
-=== Note for madwifi-ng === 
-Make sure there are no other VAPs running. There can be issues when creating a new VAP in monitor mode and there was an existing VAP in managed mode. 
- 
-You should first stop ath0 then start wifi0: 
- 
-   airmon-ng stop ath0 
-   airmon-ng start wifi0 
- 
-or 
- 
-   wlanconfig ath0 destroy 
-   wlanconfig ath create wlandev wifi0 wlanmode monitor 
- 
-==== Airodump-ng keeps switching between WEP and WPA ==== 
- 
-This is happening because your driver doesn't discard corrupted packets (that have an invalid CRC). If it's a ipw2100 (Centrino b), it just can't be helped; go buy a better card. If it's a Prism2, [[prism2_flashing|try upgrading the firmware]]. 
- 
- 
-====  Airodump-ng stops capturing data after a short period of time ==== 
- 
-The most common cause is that a connection manager is running on your system and takes the card out of monitor mode.  This is a very common problem especially with the Ubuntu distribution.  Be sure to stop all connection managers prior to using the aircrack-ng suite. 
- 
-Use "killall NetworkManager && killall  NetworkManagerDispatcher" to do this. 
- 
-As well, make sure that [[http://hostap.epitest.fi/wpa_supplicant/|wpa_supplicant]] is not running.  Another potential cause is the PC going to sleep due to power saving options.  Check your power saving options. 
- 
-The madwifi-ng driver for the atheros chipset contains a bug in releases up to r2830 which causes airodump-ng in channel hopping mode to stop capturing data after a few minutes.  The fix is to use r2834 or above of the madwifi-ng drivers. 
- 
- 
-==== Hidden SSIDs "<length:  ?>" ==== 
- 
-You will sometimes see "<length:  ?>" as the SSID on the [[airodump-ng]] display.  This means the SSID is hidden.  The "?" is normally the length of the SSID.  For example, if the SSID was "test123" then it would show up as "<length:  7>" where 7 is the number of characters.  When the length is 0 or 1, it means the AP does not reveal the actual length and the real length could be any value. 
- 
-To obtain the hidden SSID there are a few options: 
- 
-  * Wait for a wireless client to associate with the AP.  When this happens, airodump-ng will capture and display the SSID. 
-  * Deauthenticate an existing wireless client to force it to associate again.  The point above will apply. 
-  * Use a tool like [[http://homepages.tu-darmstadt.de/~p_larbig/wlan|mdk3]] to bruteforce the SSID. 
-  * You can use Wireshark combined with one or more of these filters to review data capture files.  The SSID is included within these packets for the AP. 
- 
-   wlan.fc.type_subtype == 0 (association request) 
-   wlan.fc.type_subtype == 4 (probe request) 
-   wlan.fc.type_subtype == 5 (probe response) 
- 
-==== Airodump-ng freezes when I change injecting rate ==== 
- 
-There are two workarounds:  
- 
-  * Change the rate before using airodump-ng  
-  * Restart airodump-ng  
- 
- 
-==== Windows specific ==== 
- 
-=== The adapter is not detected === 
- 
-  - Make sure the special driver is installed. Read Driver installing [[install_drivers|page]] for a guide on installing such driver. 
-  - If the special driver is installed but it still isn't detected, try another version of the driver (older or newer). 
- 
-===  The application has failed to start because MSVCR70.dll was not found === 
- 
-Obtain the file from http://www.dll-files.com/dllindex/dll-files.shtml?msvcr70 or it is also located in the bin directory of the zip file of the Windows version of aircrack-ng suite.  Typically, it should be located in **C:\<windows root directory>\system32**. 
- 
-=== The application freezes under Microsoft Windows === 
- 
-Ensure you are using the correct drivers for your particular wireless card.  Plus the correct Wildpackets driver.  Failure to do so may result in your PC freezing when running airodump-ng. 
- 
-The powersaver option on the card can also cause the application to freeze or crash.  Try disabling this option via the "Properties" section of your card.  Another kludge is to keep moving your mouse every few minutes to eliminate the powersaver option from kicking in. 
- 
-===  How to get airodump-ng to work under Windows Vista? === 
- 
-The following fix has reportedly worked for some people:  What you have to do is right click on airodump-ng.exe, select properties, compatibility, and check run in compatibility mode for Windows XP.  Also, check the box at the bottom that says to run as administrator. 
- 
-===  peek.sys file is zero bytes! === 
- 
-Peek.sys being zero bytes is normal.  You can proceed to use airodump-ng. 
- 
-This file is created by airodump-ng to prevent the driver dialog box from being shown each time the program is run. 
- 
-===  error: "Failed to download Peek files" === 
- 
-You may have a DNS problem or there is an Internet connectivity problem.  Manually download the following files and place them in the same directory as the airodump-ng.exe file. \\ 
- 
-  * [[http://www.tuto-fr.com/tutoriaux/crack-wep/fichiers/wlan/winxp/Peek.zip|Peek.dll and Peek5.sys]] 
- 
-===  Various errors referencing peek.dll === 
- 
-If you receive one or more of these errors: 
- 
-  * Dialog Box Error: "The application or DLL C:\????\bin\Peek.dll is not a valid Windows image.  Please check this against your installation diskette." 
- 
-  * GUI Screen Error: "LoadLibrary (Peek.dll) failed, make sure this file is present in the current directory.  Press Ctrl-c to exit." 
- 
-This means the peek.dll and/or peek5.sys file are missing from the directory which contains the airodump-ng.exe file or are corrupted.  See the previous troubleshooting entry for instructions on how to download the files. 
- 
-=== No data is captured under Windows === 
- 
-  * Using the Windows network connections manager, ensure the wireless device is enabled. 
-  * Ensure that your Windows wireless configuration manager is enabled and the configuration manager that comes with your card is disabled. 
-  * Do not run any wireless configuration manager while trying to use the aircrack-ng suite. 
-  * Do not run any wireless program such as monitor mode checkers while trying to use the aircracck-ng suite. 
-  * Check the "Driver Provider" name for the driver being used for your wireless device via properties to ensure it says Wildpackets.  Also confirm the driver version is what you expect. 
-  * Using a command prompt, change to the directory where airodump-ng.exe is located.  Confirm that peek.dll and peek.sys exist in this directory. 
-  * Using the command prompt and while still in the directory containing airodump-ng, try starting airodump-ng.  It should not ask you about downloading wildpackets or peek files.  If it does, you do not have everything installed correctly. Redo the installation instructions. 
- 
-=== Review all your steps === 
- 
-If airodump-ng is not functioning, it cannot detect your card or you get the blue screen of death, review the instructions for installing the [[install_aircrack#installing_pre-compiled_binaries_under_windows|software]] and [[install_drivers#windows|drivers]].  If you cannot identify the problem, redo everything from scratch.  Also check the this [[aircrack-ng_suite-under-windows_for_dummies|tutorial]] for ideas. 
- 
-=== Airodump-ng Bluescreen === 
- 
-Airodump-ng or any "user space" program cannot produce a bluescreen, it is the driver which is the root cause. In most cases, these bluescreen failures cannot be resolved since these drivers are closed source. 
airodump-ng.pt-br.1206469004.txt.gz · Last modified: 2008/03/25 19:16 by jaymessmith