[ Using Kismet with an Android Device's GPS on Kali Linux ]
Updated for 2026: Wardriving with Kismet and Your Android Phone's GPS
covers current Kismet, gpsd and Android. I wrote this one in March 2015 for Kali 1.x, and most of
it has aged out (BlueNMEA, Giskismet and ia32-libs are all gone). It stays up for history.
[ Overview |
Requirements |
Step 1: the Android device |
Step 2: the scanning box |
Step 3: map the data ]
[ Overview ]
A howto on using a GPS-capable Android device with Kismet in order to geolocate detected access points and wireless clients. Last edit: March 11 2015 Updated: March 12 2015, added WiFi Pineapple instructions
_________________________________________________ __________________________________________________ __________________10000000000011__________________ _______________10000000000000000001_______________ _____________00000000000000000000000______________ ____________00000111000000001111100001____________ __________10001_______10001_______10001___________ _________1000__________11___________000___________ _________0001_____101_______11______1000__________ _________000______101_______11______1000__________ ________10001___________1___________10001_________ ________100001_________101_________100001_________ ________10000001_____1000001_____10000001_________ _________0000000000000000000000000000000__________ _________1000000000001______100000000000__________ __________000000001____________100000001__________ ___________0000001______________1000001___________ ____________00000____10000001____00001____________ _____________0000__100000000000_1001____111_______ ______1________0000000000000000001_____00000______ _____00000________11000000000001____1000000011____ _____00000001_____________________100000000000____ ____0000000000001______________100000000000001____ ____000000000000000011_____110000111______________ _________________0100magikh0e0011__1______________ ___________11_1100000001___1100000000000000001____ ____0000000000000001___________110000000000000____ ____00000000000011_________________110000000011___ _____000000001_________________________1000001____ _____100001_______________________________1001____ _______11_________________________________________
[ Requirements ]
Laptop / Desktop - Kali Linux installed with Kismet set up and working. - Android SDK tools installed. - Giskismet, Google Earth or something similar with the ability to parse KML files. Android device - GPS capable. - BlueNMEA installed on the Android device. BlueNMEA is an Android application which sends location data over Bluetooth (RFCOMM) or TCP in the NMEA format. WiFi Pineapple (optional) - GPSD, libgps, libgpsd and adb installed on the WiFi Pineapple. (The package archives are lost; the original .ipk drops are no longer available.) - Startup script
[ Step 1: the Android device ]
1. Make sure USB Debugging Mode is enabled on the Android device.
Settings -> Applications -> Development -> USB Debugging
2. Install BlueNMEA and open the application.
[ Step 2: the scanning box ]
1. Install android-sdk, gpsd and gpsd-clients.
Laptop/Desktop:
apt-get install android-sdk gpsd gpsd-clients
WiFi Pineapple:
opkg install gpsd libgps libgpsd adb
2. Once adb is installed and confirmed working, forward TCP port 4352
from the Android device to the laptop/desktop with the command below,
or use the startup script.
adb forward tcp:4352 tcp:4352
Note: if you get an error that the adb command is not found,
make sure you have the i386 dependencies enabled. This is a known
issue, which can be resolved with:
dpkg --add-architecture i386 && apt-get update && apt-get install ia32-libs lib32ncurses5
3. Now get GPSD listening on the forwarded port 4352. If you are using
the startup script, this step can be skipped.
gpsd -N -n -D5 tcp://localhost:4352
4. Launch Kismet and go scanning.
[ Step 3: map the data ]
1. Pull the data from the *.netxml file into the giskismet database:
giskismet -x Kismet-DATE***.netxml
2. Using the giskismet database, export the data in KML format:
giskismet -q "SELECT * FROM WIRELESS" -o output.kml
3. Load the output.kml file into Google Earth.
The Google Earth example screenshots (SSID location, SSID tracking and
multi-AP views) were lost to bitrot.
