Wireless
Wireless How To
How To Crack WPA / WPA2 | How To Crack WPA / WPA2 |
|
|
| Brandon Teska | |||||||||||||||||
| January 15, 2008 | |||||||||||||||||
SetupTo crack WPA-PSK, we'll use the venerable BackTrack Live-CD SLAX distro. It's free to download, but please consider donating, since this really is the Swiss Army knife of network security. As you can see from my system specs in Table 1, it doesn't take much computing power to run WPA cracks.
Table 1: Attacking System SpecsThe folks at Remote Exploit have just released a new beta, BackTrack version 3, which I'll use for this crack. But I've also included notes about relevant differences from BackTrack v2. First, download, burn and boot the BackTrack ISO. BackTrack v3 now auto logs in as root; BackTrack v2 requires you to login as "root" with the password "toor". Recon with KismetOpen up Kismet, the venerable wireless surveillance tool (Backtrack > Radio Network Analysis > 80211 > Analyzer). Version 3 includes a nice little GUI to select the wireless interface, but it didn't work for me. To fix this, or if you're using version 2, add a line in /usr/local/etc/kismet.conf to manually specify your source (as driver, interface, display name). This is what it looks like for my setup: /usr/local/etc/kismet.conf -- Line 25: source=madwifing_g,wifi0,kis0 Then start Kismet from a terminal. bt ~ # kismet Kismet is a great surveillance tool, but that is only one of its many talents. It captures raw packets while operating, which we can use later to attack weak PSKs, having captured a client connection while listening. It also has some interesting alerts built in, to warn you of potential evil-doers within wireless range. To top it off, Kismet is completely passive and therefore undetectable. In Part 1 of our original WEP cracking series, Humphrey Cheung wrote a great introduction to recon with Kismet. Recon for WEP cracking and WPA cracking is largely very similar so I won't repeat that information here. Instead, I'll just point out a few settings and options that I find useful as well as explain a bit of the interface. I would add, however, that Kismet is very versatile and customizable with great context-sensitive help menus. Pressing "h" just about any time will bring up a help menu with the relevant options for your situation. In the main network list, access points are color coded. Most networks will show up green. Some, like the one in Figure 1, show up red, indicating that access point has no security mode employed (the "F" in the Flags column indicates that the AP is still configured with the factory defaults, as far as Kismet can tell).
Figure 1: Factory SettingsThe other interesting parts of the Network List display for our purposes include the "W", "Ch" and the "Packts" columns. The "W" column displays a one-letter code representing the type of security implemented by the access point: None ("W"), WEP ("Y"), or WPA ("O" for Other). The "Ch" column, as one might expect, is the channel of the access point. We'll need this information later if we employ an active attack. The "Packts" column lists the number of packets captured by Kismet for a particular access point. While not completely relevant, it gives us a decent ball-park measurement of both network load and proximity. Higher network load usually translates to higher number of connected clients, which increases the chance that we could capture a client association passively. Kismet defaults to autofit mode, where you can sort the networks and bring up the Network Details page by highlighting an AP and hitting enter. The Network Details page list all sorts of interesting information about the network most notably the WPA encryption scheme, BSSID and number of clients associated with the access point. Pressing "c" while in the Network Details view will bring up the connected Clients List. The Client List shows all the nodes with traffic associated with the access point. Generally, we're looking for clients with a type (the "T" column) Established ("E") or To DS ("T"). Passive AttackIn a passive attack, all we need to do is listen on a specific channel and wait for a client to authenticate. Kismet is the weapon of choice here, although airodump-ng works too. Kismet gives you much more control and information than airodump-ng, but unfortunately doesn't provide notification to alert you of a successful WPA-PSK association four-way handshake. Airodump-ng does, but gives you less dynamic control of the capture card's behavior and very little information (compared to Kismet). General Kismet recon and capture steps for a passive WPA-PSK attack are:
Tags: Hacking, How To, WiFi, WPA, Related Articles:The Feds can own your WLAN tooWEP Cracking...Reloaded How To Crack WEP - Part 1: Setup & Network Recon How To Crack WEP - Part 2: Performing the Crack How To: Setting up FreeRADIUS for WPA & WPA2 Enterprise - Part 1 |
|||||||||||||||||
|
DIY NAS User GUIs
Linksys WRT600N Review: Dual-Band 11n comes to Linky-land
Internal vs. External Wireless
FTP server and storage only
Help with Wireless Router Choice
|
|
|
|
|
|
|
|
More |
|
You could win a Promise NetStor NS2300N NAS. |
Z-Wave Advanced Energy Control Framework Lets You Monitor Energy Use