Welcome again, my aspiring cyberwarrior!
As you already know, it IS attainable to spoof each your IP deal with and MAC deal with, however are you able to spoof my world place (GPS)? The reply, in fact, is YES! This is without doubt one of the beauties of turning into conversant and expert in Software program Outlined Radio (SDR).
There are a selection of causes you could not need your world place recognized. As most of , I’ve been energetic in helping Ukraine repel the brutal aggression of its neighbor and former colonial grasp, Russia. I believe it goes with out saying that Russia is the aggressor and must be reminded that invading and killing your neighbors is unsuitable. On this battle, world positions are key to discovering and destroying the opposing facet. As well as, early within the battle, we used GPS to geo-locate the yachts of the Russia oligarchs and had them seized by NATO nations. Quickly thereafter, the remaining yachts started to spoof their world place to evade our detection.
What if the troops on the bottom may ship out a spoofed GPS sign to cover their location from artillery and rockets? Most significantly, battle ships and plane ship out a GPS sign that may be tracked by missiles and different weapons. Would not they acquire stealth by sending out spoofed place? These are only a few of the real-life examples of the worth of spoofing a GPS sign.
On this tutorial, we’ll reveal easy methods to spoof your GPS place utilizing SDR and the cheap HackRF One.
Step #1: Set up Hackrf One
Step #2: Set up GPS Spoof
Subsequent, create a listing named GPS_SPOOF…
kali > mkdir GPS_SPOOF
….after which navigate to the brand new listing.
kali > cd GPS_SPOOF
Then, obtain the gps spoof software program from github.com
kali > sudo git clone https://github.com/osqzss/gps-sdr-sim.git
Now, navigate to the brand new listing it created
kali > cd gps-sdr-sim
We want compile the gpssim.c to a file file named gps-sdr-sim and so as to have the ability to use movement recordsdata, we have to compile it with -DUSER_MOTION_SIZE=400 (this allows the GPS spoof to look like transferring moderately than remaining static which might possible sign to a receiver that it was false sign).
kali> sudo gcc gpssim.c -lm -O3 -o gps-sdr-sim -DUSER_MOTION_SIZE=4000
The place:
gcc is the GNU C compiler
gpssim.c is the C file that we have to compile
-lm is a hyperlink to the maths.c library
-O3 optimizes the compilation to larger stage
-o locations the output right into a file named gps-sdr-sim
Step #3: Find the Satellite tv for pc
The subsequent step is to find the GPS satellite tv for pc. That is accomplished by way of using the GPS broadcast ephemeris file. The archive of the every day file might be downloaded right here (you could register).
https://cddis.nasa.gov/archive/gnss/information/every day/
These recordsdata then are used to generate a simulated pseudorange and Doppler for the satellites in your vary. This information is then used to create a simulated vary information to generate digitized I/Q samples for the GPS sign. Make sure you obtain the newest every day file.
https://cddis.nasa.gov/archive/gnss/information/every day/2022/brdc/
Subsequent, choose a location you need to spoof. In my case, I need to look like in Moscow, particularly the Kremlin. You’ll be able to go to Google maps to get the GPS coordinates.
Now, to start out your GPS spoof, easy enter the next command with the ephemeris file and the GPS coordinates reminiscent of;
kali > sudo ./gps-sdr-sim -b 8 -e brdc0010.22n -l 55.75911686948662, 37.616404140886715, 100
This creates a simulation file named gpssim.bin
Now, to ship out a spoofed GPS sign that simulates my place within the Kremlin, I can merely enter;
kali > sudo hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 0
Success! Now anybody monitoring my GPS sign believes that I’m within the Kremlin!
Abstract
Radio Frequency hacking is without doubt one of the most essential and least appreciated cybersecurity subject. There actually are so many gadgets and programs that ship and obtain radio indicators which might be susceptible to exploitation. A type of ubiquitous radio indicators is the worldwide positioning system or GPS. Whereas it’s a great software for locating our method world wide, it will also be used maliciously to trace our each step. By spoofing the GPS, we will cover our place and keep away from monitoring by governments and different malicious actors.