Submitted by NanoDano on Sun, 07/21/2013 - 22:26
Wardriving is is the act of searching for Wi-Fi networks in a moving vehicle using a portable computer or smartphone.
- Android device with GPS
- Laptop with a wireless device that supports promiscuous mode
- USB cable to connect the Android to laptop
- Laptop Software
- Kali Linux or another Linux distribution
- adb - Android Debug Bridge
- kismet (Comes with Kali Linux)
- giskismet (Comes with Kali Linux)
- Google Earth or equivalent for viewing KML files
- Android Software
Prepare the Android Device
- Turn on USB debugging mode. The exact method differs between Android versions. Try Settings -> Applications -> Development -> USB Debugging.
- Ensure GPS is turned on. Try Settings -> Location & Security -> Use GPS Satellites.
- Start the BlueNMEA application.
Prepare the Computer
- Connect the Android device to the computer via USB. Make sure the device has USB debugging mode turned on. The method for doing that differs between versions.
- Forward TCP port 4352 from the Android device to the computer with adb forward from the laptop.
- Run gpsd on the laptop to listen on the forwarded port.
- Start kismet and tell it to listen on the correct interface when it prompts you. It should not need any special configuration to use the gpsd.
adb forward tcp:4352 tcp:4352
gpsd -N -n -D5 tcp://localhost:4352
- Go driving (with the laptop and the android device in the car...).
- Exit kismet when done.
Visualizing the Data
- Extract the data from the .netxml file to the giskismet database with giskismet.
- Query the giskismet database and generate .kml file with giskismet.
- Load the .kml file with Google Earth.
giskismet -x KismetXXX.netxml
giskismet -q "SELECT * FROM WIRELESS" -o wardrive_results.kml