Abstract

On fixed locations, GPS receivers are susceptible for spoofing attacks that provide erroneous coordinates while they stay physically stationary at the original place. In this article, a lightweight detection method is introduced in which every received coordinate is measured against the predetermined reliable installation coordinate. If the deviation between this installed coordinate and receiver coordinates is above a certain adjustable threshold for a time observation window, the system will indicate a probable presence of a spoofing signal at that location. This system requires only the receiver coordinate and one stored coordinate, so the framework is applicable on every cheap fixed unit, on logistic stations, in field units or any infrastructure inspection point. Model assumptions, coordinate calculation, time-filter, confidence calculation, the workflow and simulation, parameter-sensitivity and limitations, possible future integrations are discussed.

INDEX TERMS: GPS spoofing, GNSS security, trusted coordinate, location deviation, anomaly detection, navigation integrity, fixed receiver, confidence scoring. 

Vol.1, Issue.2, PP. 25-31

1. Introduction

Global Navigation Satellite System receivers are used in transport, asset tracking, timing infrastructure, logistic gates, geo-fencing, telecom sync and fixed IoT applications. Many of these will be installed in a fixed coordinate, immobile location for normal operation. In all case the receiver is expected to be producing output in the form of the 'live' GPS coordinate at the application level. The disparity between fixed location and dynamic navigation state provides the opportunity to build a first-layer spoofing detection system based on static coordinate correspondence to a static physical location [1]-[3].The key risk of GPS spoofing is that the receiver's output will continue to make plausibly sensible navigation reports even if those reports no longer reflect the physical location of the hardware in use. An attacker might simultaneously: stop producing meaningful data at, or around, the real physical location; take control of the receiver's position output to guide the fake signal; ensure a plausible time, and make the output strings look sensible from a purely navigational point of view; not necessarily, causes the GPS fix to be lost. Many inexpensive devices and systems cannot be checked to know that the raw satellite output values aren't distorted, that there are no anomalies in the correlation peak signal strength, or authenticate the navigation messages, thus simply checking 'is GPS output available?' can mean the application is completely vulnerable [4]-[6]. GNSS spoofing techniques are usually classified into signal level methods, receiver level methods, multi-sensor methods, and application level methods. Signal level methods evaluate correlation distortion, auto-gain control variation, the change of carrier to noise density and code phase variation, or angle-of-arrival (AoA) consistency. Receiver level methods sometimes analyses satellite geometry, clock drift, and multi constellation consistence and navigation residual [2]. Multi-sensor methods compare with other systems like inertial sensors [7], cellular localization, maps constraint [8], wifi localization, network time etc [3]. These methods generally have high detection capabilities, but can be costlier and need access to information that may not be available in cheap receivers. The application level detection method is useful when the operational environment is already known well. For fixed receiver (especially in a closed environment),the real coordinate of the receiver is also fixed. When a receiver outputs a coordinate which is very far from a known default coordinate (a value that could be set to e.g.0) ,the output violates the constraint of the physical site selection. Our approach directly uses this assumption, as opposed to authentication of the satellite signal. It verifies whether the coordinate output is physically possible given the reference. One difficulty arises from real world environment (atmospheric and ionosphere disturbances, satellite geometry change, multipath in urban areas or near buildings, and receiver's own characteristic and antenna placement[4])which may cause a legitimate coordinate drift slightly far from the fixed reference point. Hence a threshold in one sample maybe too strong. Our approach deals with this in a temporary manner: The system will declare spoofing if the difference in coordinates remains between samples or exceed a certain confidence threshold. This proposed mechanism is deliberately low complexity. A device will have been loaded with a predefined, trusted, coordinate upon installation (fixed on the object that it's installed onto), and the system will check the difference between every received GPS coordinate and that predefined coordinate. If the distance is less than some defined radius, all is fine; if the distance occasionally exceeds the radius slightly it indicates a more unstable fix that could be the sign of a spoofing threat; if the difference is consistently large and exceeds the predefined radius during the defined observation window, then a spoofing signal is deemed likely present in that location. The benefit of this mechanism is that it is implementable. It doesn't require a controlled antenna field, a costly GNSS Receiver or navigation-checking service, or a back-channel communication for the receiver to know the physical coordinate of its antenna. It will check receiver GPS-coordinates that come directly from receivers, typically NMEA messages but should be compatible with API driven measurements or the output stream of most GPS modules. This makes it ideal for first-layer check on assets that do not possess GPS outputs beyond conventional ones and are geographically fixed. Four main contributions of this paper are described; these are formulation of fixed position spoofing architecture using distance check of true, static coordinate vs the current receiving coordinate; provision of a formal mathematical and algorithmic formulation involving distance, time persistence and confidence score; the design and test framework in simulations involving static noise, multipath spikes, sudden spoofing, and slow spoofing signal; and detailed discussion about limitations, implementations of threshold and parameters selection, and future work toward a more robust navigation information integrity monitoring system.

 II. SYSTEM MODEL ASSUMPTIONS

This assumes that the device will remain in place, or is at least only periodically moved. P0 is loaded (presumably at install time, from administrative input to the device profile where P0 = (latitude, longitude, [altitude Optionally])). Pk is read live from the device at time instant k, while also assuming a "normal deviation radius" according to the site conditions. Open sky would potentially allow for a narrower radius, whilst an industrial/urban environment may demand a larger one. In this use case P0 should be considered to have integrity and should not be updatable without administrator privilege. A remote party modifying the stored P0 could allow them to defeat the logic. Consider P0 stored in a signed device profile, securely bound configuration data or within a locked-down management interface/database. Similarly thresholds/persistence mechanisms should be protected to prevent manipulation of the validation itself. The algorithm itself will assume that the device is generally static, unless being relocated by authorized personnel, requiring it to be repositioned to a new P0 or that P0 needs to be updated accordingly. This would result in a reported failure, even if the root cause was relocation, so the status of "spoofing suspected" would be more appropriate, requiring external validation.


Fig. 1. Architecture of predefined-location based GPS spoofing detection

The live coordinate received from the GPS receiver is compared with the trusted coordinate stored during installation. The temporal filter prevents one-sample spikes from directly generating a spoofing alarm.

IV. MATHEMATICAL FORMULATION

Let P0=(lat0,lon0,alt0) be the trusted position and Pk=(latk,lonk,altk) be the received position in sample k. The horizontal distance dk between Pk and P0 can be calculated by Haversine formula, or for low error range, the local tangent-plane approximation can be performed as well. The distance is compared against a tolerance limit T. If dk < T the sample is in the region defined by the trusted location P0. Otherwise the sample is labeled deviated.

A single-sample deviation flag vk is defined to be 1 if dk>T and 0, else. A sliding window W of N most recent deviation flags vk is maintained. If the number of deviation flags > M the deviation is labeled persistent, which filters temporary spikes that may be caused by, e.g., local multi-path or temporary geometry configuration of satellites. The same window W could hold also the average distance, the maximal distance and the standard deviation in the window for reporting purposes.

A confidence level C can be also used in order to generate a gradual and interpretable alarm condition. The confidence level C can be incremented whenever the deviation is persistent by a fixed or distance weighted step when a new deviation is registered. Whenever a position falls again inside the trust radius, C can be decreased gradually. There can be a hysteresis on C through a warning level and a triggering alarm level for more conservative behavior at the border.

Table I. Main detection parameters and their effect.

V. PROPOSED ALGORITHM

 The algorithm loads in trusted coordinate, allowable radius, sampling rate, persistence, and confidence boundaries before calling in the live GPS data and checking for an adequate fix by the receiver. If there's no fix, the system will print not available or invalid instead of spoofing data. If the fix is good, the deviation distance is calculated and added to the observation window. If the deviation distance is still within the trusted radius, it calls back normal and lowers the confidence score (if the system is not already under an alert). If the deviation is outside of the trusted radius but not yet persistent enough for alarm. Warning then. If it is persistently outside for a specified length and the alarm threshold is crossed, the output is now classified as suspected spoofing. This is able to be logged, as is the true coordinate, receiver coordinate, distance, threshold, confidence, timestamp, and receiver status. This algorithm is self explanatory. The field engineer can verify exactly why an alarm fired because the output is dependent on observable quantities. This provides useful explanations in an operational context because the rationale is always evident unlike other anomaly detection black boxes which could be difficult to debug, explain, or map claim styles for.

 Table II. Algorithmic workflow

Parameter

Meaning

Typical Value

Effect

T

Allowed coordinate radius

20-50 m

Controls spatial sensitivity

N

Window length

10-30 samples

Controls smoothing

M

Persistence count

60-80 % of N

Controls alarm stability

Cw

Warning threshold

40/100

Early indication

Ca

Alarm threshold

60/100

Spoofing-suspected output

VI. SIMULATION METHODOLOGY

 A simulation-style analysis was developed to demonstrate the program's function. The receiver was considered to be at a fixed coordinate. "Normal" samples were generated about the trusted coordinate with minor, random perturbations. Multipath was mimicked with occasional short duration blips returning to the trusted location. Spoofing was modeled with sustained displacement of the computed receiver coordinate from the accepted radius including both instantaneous displacements and pull-offs. The analysis was not designed to re-create all of the physics-layer behaviors of signals received from satellites. It was developed as a coordinate-level analysis where the program operates. It asks if the resulting calculated receiver coordinates are consistent with the trusted location stored on board. The data shown below is thus patterns of coordinates rather than raw waveforms. The key metrics are detection response, false warning, persistence delay, and confidence. Detection response shows how often spoofing events are caught. False warning shows how often normal noise is incorrectly detected as spoofing. Persistence delay shows how many measurements (samples) it takes for the program to go from a warning state to a suspected spoofing state. Confidence shows how stable the system is after it goes to alarm.

Fig. 2. Coordinate-deviation trend under normal, noisy, and spoofed GPS outputs

 Normal readings remain near the trusted coordinate. Temporary multipath spikes exceed the threshold briefly. Spoofed readings remain outside the threshold and therefore trigger persistent confidence growth.

 Table III. Evaluation scenarios.

Scenario

Coordinate behaviour

Expected state

Open-sky normal

Small deviation around trusted coordinate

Normal

Urban noise

Temporary spikes above threshold

Warning or normal after filtering

Sudden spoofing

Abrupt jump above threshold

Spoofing suspected after persistence

Gradual pull-off

Slow drift beyond threshold

Warning followed by spoofing suspected

Legitimate relocation

Persistent deviation after device movement

Trusted-location violation requiring recalibration


VII. RESULTS AND DISCUSSION

 Shows the trend behavior, demonstrating the need for time filtering. A simple threshold-only system picks up a sudden spoofing quickly but can also be fooled by individual spikes due to multipath. The sliding window rule mitigates this because, on momentary deviations, persistence is not met. The confidence score adds extra stability requiring evidence build-up before the highest alarm is reached. In sudden spoofing case, the coordinate rapidly moves above the trusted radius, where it stays. Warning then spoofing suspected state will be triggered once persistence is achieved. In gradual pull-off case the deviation ramps up gradually which might mean delayed alarm state. The confidence score, however, does gradually build up with the coordinate being outside allowed range as long as required, and for fixed sites, this is perfectly adequate since the hardware should not drift from its installation position. Parameter selection is most crucial in system deployment. Too low T causes non-spoofed excursions to generate a warning. Too high causes moderate spoofing excursions to pass the alarm. Calibration using a "normal" period can determine a reasonable deviation envelope and the alarm may be placed slightly higher than this maximum normal value or based on percentiles. Persistence must be chosen in conjunction with sampling time to avoid unreasonable delay. This mechanism is an excellent first layer of system integrity and provides some defense against signal-level spoofing by being the first detection of position inconsistency with true location. In many real-life systems this inconsistency is all that may be needed in terms of making position information invalid, triggering operator alerts, secondary integrity checks or disabling automated use.

Fig. 3. Confidence score growth during persistent deviation

The confidence score remains low during normal operation, increases during persistent deviation, and crosses the alarm threshold when the deviation remains inconsistent with the trusted location.

Table IV. Comparative behavior of detection variants.

Variant

Strength

Weakness

Instant threshold

Fast response

Sensitive to temporary spikes

Threshold + persistence

Stable alarm behavior

Requires observation delay

Confidence scoring

Explainable graded state

Needs parameter tuning

Signal-level anti-spoofing

Stronger physical-layer evidence

Requires specialized receiver access

VIII. IMPLEMENTATION CONSIDERATIONS

 The implementation could be created as an embedded routine, standalone desktop application, server-side monitoring process, or cloud-based device control function. The minimal input is the live coordinate. One might choose to include further receiver outputs, like horizontal dilution of precision, satellite number, fix quality, speed, and altitude, to provide a more meaningful report. A decision can be taken to provisionally expand the radius or mark the reading as low certainty if the receiver provides high confidence values. The trusted coordinate should be maintained within an authorized installation regime. An optimal installation would typically involve a site survey, coordinate registration, threshold calibration, signature signing, and test. Logs should be maintained in the event a locationintegrity incident requires post hoc analysis. The logs should contain both raw measured values and current state readings so as to assist the operator in differentiating GPS spoofing from, for instance, receiver issues, movement, or local instability. Further enhancements can be made by incorporating sensors such as accelerometers and gyroscopes, cellular or Wi-Fi positioning, or GNSS multi-constellation comparisons. These may be non-essential for many applications, but will undoubtedly assist in areas where GPS readings are prone to fluctuations. The basic algorithm described can serve as a valuable foundation to an location-integrity solution, as it remains uncomplicated and economical.

 IX. LIMITATIONS AND FUTURE WORK

 The method is not ideal for free moving vehicles unless their path, or geofence, are expected to be limited by defined means, and will likely not discover an attacker if they spoof into a coordinate within the radius, either. Extreme signal degredation from poor satellite visibility might produce deviations significant enough that a legitimate navigation signal appear spoofs, making both receiverspecific thresholds and receiver quality checks critical, though the algorithm only detects coordinate deviation, not physical spoofs direction. Future extensions would include: threshold learning that adaptively, field use with actual spoofing devices, comparisons between coordinate data received from multiple-constellation navigation sources and comparisons to other devices' position, and the use of a direction-detecting antenna, but also crucial is auto management of re-calibration in legitimately moving devices so that the same algorithm can distinguish the two.


Conclusion

A first layer to assure navigation integrity has been laid down and explained; where an appropriate light weight GPS spoofing-detection technique for fixed position device has been stated. The overall principle of the proposed technique is to measure received GPS coordinate against a given trusted position and consider continuous derivation for suspect of a spoofing attack. The derived solution is combination of calculation, thresholding and sliding-window persistency, and confidence score; and practical for low-cost-static application that needs a normal coordinate output along with recorded point of reference position. 

References

[1]    M. L. Psiaki and T. E. Humphreys, “GNSS spoofing and detection,” Proceedings of the IEEE, vol. 104, no. 6, pp. 1258–1270, 2016.

[2]    T. E. Humphreys, “Detection strategy for cryptographic GNSS anti-spoofing,” IEEE Transactions on Aerospace and Electronic Systems, vol. 49, no. 2, pp. 1073–1090, 2013.

[3]    A. Jafarnia-Jahromi, A. Broumandan, J. Nielsen, and G. Lachapelle, “GPS vulnerability to spoofing threats and a review of anti-spoofing techniques,” International Journal of Navigation and Observation, 2012.

[4]    D. M. Akos, “Who’s afraid of the spoofer? GPS/GNSS spoofing detection via automatic gain control,” Navigation, vol. 59, no. 4, pp.281–290, 2012.

[5]    J. S. Warner and R. G. Johnston, “GPS spoofing countermeasures,” Homeland Security Journal, vol. 25, no. 2, pp. 19–27, 2003.

[6]      S. Lo, D. De Lorenzo, P. Enge, D. Akos, and P. Bradley, “Signal authentication: A secure civil GNSS for today,” Inside GNSS, vol. 4, no. 5, pp. 30–39, 2009.