How To Track GeoLocation Of Device Using Kali Linux Tools | villu

In this tutorial,i am going to use kali linux tool to track geolocation of device using mac address?I will also show you how to find Geolocation of an ip address or domain with Nmap?Further by extending the article, How to Do IP Address Geolocation Lookups on Linux using Open Source Tool?

Most of my website visitor asked us about Location Tracking of device via kali linux tool.
So today i am writing the detailed tutorial about geolocation tracking .

How To Track Geolocation Of Device Using Its Mac Address In Kali?


MAC stand for Media Access Control is a unique address associate to each hardware device. It’s a 48-bit address. First 24-bit is assigned by IEEE and last 24-bit is assigned by Manufacturers. 

Track GeoLocation Using Fern Wifi Cracker


Only Things You Need is Victim’s mac Address

Step 1: Start Kali linux and Click on the Application Tab.




Step 2: After that click on Wireless Attack and then Choose Fern Wifi Cracker.




Step 3: This will take some time to launch fern wifi cracker, after that click on “Tool Box”.



Step 4: Now Click on ” Geolocatry Locator” and then paste the mac address of device and Click on “Track Button”.



How To Find Geolocation of an ip address or domain with Nmap?


Open Kali Linux terminal and obtain ip address of domain to find the geo location of domain.Ping the domain address to grab ip address using below command:

ping kalilinuxdojo.com

After obtaining the ip address type the below command to track the domain location.
root:~# namp --script ip-geolocation-geobytes Target Ip Address

                                               or Alternate command
root:~# namp -Pn -p80 --script ip-geolocation-* Target Ip Address



This command will give you the Country , Region, Longitude , Latitude and open ports information of ip address.

How to Do IP Address Lookups on Linux Using Open Source Tool?


To reverse lookup an IP address from the Linux command line require “geoiplookup” tool. Run the below command to install.

sudo apt-get install geoip-bin

Now Download and update the database using below command:

wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

After Downloading the database,update database using below command:
gunzip GeoIP.dat.gz
sudo cp GeoIP.dat /usr/share/GeoIP/

To lookup an IP address location type the following:

geoiplookup 8.8.4.4
geolocation lookups for IP address 8.8.4.4
To extend the search and find the city information,follow the below command:
geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat 71.3.9.242