Wardriving with Android GPS, Kismet, BlueNMEA and gpsd.
source link: https://www.devdungeon.com/content/wardriving-android-gps-kismet-bluenmea-and-gpsd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
- 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.
adb forward tcp:4352 tcp:4352
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.
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.
giskismet -x KismetXXX.netxml
Load the .kml file with Google Earth.
giskismet -q "SELECT * FROM WIRELESS" -o wardrive_results.kml
Aggregate valuable and interesting links.
Joyk means Joy of geeK