Manuscript Offprint
arXiv:2611.09331An Inspection Game for Monitor Design Against GNSS Timing Attacks in Synchronous Islanding
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Gregory Provan
School of Computer Science and IT University College Cork, Ireland
Quanyan Zhu
Department of Electrical and Computer Engineering New York University, USA
Abstract—Phasor measurement units (PMUs) take their time from GNSS, so a spoofer that slowly drags a receiver clock rotates the reported phase without touching the power waveform. The threat is acute in synchronous islanding, where a controller keeps an islanded generator in phase with the grid, using one PMU on each side of an open breaker, so that the two can be reconnected at any moment: a differential clock bias of about 0.56 ms can make the controller hold the generator 10° out of phase while it reports perfect synchronism. We cast the defense as a zero-sum inspection game. The defender, as inspector, chooses its timing monitors and audits the clocks periodically; the attacker, as inspectee, drags the two clocks to an unsafe bias by the next audit; the payoff is the evidence, the Kullback–Leibler divergence between the probability laws of the defender's record under attack and under normal operation. Our central result is that the evidence equals the cost of the cheapest innocent explanation of the attacked record. This single identity predicts which monitors work, turns the attacker's best response into a strictly convex quadratic program, and turns the defender's design into a convex program with a saddle point. Pairing explanations, which bound the evidence from above, with test statistics, which bound it from below, certifies audit periods in which every successful attack leaves at least a threshold of evidence. On a 50 Hz island, these evidence-based periods, at the matched-test threshold, are up to 8.4 times as long as those of a rule that checks each monitor separately, and the case study favors placing the better oscillator on the utility side of the breaker.
Index Terms—GNSS spoofing, phasor measurement units, synchronous islanding, stealthy attacks, Kullback–Leibler divergence, security games, sensor design.
I. INTRODUCTION
A phasor measurement unit (PMU) measures the phase angle of a bus voltage against a reference cosine synthesized from its own clock, and it disciplines that clock to the Global Navigation Satellite System (GNSS). A clock error of seconds therefore rotates the reported angle by radians, where is the nominal frequency [1]; at Hz, one millisecond is 18°. A spoofer that captures the receiver can drag its clock and thereby shift the reported phase without touching the power system. Such attacks are inexpensive to mount [2], have been demonstrated against PMUs [3], and corrupt the applications built on synchrophasors [4].
The consequences are most severe where the reported phase is the controlled variable. In synchronous islanding [5], [6], a generator that has separated from the grid is held in phase with it, using one PMU on each side of the open breaker, so that the breaker can be closed at any moment. If the two
PMU clocks disagree by seconds, the controller drives the reported phase difference to zero and thereby holds a true phase difference of . Closing the breaker outside a synchronization window can cause a damaging transient. We adopt 10°, the strictest phase limit of [7, Table 5] (for resources above 1500 kVA), as the operating threshold of this study; at 50 Hz it corresponds to a clock disagreement of only 0.56 ms.
Without a model of normal operation, neither PMU can distinguish clock manipulation from a suitable physical disturbance. With the breaker open, a drifting clock on the utility side looks like a change of grid frequency, and one on the island side like a change of load; only the statistics of these disturbances make the two accounts distinguishable, and often barely so. Operators therefore audit the clocks periodically against an independent time source, and install monitors that keep their own time: holdover oscillators and, where available, a trusted phase reference. This raises a design question with a precise answer: how far apart may the audits be, so that every attack that succeeds between two audits leaves enough evidence to be detected, and which monitors lengthen that period the most?
Approach. We answer this question with a two-player inspection game [8], stated in Section II before any physics. The defender, the inspector, moves first: it chooses its monitors and announces them. The attacker, the inspectee, who knows the design and the audit schedule, then chooses how to drag the two clocks between two audits, subject to a rate limit, so that reconnection is unsafe at the next audit. The payoff is the evidence, the Kullback–Leibler (KL) divergence between the laws of the defender's record with and without the attack; the attacker wants it small and the defender large. Under the Gaussian model, the evidence determines the detection probability of the likelihood-ratio test matched to a specified attack, which by the Neyman–Pearson lemma is the most powerful test against that attack. Audits are safe if every successful attack reveals at least a threshold of evidence. At the matched-test threshold for a chosen false-alarm probability and a 50% detection target, safety is necessary for any detector to meet that target against every successful attack, and sufficient for the test matched to each attack; a single detector for unknown attack profiles requires a composite test, which we leave to future work.
Key insight. The defender never observes the attack itself; it observes a record that varies randomly even without an attack.
An attack is therefore hard to see exactly when the attacked record could plausibly have come from normal operation. We show that the evidence equals the cost of the cheapest innocent explanation: the least unusual account of normal operation (a slightly low grid frequency, a slightly heavy load, a slightly slow oscillator) that reproduces what the defender sees. Each monitor is thus characterized by what it can blame a clock drift on, and the whole analysis follows from this one identity.
-
Evidence as explanation (Theorem 1). The evidence is a quadratic form that does not depend on the controller, and it equals the cost of the cheapest innocent explanation. Explanations bound it from above and test statistics from below, which sorts the monitors into three regimes.
-
The attacker. The stealthiest attack is the unique solution of a strictly convex quadratic program. When the rate limit does not bind, it splits the bias between the two clocks in a harmonic ratio, and we characterize when a slow ramp or a late sprint comes close to its value.
-
The defender. The design problem is a convex program and the game has a saddle point, so the defender loses nothing by announcing its design; under a stated approximation, and in the case study, a better oscillator belongs on the utility side.
-
Certified audit periods. Lower bounds on the safe audit period that hold against every attack. For the case-study designs with a monitor they lie within 0.6% of the optimum, as bracketed by explicit feasible attacks, and at the matched-test threshold they are 1.1 to 8.4 times as long as those of a rule that checks each monitor separately.
Related work. Stealthy attacks on control systems have been studied from the viewpoints of detectability and identifiability [9] and of the resources an adversary needs [10]. When detectability is measured by the KL divergence, as here, [11]–[13] maximize the damage subject to a bound on the divergence. We solve the converse problem, which is to minimize the divergence subject to causing damage, under the structural constraints of clock manipulation (two clocks, a rate limit and an audit deadline), and we then optimize the monitors against the solution. GNSS spoofing of PMUs has been demonstrated [3] and its impact on grid applications analyzed [4]; common defenses compare the receiver clock with a local oscillator [14], [15]. We show that fusing these comparisons with the phasor data, and placing the better oscillator correctly, lengthens the evidence-based safe audit period severalfold in our case study. Inspection games [8] model an inspector who verifies with statistical tests that an inspectee does not violate an agreement, typically requiring that a violation be detected before a critical time, and the
Neyman–Pearson lemma is their standard tool. Ours is an inspection game in which the inspector chooses the precision of its instruments rather than the times of its inspections, and the violation is a clock profile constrained by a rate limit. Unlike game-theoretic designs of resilient control [16], it fixes the controller and the alarm policy, which yields a convex formulation with closed-form bounds and special-case solutions; the monitor design is an instance of optimal experimental design [17].
A. Notation and conventions
Sets and matrices. , , and for . Vectors are columns. , and are the sets of symmetric, positive semidefinite and positive definite real matrices, and means . For and , . is the identity, a (block) diagonal matrix, , the largest integer not above , and equals 1 if the statement holds. We set ; for suprema of sets of nonnegative periods or indices, which lie in , we set .
Probability. All random variables are defined on one probability space, and is expectation. is the Gaussian law with mean and covariance ; is the standard normal distribution function, and for . For two laws on , the KL divergence is if is absolutely continuous with respect to , and otherwise; it is measured in nats. We use three standard facts [18]:
(F1) Chain rule. For a random vector , the divergence of its two joint laws is the divergence of the laws of plus the expected divergence, under , of the conditional laws of given .
(F2) Invariance. If is a bijection such that and are Borel measurable, then mapping both laws through does not change their divergence.
(F3) Gaussian laws. For and , .
Units. Time is in seconds (s), frequency in hertz (Hz) and angle in radians (rad); a clock drift is in seconds per second (s/s), a dimensionless ratio. Table I lists the main symbols with their domains, their units and the values used in Section VII.
II. THE INSPECTION GAME
We first state the game in full. The physics that generates its ingredients (the clocks, the monitors and the defender's record) is derived in Section III; here only the types of these objects matter. Time is divided into frames of length , frame starting at . Two PMUs, one on the utility side () and one on the island side () of an open breaker, report a phasor once per frame. Their clocks are audited every frames, and we consider the window from the audit at frame 0 to the next audit at frame .
Definition 1 (Inspection game). Fix the audit period and the model of Section III. The inspection game is the two-player zero-sum game with the following elements.
TABLE I
MAIN SYMBOLS, THEIR DOMAINS AND UNITS, AND THE VALUES USED IN SECTION VII. A DASH IN THE UNIT COLUMN MARKS A DIMENSIONLESS OR COMPONENT-DEPENDENT QUANTITY.
| Symbol | Domain | Unit | Meaning | Value |
|---|---|---|---|---|
| Time and indices | ||||
| - | side of the breaker: utility () or island () | - | ||
| - | frame index; frames of one audit window | - | ||
| s | frame length | 0.02 | ||
| –; s | audit period in frames; in seconds | to be chosen | ||
| - | number of frames recorded before the window | any | ||
| Island and controller | ||||
| Hz; rad/s | nominal frequency | 50; 314.16 | ||
| rad; Hz; - | phase; frequency deviation; state of side | - | ||
| Hz | grid-frequency step; load disturbance; frequency command | - | ||
| Hz | variances of and | |||
| s; –; s | governor time constant; | 0.5; 0.9608; 0.0196 | ||
| Hz/rad; –; 1/s | gains of the PI controller | stabilizing | ||
| rad | true phase difference across the breaker; reconnection window | –; 0.1745 (10°) | ||
| Clocks (attacker) | ||||
| s; s/s | clock bias of PMU ; drift | - | ||
| s/s; s | rate limit of the drift; largest change of bias per frame | |||
| s | damaging bias | |||
| s | clock profile; admissible profiles (1) | - | ||
| Reports and monitors (defender) | ||||
| rad; Hz; - | reported phase; reported frequency; | - | ||
| rad; Hz | PMU noises, with standard deviations | |||
| s | holdover reading; its noise, with standard deviation | |||
| s/s | frequency offset of oscillator ; its standard deviation | TCXO , OCXO , Rb | ||
| rad | trusted utility-phase reference; its noise, with standard deviation | |||
| - | installed monitors: holdover checks at PMU and reference ; their number | - | ||
| design, for , in for and in for ; affordable designs | - | |||
| Record and evidence | ||||
| - | record before frame 0; record of frames , with | - | ||
| - | nuisance, with ; measurement noise of the window | - | ||
| - | covariance of ; of ; ; | - | ||
| –; Hz | steady-state prediction covariance of side ; frequency uncertainty | , | ||
| nats | evidence of ; least evidence of a successful attack | - | ||
| nats; –; - | evidence threshold; false-alarm probability; detector threshold, a likelihood ratio (on average at most one false alarm per frames) | |||
| s | safe audit period | Table III | ||
-
Players. The defender , the inspector, operates the island, its controller, its two PMUs and its monitors. The attacker , the inspectee, controls the GNSS signals that the two PMUs receive.
-
Defender's action. A design . Here is the set of installed monitors: and are holdover checks at the utility and island PMUs, and is a trusted phase reference (Section III-E). is their number, is the precision of monitor (the inverse variance of the oscillator-rate offset for a holdover check, or of the measurement noise for the reference), and the set of affordable designs is nonempty, convex and compact.
-
Attacker's action. A clock profile
where is the bias of the clock of PMU at frame , and
\mathcal{A}_{N}=\left\{\tau\in\mathbb{R}^{2N}:\;\tau\mathrm{~s a t i s f i e s~(R)~a n d~(S)\right\}, \tag{1}with the convention and the two conditions
(R) rate limit: for all and ;
(S) success: , where is the bias just before the audit at frame N resets it.
The constants , the largest change of bias per frame, and , the damaging bias, are derived in Sections III-B–III-D.
-
Order and information. (i) chooses and announces it. (ii) , who knows the model, the controller, and , chooses . The attack is open loop: observes nothing afterwards. (iii) Nature draws the initial states and the noises, and the model generates the record . observes but not . The record ends at frame : the audit at frame , which reveals the bias directly, is not part of .
-
Payoff. A pays D the evidence
where is the law of under design and profile , and its law without attack ( ).
Lemma 1 (Attacker's action set). For every , is a compact convex polyhedron, and it is nonempty if and only if .
Proof. is the intersection of finitely many closed half-spaces (R) with a hyperplane (S), hence a closed convex polyhedron. By (R) and , , so is bounded and . Conversely, if , the opposite ramps and change by per frame and satisfy (S).
Values and saddle points. For a design , the attacker's best-response value, the least evidence of a successful attack, is
with if . The value of when leads, as in item 4, is . A pair is a saddle point if for all and : neither player gains by deviating alone, and the order of moves is immaterial.

Fig. 1. One round of the inspection game . (1) The defender announces its design . (2) Right after the audit at frame 0, the attacker commits to a clock profile . The shaded region contains the differential bias of every admissible profile: by (R) it changes by at most per frame, and by (S) it equals just before the next audit, which then resets it. A ramp and a wait-then-sprint profile, which rides the boundary of the region, are shown. (3) The defender records , and the payoff is the evidence , which measures how distinguishable is from a record without attack.
Definition 2 (Safe audit period). Let be an evidence threshold and a design. Audits every frames are -safe for if for every . The safe audit period is
where is the set of for which audits every frames are -safe for . The defender's design problem is to maximize over .
Audits are thus safe if every successful attack reveals at least the evidence . Requiring this for every shorter period as well lets the defender audit earlier than scheduled without losing safety. Since whenever , every period shorter than seconds is safe: the attacker cannot reach in time.
A. Remarks on the game
Why the evidence is the payoff. For each specified attack, the Neyman–Pearson lemma fixes the best achievable probability of detection, and by Proposition 2 below it is an increasing function of the evidence; we use the evidence as the design payoff. The design shapes it, and the attacker, who wants to succeed without being detected, minimizes it. With , safety is necessary for any test with false-alarm probability to detect every successful attack with probability at least , and sufficient for the test matched to each attack (Proposition 2). A target probability instead requires . The defender does not observe , however, so the matched test is a benchmark rather than an implementable detector. One detector for every admissible profile is a composite test, whose calibration we leave to future work: a safe audit period certifies the evidence of every successful attack, not the power of such a detector.

Fig. 2. A synchronous island under a GNSS timing attack. The PI controller holds the island phase equal to the utility phase, as reported by two GNSS-timed PMUs, while the spoofer drags their clocks. The defender records the PMU reports and the readings of its monitors : the holdover comparisons at PMU and (, oscillator spreads ) and, optionally, a trusted utility-phase reference ; magenta, dashed). Its design sets the precisions . Fig. 3 uses the same colors for the utility side, the island side and the trusted reference.
Modeling choices. The controller, the audit schedule and the threshold are fixed. The attack is open loop: it is planned in advance, as by a spoofer that drags the clock along a preplanned path. Adaptive attacks are left to future work.
Roadmap. Section III builds the model that defines and . Section IV computes the payoff . Section V solves the attacker's problem , and Section VI the defender's problem . Section VII certifies the safe audit periods of a 50 Hz island.
III. THE MODEL BEHIND THE GAME
Fig. 2 shows the setting. We describe the island and its controller, then the clocks that the attacker drags, and finally the record that the defender keeps.
A. The island and its controller
The nominal frequency is and . Angles are measured against a reference that rotates at , so a bus running exactly at has a constant angle; angles are not wrapped. Side has, at frame , phase (rad), frequency deviation (Hz) from , and state .
Utility grid. The grid is much larger than the island, and its frequency wanders slowly as a random walk with steps (Hz), the usual model in Kalman-filter frequency trackers [19], [20]:
Island. We lump the prime mover, its speed governor and the rotor inertia into a first-order speed loop, the simplest of the low-order frequency-response models [21, Ch. 11], [22]. The island generator thus follows its frequency command (Hz) with time constant , disturbed by the load. We express the load disturbance as the frequency
deviation that it would cause in steady state, so that and . Holding and constant during frame and integrating over the frame gives the exact sampled model
(3)
where is the fraction of a frequency deviation that survives one frame, and . Since for , . In matrix form, with
(2)–(3) read and . Nothing couples the two sides while the breaker is open.
Controller. The controller acts on what the PMUs report, the phase and the frequency of Section III-C, through the proportional-integral (PI) law:
(4)
with error (Hz), integrator state (Hz s) and gains for which the island part of the closed loop is stable: with the utility state, the load, the noises and the attack as exogenous inputs, the state obeys a linear recursion whose matrix has all its eigenvalues in the open unit disk. (The utility side, a random walk, is not stabilized by anything; the loop only makes the island follow it.) Since frequency is the rate of phase divided by , the error is a proportional-derivative term in the reported phase difference, which drives a PI loop on the frequency command; laboratory implementations of synchronous islanding likewise add a phase-difference term to the speed reference of the governor [5], [6]. Our results hold for a much larger class. A controller is admissible if, for every frame , (record up to frame ) for a Borel-measurable map ; the PI law (4) is admissible. What matters below is only that is computed from the data, and that the integral action of (4) drives the reported phase difference to zero.
B. The clocks: what the attacker controls
PMU takes its time from a GNSS receiver whose clock reads at true time . The bias (s) at frame is positive when the clock is ahead. A spoofer that has captured the receiver can drag the clock, but only slowly, because a fast change breaks the receiver's lock or trips its clock-consistency checks [2], [15]. Against the timing receiver of a PMU, a drag of 1000 m/s in range-equivalent units, that is 3.3 µs of bias per second, has been demonstrated [3], and a power-grid timing receiver lost lock above 400 m/s (1.3 µs/s) [14]. The attacker therefore controls the drift (s/s), the rate of change of the bias, up to a rate limit :
For example, a drift of adds 10 s of bias per second. The bias changes by at most per frame, which is condition (R) of Definition 1. At frames 0 and N, both clocks are audited against an independent time source, which resets the biases and reveals any bias that matters. We write for the bias just before the audit at frame N resets it, and the defender's record ends at frame N - 1; the audit itself is not part of the evidence, since an exact audit would reveal any bias directly. Closing the breaker at an earlier frame is covered by Definition 2, which requires safety for every . The attacker knows the schedule and starts right after an audit, so for . It fixes its plan, the profile , in advance; the drifts are then linear in .
C. What the PMUs report
A PMU reports the angle of the bus voltage relative to a cosine at that it generates from its own clock [1]. If its clock is ahead by , its reference cosine is advanced by , so the voltage appears to lag by . Frequency is the rate of change of angle divided by , so the reported frequency is lower by times the drift. The reports at frame k are therefore
with measurement noises (rad) and (Hz), and we write . The attack thus adds to the reports a signature that is fixed by the clock profile. Equation (6) omits terms of relative order and , which arise because the waveform is sampled at the wrong instant by a clock that runs at the wrong rate; they are below for frequency deviations up to 0.1 Hz.
D. Why the attack causes damage
Let be the true phase difference across the breaker. By (6), the controller sees plus noise. If the differential bias is held constant, the integral action drives what the controller sees to zero on average, so the true difference settles at while the controller reports perfect synchronism. Retuning the gains does not help: a slowly drifting differential bias looks to the loop like a change of grid frequency, which it is designed to follow. Closing the breaker is safe only if is below the reconnection window . We therefore call an attack successful if it reaches the damaging bias
just before the next audit, which is condition (S) of Definition 1. For rad at 50 Hz, ms. The sign in (7) is without loss of generality.
From bias to phase. Condition (S) constrains the differential bias, not the phase itself: it is a proxy for an unsafe reconnection, whose accuracy we now bound. The closed loop is linear, so is the sum of its value without attack, whose law the attack does not change, and of a deterministic response to the signature. Let , and let , , be the value of at frame when, from a zero attack response, steps from 0 to 1 at frame , so that is the relative tracking error of a step. The frequency report of frame already carries the drift , so the command reacts and responds at frame itself ( ). Superposing steps, with ,
and since by (R), every profile that satisfies (R) has
The sum is finite because the island part of the loop is stable and its integral action drives the reported phase difference, and hence , to zero geometrically. With s and the gains Hz/rad, and s of a gentle tuning A, the island part of the sampled loop has spectral radius 0.994 and frames, so every admissible profile shifts the phase difference at frame by to within . For a faster tuning B ( Hz/rad, , s ), frames and the margin is . The worst case needs a drift that reverses in step with the transient of the loop, and specific profiles do far better. Under tuning A, is degrees for a differential ramp over 60 s; for one clock that sprints at in the last 27.8 s of a 60 s window; and for differential ramps over 26.08 and 24.28 s, the safe periods without monitors of Section VII; and 0.025 for the fastest feasible ramp, over 13.9 s. Under tuning B, all five are below degrees. With noise, the phase difference at reconnection is this deterministic shift plus the same random fluctuation as without attack. To guarantee an attack-induced shift of at least for every profile shape, the attacker needs at most the extra bias ; a guarantee for the realized phase would also need a chance constraint on that fluctuation. By Lemma 1, reaching takes at least seconds if both clocks are dragged in opposite directions, and seconds with one clock.
E. The monitors and the design
The defender records the PMU reports. A monitoring design adds channels whose time does not come from GNSS:
- A holdover check at PMU (monitor ). A local oscillator, synchronized at the audit, then runs freely, and the PMU records GNSS time minus oscillator time. The oscillator's rate is off by an unknown fraction (s/s): at true time after the audit it reads ,
so when it runs slow. The comparison therefore reads, for ,
with comparison noise (s). Better oscillators have a smaller spread of : in increasing order of quality, temperature-compensated (TCXO), oven-controlled (OCXO) and rubidium (Rb) oscillators [23]. Timing receivers already use such a comparison: one with an OCXO enters holdover when GNSS and oscillator time differ by more than , which limited a spoofer to a drag of [14].
- A trusted reference (monitor ): a measurement of the utility phase timed independently of GNSS, for ,
with noise (rad) of standard deviation . It can come, for example, from a PMU synchronized over fiber [24], provided that the link is secured against delay attacks [25].
The installed monitors form a set , where stands for the holdover check at PMU and for the trusted reference. Let be the number of holdover checks, the number of references, and . Each monitor has a noise spread : the oscillator spread or in (8), or the reference noise in (9). The design lists their precisions,
in the order , so that and a better instrument has a larger precision. For example, with both holdover checks and the reference, and ; with the reference alone, and . The set of Definition 1 models what the defender can afford. It is a single point for fixed hardware. When precision can be bought, a budget such as is nonempty, convex and compact, where is the cost of a unit of precision of monitor , the total budget and with . The weights make precisions of different units, for and for , commensurable; with two oscillators alone, equal weights are meaningful. Convex increasing costs in place of keep convex.
F. The record and the assumptions
The defender records the PMU reports and the reference, if installed, from frame on, where ; the holdover checks are read during the window only, because the oscillators are resynchronized at each audit. The past record collects , and for . The window record collects, for each , the vector of , , the installed and, if installed, ; thus . The commands need not be recorded, since by admissibility they are computed from the record.
Assumption A1 (Linear model). For all , the plant (2)–(3), an admissible controller, the clocks (5), the reports (6) and the monitors (8)–(9) hold exactly, without saturation, with for .
Assumption A1 makes (6) exact within the model, although Section III-C derived it by neglecting terms of relative order . Our analysis is thus exact for the adopted model, not for the physical observation law.
Assumption A2 (Gaussian noise). The initial states , the offsets and all the samples , , and , over all indices and , are mutually independent, so that each sequence is white; moreover, , , , , , and , with . These laws depend neither on the attack nor on the controller.
White, stationary load fluctuations are the standard model of ambient power-system data [26], and PMU errors have been found close to Gaussian [27], although field data also show heavier tails [28]. Assumption A2 makes the evidence a quadratic form; Section VIII returns to the load model.
Before the window, each side is a linear system observed in Gaussian noise. Side is measured through plus noise of covariance , where and ; and without the reference; and and with it. Its process noise has covariance or . For , let
be the Riccati map of side i, which updates the Kalman filter's prediction covariance over one frame [29].
Lemma 2 (Steady-state prediction). Let .
(a) The equation has exactly one solution for which the matrix has all its eigenvalues in the open unit disk, and .
(b) Let hold and with and . Without attack, given , the prediction errors , where , are independent across and Gaussian with mean 0 and covariance , the -fold composition. This covariance depends neither on , nor on , nor on the controller, and as .
Proof. (a) contains , so is observable. The determinant of is for and for , which are nonzero, so is controllable. Under these two conditions, the stabilizing solution exists and is unique, and for every [29, Sec. 4.4]. To show , drop the index and let , so that . By the Woodbury identity,
, so and have the same null space . If , then , where or ; hence and . So is invariant under and orthogonal to . If , it contains a (possibly complex) eigenvector of with , which contradicts controllability by the Popov–Belevitch–Hautus test. Hence . (b) Before the window, the record consists of linear measurements of the states in independent Gaussian noise, and the commands are functions of the record available when they are applied. For such systems, the conditional law of the state given the record is Gaussian, and its covariance obeys the Riccati recursion started at , which involves neither the data nor the commands [29, Ch. 3], [31, Ch. 7]. The matrices , , , of the two sides together are block diagonal, so the conditional covariance is block diagonal; for jointly Gaussian errors, this is conditional independence. The limit follows from (a).
Assumption A3 (Steady state at the audit). For each , for some , where is the matrix of Lemma 2(a).
Since , Assumption A3 and Lemma 2(b) imply that the defender's prediction error of has covariance exactly , for every . Assumption A3 thus states that the defender has watched the system long enough for its predictions to be in steady state when the window opens; by Lemma 2(b), it is the limit of a long observation from any initial covariance. We write
(Hz).
For a Gaussian vector with covariance , is the variance of the second component given the first: is the defender's uncertainty about the frequency of side i at frame 0, given its phase.
Under A1–A3, the model defines the law of the record for every , not only for , and we use the evidence of Definition 1 for every such . For one clock, we write , so that .
IV. THE EVIDENCE OF AN ATTACK
This section computes the payoff. The evidence vanishes if the attack changes nothing that the defender sees, and it is large if the attacked record looks unusual. We make this precise, starting from a single measurement.
A. Warm-up: one measurement
Suppose the defender sees a single number that is without attack and with it, where and . By (F3), the evidence is : half the squared shift, counted in noise standard deviations. For and , the best test with false-alarm probability raises an alarm when the number exceeds , and it detects the attack with probability . For example, a shift of has evidence 4.5 nats; at , where , it is detected with probability 0.46. The full problem is this example in vector form, as we now show.
B. The evidence is a quadratic form
The window record in vector form. Collect in everything that the defender cannot predict about normal operation, the nuisance:
where lists the offsets of the installed oscillators, so that with . Collect in the measurement noises , , and of the frames , and the commands of the window in . Iterating (2)–(9) from frame 0 gives
where:
is the prediction of the record, its response to and . It is a function of alone, the same with and without attack.
and give the responses of the record to the nuisance and to the commands. Since affects the island only from frame on, the rows of for frame involve only .
- gives the signature: in frame , the rows of , , and carry , , and 0, with .
• Given , and are independent, with
where is the diagonal matrix of the of the installed oscillators, and is diagonal with entries , , and . This follows from Lemma 2(b) and Assumptions A2–A3, since , , and the noises of the window are independent of .
Theorem 1 (Evidence as explanation cost). Let A1–A3 hold. For every , every admissible controller, every design and every :
(a) Controller invariance. The evidence is the quadratic form
with , where and . In particular, is finite, it depends neither on nor on the controller, and it is positive for .
(b) Explanation cost (standard information form [29], [30]).
and the minimum is attained at the unique point .
(c) Bounding duality. Explanations bound from above: for every , , the cost of . Statistics bound from below: for every , .
(d) Additivity. With the parts of the record defined in Section IV-D,
each term is given by with restricted to that part, , and with .
Interpretation. This is the warm-up formula, with the shift replaced by the signature and the variance by , the covariance of everything that the defender cannot predict: measurement noise (R) and nuisance ( ). The controller does not appear. Its commands are computed from the data, so the defender can subtract their effect; the controller can neither hide the attack nor reveal it. This invariance concerns the evidence only. The damage, the phase difference that the attack causes, depends on the controller through the tracking error of Section III-D.
Proof of Theorem 1(a). By (F1), is the divergence of the laws of plus the expected divergence of the conditional laws of given . The first term is zero: before frame 0 the signature vanishes, since for , so has the same law with and without attack. Fix a value of . By admissibility, is a measurable function of and . Consider the map . Its inverse is computed frame by frame: , because the window commands first affect frame 1, and , where depends on and hence on . Both the map and its inverse are Borel measurable, so by (F2) the conditional divergence of equals that of . By (10), , whose conditional law is with attack and without, where . By (F3), the conditional divergence is for every value of , which gives (11). Finally, is injective: if , the phase rows of frames give , and then the frequency row of frame gives . With , for .
C. The evidence is the cost of the cheapest innocent explanation
Interpretation. Identity (12) is the standard information form of a Gaussian divergence with a Gaussian nuisance, the objective of Kalman smoothing and, without the prior term, of the matched subspace detector [29], [30]; what is new is what it yields for timing attacks. Theorem 1(b) is the lens for the rest of the paper. An explanation is an account of normal operation: a value of the nuisance, such as a grid-frequency path, a load path or an oscillator offset. It reproduces the signature up to a misfit , which must then be blamed on measurement noise. Half the bracket in (12) is the cost of the explanation: how unlikely the nuisance is, plus how unlikely the misfit is, each measured as in the warm-up by half its squared size in standard deviations. The evidence is the cost of the cheapest explanation, . An attack is stealthy precisely when normal operation can account for it cheaply.
Proof of Theorem 1(b). Since , the bracket is a strictly convex quadratic function of , and setting its gradient to zero gives . Substituting , the minimum equals , and by the Woodbury identity the matrix in parentheses is . Part (a) completes the proof.
Proof of Theorem 1(c). The upper bound follows from (12). For the lower bound, by the Cauchy–Schwarz inequality,
and because .
In the lower bound of (c), is a linear statistic of the record from which the known effect of the commands has been removed. Without attack it has variance , and the attack shifts its mean by . The lower bound thus says that the whole record reveals at least the warm-up evidence of any one statistic. Every explanation gives an upper bound, every statistic a lower bound, and the two meet at the cheapest explanation. This duality is what makes the safe audit periods of Section VII certifiable.
Example. Let the utility clock drift at the constant rate that brings it to after 60s, namely . By (6), the utility PMU then reports a frequency that is mHz too low and a phase that falls accordingly. A grid frequency 0.46 mHz lower than predicted at frame 0 explains this perfectly. With the uncertainty mHz of Section VII, this explanation costs nats, so the evidence is at most 1.8 nats. By Proposition 2 below, this is insufficient for 50% detection at : even the test matched to this attack detects it with probability at most about 12%.
D. Additivity
Write as in the proof of Theorem 1(a), and split it into four parts: , the utility PMU reports together with the reference, if installed; , the island PMU reports; and and , the holdover readings, if installed. Only differs from the raw data, since the commands affect only the island. The evidence of a part, , , or , is the divergence between the conditional laws of that part given with and without attack; it is zero for an absent monitor.
Proof of Theorem 1(d). The four parts have independent nuisances, , , and (Lemma 2(b)), and independent noises. After reordering, F, P and R are therefore block diagonal over the parts, and so is . The signature of enters only the first and third parts, and that of only the second and fourth. Given , the four parts of Z are thus independent Gaussian vectors, and the divergence of independent vectors is the sum of their divergences, by (F1). Each is positive definite by the injectivity argument of Theorem 1(a) applied to the PMU of side i.
E. What each monitor can explain
We now apply the bounding principle to one clock, with and . Two quantities appear: , and the variance of without attack. For the island and , let
(rad²), and , a number of frames.
Lemma 3 (Bounds for every profile). Let hold, with , and .
(a) Utility PMU, no reference: the ramp has .
(b) Island PMU: every has
and the ramp has .
(c) Holdover check : the ramp has , and every has .
(d) Utility PMU with reference: every has and
Proof. We apply Theorem 1(c) to each part (Theorem 1(d)).
(a) Take the explanation that shifts by and keeps . By (2), the grid frequency is then lower by in every frame and the grid phase lower by , which is exactly the signature (6). The misfit is zero and the cost is .
(b) Lower bound: take the statistic , where is the phase entry of in frame k. Its mean shift is . Without attack and with the commands removed, iterating (3) from frame 0 gives
in which only the prediction error of , of variance , and the independent loads are random. Adding the noises gives , which proves the first inequality. For the second, and give , and . Upper bound: take the explanation that shifts by and sets for . By (3), the island frequency then stays lower by , and its phase falls by per frame, which reproduces the signature. The cost is .
(c) This part is a linear regression: given , with , so . For the ramp, the signature is , and by the Sherman–Morrison formula, with . For the lower bound, take the statistic , whose mean shift is and whose variance is .
(d) Lower bound: if for all there is nothing to prove; otherwise take the statistic . Since , the grid phase cancels; the mean shift is and the variance . Upper bound: take the explanation , for which the misfit is the whole signature, of cost ; the reference rows carry no signature.
We now specialize to the simplest attack on one clock, a ramp that reaches the bias at the audit with constant drift: for , so with .
Proposition 1 (Three regimes). Let hold, with , and . The ramp that reaches the bias in time reveals the following evidence:
(a) to the utility PMU without reference, at most
(b) to the island PMU, between and , where
and ; both and tend to 1 as ;
(c) to holdover check i, exactly
(d) to the utility PMU with reference, at least
Proof. Set in Lemma 3. (a) and (c) are immediate. (b) With , the lower bound of Lemma 3(b) is , which is ; the upper bound is , which is . (d) , and .
Interpretation. Table II summarizes the result, and Fig. 3(a) shows it numerically. The utility PMU blames the drift on a grid frequency lower than predicted, as in the example above, and the holdover check blames it on an oscillator that runs slow. Both explanations are paid for once, for the whole window, and the slower the attack, the smaller the offset they need. For the utility PMU, Proposition 1(a) is only an upper
TABLE II
WHAT EACH MONITOR CAN BLAME A DRIFT ON (PROPOSITION 1), AND HOW THE EVIDENCE OF A RAMP THAT REACHES THE BIAS a IN TIME T SCALES; MARKS AN UPPER BOUND
| Monitor | Innocent explanation | Paid | Evidence |
|---|---|---|---|
| utility PMU | lower grid frequency | once | |
| holdover check | slower oscillator | once | |
| island PMU | heavier load | every frame | |
| trusted reference | none | - |
bound; Fig. 3(a) shows the same decay numerically in the case study. The island PMU blames the drift on a heavier load, which the explanation needs in every frame, because the load is white noise. The trusted reference measures the grid phase without GNSS and cannot blame the drift on anything. Slowing the attack down therefore helps the attacker against the first three monitors and hurts it against the fourth. Parts (a) and (c) even have the same form: the utility PMU reveals no more than an oscillator of spread . (The holdover evidence scales as once . Since , the two are equal at : 0.06 s for the TCXO of Section VII, 1.3 s for the OCXO and 28 s for the rubidium standard. The scaling holds well beyond these times.)
F. What evidence buys
For , let be the log-likelihood ratio of the record. A test with false-alarm probability is a measurable map from records to (the probability of an alarm) with , and its probability of detection is , where and are expectations under and . A detector that knows the profile but not when the attack starts is described by the Shiryav-Roberts (SR) procedure [32] matched to ; it scans the onset, not the shape. For and an onset , the delayed profile has biases at frames and 0 before. The oscillators stay synchronized at frame 0, and the record up to frame involves only the entries with , so needs no continuation beyond the window. Let be the likelihood ratio, given , of the record up to frame under the delayed profile against no attack, let , and raise the alarm at , for a threshold . After an alarm, the procedure restarts: its sum then runs only over the onsets after the alarm.
Proposition 2 (Detection). Let hold, and .
(a) For every , the most powerful test with false-alarm probability detects with probability . This is at least if and only if ; if , every test with false-alarm probability misses with probability above .
(b) For every and , the SR detector matched to raises in frames an expected number of false alarms of at most , that is, on average at most one per frames; in particular, . It detects by frame with probability at least , which is at least if .
Part (a) is the warm-up with ; it assumes that the test knows the profile, including when the attack starts. Part (b) relaxes only the onset. The SR detector still knows the shape of the profile, and it must set a higher threshold to keep false alarms rare during continuous operation; prices the unknown onset, not an unknown shape. For , nats; one false alarm per day at 50 frames per second gives and nats. Both thresholds aim at a detection probability of for the matched detector. A target for the test of part (a) needs , for example nats for at .
Proof. By the proof of Theorem 1(a), the likelihood ratio is that of given , so . Since without attack and with it, whatever , under and under . (a) By the Neyman–Pearson lemma, the most powerful test raises an alarm when , which has false-alarm probability . Its probability of detection is , which is at least if and only if ; here because . (b) An attack that starts at frame does not change the law of the record before frame . Hence, under and with respect to the record up to frame , is a martingale, and . Let be the statistic of the current cycle, so that up to the first alarm, and let , the sum running over the alarm frames . If is not an alarm frame, , the sum running over the onsets of the current cycle; if it is, . Both increments have conditional mean zero, and , so . Since at every alarm frame , , and if is itself an alarm frame, times the expected number of alarms in frames is at most . The first alarm is at , so . For detection, , so .
V. THE ATTACKER'S BEST RESPONSE
Fix a design ; we drop the index throughout this section. The attacker solves .
Theorem 2 (Best response). Let hold, with , and let pick out the differential bias: .
-
The stealthiest attack exists and is the unique solution of the strictly convex quadratic program (QP) ; thus .
-
, with equality if satisfies the rate limit (R), in which case .
-
With as in Theorem 1(d), let , a number in . Then for every . If satisfies (R), then
where and split between the clocks: .
Interpretation. is the least evidence per unit squared bias of clock i when the rate limit does not bind: biasing clock i alone by a costs . Item 3 corrects the intuition that the attacker should drag only the weaker clock. If the island clock costs three times as much per unit squared bias as the utility clock, the attacker puts 75% of the bias on the utility clock and 25% on the island clock. It then pays only 0.75 of the cost of dragging the utility clock alone, since . Like two resistors in parallel, the two clocks together are cheaper than either alone.
Proof. (1) By Lemma 1, is nonempty, convex and compact, and by Theorem 1(a), is continuous and strictly convex. A minimizer therefore exists and is unique. (2) The hyperplane contains . On , the Lagrange condition , , and give the unique minimizer and the value . The minimum over is at least this, with equality if , which holds if and only if satisfies (R). (3) The first claim is (2) applied to one clock without rate limit, with replaced by the last unit vector : . By Theorem 1(d), and , so , which gives the value in (13). Moreover, and , whose ratio is .
The shape of the stealthiest attack on one clock depends on the monitor that watches it. For and , let
with , be the one-clock profiles that obey the rate limit and reach the bias ; it is nonempty if and only if . For a part , let be the least evidence that this part reveals; the minimum exists by compactness and continuity.
Proposition 3 (Patience). Let hold, and with .
(a) Island PMU:
Both bounds decay as , so patience pays: as . Their ratio, , tends to , so the ramp is nearly optimal in value when . This does not show that the stealthiest profile is close to a ramp in shape.
(b) Utility PMU with reference: let for , which waits and then sprints at the rate limit for the last seconds. Let ,
Then and
with and . Neither bound depends on : the late sprint achieves an -independent upper bound, and waiting cannot drive the least evidence to zero.
Interpretation. Against the island PMU, the attacker gains by spreading the drift as thinly as possible, because the load explanation is paid for in every frame. Against the trusted reference, every frame with a nonzero bias is charged, so keeping the bias at zero as long as possible and then sprinting comes within a constant factor of the least evidence, however long the window. Fig. 3(b) shows that, in the case study, the solutions of the QP of Theorem 2 have these two shapes.
Proof. Every satisfies for , by (R) and . (a) In particular , and Lemma 3(b) gives the lower bound for every admissible profile. The ramp changes by per frame, so it is admissible, and Lemma 3(b) with gives the upper bound. Dividing the upper bound, with as in Proposition 1, by the lower one gives the ratio. (b) If , then ; otherwise . Either way , and Lemma 3(d) gives . Substituting for and using , . The profile starts at , ends at , and changes by in each of the last frames, by in the frame before, and by 0 otherwise. So and , and Lemma 3(d) gives the upper bound. Finally, is nonincreasing, so comparing the sum with integrals gives , which are the stated bounds.
Without holdover checks, the model is invariant under shifts in time, and a longer window never makes the attacker worse off.
Lemma 4 (Monotonicity without holdover). Let hold and . Then for every .
Proof. If there is nothing to prove. Otherwise, let and define the delayed profile for a window of frames by and for
. It satisfies (R) and (S), so , and its signature vanishes in frame 0. By (F1), the evidence of is that of the record up to frame 0, which is zero, plus that of frames given the record up to frame 0. Since , the model is time invariant, and by Lemma 2(b) and Assumption A3, the prediction covariance of given the record up to frame 0 is again . By Theorem 1(a), the second term is thus the evidence of in a window of frames. Hence for every .
With holdover checks, time invariance fails, because the oscillator offset accumulates from the audit on, as in (8). This is why Definition 2 requires safety for every shorter period.
VI. THE DEFENDER'S DESIGN
The defender anticipates the stealthiest attack and maximizes over its affordable designs. We assume , since otherwise there is nothing to choose.
Theorem 3 (Design). Let hold and .
-
For every , is concave, nondecreasing in each component and continuous on .
-
If , then is concave, nondecreasing and continuous on . Its maximum over is attained, and maximizing it is a convex program.
-
If , then , and has a saddle point.
Interpretation. A more precise monitor never hurts, but its returns diminish; the best design can be found by convex optimization; and the defender loses nothing by announcing its design, because the max-min and min-max values coincide. A choice among discrete oscillator classes, such as TCXO, OCXO or Rb, is made by enumeration.
Proof. (1) The design enters the prediction covariance through , so we first remove Assumption A3. Fix that do not depend on , let , and let be the resulting evidence. The proof of Theorem 1(a) applies with replaced by (Lemma 2(b)), so with as , and hence . On the other hand, the proofs of Theorem 1(a)-(b) use only that the nuisance and the noise are independent Gaussian vectors with positive definite covariances. Applied to the whole record from frame , with the nuisance formed by and , and with the noises of all frames, they give
for the corresponding matrices . The matrices and do not depend on , and every other entry of the block-diagonal matrices and is either a fixed positive number or a component of . For fixed , the bracket is therefore affine and nondecreasing in , and
its minimum over is concave and nondecreasing. Pointwise limits preserve both properties, so is concave and nondecreasing in . A concave function that is finite on an open convex set is continuous there [33, Thm. 10.1]. (2) By Theorem 2(1), is finite, and a pointwise minimum of concave nondecreasing functions is concave and nondecreasing; continuity follows as in (1). A continuous function attains its maximum on the compact set , and maximizing a concave function over a convex set is a convex program. (3) The function is concave and continuous in by (1), and convex and continuous in by Theorem 1(a); and are convex and compact. Sion's minimax theorem [34] gives the equality. A maximizer of exists by (2), and a minimizer of the lower semicontinuous function exists on the compact set . With the common value, for all and ; taking and shows , so is a saddle point.
The design problem of Definition 2 asks for the longest safe period, not for the largest evidence at a fixed period. It reduces to a sequence of convex problems.
Corollary 1 (Designing for the audit period). Let hold and . For , the set is convex and compact, and . Hence . Given with , this supremum can be found by bisection over , each step of which is a convex feasibility problem.
Proof. is the intersection over of the sets . Each is itself if , and otherwise the intersection of with a superlevel set of a concave continuous function (Theorem 3(2)); both are convex and compact. The sets are nested by definition. By Definition 2, if and only if , which gives the formula; nestedness makes bisection valid.
Each step of the bisection must test membership in itself, that is, for every : monotonicity of in with holdover checks has not been established here (Lemma 4 covers only ), so testing alone is not justified. The upper bracket can come from an explicit attack, as in Theorem 4(c) below. If, for some , a lower bound on that does not depend on exceeds , then for every , the supremum is infinite, and no bisection is needed.
Where should a better oscillator go? Theorem 2(3) gives a clean answer when the per-clock coefficients depend on the design in the simplest way.
Corollary 2 (Where the better oscillator goes). Let , and for let and . Over , is maximized by if , and otherwise by giving all of to the clock with the smaller . When , the clock with the smaller receives more precision; when they are equal, the split is equal.
Proof. The sum is fixed, and is a concave function of with its maximum at . The feasible values of form the interval , which contains if and only if ; otherwise the endpoint nearest to is optimal. At , , which is positive if .
Interpretation. is what the PMU of side reveals per unit squared bias, and is what its holdover check adds. The hypothesis holds approximately for ramps, with , by Proposition 1(c) when ; the numbers of Section VII do not rely on it. By Proposition 1(a),(b), while , so for long windows. Under this approximation, the island PMU already watches the island clock, and the better oscillator belongs on the utility side; Section VII confirms this numerically for the case study, without the approximation. Geometrically, the optimum is the rectangle of largest area for a given perimeter. The conclusion rests on the model, in particular on the white load of Assumption A2 (Section VIII).
VII. CASE STUDY: A 50 HZ ISLAND
Setup. We use the values in the last column of Table I: Hz, ms, s, rad, mHz, mHz, ns, ms ( ) and . The selected PMU noise standard deviations are substantially smaller than the steady-state limits of [1], a total vector error of 1% (about 0.01 rad) and a frequency error of 5 mHz, and is its 50 frames/s reporting period. The rate limit is deliberately pessimistic: it is six times the fastest drag demonstrated against a PMU and fifteen times the loss-of-lock limit of a power-grid receiver (Section III-B). Since grows with , a larger can only shorten the safe periods. With instead, every period of Table III that involves an oscillator or the reference changes by less than 0.5%, and the period without monitors grows from 26 s ( ) and 24 s ( ) to 1.4 min, the time that two clocks then need to reach . A TCXO, an OCXO and a rubidium standard are rated at , and , within the frequency offsets of [23, Table 17.5]. The source specifies no distribution. As a calibration assumption of ours, we read each rating as standard deviations of a zero-mean Gaussian offset, with for : a fraction of the oscillators exceed the rating in each direction, in absolute value. Hence is the rating divided by , displayed rounded as , and and used unrounded in every computation, as are and . Aging, which the model neglects, is at most , and per year [23]. It is negligible over the periods of Table III, except for two rubidium standards, whose 45-day period lets aging reach about 40% of ; that entry, marked
in Table III, is indicative only. Solving the Riccati equations gives , , and frames. The utility PMU therefore reveals no more than an oscillator of spread , fifteen times worse than a TCXO. The PMU parts of the record are evaluated exactly through their steady-state Kalman innovations, and the stealthiest attacks by an active-set QP solver. The script code/evidence_island.py of the supplementary material regenerates every number, Fig. 3 and Table IV.
The three regimes. A ramp reaching in 60s reveals 0.64 nats to the utility PMU (Proposition 1(a): at most 1.83), 409 to a TCXO holdover check, 323 to the island PMU (Lemma 3(b): between 311 and 332) and to the trusted reference (Proposition 1(d): at least ). Fig. 3(a) shows the slopes of Table II over two decades of . Note the crossover near 80 s: for slower attacks, the island PMU reveals more than a TCXO.
Stealthiest attacks. Against the island PMU with a TCXO, the QP solution is within of the ramp and reveals 732 nats. Against the trusted reference, it sprints at in the last 27.8 s and reveals nats for windows of 30, 40 and 60 s alike, which numerically agrees with the lower bound of Proposition 3(b) at the reported precision; the 60 s ramp reveals . Without the rate limit the attacker would reveal only , so the rate limit multiplies its cost by 71. With a TCXO on both clocks, the two-clock QP puts 64.1% of the bias on the utility clock and reveals 262.8 nats; the harmonic rule (13), with the of ramps, predicts 64.1% and 262.9 nats.
Certified audit periods. Computing exactly would require the QP of Theorem 2 for every N up to millions of frames. Instead, we bracket it.
Theorem 4 (Certified audit periods). Let hold, , and fix a design and . Let , and indicate the installed monitors, and for with and let
with if . Let . Then:
(a) , and is nonincreasing in ;
(b) ;
(c) if some has , then .
Proof. (a) Let , and , so and . By (R), . By Theorem 1(d) and Lemma 3(b),(c), utility PMU island PMU holdover check (TCXO) trusted reference

Fig. 3. Case study at 50 Hz; the legend gives the color of each monitor, as in Fig. 2. (a) Evidence of a ramp that reaches on one clock in seconds, for each monitor alone, with the slopes of Proposition 1 and Table II. One clock cannot reach in less than s (shaded). Against the trusted reference, the stealthiest attack (dashed, computed by the QP) reveals numerically the same evidence for every s. (b) Stealthiest profiles in a 60 s window, computed by the QP of Theorem 2: numerically close to a ramp against the island PMU with a TCXO holdover check, and to wait-then-sprint against the trusted reference; without the rate limit, the attacker would jump in the last frames (dotted). (c) Certified least evidence of a successful attack (Theorem 4) against the audit period , for three oscillator placements. Each curve crosses the threshold at its certified safe period (dots). The curve for TCXOs on both clocks (not shown) nearly coincides with “OCXO on island” (8.7 versus 9.2 min).
and . If the reference is installed, the proof of Proposition 3(b) gives ; otherwise we use , which only weakens the bound. Hence . Each is nondecreasing on . If , then , and replacing by does not increase the sum; similarly if . So for every . For monotonicity, each term of is nondecreasing in , so and are nonincreasing; the sum over does not depend on ; and the set where shrinks as grows. (b) Since , and . By (a), the set is of the form (or all ), and on it . So audits every frames are -safe. (c) , so no period of frames is -safe.
Computing . A minimum over a grid of splits can overstate , so we compute it exactly. In the utility share a, the objective is convex and continuously differentiable on the feasible interval . Without the reference, and when no boundary binds, its minimizer is , and . In general, we bracket the zero of the derivative by bisection and take the tangent at the left end of the final bracket, which by convexity never exceeds the minimum; a relative margin of absorbs rounding. Since is nonincreasing, then follows by bisection over whole frames.
The fused columns of Table III report of Theorem 4(b), a period that is safe against every attack. For every design with a monitor, explicit feasible attacks give an upper bound on by Theorem 4(c): ramps on the two clocks with the best split of the bias, delayed to end at the audit when a
TABLE III
SAFE AUDIT PERIOD: THE PER-CHECK RULE VERSUS THE CERTIFIED LOWER BOUND ON (THEOREM 4(B)), WHICH FUSES ALL CHANNELS; EXCEEDS IT BY LESS THAN 0.6% (TABLE IV). AT ( ) THE MATCHED TEST, AND AT (ONE FALSE ALARM PER DAY) THE MATCHED SR DETECTOR, DETECTS EVERY SUCCESSFUL ATTACK WITH PROBABILITY AT LEAST
| Utility r | Island g | Per-check | Fused, | Fused, |
|---|---|---|---|---|
| - | - | 14 s | 26 s | 24 s |
| TCXO | TCXO | 4.1 min | 8.7 min | 4.7 min |
| TCXO | OCXO | 8.1 min | 9.2 min | 5.2 min |
| OCXO | TCXO | 8.1 min | 68 min | 22 min |
| OCXO | OCXO | 6.9 h | 11.0 h | 6.1 h |
| Rb | OCXO | 13.6 h | 16.0 h | 8.8 h |
| Rb | 28.5 d | 45.4 d | 25.4 d | |
| trusted ref. | TCXO | - | 68 min | 22 min |
| trusted ref. | OCXO | - | 16.0 h | 8.8 h |
Indicative only: over this period, oscillator aging, which the model neglects, reaches about 40% of .
clock has no oscillator. Their evidence is evaluated in closed form, for any and without extrapolation. Driven by a ramp, the steady-state innovation filter of each PMU has an affine particular solution plus a geometrically decaying transient, so the sum of the squared whitened innovations follows from power sums, geometric matrix sums and a Stein equation; up to 50 min it agrees with direct summation to a relative . Let be the first frame count found at which such an attack has evidence below . By Theorem 4(c), , so on the frame lattice . The lower endpoint is computed in whole frames with the exact described after Theorem 4. Table IV lists both endpoints; the relative gap is below 0.6% throughout, a numerical statement for these designs.
Without monitors, we solve the two-clock QP of Theorem 2
TABLE IV
BRACKETS BEHIND TABLE III, IN SECONDS, BOTH WHOLE NUMBERS OF FRAMES: FROM THEOREM 4(b),
FROM AN EXPLICIT ATTACK OF FRAMES (THEOREM 4(C)); . WITHOUT MONITORS, IS EXACT
| r | g | gap | gap | ||||
| - | - | 26.08 | 26.08 | 0 | 24.28 | 24.28 | 0 |
| TCXO | TCXO | 522.34 | 523.62 | 0.25% | 281.40 | 282.18 | 0.28% |
| TCXO | OCXO | 554.74 | 555.98 | 0.22% | 310.12 | 310.80 | 0.22% |
| OCXO | TCXO | 4079.70 | 4093.54 | 0.34% | 1327.10 | 1333.02 | 0.45% |
| OCXO | OCXO | 39720.98 | 39778.98 | 0.15% | 22084.66 | 22116.74 | 0.15% |
| Rb | OCXO | 57523.04 | 57612.28 | 0.16% | 31646.40 | 31694.68 | 0.15% |
| Rb | Rb | 3923217.56 | 3928876.04 | 0.14% | 2193056.40 | 2196219.26 | 0.14% |
| ref. | TCXO | 4098.96 | 4115.34 | 0.40% | 1327.40 | 1335.12 | 0.58% |
| ref. | OCXO | 57507.50 | 57612.28 | 0.18% | 31622.28 | 31694.68 | 0.23% |
by bisection over , which Lemma 4 makes valid, and certify the crossing by weak duality. At 1304 frames, a Lagrange dual point shows , and at 1305 frames a feasible attack has evidence ; at , the values are 15.291 at 1214 frames and 15.131 at 1215. The primal and dual values agree to nine digits, so s and s exactly.
Fig. 3(c) shows how the periods arise. For each design, the certified evidence decays with the period, and the safe period is where it falls below the threshold, as in Corollary 1. Moving the OCXO from the island to the utility side lifts the curve by more than an order of magnitude at long periods, and the crossing of moves from 9.2 to 68 min.
The per-check rule. The column “Per-check” is a baseline rule that treats each holdover check as a separate alarm. Check flags drifts above (a two-sided test with split between two checks). Let for a clock with an oscillator and for one without. An attacker that drifts just below both limits, in opposite directions, needs the time , and the rule deems shorter periods safe. For the oscillators of Table III, , so .
The two kinds of column do not apply the same statistical criterion. The per-check rule runs two separate two-sided tests with a split false-alarm budget, each blind to the phasor data and to the attack profile. The threshold refers to one one-sided test that uses all channels and is matched to a signed, fully specified profile. The gains at therefore combine fusion, phasor information, sidedness and knowledge of the alternative; the column removes the knowledge of the onset. Separating these effects requires a fused composite detector calibrated to the same false-alarm and detection requirements, which we leave to future work.
Why fusing helps. Within the evidence criterion, three effects explain the gains at :
- Fusing the holdover checks. Against one combined test, the attacker can hide a drift of order rather than . With equal oscillators, this lengthens the period by the factor
1.59 (row Rb/Rb), of which is due to fusion and 3.48/3.09 to the one-sided matched threshold.
- Using the phasor data. The island PMU's evidence of a ramp decays as and a TCXO's as , so beyond about 80 s the island PMU dominates, and the TCXO/TCXO period doubles.
• Placement. With one OCXO and one TCXO, the rule gives 8.1 min either way. Fused evidence gives 68 min with the OCXO on the utility side, but only 9.2 min with it on the island side, as Corollary 2 predicts.
A trusted utility reference pushes nearly all of the bias onto the island clock, so the period equals that of a near-perfect utility oscillator. The threshold shortens every period but preserves the ranking of the designs. For a budget of two TCXOs' worth of precision, , we maximize the certified period , which respects every shorter horizon as Definition 2 requires, over the utility shares 0.01, 0.02, ..., 1 of the budget; the share 1 leaves the island clock without an oscillator ( ). The best share on this grid is 1, which lengthens from 8.7 to 11.9 min at ( min) and from 4.7 to 6.1 min at . This is a numerical best over specified hardware designs, not the optimum of a continuous design problem. Our theorems assume positive precisions on a fixed set of monitors, and is not the limit of small positive : a holdover check of vanishing precision still sees deviations of the clock from a straight line, which a removed one does not, so may jump at . The brackets bound any such jump. For the share 0.999, lies in [711.38, 712.96] s, and for the share 1 in [711.68, 713.26] s.
Robustness. Two checks probe the conclusions beyond the nominal parameters and beyond Assumption A1.
Load variability. The placement gain is driven by the island PMU's evidence, which scales as (Proposition 1(b)). With the load standard deviation scaled by 0.3, 1 and 3, the certified periods with the OCXO on the utility versus the island side are 514.6 versus 9.2 min, 68.0 versus 9.2 min and 13.7 versus 9.2 min at , gains of 55.7, 7.4 and 1.5; at , the gains are 38.4, 4.3 and 1.3. The direction of the placement rule holds throughout; its size is set by the load variability, so should be estimated before deployment.
State-dependent terms. Equation (6) omits the terms in the reported phase and in the reported frequency. With them, the signature depends on the state, the attacked record's covariance differs from the unattacked one, and, because the controller shapes , the evidence depends on the controller: the dual effect that Theorem 1(a) excludes. For a fixed profile the closed loop under the PI law (4) remains linear in the state and the noises, so the record is still Gaussian and the exact divergence follows from its mean and covariance. With the priors of Assumption A3, for opposite ramps on the two clocks reaching in 14 s (drift 0.99 ), the exact evidence differs from (11) by (tuning A) and (tuning B) in relative terms, of 356.66 nats; the covariance change contributes at most nats. For a utility-clock sprint at to against the trusted reference, the relative difference is under both tunings. The dual effect exists but is four orders of magnitude below the evidence, because the omitted terms are smaller than the retained ones by the factor .
VIII. CONCLUSION
We posed the defense of a synchronous island against GNSS timing attacks as an inspection game, in which the defender chooses its monitors, the attacker drags two clocks to an unsafe bias between audits, and the payoff is the evidence. One identity carries the analysis: the evidence is the cost of the cheapest innocent explanation of what the defender sees. It tells which monitors work (those that cannot blame a drift on normal operation), why ramps are nearly optimal in value against the island PMU, whose innocent explanation must be paid for in every frame, and why late sprints come within a bounded factor of the optimum against a reference that penalizes squared bias in every frame (the case-study optima have these shapes numerically), and, under the stated model, where a better oscillator belongs (where the PMU sees least). The attacker's problem is a strictly convex QP, the defender's is a convex program, and the game has a saddle point. Because explanations bound the evidence from above and statistics bound it from below, safe audit periods can be certified rather than merely estimated, in the sense that every successful attack leaves at least the threshold of evidence.
Three lessons follow for practice, within the model and the case study. Fuse: combining existing channels increases the worst-case KL evidence; in the case study, the resulting evidence-based audit bounds are up to 8.4 times the per-check baseline at , with no new hardware. Place: the better oscillator belongs on the utility side, because the island PMU already watches the island clock. Anchor: a trusted phase reference prevents waiting from hiding a fixed nonzero utility-clock bias, makes the utility clock expensive to drag, and pushes the attack toward the island clock.
The results rest on the model, and the load model matters most: if the load were an unknown constant rather than white noise, the island PMU would explain a drift once, and the placement gain would shrink, so should be estimated before deployment. Attacks are open loop, audits are ideal, success is defined by the differential bias, a proxy for the phase at reconnection that is accurate to within the tracking margin of Section III-D, the reports omit terms of relative order , and oscillator aging is neglected. Most importantly for practice, the safe periods certify evidence: they guarantee detection for a test matched to each attack, not for one detector that faces an unknown profile. A fused composite detector with a calibrated guarantee for every admissible profile, adaptive attacks, controller saturation and placement across many buses are left to future work.
REFERENCES
[1] IEEE Standard for Synchrophasor Measurements for Power Systems, IEEE Std C37.118.1-2011, 2011 (superseded in part by IEC/IEEE 60255-118-1:2018).
[2] T. E. Humphreys, B. M. Ledvina, M. L. Psiaki, B. W. O'Hanlon, and P. M. Kintner, Jr., "Assessing the spoofing threat: Development of a portable GPS civilian spoofer," in Proc. ION GNSS, Savannah, GA, 2008, pp. 2314–2325.
[3] D. P. Shepard, T. E. Humphreys, and A. A. Fansler, "Evaluation of the vulnerability of phasor measurement units to GPS spoofing attacks," Int. J. Crit. Infrastruct. Prot., vol. 5, no. 3–4, pp. 146–153, 2012.
[4] Z. Zhang, S. Gong, A. D. Dimitrovski, and H. Li, "Time synchronization attack in smart grid: Impact and analysis," IEEE Trans. Smart Grid, vol. 4, no. 1, pp. 87–98, 2013.
[5] R. J. Best, D. J. Morrow, D. J. McGowan, and P. A. Crossley, "Synchronous islanded operation of a diesel generator," IEEE Trans. Power Syst., vol. 22, no. 4, pp. 2170–2176, 2007.
[6] R. J. Best, D. J. Morrow, D. M. Laverty, and P. A. Crossley, "Techniques for multiple-set synchronous islanding control," IEEE Trans. Smart Grid, vol. 2, no. 1, pp. 60–67, 2011.
[7] IEEE Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces, IEEE Std 1547-2018, 2018.
[8] R. Avenhaus, B. von Stengel, and S. Zamir, "Inspection games," in Handbook of Game Theory with Economic Applications, vol. 3, R. J. Aumann and S. Hart, Eds. Amsterdam: Elsevier, 2002, ch. 51, pp. 1947–1987.
[9] F. Pasqualetti, F. Dörfler, and F. Bullo, "Attack detection and identification in cyber-physical systems," IEEE Trans. Autom. Control, vol. 58, no. 11, pp. 2715–2729, 2013.
[10] A. Teixeira, I. Thames, H. Sandberg, and K. H. Johansson, "A secure control framework for resource-limited adversaries," Automatica, vol. 51, pp. 135–148, 2015.
[11] C.-Z. Bai, F. Pasqualetti, and V. Gupta, "Data-injection attacks in stochastic control systems: Detectability and performance tradeoffs," Automatica, vol. 82, pp. 251–260, 2017.
[12] Y. Mo and B. Sinopoli, "On the performance degradation of cyber-physical systems under stealthy integrity attacks," IEEE Trans. Autom. Control, vol. 61, no. 9, pp. 2618–2624, 2016.
[13] E. Kung, S. Dey, and L. Shi, "The performance and limitations of e-stealthy attacks on higher order systems," IEEE Trans. Autom. Control, vol. 62, no. 2, pp. 941–947, 2017.
[14] D. P. Shepard and T. E. Humphreys, "Characterization of receiver response to spoofing attacks," in Proc. ION GNSS, Portland, OR, 2011, pp. 2608–2618.
[15] M. L. Psiaki and T. E. Humphreys, "GNSS spoofing and detection," Proc. IEEE, vol. 104, no. 6, pp. 1258–1270, 2016.
[16] Q. Zhu and T. Basar, "Game-theoretic methods for robustness, security, and resilience of cyberphysical control systems: Games-in-games principle for optimal cross-layer resilient control systems," IEEE Control Syst. Mag., vol. 35, no. 1, pp. 46–65, 2015.
[17] F. Pukelsheim, Optimal Design of Experiments, ser. Classics in Applied Mathematics, vol. 50. Philadelphia, PA: SIAM, 2006.
[18] T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed. Hoboken, NJ: Wiley, 2006.
[19] A. A. Girgis and W. L. Peterson, "Adaptive estimation of power system frequency deviation and its rate of change for calculating sudden power system overloads," IEEE Trans. Power Del., vol. 5, no. 2, pp. 585–594, 1990.
[20] R. Ferrero, P. A. Pegoraro, and S. Toscani, "Synchrophasor estimation for three-phase systems based on Taylor extended Kalman filtering," IEEE Trans. Instrum. Meas., vol. 69, no. 9, pp. 6723–6730, 2020.
[21] P. Kundur, Power System Stability and Control. New York, NY: McGraw-Hill, 1994.
[22] P. M. Anderson and M. Mirheydar, "A low-order system frequency response model," IEEE Trans. Power Syst., vol. 5, no. 3, pp. 720–729, 1990.
[23] M. A. Lombardi, "Fundamentals of time and frequency," in The Mechatronics Handbook, R. H. Bishop, Ed. Boca Raton, FL: CRC Press, 2002, ch. 17.
[24] A. Derviškadić, R. Razzaghi, Q. Walger, and M. Paolone, "The White Rabbit time synchronization protocol for synchrophasor networks," IEEE Trans. Smart Grid, vol. 11, no. 1, pp. 726–738, 2020.
[25] L. Narula and T. E. Humphreys, "Requirements for secure clock synchronization," IEEE J. Sel. Topics Signal Process., vol. 12, no. 4, pp. 749–762, 2018.
[26] J. W. Pierre, D. J. Trudnowski, and M. K. Donnelly, “Initial results in electromechanical mode identification from ambient data,” IEEE Trans. Power Syst., vol. 12, no. 3, pp. 1245–1251, 1997.
[27] M. Brown, M. Biswal, S. Brahma, S. J. Ranade, and H. Cao, “Characterizing and quantifying noise in PMU data,” in Proc. IEEE PES General Meeting, Boston, MA, 2016, pp. 1–5.
[28] S. Wang, J. Zhao, Z. Huang, and R. Diao, “Assessing Gaussian assumption of PMU measurement error using field data,” IEEE Trans. Power Del., vol. 33, no. 6, pp. 3233–3236, 2018.
[29] B. D. O. Anderson and J. B. Moore, Optimal Filtering. Englewood Cliffs, NJ: Prentice-Hall, 1979.
[30] L. L. Scharf and B. Friedlander, “Matched subspace detectors,” IEEE Trans. Signal Process., vol. 42, no. 8, pp. 2146–2157, 1994.
[31] P. R. Kumar and P. Varaiya, Stochastic Systems: Estimation, Identification, and Adaptive Control. Englewood Cliffs, NJ: Prentice-Hall, 1986.
[32] A. Tartakovsky, I. Nikiforov, and M. Basseville, Sequential Analysis: Hypothesis Testing and Changepoint Detection. Boca Raton, FL: CRC Press, 2014.
[33] R. T. Rockafellar, Convex Analysis. Princeton, NJ: Princeton Univ. Press, 1970.
[34] M. Sion, “On general minimax theorems,” Pacific J. Math., vol. 8, no. 1, pp. 171–176, 1958.