Mitigating Timing-Based Attacks in Real-Time Cyber-Physical Systems

This paper proposes a scheduling-based mitigation framework that secures real-time cyber-physical systems against timing-based attacks by introducing bounded, structured timing perturbations to obscure execution patterns while strictly preserving real-time schedulability and control performance guarantees.

Original authors: Arkaprava Sain, Sunandan Adhikary, Soumyajit Dey

Published 2026-02-04
📖 5 min read🧠 Deep dive

Original authors: Arkaprava Sain, Sunandan Adhikary, Soumyajit Dey

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a high-stakes orchestra where every musician (a computer task) must play their note at the exact same moment to keep the music (the physical system, like a car or a power grid) safe. In these "Real-Time Cyber-Physical Systems," timing is everything. If a musician is even a split-second late, the whole performance could crash, leading to disaster.

However, this strict, predictable rhythm has a dark side. Because the schedule is so rigid and predictable, a sneaky eavesdropper (an attacker) can listen to the rhythm, figure out exactly when the most important musicians (safety-critical tasks) are playing, and sneak in during the tiny gaps between notes to tamper with the music. This is called a Timing-Based Attack.

The Problem: The Predictable Rhythm

Think of the system's schedule like a train timetable. The "Safety-Critical Train" (the control task) leaves the station at 10:00, 10:10, 10:20, and so on.

  • The Attacker's Trick: A malicious "untrusted" train (a lower-priority task) knows exactly when the Safety-Critical Train arrives and leaves. The attacker waits for the Safety-Critical Train to drop off its cargo (data) and then immediately jumps in to swap the cargo with something fake before the next train arrives.
  • The Window: There is a specific "Attack Window" right after the Safety-Critical Train leaves. If the bad train can get there in time, it can sabotage the system.

The Old Solutions (and why they failed)

Previous attempts to stop this were like trying to hide the train schedule by:

  1. Randomizing the schedule: Making the trains leave at random times. Problem: This confuses the system itself, causing delays that might make the car crash or the power grid fail.
  2. Isolating the trains: Keeping the bad trains in a separate yard. Problem: This wastes space and resources, making the system inefficient.

The New Solution: SecureRT (The "Smart Delay" Framework)

The authors of this paper propose a new framework called SecureRT. Instead of random chaos or strict isolation, they use a calculated, "smart" delay.

Imagine the conductor (the scheduler) has a secret plan. When they suspect an attack, they don't cancel the train; they just tell the Safety-Critical Train to wait a specific, pre-calculated amount of time before leaving.

Here is how it works in three steps:

1. The Safety Check (Will the train still arrive on time?)

Before making any changes, the system calculates the maximum safe delay. It asks: "If we make the train wait 3 seconds, will it still reach its destination before the deadline?"

  • If the answer is yes, the delay is safe.
  • If the answer is no, the delay is too long and could cause a crash.
    This ensures the system remains schedulable (safe and on time).

2. The Performance Check (Will the music still sound good?)

Even if the train arrives on time, waiting too long might make the music sound off-key. The system calculates how much the "control performance" (the quality of the music) will degrade if the train waits.

  • They set a limit: "The music can only get 5% worse."
  • They find the maximum admissible delay—the longest wait that keeps the music sounding good enough.

3. The Smart Shuffle (The Optimization)

Now, the system solves a complex puzzle. It looks at the "Attack Window" and the schedule of the "Bad Trains" (untrusted tasks).

  • It calculates a sequence of delays (e.g., wait 3 seconds, then wait 0 seconds, then wait 5 seconds) that shifts the Safety-Critical Train's arrival just enough so that the "Bad Trains" can no longer fit into the Attack Window.
  • It's like moving the train's departure time so that the bad guy is stuck at a red light right when the train is supposed to leave.

How It Works in Real Life

The system runs a "detector" (like a security guard) that watches for signs of tampering.

  • Normal Mode: The trains run on the standard, fast schedule.
  • Attack Detected: If the guard sees a suspicious pattern (the "Bad Train" trying to sneak in), the system instantly switches to SecureRT mode.
  • The Switch: It applies the pre-calculated "Smart Delays" to the Safety-Critical Train. The train leaves at slightly different times than usual, throwing off the attacker's timing.
  • The Result: The attacker can no longer predict when to strike. The "Bad Train" misses the window, the data stays safe, and the system continues to run smoothly without crashing.

The Bottom Line

The paper demonstrates that you don't have to choose between security and safety. By using a "Smart Delay" strategy, you can:

  1. Confuse the attacker so they can't guess when to strike.
  2. Keep the system safe by ensuring the delays never exceed the safety limits.
  3. Keep the system performing well by ensuring the delays don't ruin the control quality.

In their experiments with a simulated car control system, they showed that while a standard system gets hacked and crashes, and a "random delay" system gets hacked and sounds bad, their SecureRT system successfully blocks the attack while keeping the car driving perfectly.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →