Skip to main content
QUICK REVIEW

[Paper Review] TaskShuffler++: Real-Time Schedule Randomization for Reducing Worst-Case Vulnerability to Timing Inference Attacks

Man-Ki Yoon, Jung-Eun Kim|arXiv (Cornell University)|Nov 18, 2019
Real-Time Systems SchedulingComputer Science28 references5 citations
TL;DR

TaskShuffler++ is a real-time schedule randomization algorithm that enhances security against timing inference attacks by dynamically using runtime information to increase scheduling uncertainty while preserving schedulability. It achieves a 36.89% higher schedule min-entropy than TaskShuffler, significantly reducing an adversary's ability to predict task execution timing in the worst case.

ABSTRACT

This paper presents a schedule randomization algorithm that reduces the vulnerability of real-time systems to timing inference attacks which attempt to learn the timing of task execution. It utilizes run-time information readily available at each scheduling decision point to increase the level of uncertainty in task schedules, while preserving the original schedulability. The randomization algorithm significantly reduces an adversary's best chance to correctly predict what tasks would run at arbitrary times. This paper also proposes an information-theoretic measure that can quantify the worst-case vulnerability, from the defender's perspective, of an arbitrary real-time schedule.

Motivation & Objective

  • To address the vulnerability of fixed-priority real-time systems to timing inference attacks that exploit predictable task schedules.
  • To overcome the limitations of prior work like TaskShuffler, which suffers from temporal locality due to static bounds and non-timing-aware job selection.
  • To design a runtime schedule randomization technique that increases unpredictability without compromising schedulability.
  • To introduce a new information-theoretic metric, schedule min-entropy, to quantify worst-case vulnerability from the defender’s perspective.
  • To evaluate the effectiveness of the proposed method through empirical analysis and comparison with existing approaches.

Proposed method

  • TaskShuffler++ uses runtime-available information—such as current ready queue state and task execution progress—to determine which tasks may be scheduled, enabling dynamic priority inversion.
  • It applies a weighted job selection process that treats candidate jobs differently based on timing context, reducing temporal locality and increasing randomness in execution order.
  • The algorithm avoids reliance on pessimistic offline bounds for priority inversion budgets, instead using real-time state to guide scheduling decisions.
  • It introduces schedule min-entropy as a metric to quantify the adversary’s best-case success probability in predicting task identities.
  • An approximate variant of TaskShuffler++ is proposed to reduce computational complexity while maintaining high security.
  • The method preserves system schedulability by ensuring worst-case response times remain within deadlines under fixed-priority preemptive scheduling.

Experimental results

Research questions

  • RQ1How can real-time scheduling be randomized at runtime to increase uncertainty in task execution timing without violating schedulability constraints?
  • RQ2To what extent does runtime-aware job selection reduce temporal locality compared to static or non-timing-aware selection in prior methods?
  • RQ3Can schedule min-entropy serve as a reliable, information-theoretic measure of worst-case vulnerability to timing inference attacks?
  • RQ4How does TaskShuffler++ compare to TaskShuffler in terms of reducing an adversary’s best chance of predicting task execution?
  • RQ5What is the trade-off between security (measured by min-entropy) and computational overhead in the proposed runtime randomization?

Key findings

  • TaskShuffler++ increases schedule min-entropy by 36.89% compared to TaskShuffler, indicating a significant reduction in the adversary’s best chance of correctly predicting task execution.
  • The average schedule min-entropy of TaskShuffler++ is 1.59%, with a maximum of 375.25%, demonstrating a wide range of uncertainty across different task sets.
  • The weighted job selection mechanism in TaskShuffler++ effectively reduces temporal locality, spreading task executions more uniformly across time.
  • The proposed schedule min-entropy metric provides a quantifiable, information-theoretic measure of worst-case vulnerability, enabling objective comparison of scheduling defenses.
  • The approximate variant of TaskShuffler++ achieves near-equivalent security with reduced computational complexity, making it practical for real-time deployment.
  • Empirical evaluation confirms that TaskShuffler++ significantly raises the bar for timing inference attacks by increasing unpredictability while maintaining schedulability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.