Reaver-WPS GUI for rooted devices with bcm4329/4330 wifi chipset!
Reaver for Android, short RfA, is a simple-to-use Reaver-GUI for Android devices with bcmon support. It has some very cool features:
Detects automatically WPS-enabled routers. All Reaver-Settings are accessible from an a simple-to-use GUI. Activates and deactivates Monitor-Mode automatically when needed. Provides a simple way to connect when Reaver finds the WPA-Key. Screen Shots
First , we need to check whether our wireless card is operational.
bt > iwconfig
As we can see, our wireless card is operational and has been assigned wlan0. Our next step is to put our wireless card into monitor or promiscuous mode. We can do this simply by:
bt >airmon-ng start wlan0
Airmon-ng has put our wireless into monitor mode and renamed it to mon0. Now our wireless card is capable of seeing all the wireless traffic.
Step 2: Start Airdump-Ng
Our next step is to begin capturing traffic on our wireless card. We do this by typing:
bt > airodump-ng mon0
We can see all the wireless access points in our range along with all their vital statistics. The neighbor that we suspect of downloading and selling child porn is on an AP with the SSID "Elroy."
If we do everything right, we can clone his AP and get him to connect to our evil twin. When he does that, we'll be able to see all of his traffic, as well as potentially inserting our own packets/messages/code into his computer.
Step 3: Wait for the Suspect to Connect
Now we just wait for the suspect to connect to his wireless access point. When he does, it will appear in the lower part of the airodump-ng screen.
Step 4: Create a New AP with Same SSID & MAC Address
Once he has connected to his AP, we can use airbase-ng to create a fake, or evil twin, of his AP. We can do this by opening a new terminal and typing:
bt > airbase-ng -a 00:09:5B:6F:64:1E --essid "Elroy" -c 11 mon0
Where 00:09:5B:6F:64:1E is the BSSID, Elroy is the SSID, and -c 11 is the channel of the suspect's AP.
Step 5: Deauthentication or Bumping Him Off
Our next step is to bump the "neighbor" off his access point. The 802.11 standard has a special frame called deauthentication that, as you might expect, deauthenticates everyone on the access point. When his computer tries to re-authenticate, he will automatically reconnect to the strongest AP with the ESSID of "Elroy."
We can do this by using aireplay-ng with the deauth packet:
bt > aireplay-ng --deauth 0 -a 00:09:5B:6F:1E
Note that we once again used his BSSID in the aireplay-ng command. If our signal is stronger than his own AP, he will automatically reconnect to our evil twin!
Step 6: Turn Up the Power!
The crucial link in the evil twin hack is to make certain that our fake AP is closer or stronger than the original or authentic AP. This could be a critical weakness when physical access is unavailable. In airports and other public places, this is no problem, but in our scenario here, we don't have physical access and it's very likely that his AP is closer and stronger than ours. Don't let this deter us!
First, we can turn up the power on our access point in attempt to be stronger than his. Even next door, this may work as most access points automatically down-regulate their power to the minimum necessary to maintain a connection to its clients. We can boost our AP to maximum power by typing;
iwconfig wlan0 txpower 27
This command will boost our power output to the maximum legally allowable in the United States, 27 dBm or 500 milliwatts.
In some cases, even boosting power to 500 mWs may prove to be inadequate. If we try to turn up the power to the maximum on our Alfa wireless cards—1,000 mWs or 30 dBm—we get the error message below (some of the newer cards can actually transmit at 2,000 mWs or four times what is legally allowable in the U.S.).
iwconfig wlan0 txpower 30
Note: This next step is illegal in the U.S., so be careful using it unless you have specific permission or are a member of law enforcement.
Every nation has its own set of Wi-Fi regulations. Some allow more power and more channels than the U.S. For instance, Bolivia allows the use of channel 12 and a full 1,000 mWs of power. We can get our Alfa card to use Bolivian regulations by simply typing:
iw reg set BO
Now that we are in Bolivian regulatory domain, we can boost our power to its maximum by typing:
iwconfig wlan0 txpower 30
Check output power by typing:
iwconfig
And we can now see at the end of the second line that our power is now up to 30 dBm or 1000 milliwatts, enough to overwhelm all the other local access points even from several houses away!
The Evil Twin Is Now Working
Now that we have our neighbor connected to our AP, we can take the next steps toward detecting his activity.
We can use software like Ettercap to conduct a man-in-the middle attack. This way, we can intercept, analyze, and even inject traffic to this user. In other words, because he has connected to our AP, we have almost total access to his data both coming and going. If he really is downloading or selling child porn, we can intercept it.
We also should be able to intercept email and passwords to other applications and networks. We could even inject a meterpreter or other listener into his system for further access and control.
Recovering RADIUS secret by brute force from 802.1X access request, for use by evil twin AP.
Packet capture tool on LAN or network path between AP and RADIUS server
Confidentiality attacks These attacks attempt to intercept private information sent over wireless associations, whether sent in the clear or encrypted by 802.11 or higher layer protocols.
Type of Attack
Description
Methods and Tools
Eavesdropping
Capturing and decoding unprotected application traffic to obtain potentially sensitive information.
Running a phony portal or Web server on an evil twin AP to "phish" for user logins, credit card numbers.
Airpwn, Airsnarf, Hotspotter, Karma, RGlueAP
Man in the Middle
Running traditional man-in-the-middle attack tools on an evil twin AP to intercept TCP sessions or SSL/SSH tunnels.
dsniff, Ettercap-NG, sshmitm
Integrity attacks These attacks send forged control, management or data frames over wireless to mislead the recipient or facilitate another type of attack (e.g., DoS).
Capturing 802.11 data frames for later (modified) replay.
Capture + Injection Tools
802.1X EAP Replay
Capturing 802.1X Extensible Authentication Protocols (e.g., EAP Identity, Success, Failure) for later replay.
Wireless Capture + Injection Tools between station and AP
802.1X RADIUS Replay
Capturing RADIUS Access-Accept or Reject messages for later replay.
Ethernet Capture + Injection Tools between AP and authentication server
Authentication attacks Intruders use these attacks to steal legitimate user identities and credentials to access otherwise private networks and services.
Type of Attack
Description
Methods and Tools
Shared Key Guessing
Attempting 802.11 Shared Key Authentication with guessed, vendor default or cracked WEP keys.
WEP Cracking Tools
PSK Cracking
Recovering a WPA/WPA2 PSK from captured key handshake frames using a dictionary attack tool.
coWPAtty, genpmk, KisMAC, wpa_crack
Application Login Theft
Capturing user credentials (e.g., e-mail address and password) from cleartext application protocols.
Ace Password Sniffer, Dsniff, PHoss, WinSniffer
Domain Login Cracking
Recovering user credentials (e.g., Windows login and password) by cracking NetBIOS password hashes, using a brute-force or dictionary attack tool.
John the Ripper, L0phtCrack, Cain
VPN Login Cracking
Recovering user credentials (e.g., PPTP password or IPsec Preshared Secret Key) by running brute-force attacks on VPN authentication protocols.
ike_scan and ike_crack (IPsec), anger and THC-pptp-bruter (PPTP)
802.1X Identity Theft
Capturing user identities from cleartext 802.1X Identity Response packets.
Capture Tools
802.1X Password Guessing
Using a captured identity, repeatedly attempting 802.1X authentication to guess the user's password.
Password Dictionary
802.1X LEAP Cracking
Recovering user credentials from captured 802.1X Lightweight EAP (LEAP) packets using a dictionary attack tool to crack the NT password hash.
Anwrap, Asleap, THC-LEAPcracker
802.1X EAP Downgrade
Forcing an 802.1X server to offer a weaker type of authentication using forged EAP-Response/Nak packets.
File2air, libradiate
Availability attacks These attacks impede delivery of wireless services to legitimate users, either by denying them access to WLAN resources or by crippling those resources.
Type of Attack
Description
Methods and Tools
AP Theft
Physically removing an AP from a public space.
"Five finger discount"
Queensland DoS
Exploiting the CSMA/CA Clear Channel Assessment (CCA) mechanism to make a channel appear busy.
An adapter that supports CW Tx mode, with a low-level utility to invoke continuous transmit
802.11 Beacon Flood
Generating thousands of counterfeit 802.11 beacons to make it hard for stations to find a legitimate AP.
FakeAP
802.11 Associate / Authenticate Flood
Sending forged Authenticates or Associates from random MACs to fill a target AP's association table.
FATA-Jack, Macfld
802.11 TKIP MIC Exploit
Generating invalid TKIP data to exceed the target AP's MIC error threshold, suspending WLAN service.
File2air, wnet dinject, LORCON
802.11 Deauthenticate Flood
Flooding station(s) with forged Deauthenticates or Disassociates to disconnecting users from an AP.
Aireplay, Airforge, MDK, void11, commercial WIPS
802.1X EAP-Start Flood
Flooding an AP with EAP-Start messages to consume resources or crash the target.
QACafe, File2air, libradiate
802.1X EAP-Failure
Observing a valid 802.1X EAP exchange, and then sending the station a forged EAP-Failure message.
QACafe, File2air, libradiate
802.1X EAP-of-Death
Sending a malformed 802.1X EAP Identity response known to cause some APs to crash.
QACafe, File2air, libradiate
802.1X EAP Length Attacks
Sending EAP type-specific messages with bad length fields to try to crash an AP or RADIUS server.
QACafe, File2air, libradiate
Note: Many of these tools can be found in the BackTrack Auditor Security Collection, a live CD open source toolkit intended for use during penetration testing and vulnerability assessment.