arXiv:2609.06791cs.CRSep 2026

Manuscript Offprint

arXiv:2609.06791

Efficient Hardware Information-Flow Tracking for Pre-Silicon Security Testing

Yu-Wei Fan, Yuheng Yang, Christine Guo, SooHyuk Cho, Thomas Bourgeat, Mengjia Yan, Sharad Malik

Yu-Wei Fan*

Princeton University

yf9172@princeton.edu

Yuheng Yang*

MIT CSAIL

yuhengy@mit.edu

Christine Guo

Princeton University

cg4302@princeton.edu

SooHyuk Cho

Princeton University

soohyuk.cho@princeton.edu

Thomas Bourgeat

EPFL

Thomas.bourgeat@epfl.ch

Mengjia Yan

MIT CSAIL

mengjiay@mit.edu

Sharad Malik

Princeton University

sharad@princeton.edu

Abstract—Register-Transfer Level (RTL) simulation is widely used to test hardware before it is fabricated. To allow testing for security related information flow properties, such as confidentiality and integrity, taint logic can be automatically added to the design to track how information flows through it. However, taint logic instrumented by the state-of-the-art, such as CellIFT, makes simulation-based testing prohibitively expensive: On our evaluation of Mega-BOOM (136K cells), it increases the instrumented design to 5.81× the original cell count and causes a 143.72× simulation slowdown. The taint logic could be simplified to improve simulation speed, but it will inevitably trade off its precision. This lightweight, imprecise taint logic will introduce false positives and may eventually result in even more overhead to check these false positives.

This paper explores the research question of where precision is actually needed in the design to overcome the overhead of false positives. It presents CEGAR-T, a framework that automatically synthesizes taint logic that minimizes the taint-logic instrumentation overhead while guaranteeing no false positives (relative to the precise CellIFT baseline). We have implemented CEGAR-T and evaluated it on the safe instruction set problem for timing side-channel security across open-source RISC-V cores. Over all evaluated cores, CEGAR-T reduces both instrumentation and simulation overhead, in geometric-mean, from 5.64× to 1.42× and from 34.65× to 1.79×, respectively, without compromising the precision benefit of the CellIFT baseline.

1. Introduction

Modern hardware enforces security boundaries for privilege separation, trusted execution, confidentiality, and integrity, yet deployed attacks continue to show that subtle microarchitectural behavior can violate these boundaries [1], [2], [3], [4], [5]. Once such flaws reach silicon, they are difficult or too costly to eliminate completely with post-silicon patches, because mitigations are constrained by already-fabricated and deployed hardware [6], [7], [8]. This makes

pre-silicon hardware security testing a critical task, where at the RTL stage, internal design state is visible, security-relevant executions can be simulated, and vulnerable logic can still be fixed before fabrication [9], [10].

Hardware information-flow tracking (IFT) via taint analysis [11] is a practical workhorse for simulation-based pre-silicon security testing, widely used in both academic work [6], [12], [13], [14] and industrial security-validation settings [15], [16], [17]. It represents the target hardware security requirement as a source-to-sink information flow property. The source represents secret data, untrusted input, or control state whose influence should be restricted, while a sink represents protected design states or behavior that should not be affected by that source under the target security property. Given an information flow property, taint analysis instruments the RTL with taint bits and taint logic, tracks how taint from the source propagates through the design, and flags a potential violation when taint reaches the sink. We remark that taint analysis-based IFT is complementary to hardware fuzzing, which excels at exploring a large number of diverse executions [10], [18], by providing a mechanism to determine whether those executions contain forbidden source-to-sink flows.

Taint logic is sound: it over-approximates true information flow, whose semantics is given by the well-established non-interference (NI) semantics [19]. Its precision is determined by how tightly this approximation matches the NI semantics. Prior work has shown that imprecise taint logic tends to over-taint and generate false positives, whereas more precise taint logic is often more complex, incurring prohibitively high simulation overhead [11]. In the largest design in evaluation, Mega-BOOM [20] (136K cells), the state-of-the-art taint analysis tool CellIFT [6] increases the instrumented design to 5.81× the original design size and leads to a 143.72× simulation slowdown.

Existing work does not fully solve the central challenge of deriving taint logic that is both lightweight enough for efficient simulation and precise enough to avoid excessive false positives. For example, GLIFT [12], CellIFT [6], and RTLIFT [13] tackle this challenge by constructing precise

  • Both authors contributed equally to this research.

taint logic at different abstraction levels. These approaches expose precision-cost tradeoffs by fixing the taint logic globally, i.e., across the entire circuit, at a chosen abstraction level. Another line of work explicitly searches the precision-cost space of taint logic, but is either limited in terms of scalability [21], [22] or restricted to structural optimization that does not exploit the value-dependent semantics of taint propagation [14].

A recent work, Compass [23], takes an important step forward by showing that taint-logic optimization can be cast as a counterexample-guided abstraction refinement (CEGAR) [24] process. By refining taint logic from imprecise to more precise in response to spurious counterexamples (false positives), it demonstrates that taint-logic optimization can be property-driven and practical on processor-scale designs. However, the refinement step in this approach remains heuristic-driven and manually guided: deciding where to refine relies on heuristic search, while deciding how to refine requires design knowledge and manual inspection. As a result, the approach is less systematic and harder to transfer across new designs and security properties.

We address these limitations with CEGAR-T, a fully automated CEGAR-based framework for property-driven taint logic optimization. The key insight is that taint-logic precision can be formalized semantically, rather than treated as a fixed choice between an imprecise logic and a fully precise one. By defining precision with respect to NI semantics, CEGAR-T obtains fine-grained control over the space of candidate taint logics for each hardware primitive block, enabling automated and incremental refinement. Building on this structure, CEGAR-T introduces a novel Max-SAT [25] formulation for design-level refinement, allowing the tool to select an optimal set of local refinements to the primitive blocks sufficient to eliminate the current spurious counterexample. This can be used iteratively in a CEGAR-T loop to eliminate successive spurious counterexamples. Further, this can be combined with a SAT-based spuriousness-check in our proposed two-stage CEGAR-T-based workflow to guarantee no false positives.

We instantiate and implement CEGAR-T on a word-level adaptation of CellIFT [6]. We evaluate CEGAR-T in the setting of simulation-based IFT for the safe instruction set problem (SISP) [26], [27], a recently proposed processor-security problem for microarchitectural timing side-channel, using open-source RISC-V cores Ibex [28], Rocket [29], and all four variants of BOOM [20], which are widely used benchmarks for processor security evaluation. Our results show that fully automated taint-logic refinement is scalable and yields significant simulation-based IFT speedup.

Our main contributions are:

  • We formalize taint-logic precision using the well-established non-interference semantics and derive a lattice-like refinement structure that characterizes how taint logic of a hardware primitive block can be refined to a more precise one.

  • We formulate where to refine as a Max-SAT optimization problem that selects a min-cost refinement set for a counterexample.

  • We develop two complementary refinement algorithms for sequential logic designs with different optimality-scalability tradeoffs: an unrolled algorithm that achieves per-counterexample min-cost refinements when tractable, and a more scalable single-frame alternative without sacrificing much optimality in practice.

  • We implement CEGAR-T and evaluate it on simulation-based IFT of SISP. Across the evaluated cores, CEGAR-T reduces both instrumentation size and simulation time overhead, in geometric-mean, from 5.64×5.64\times to 1.42×1.42\times and from 34.65×34.65\times to 1.79×1.79\times, respectively, without compromising the precision benefit of the CellIFT baseline.

References (49)