• No se han encontrado resultados

Disposiciones finales

The ephemeris information can be used to calculate the position and velocity of the GPS satellite from which it was received (Fu Zhu, 2016). The ephemeris consists of orbital parameters that completely define the orbit according to celestial physics orbital equations (Kai Borre, 2007). The figure below describes the fundamental orbital parameters that are crucial to calculate the position of a celestial body orbiting a center according to (Kai Borre, 2007).

Figure 12 The Keplerian orbit elements (Kai Borre, 2007)

The Keplerian orbit parameters of the earth centered at 𝐢, where π‘Ž represents the semi-major axis, 𝑒 signifies the measure of eccentricity, 𝑖 is the measure of inclination of the orbit 𝛺 is the right ascension of the ascending node 𝐾, 𝑀 represents the argument of perigee and 𝑓 is the true anomaly. The satellite broadcast ephemeris contains time- dependent and accurate orbital parameters which could be processed through the following equations to yield the required variables necessary for calculating the satellite position (Tsui, 2000)

β€’ Time elapsed since reference time π‘‘π‘œπ‘’ 𝑑𝑗= 𝑑 βˆ’ π‘‘π‘œπ‘’

β€’ With the semi major axis 𝐴 and the mean angle velocity correction π›₯𝑛

known from the ephemeris, the mean angle velocity can be calculated by

𝑛 = βˆšπΊπ‘€ 𝐴3 + π›₯𝑛

𝐺𝑀 is the universal earths gravitational constant:

𝐺𝑀 = 3.986005 Γ— 1014 π‘š3/𝑠2

β€’ The mean anomaly ¡𝑗 at time 𝑑𝑗 can be calculated by

¡𝑗= Β΅π‘œ+ 𝑛𝑑𝑗

Where Β΅π‘œ is the mean anomaly at the satellite reference time π‘‘π‘œπ‘’

β€’ The eccentricity anomaly 𝐸𝑗 can now be deduced by solving the non-linear

equation iteratively

𝐸𝑗= ¡𝑗+ 𝑒 𝑠𝑖𝑛𝐸𝑗

Where 𝑒 is the eccentricity of the satellite orbit present in the ephemeris. β€’ The true anomaly 𝑓 of the GPS satellite can be calculated using the

equation

𝑓 = tanβˆ’1

√1 βˆ’ 𝑒2sin 𝐸 𝑗

cos πΈπ‘—βˆ’ 𝑒

2. Calculate orbital parameters with corrections at 𝒕𝒋

β€’ The XY plane is to be rotated by the longitude of the ascending node 𝛺, which represents the angular position of the satellite moving along its orbit. 𝛺𝑗 at time 𝑑𝑗 is derived by

𝛺𝑗= 𝛺0+ (𝛺̇ βˆ’ 𝛺̇𝑒)π‘‘π‘—βˆ’ π›ΊΜ‡π‘’π‘‘π‘œπ‘’

Where 𝛺0 and 𝛺̇ are longitude of the ascending node at the ephemeris

reference time and the rate of 𝛺0 respectively. 𝛺̇𝑒 is the standard rate of

earth rotation according to WGS-84 (𝛺̇𝑒= 7.29211514 Γ— 10βˆ’5 π‘Ÿπ‘Žπ‘‘/𝑠)

β€’ The argument of perigee 𝑀𝑗 at 𝑑𝑗 is

𝑀𝑗= 𝑀 + 𝑓𝑗+ 𝐢𝑀𝑐cos 2(𝑀 + 𝑓𝑗) + 𝐢𝑀𝑠sin 2(𝑀 + 𝑓𝑗)

where 𝑀 is the argument of perigee provided at π‘‘π‘œπ‘’ and 𝐢𝑀𝑐 and 𝐢𝑀𝑠

represents the magnitude of the cosine and sine harmonic correction term for the argument of latitude.

β€’ The inclination of the orbit 𝑖𝑗 is defined as

𝑖𝑗 = 𝑖0+ 𝑖̇𝑑𝑗+ 𝐢𝑖𝑐cos 2(𝑀 + 𝑓𝑗) + 𝐢𝑖𝑠sin 2(𝑀 + 𝑓𝑗)

where 𝑖0 is the inclination at π‘‘π‘œπ‘’ and 𝑖̇ is the rate of change of inclination,

𝐢𝑖𝑐 and 𝐢𝑖𝑠 are the sine and cosine harmonic corrections terms for the angle

of inclination respectively.

β€’ The radial distance of the satellite π‘Ÿπ‘— is calculated by

π‘Ÿπ‘—= 𝐴(1 βˆ’ 𝑒 cos 𝐸𝑗) + πΆπ‘Ÿπ‘cos 2(𝑀 + 𝑓𝑗) + πΆπ‘Ÿπ‘ sin 2(𝑀 + 𝑓𝑗)

Where πΆπ‘Ÿπ‘ and πΆπ‘Ÿπ‘  are the cosine and sine harmonic correction terms for

the orbit radius. 3. Satellite coordinates in ECEF

[ 𝑋𝑗

π‘Œπ‘—

𝑍𝑗

] = [

π‘Ÿπ‘—(cos 𝑀𝑗cos π›Ίπ‘—βˆ’ sin 𝑀𝑗cos 𝑖𝑗sin 𝛺𝑗)

π‘Ÿπ‘—(cos 𝑀𝑗sin π›Ίπ‘—βˆ’ sin 𝑀𝑗cos 𝑖𝑗cos 𝛺𝑗

π‘Ÿπ‘—sin 𝑀𝑗sin 𝑖𝑗

Assuming all required information is available, the corresponding Doppler effect present in the GPS signal can be calculated. Having access to the Doppler frequency measurements from the Ublox receiver, and the expected Doppler predicted by using the ephemeris, we can make a comparison to detect spoofing attacks from Spoofers that are not able to incorporate the expected Doppler frequencies into the Spoofed signals.

We utilized 4 different GPS receivers simultaneously and recorded the measured Doppler frequency provided by them. It was observed that an offset existed between the predicted and the measured Doppler frequencies. However, the correlation was clear, and the offset was almost constant across all the satellites for each individual receiver. Another interesting deduction was the difference in the acquired Doppler measurements from the different receivers, although they received signals from the same GPS satellites, the measured Dopplers across the different receivers were different. An almost constant offset existed across all the different satellites and the offset was different for different receivers. However, these errors were almost constant in their measurements across all the satellites since the hardware and atmosphere used for the various satellites. Therefore, to eliminate these errors, we took the mean of the offset across all satellites for the individual receivers and deducted the error from the measured Dopplers. This gave us a more accurate overlap between the predicted and measured Doppler frequencies. The figures below showDoppler correlation after removing the offset in a static scenario.

Figure 13. Doppler correlation for Satellite with PRN 6

The Doppler measurements and predictions are off by a few hertz at most. We can associate an acceptable tolerance around these errors to detect inconsistencies in Doppler frequency that exceed the tolerance. If the Spoofer does not adjust his spoofing frequency to the expected smoothly changing Doppler, we can use our Doppler frequency prediction algorithm with an appropriate threshold bound to detect such an attack. However, as mentioned earlier, the Doppler effect can be predicted by the Spoofer as well and incorporated into the Spoofed signal generator. Therefore, such a protection will be easily circumventable.

To strengthen the protection, we explored the effect of the user velocity on the Doppler frequency. Since the Doppler is a function of the relative velocity between the receiver and the satellite, we incorporate uncertain motion on the receiver, which will be more difficult to predict by the Spoofer.

Documento similar