Home 0P3N Blog Wardriving With An Android Device
Ready to Start Your Career?
Create Free Account
By: ex0xpl0it
October 17, 2016

Wardriving With An Android Device

By: ex0xpl0it
October 17, 2016
By: ex0xpl0it
October 17, 2016
wardrivingWardriving is the process of collecting hotspots or access point data then mapping it using your GPS. In this guide, we will be mapping into Google Earth. This will map our access points according to our route and to show the coordinates.The first thing you need to do is to navigate to the "Google Play Store" and download and install "G-Mon".Make sure your wi-fi and GPS are enabled.Open G-Mon, once you open the app it will start to automatically scan.Go for a drive but keep your eyes on the road.  Don't worry about what the application is doing as you do not need to pay attention to it.Once you've finished with your wardrive and collected some data, you need to export the KML file. To do this, choose the menu button within the app which is in the upper right of the app (three dots) and select "WLAN KML Export"Once that is completed the best thing to do is to exit completely out of G-Mon as it will keep scanning. Select the options button again and tap "Exit".Just to be safe we will open G-Mon once again and export the file again so it won't be lost. Complete the previous step of exporting the KML file.Plug the Android device into your computer and navigate to your internal storage, then select the folder named "gmon". Once opened, you will see a few files, we are interested in the .kml extension. Drag the file onto your desktop.If you do not have "Google Earth" on your system, download and install it. Once the installation is complete, open the .kml file that you dragged to your desktop by double-clicking the file to open it within Google Earth.Google Earth will open and put the file under "Temporary Places" so make sure it's checked within the "Places" window of Google Earth.You will now be able to see dots on Google earth to signify access points that were logged during your scan.Some of the dots are in clusters and will only be seen as one dot. If you click a dot,  some will branch out and you will be able to then view other access points within that cluster.Green dots signify open access points. If you would like to see more information on an access point go ahead and click one. This will bring up the SSID, BSSID, the encryption (WEP, WAP, WAP2), channel, signal strength (level) and the date it was added to your database.Next time you use G-Mon, it will continually build upon the database that you've already created. Essentially, if you wanted to wardrive for the rest of your life, it would collect those access points and put them into the same database and every time you export that file, your database will grow.If you wanted to create a new database, however, all you would do is to delete the files within the gmon folder on your device and the next time you went to wardrive it would create a new file that you would then export to Google Earth.If you were to re-trace your wardrive route two or three times you're going to find more access points because some of the access points may have been down or not in range and that depends on the frequency of the scan and how fast we were traveling.Within the folder, on your device, there is also a file named "gmon_wlan.txt" if you were to drag and drop this file onto your system and open it up and you will be able to view a list of the access points.That's how a wardrive is done on an android device and how to view the .kml file. 
Request Demo

Build your Cybersecurity or IT Career

Accelerate in your role, earn new certifications, and develop cutting-edge skills using the fastest growing catalog in the industry