What is wireless Penetration Testing
Wireless Penetration testing is the Actively Examine the Process of Information security Measures which is Placed in Wireless Networks and also analyses the Weakness, technical flows, and Critical wireless Vulnerabilities.
Most important counter Measures we should focus on Threat Assessment, Data theft Detection, security control auditing , Risk prevention and Detection, information system Management, Upgrade infrastructure and the Detailed report should be prepared.
Also Read: Top 5 Best WiFi Hacking Apps For Android
Framework for Wireless Penetration Testing
- Discover the Devices which connected with Wireless Networks.
2. Document all the findings if Wireless Device is Found.
3. If wireless Device found using Wifi Networks, then perform common wifi Attacks and check the devices using WEP Encryption
4. if you found WLAN using WEP Encryption then Perform WEP Encryption Pentesting.
5. Check whether WLAN Using WPA/WPA2 Encryption .if yes then perform WPA/WPA2 pentesting .
6. Check Whether WLAN using LEAP Encryption .if yes then perform LEAP Pentesting.
7. No other Encryption Method used which I mentioned above, Then Check whether WLAN using unencrypted.
8. If WLAN is unencrypted then perform common wifi network attacks, check the vulnerability which is placed in unencrypted method and generate a report.
9. Before generating a Report make sure no damage has been caused in the pentesting assets.
Penetration Testing with WEP Encrypted WLAN
- Check the SSID and analyze whether SSID Visible or Hidden.
2. Check for networks using WEP encryption.
3.If you find the SSID as visible mode then try to sniff the traffic and check the packet capturing status.
4. If the packet has been successfully captured and injected then it’s time to break the WEP key by using a wireless cracking tool such as Aircrack-ng, WEPcrack .
4. If packets are not reliably captured then sniff the traffic again and capture the Packet.
5. If you find SSID is the Hidden mode, then do Deauthentication the target client by using some of deauthentication tools such as Commview and Airplay-ng.
6.Once successfully Authenticated with the client and Discovered the SSID , then again follow the Above Procedure which is already used for discovered SSID in earlier steps.
7.Check if the Authentication method used is OPN (Open Authentication) or SKA (Shared Key Authentication). If SKA is used, then bypassing mechanism needs to be performed.
9.Check if the STA (stations/clients) are connected to AP (Access Point) or not. This information is necessary to perform the attack accordingly.
If clients are connected to the AP, Interactive packet replay or ARP replay attack needs to be performed to gather IV packets which can be then used to crack the WEP key.
If there’s no client connected to the AP, Fragmentation Attack or Korex Chop Chop attack needs to be performed to generate the keystream which will be further used to reply ARP packets.
10.Once the WEP key is cracked, try to connect to the network using wpa-supplicant and check if the AP is alotting any IP address or not.”EAPOL handshake”
Also Read: Web Server Penetration Testing Checklist
Penetration Testing with WPA/WPA2 Encrypted WLAN
- Start and Deauthenticate with WPA/WPA2 Protected WLAN client by using WLAN tools Such as Hotspotter, Airsnarf, Karma etc .
2. If the Client is Deaauthenticated, then sniff the traffic and check the status of captured EAPOL Handshake.
3.If the client is not Deauthenticate then do it again.
4.Check whether EAPOL handshake is captured or Not.
5.Once you captured EAPOL handshake, then perform PSK Dictionary attack using coWPAtty , Aircrack-ng to gain confidential information.
6. Add Time-memory trade off method (Rainbow tables) also known as WPA-PSK Precomputation attack for cracking WPA/2 passphrase. Genpmk can be used to generate pre computed hashes.
7.if its Failed then Deauthenticate again and try to capture again and redo the above steps.
Penetration Testing with LEAP Encrypted WLAN
- Check and Confirm whether WLAN protected by LEAP Encryption or not.
2.De-authenticate the LEAP Protected Client using tools such as karma,hotspotter etc.
3. if client is De authenticated then break the LEAP Encryption using tool such as asleap to steal the confidential information
4.if process dropped then de authenticate again
Penetration Testing with Unencrypted WLAN
1.Check whether SSID is Visible or not
2. sniff for IP range if SSID is visible then check the status of MAC Filtering.
3, if MAC filtering enabled then spoof the MAC Address by using tools such as SMAC
4.Try to connect to AP using IP within the discovered range.
5.If SSID is hidden then discover the SSID using Aircrack-ng and follow the procedure of visible SSID which i Declared above.