Time for action connecting to a WPA network

  1. In the case of WPA, the matter is a bit more complicated. The iwconfig utility cannot be used with WPA/WPA2 Personal and Enterprise, as it does not support it. We will use a new tool called WPA_supplicant, for this lab. To use WPA_supplicant for a network, we will need to create a configuration file as shown in the screenshot. We will name this file wpa-supp.conf:
    Time for action connecting to a WPA network
  2. We will then invoke the WPA_supplicant utility with the following options -Dwext -iwlan0 c wpa-supp.conf to connect to the WPA network, we just cracked as shown. Once the connection is successful, WPA_supplicant will give you a message Connection to XXXX completed:
    Time for action connecting to a WPA network
  3. For both the WEP and WPA networks, once you are connected, you want to use Dhcpclient3 to grab a DHCP address from the network as shown next:
Time for action connecting to a WPA network

What just happened?

The default Wi-Fi utility iwconfig cannot be used to connect to WPA/WPA2 networks. The de-facto tool for this is WPA_Supplicant. In this lab, we saw how we can use it to connect to WPA network.

Pop quiz WLAN encryption flaws

  1. What packets are used for Packet Replay?

    a. De-authentication packet

    b. Associated packet

    c. Encrypted ARP packet

    d. None of the above

  2. WEP can be cracked:

    a. Always

    b. Only when a weak key/passphrase is chosen

    c. Under special circumstances only

    d. Only if the access point runs old software

  3. WPA can be cracked:

    a. Always

    b. Only if a weak key/passphrase is chosen

    c. If the client contains old firmware

    d. Even with no client connected to the wireless network

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.23.130.108