Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting GPS Spoofing with HackRF on Android #393

Open
Petros04 opened this issue Jan 23, 2024 · 5 comments
Open

Troubleshooting GPS Spoofing with HackRF on Android #393

Petros04 opened this issue Jan 23, 2024 · 5 comments

Comments

@Petros04
Copy link

Petros04 commented Jan 23, 2024

Hi everyone. My name is Petros, and I am learning at NPUA (in Armenia).
I have been working on GPS spoofing using HackRF for over 6 months, specifically focusing on GPS spoofing with noise and without noise. I have successfully spoofed two GPS receivers (BE 880 GPS and RY836AI) using the latest version of gps-sdr-sim. However, when I tried to spoof my Samsung S22 phone, I encountered inconsistent results. Sometimes the spoofing worked, but other times it did not. I initially suspected the issue might be with hackrf_transfer and attempted to use GNU Radio to transfer gpssim.bin with various configurations. Unfortunately, I haven't found the correct configuration for GPS spoofing that consistently works on my Samsung S22 phone. I have already disabled Wi-Fi and Bluetooth scanning on the phone. Could you please help me troubleshoot this problem, or let me know what could be causing the spoofing to not work on my Samsung S22 phone?

bin genereating example: [sudo ./gps-sdr-sim -b 8 -s 2600000 -e brdc0230.24n -l 40.48721406299335,44.51516122914086,100 -T 2024/01/23,15:07:07 -d 400 -p]

a2024-01-23_19-14
nema2024-01-23_19-17

bb-23_19-27-45

aa27-38

I use bandwith 500kHz,1MHz,2MHz...10MHz
Now i buy external clock (GPSDO) but nothing changed.

@herrameise
Copy link

You probably need to change the "Scale Factor" in the "IChar to Complex" block to 128. This will take the complex char IQ sample values (currently ranging from -128 to 127) and map them into the normal range for complex float IQ samples (-1.0 to 1.0). I can't say that will solve your problem with the Samsung phone though

@herrameise
Copy link

herrameise commented Feb 7, 2024

also I'm not familiar with the osmocom blocks, but the actual GPS L1 A/C signal bandwidth is something like 2 MHz (not 500 KHz as you have)

@kings-way
Copy link

Same here, failed to spoof multiple android devices.
(both hackRF and USRP B210)

@victor-vu-max
Copy link

yeah i have also been failure of transmiting spoofing GPS signal

@victor-vu-max
Copy link

victor-vu-max commented Aug 19, 2024

Capture11
Capture22
335e0d7a-3a71-4a11-9cbd-5b7dbd6b39ef
14957c9dd76d73332a7c
the location on Androin devices can not change. I think AGPS can not be spoofing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants