|
@ -3,8 +3,38 @@ |
|
|
How to fool your GPS enabled devices using Software Defined Radio, in this case using the HackRF One. |
|
|
How to fool your GPS enabled devices using Software Defined Radio, in this case using the HackRF One. |
|
|
This guide is written for Arch linux. But should be relatively consistent with other platforms. |
|
|
This guide is written for Arch linux. But should be relatively consistent with other platforms. |
|
|
|
|
|
|
|
|
|
|
|
## Installing on Debian |
|
|
|
|
|
|
|
|
## installing |
|
|
|
|
|
|
|
|
### HackRF Support |
|
|
|
|
|
``` |
|
|
|
|
|
$ sudo apt-update |
|
|
|
|
|
$ sudo apt install gnuradio libhackrf0 hackrf libhackrf-dev |
|
|
|
|
|
``` |
|
|
|
|
|
Hook up your HackRF and see if its recognized: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
$ hackrf_info |
|
|
|
|
|
``` |
|
|
|
|
|
You should see something like: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
Found HackRF board. |
|
|
|
|
|
Board ID Number: 2 (HackRF One) |
|
|
|
|
|
Firmware Version: 2015.07.2 |
|
|
|
|
|
Part ID Number: 0xa000cw898 0x09898908 (redacted) |
|
|
|
|
|
Serial Number: 000000000 0000 00 00000000 (redacted |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
### GPS sim (Download + compile) (via https://slowmin.com/fake-gps-with-a-hackrf-one/) |
|
|
|
|
|
``` |
|
|
|
|
|
$ git clone https://github.com/osqzss/gps-sdr-sim.git |
|
|
|
|
|
$ cd gps-sdr-sim |
|
|
|
|
|
$ make |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Installing on Arch |
|
|
you could build gps-sdr-sim from scratch, but I choose to use the binary provided by the 'blackarch' distro's repository. |
|
|
you could build gps-sdr-sim from scratch, but I choose to use the binary provided by the 'blackarch' distro's repository. |
|
|
|
|
|
|
|
|
### Prerequisits |
|
|
### Prerequisits |
|
|