Manuscript Offprint
arXiv:2611.06103SenTrojan: Revealing Analog Hardware Trojan Attacks on Sensors
Kun Wang¹, Ruochen Zhou²,*, Wenjun Zhu¹, Shilin Xiao¹, Kai Wang¹, Chen Yan¹, Xiaoyu Ji¹, and Wenyuan Xu¹
¹Zhejiang University, China, {eewk, zwj_, xshilin, eekaiwang, yanchen, xji, wyxu}@zju.edu.cn
²The Hong Kong University of Science and Technology, China, zrccc@ust.hk
Abstract—Sensors bridge the physical and digital worlds, making their integrity critical to cyber-physical system security. Existing sensor attacks largely exploit unintended and sensor-specific physical vulnerabilities, limiting their generalizability and motivating a different threat model, i.e., whether an adversary can implant hidden attack surfaces into sensors before deployment. In this paper, we present SenTrojan, an analog hardware Trojan framework for sensors. SenTrojan embeds malicious functionality into analog signal circuitry commonly shared across diverse sensor architectures, and activates the hidden behavior through crafted external physical signals. Once activated, SenTrojan can induce sensor malfunctions ranging from permanent denial-of-service to static or dynamic spoofing. To achieve these effects under different architectural constraints, we introduce two complementary designs. The Logic-Rule-Driven (LRD) Trojan adds lightweight analog monitoring logic to detect trigger features such as frequency and amplitude, enabling reliable activation across various sensor types. The Physical-Effect-Driven (PED) Trojan targets sensors with exploitable native analog effects, e.g., nonlinearity and rectification, and realizes attacks with minimal component insertion. We evaluate SenTrojan on 14 sensors spanning 6 transduction principles and demonstrate its effectiveness across diverse real-world scenarios. Overall, SenTrojan achieves an average successful trigger rate above 95%, maintains over 97% similarity to benign behavior, incurs zero false-trigger rate for LRD designs, and introduces less than 5% average deviation in drift, noise floor, and response time. To our knowledge, this work is the first systematic study of analog sensor Trojans, broadening sensor security from unintended physical vulnerabilities to intentional supply-chain compromise.
I. INTRODUCTION
Sensors serve as the critical interface between physical environments and digital systems, underpinning a wide range of applications, including autonomous vehicles, industrial automation, and healthcare monitoring. The reliability and safety of these systems depend fundamentally on correct sensor operation. Catastrophic consequences resulting from sensor failures, such as airplane crashes [1], automotive accidents [2], and industrial disasters [3], underscore the importance of sensor security.
Existing sensor security research has predominantly focused on exploiting inherent vulnerabilities through signal injection attacks. These approaches leverage unintentional hardware imperfections, e.g., circuit nonlinearity [4] and electromagnetic (EM) susceptibility [5], to compromise sensor readings.

Fig. 1: An illustration of SenTrojan. The attacker can use a pre-designed trigger signal to activate the analog sensor Trojan, leading to PDoS, static spoofing, or dynamic spoofing.
However, because these vulnerabilities arise unintentionally during design or implementation, they are often inconsistent across sensor models, hardware versions, and deployment environments. As a result, existing attacks typically require pre-existing exploitable weaknesses, and substantial effort has been devoted to characterizing and detecting them [6].
Rather than passively searching for existing sensor vulnerabilities, we investigate an alternative threat model, i.e., the deliberate insertion of exploitable vulnerabilities into sensors before deployment. This threat is supported by real-world precedents and established digital paradigms, e.g., hardware Trojans [7]–[10] and neural network backdoors [11]. However, this paradigm remains largely unexplored in analog sensor circuitry. Although prior work has explored Trojan designs using analog components [12], these designs primarily replace digital counters with analog capacitors, while still monitoring digital states and relying on specific data patterns or instructions for activation. Their triggers are therefore ultimately software-issued binary events rather than physical signals received through the sensing interface. This leaves open the central challenges of analog sensor Trojans, i.e., how to preserve the accuracy of the analog front end while achieving reliable Trojan activation under noisy physical inputs.
In this paper, we introduce SenTrojan, the first supply-chain analog hardware Trojan framework for sensors. Unlike prior sensor attacks that passively exploit pre-existing physical vulnerabilities, we examine an active compromise model in which an adversary deliberately inserts exploitable analog
- Ruochen Zhou is the corresponding author.
behavior into the sensor circuitry before deployment. The attacker can activate the hidden Trojan using a crafted external physical signal, without requiring software privileges or digital access to the victim system, as shown in Fig. 1. SenTrojan expands the sensor attack surface in two ways. First, it enables attack effects that are difficult to achieve through direct signal injection alone, such as persistent output manipulation. Second, it can compromise sensors that are resistant to known signal injection attacks or amplify weak physical vulnerabilities that would otherwise have limited attack impact.
To support these attack scenarios under different sensor architectures and insertion constraints, SenTrojan introduces two complementary designs. The Logic-Rule-Driven (LRD) Trojan adds lightweight analog circuitry to monitor crafted physical signals and control malicious payloads. By checking features such as frequency, amplitude, and duration against predefined rules, LRD Trojans provide reliable activation across diverse sensor types and support flexible payload behaviors. The Physical-Effect-Driven (PED) Trojan further targets sensors whose native analog effects can be induced or amplified by crafted inputs. PED Trojans avoid explicit monitoring logic and instead tune existing analog components so that the sensor's own physical behavior serves as the trigger and payload mechanism. This design enables minimal hardware changes while inducing exploitable vulnerabilities in resistant sensors or strengthening weak existing vulnerabilities.
However, realizing SenTrojan in the analog sensor domain requires addressing a common challenge of functionality and stealth, i.e., a Trojan must reliably respond to attacker-controlled physical triggers while preserving normal sensor behavior before activation. For LRD Trojans, the main challenge is reliable and selective triggering without perturbing the sensing path. LRD Trojans add explicit trigger and payload circuitry, but analog sensor signals are continuous, noisy, and highly sensitive to circuit loading. Additional circuitry may change path impedance, increase leakage current, or distort normal sensor outputs, while the trigger must still distinguish crafted physical signals from benign environmental variations. SenTrojan addresses this challenge by separating trigger monitoring from the native sensing path. It uses high-impedance parallel monitoring to observe signal features while minimizing loading effects during normal operation. To improve selectivity, LRD Trojans combine single-condition and multi-condition detection over features such as frequency and amplitude, together with temporal validation. Only when the crafted trigger satisfies the predefined rule for a sufficient duration does the Trojan activate the payload.
For PED Trojans, the main challenge is inducing exploitable behavior without explicit trigger logic. Dedicated detection logic and payload modules increase hardware footprint [7], [13], especially in tightly constrained sensor circuits. PED Trojans therefore avoid explicit monitoring circuitry and instead rely on native analog effects in sensor components. However, without a separate trigger decoder, the Trojan must still transform crafted physical inputs into targeted sensor output corruption while preserving normal behavior under benign inputs. SenTrojan

Fig. 2: The typical hardware structure of a sensor.
addresses this challenge by systematically analyzing sensor modules and circuit characteristics to identify parameters that can be tuned without noticeably degrading normal operation. By tuning effects such as nonlinearity, rectification, and frequency-dependent coupling, PED Trojans convert crafted physical inputs into low-frequency output deviations. This allows SenTrojan to induce exploitable behavior in sensors resistant to known signal injection attacks, or amplify weak existing vulnerabilities with minimal component insertion.
Our contributions are summarized as follows:
- We present the first systematic study of analog sensor Trojans, where crafted physical signals activate malicious behavior without software privileges or digital access.
- We design SenTrojan, a two-paradigm framework for analog sensor Trojans that combines broadly applicable logic-driven Trojans with minimally inserted effect-driven Trojans.
- We implement and evaluate SenTrojan across 14 sensors spanning 6 transduction principles, demonstrating attack feasibility, stealthiness, and real-world impact.
A. Sensor Structure
A sensor is designed to generate electrical measurements in response to a physical stimulus [14], which is then transmitted to cyber-physical systems (CPS), such as unmanned aerial vehicles and smart homes, as illustrated in Fig. 2. A modern sensor comprises four main components: transducer, amplifier, filter, and analog-to-digital converter (ADC). The transducer is the core component of a sensor, consisting of a sensitive element and a conversion element. The sensitive element detects a specific physical stimulus, while the conversion element translates this stimulus into an analog electrical signal. Because the transducer's output is generally weak and vulnerable to noise, the signal conditioning circuit incorporates amplifiers and filters to boost the signal and suppress noise. To make the signal suitable for digital processing, an ADC converts the analog output to digital form.
B. Hardware Trojan
Hardware Trojans are malicious circuits covertly embedded into hardware systems, such as additional or altered logic, that typically remain inactive until triggered by rare or specific conditions. The common methods to activate Trojans are specific digital inputs or software commands. Once activated, they can compromise security by leaking sensitive data or degrading system reliability. These Trojans pose a significant threat, particularly in complex, multi-party semiconductor supply chains, because they can be inserted at various stages of the hardware lifecycle, including design, fabrication, and assembly [9], [15].
The design of a hardware Trojan can be decoupled into two parts: trigger and payload. The trigger determines under which conditions the malicious circuit becomes active, while the payload decides which malicious functionality the Trojan can achieve. Even though the trigger does not achieve any malicious functionality, it can largely improve the stealthiness of a hardware Trojan. An ideal trigger condition is nearly impossible to meet in the normal operation of the hardware, e.g., a random 1024-bit digital input.
III. THREAT MODEL
A. Attacker Model
We consider an adversary who can compromise sensors before they are deployed or during later maintenance and assembly. This capability is consistent with modern sensor supply chains as shown in Appendix A, where design, fabrication, packaging, PCB assembly, and maintenance may be performed by different parties across organizational or geographic boundaries. Specifically, Trojans may be inserted at the design stage, where a malicious insider modifies circuit parameters or component choices [16]–[19]; the manufacturing stage, where an untrusted foundry or fabrication process introduces layout or process-level modifications [10], [12], [20]; or the post-manufacturing stage, where a compromised assembler or maintenance adversary replaces components, adds small circuitry, or alters PCB traces [21]–[23]. The adversary may be motivated by sabotage, espionage, or economic gain. Our design does not depend on the insertion stage. It assumes only that the adversary can embed a Trojan in the sensor's analog signal path without disrupting normal validation. Appendix B details the capabilities and limitations at each stage.
B. Attacker's Capabilities
To avoid raising suspicion during inspection or functional validation, the adversary is constrained in both the type and number of inserted components. We assume that the adversary does not add digital modules, such as processors or microcontrollers, which are uncommon in sensor front ends and require additional support circuitry. Instead, the adversary may insert or modify only small-scale integrated (SSI) circuits, e.g., logic gates and analog switches, and discrete components, e.g., resistors, capacitors, and diodes. These components are common in sensor circuits and can be introduced with limited impact on the overall architecture.
C. Attack Goal
The adversary aims to compromise sensor measurements by activating the implanted Trojan with a crafted physical signal. We consider three representative attack goals.
-
Static spoofing. The Trojan forces the sensor to output a constant, predefined erroneous value. This effect can persist after activation without continuous intervention and may require a system reset or sensor replacement for recovery.
-
Dynamic spoofing. The Trojan manipulates sensor readings into attacker-controlled time-varying signals. Unlike static spoofing, dynamic spoofing can produce measurements that may appear plausible to downstream systems.
-
Permanent denial-of-service (PDoS). The Trojan renders the sensor unable to provide valid measurements. This effect may result from permanent physical damage or from repeatedly forcing the sensor into a protection state.
D. Design Requirement
We consider that a successful SenTrojan attack should satisfy the following requirements:
-
Trojan functionality. The Trojan should be reliably activated by a predefined physical signal and induce the intended sensor malfunction after activation.
-
Trojan stealthiness. The Trojan should preserve normal sensor behavior before activation and avoid false activation under benign environmental stimuli, even under practical functional validation [12].
-
Minimum components. The Trojan should use as few inserted or modified components as possible to reduce hardware overhead and signs of tampering.
IV. DESIGN
This section details the SenTrojan design illustrated in Fig. 3. Because attack execution requires the signal modality and trigger parameters to be tailored to each target sensor (Sec. IV-A), we develop a Trojan framework with two analog-hardware activation paths: an external logic-rule-driven (LRD) path and an internal physical-effect-driven (PED) path. LRD uses explicit high-impedance monitoring, feature validation, and a separate payload module, enabling flexible and controllable trigger-payload configurations across sensor types at the cost of additional circuitry. In contrast, PED introduces or tunes analog physical effects, such as envelope detection, to minimize component overhead and enable stealthy dynamic spoofing. We detail the LRD and PED mechanisms and their circuit designs in Secs. IV-B and IV-C, with emphasis on attack effectiveness and stealth.
A. Trigger Signal Design
Trigger signal architecture necessitates precise modality selection and parameter specification.
Modality selection. Prioritizing practical long-range injection over close contact methods suggests four optimal modalities: laser, sound, ultrasound, and EMI. For example, using ultrasound to trigger a Trojan is commonly considered more stealthy and practical than applying pressure to a pressure sensor. We exploit native transducer sensitivities to aforementioned signal modalities, such as accelerometer acoustic susceptibility [24] or microphone ultrasonic vulnerability [4]. Alternatively, we integrate supplementary transducers, like photoresistors for optical responsiveness. A detailed comparison of these signal modalities is available in Appendix C.

Fig. 3: An illustration of the SenTrojan design. Left: Trigger signal specification. Center: Logic-Rule-Driven (LRD) Trojans utilize discrete logic to validate signal features and duration () before latching the activation signal. Right: Physical-Effect-Driven (PED) Trojans leverage component physics like rectification to extract baseband payloads from high-frequency inputs, effectively bypassing protection filters to manipulate sensor measurements.

(a) Frequency detector.

(b) Amplitude detector.
Fig. 4: Schematics of a single condition detector.
Parameter design. Parameter optimization targets frequency coupling efficiency to extend attack range, requiring physical testing like sweeping. In terms of amplitude, higher signal levels typically induce stronger interference. The design of the Trojan activation mechanism necessitates a comparative analysis of injected versus legitimate signal characteristics. Specifically, we characterize legitimate signals across their datasheet-specified operational ranges to identify and exploit characteristic disparities as trigger thresholds.
B. Logic-Rule-Driven Trojan Design
To prevent accuracy degradation, we employ a parallel monitoring circuit that operates in a high-impedance state during quiescence, thereby preserving the native sensor precision with minimal signal perturbation. Furthermore, to evade detection during brief factory functional tests [25], the Trojan incorporates a temporal activation threshold that exceeds standard durations. LRD Trojan architecture integrates three core modules: the trigger condition detector, trigger duration detector, and payload.
- Single-Condition Detector: Common characteristics of an analog signal include frequency, amplitude, and waveform [26]. However, the waveform cannot be efficiently exploited for

(a) Waveforms under 2 kHz input.

(b) Waveforms under 20 kHz input.
Fig. 5: Simulation waveforms of the frequency detector. is the input, is the filtered signal, and is the peak-detector output. When exceeds the threshold, the subsequent comparator is activated, triggering the payload.
Trojan triggering, as complex shape discrimination necessitates prohibitive area and power overheads. As illustrated in Fig. 4, the single-condition circuit translates true detection logic into a high-level signal, denoted as , which activates the trigger duration detector.
Frequency. To maintain high input resistance and preserve monitoring accuracy, our frequency triggering mechanism detects the preset frequency using a cascade of a frequency detector, a peak detector, and a comparator, as depicted in Fig. 4(a). Frequency detection can use LC resonance (frequency-selective behavior in an inductor-capacitor circuit) or high-pass filters (filters that pass frequencies above a cutoff frequency). Crucially, even if environmental noise coincides with the trigger frequency, the subsequent comparator prevents false activation by enforcing a strict amplitude threshold. Initially, the filter isolates the frequency range, setting cut-off frequencies, , above normal sensor operation to mitigate non-ideal characteristics. An enhanced peak detector subsequently minimizes adjacent frequency interference and improves reliability, utilizing diodes for unidirectional current and capacitors as analog memory to retain the peak value. To ensure subsequent circuit stages remain unaffected, resistor facilitates efficient charge discharge, isolating downstream stages, necessitating component values where matches the attacker-injected frequency .
Reference voltages determined by and necessitate sufficiently large ratios to reject noise, exemplified by our V requirement countering sub-0.2V noise. Simulation results in Fig. 5(a) and Fig. 5(b) alongside parameter settings in Fig. 19 demonstrate peak detector output amplitude scaling with input frequency.
Finally, a comparator isolates signals exceeding threshold voltages, mitigating filter imperfections to prevent noise-induced false activation. We utilize a pull-up resistor to enhance load handling capability. The parameter requirement for triggering is:
where is the input signal and is the diode's forward voltage.
Amplitude. To ascertain whether a measured voltage falls within a specific threshold range, attackers can employ various circuits such as average detectors, limiters, and comparators. We utilize a window comparator circuit to exemplify the amplitude detection mechanism, which consists of two comparators as depicted in Fig. 4(b). This topology guarantees high input resistance and produces a high level activation signal exclusively when the voltage falls within the designated bounds. The comparator configuration relies on the amplitude relationship between the injected and legitimate signals. For instance, an amplitude threshold configuration is required when the injected signal exceeds the legitimate signal's normal operational range. The window comparator output is defined as:
where is the comparator output, is the sensor voltage, and , represent the lower and upper reference voltages, respectively. Balancing power consumption and interference immunity mandates mega-ohm range level selection for , , and , while pull-up resistor stabilizes the operational amplifier output by enhancing load handling and preventing undefined floating states.
AC signal amplitude detection requires diode rectification and filtering to yield smooth DC signals, then processed via DC trigger logic to ascertain input amplitudes.
- Multi-Condition Detector: To improve robustness and suppress false triggers, the detector requires multiple features of the same input signal, such as amplitude and frequency, to satisfy predefined conditions. In the combinational mode, feature detectors operate in parallel, and the trigger is asserted only when all detector outputs are valid within a specified time window. In the sequential mode, analog switches control the activation of successive detectors: each detector is enabled only after the preceding feature has been detected, thereby enforcing

(a) Charge accumulation circuit.
(b) Latch circuit.
(c) The waveforms in charge accumulation circuit.
Fig. 6: The duration detector schematics and the simulation waveforms.
a prescribed temporal order. In both modes, circuits consisting of diodes, capacitors, and resistors retain each detection result for a configurable duration. If a required feature is missing or arrives outside its allowed window, activation is blocked; during sequential detection, the process returns to its initial stage. The payload is activated only after the complete feature set has been verified with the required timing.
- Duration Detector: The duration detector can be realized using a linear integrator circuit, a ramp generator, or similar topologies. We adapt the concept of counter-based triggers prevalent in digital circuits [17], by leveraging charge accumulation in capacitors coupled with a latch to achieve similar effects, as depicted in Fig. 6. We omit duration detectors for extra transducer Trojans to minimize component counts, since manufacturers and users commonly restrict testing for their intended sensing modalities in common practice.
Charge accumulation circuit. True trigger condition logic initiates capacitor charging, defining trigger duration as the voltage rise interval to threshold . The minimum voltage of logic high serves as the threshold voltage, eliminating the need for extra comparators. Consequently, injection duration can be calculated as:
where is the desired output of the trigger condition detector and R is the series resistance.
In practical implementations, capacitors exhibit natural leakage due to material imperfections and ambient conditions. We leverage this inherent discharge mechanism to reset the state without additional components, preventing charge accumulation from compromising the trigger duration detector's accuracy. Physical setup and validation results are presented in Fig. 6. Unless otherwise specified, we utilize and , resulting in a 4-second rise time, which is sufficient to evade factory testing yet enable efficient attacks.
Latch. When exploitable signal nodes are limited to sensor outputs, activation can disrupt the triggering condition. We therefore employ latch mechanisms to preserve the activated state independently of subsequent signal variations. Persistent effects demand strict logic low initialization achieved via a capacitor-based power-on-reset design, where capacitors ensure reliable initialization with negligible power overhead.
- Payload: Payload implementation can utilize CMOS transmission gates, BJT switches, or MEMS relays to modify sensor outputs. We employ analog switches to toggle transmission paths and mimic broken or shorted states as required to force the sensor's output to switch to a preset voltage signal for static spoofing. Alternatively, the latch-up mechanism induces direct supply-to-ground shorts, leading to PDoS. In devices lacking protection mechanisms, the resulting overcurrent causes permanent physical damage, such as trace burnout or component degradation, rendering the sensor permanently inoperable. In contrast, although modern devices equipped with voltage regulators often incorporate thermal shutdown or current limiting, the Trojan can exploit these safeguards by persistently re-triggering the fault. This forces the sensor into a continuous shutdown loop, indirectly but effectively achieving a PDoS condition. Finally, dynamic spoofing mandates extra transducers to modulate sensor output, enabling real-time control of injected values to realize complex time-varying waveforms.
Insight 1: LRD Trojans trade structural stealth for controllability, using explicit trigger and payload circuits to enable reliable triggering and diverse attack effects across sensor types.
C. Physical-Effect-Driven Trojan Design
While LRD Trojans enable diverse attacks, they prove complex and resource-intensive. Leveraging internal physical effects, we design stealth-oriented mechanisms with lower hardware costs. Avoiding explicit trigger logic, our approach emulates analog circuit characteristics via subtle parameter modifications or minimal additions, eliminating explicit activation circuits to enhance Trojan stealthiness. Utilizing components within standard manufacturing tolerances causes forensic analysts to classify Trojans as manufacturing defects or cost-cutting measures rather than malicious components, making them harder to detect during standard inspection.
Injected signals target frequency bands beyond LPF cutoff frequencies, such as resonant frequencies, yet face attenuation from sensor filters and protective circuitry. To bypass defenses, our Trojan translates high-frequency signals into low-frequency ones while preserving payload information, detailed in Fig. 3. Unlike LRD Trojans, this conversion typically relies on the sensor's existing coupling path rather than an additional trigger circuit. We therefore systematically analyze each sensor component and identify exploitable analog effects that can be induced or amplified with minimal hardware changes.
- Amplifier: We propose four methods for inserting Trojans into amplifiers: saturation, envelope detection, rectification, and over-amplification, corresponding to enhancing nonlinearity, inducing nonlinearity, and using a nonlinearity-free approach.
Saturation. Saturation-based Trojans exploit amplifier amplitude limits for baseband signal recovery. We analyze saturation phenomena in Appendix D to identify exploitable methods. Since symmetrical saturation clipping preserves the DC base-
line, we propose asymmetric cutoff techniques introducing DC offsets when injected AC signals exceed dynamic range.
Three methods induce asymmetric clipping. First, modifying DC bias resistors shifts the static operating point from , altering the positive and negative range to cause asymmetric saturation. Second, selecting amplifiers with lower restricts output limits despite identical power supplies. Third, inserting resistors between the main and the amplifier power port reduces the supply voltage to above normal sensor output voltages to maintain operation. This induces voltage drops, lowering saturation thresholds without affecting normal operation.
With the injected AC signal included in , the amplifier output is clipped and exhibits a DC offset. Filtered amplitude follows:
where denotes the injection signal duration and is the amplifier output. Theoretical maximum offsets ( )/2 enable AM signals to spoof any waveform within this range when the resonant period satisfies . Saturation Trojans require legitimate signal amplitudes below injection levels to ensure proper sensor operation. Simulations with the parameters in Appendix E2 yield results in Fig. 7(a), confirming that input amplitudes exceeding undergo clipping, inducing output deviations.
Rectification. The nonlinear rectification effect in amplifiers can convert high-frequency AC signals into DC offsets. This phenomenon stems from the inherent nonlinearity of the input differential pair's current-voltage characteristics. However, the susceptibility to this rectification varies markedly across different amplifier topologies. Consequently, adversaries can strategically exploit this variability by targeting amplifiers with pronounced nonlinear sensitivity to maximize the efficacy of physical signal injection attacks. The resulting attack impact is illustrated in Fig. 7(b).
Envelope detection. Beyond enhancing existing nonlinearity, inducing new nonlinearity enables Trojan insertion. For nonlinear components, a diode is preferred first as it is commonly used in sensors to block reverse current without disrupting normal circuit behavior. The diode's forward conduction does not impact the circuit's operation, as it works with the DC bias configuration of operational amplifiers.
To enable targeted frequency signal demodulation, we design a circuit comprising a diode, capacitors, and resistors, allowing Trojan insertion via RC parameter tuning for envelope detection. Furthermore, absent physical diodes, amplifiers enforce unidirectional flow mimicking diode behavior to extract baseband signals, albeit within restricted amplitude range. Carrier frequency dictates injection efficiency, requiring a balance among sensor frequency response and baseband signal bandwidth, while determining demodulation parameters and attack effectiveness. Diode conduction during positive high-frequency cycles rapidly charges capacitors via low forward resistance. Signals dropping below the capacitor voltage trigger

(a) The saturation circuit and the simulation waveforms.

(b) The rectification circuit and the tested waveforms.

(c) The envelope detection circuit and the simulation waveforms.

(d) The over-amplification circuit and the simulation waveforms.
Fig. 7: The circuit schematics and experimental results of the PED Trojans in the amplifier.
reverse bias, causing cutoff and slow discharge through load resistors. Brief conduction combined with discharge durations exceeding signal periods enables AM waveform envelope approximation. Diodes mimic open circuits for low-frequency legitimate signals, preserving quality.
Simulations involving circuits with and without diodes confirm successful baseband signal restoration for both Trojan methods, utilizing schematics in Fig. 7(c) and parameters in Appendix E3. Modifying RC-tuned envelope detectors or adding diodes enables hidden signal demodulation from high-frequency carriers without disrupting normal operation. Envelope detection implementation necessitates sensor tolerance for small voltage drops, as added diodes introduce slight voltage reductions.
Over-amplification. Beyond nonlinearity, attackers induce overamplification via frequency response modification, using high-frequency triggers to drive sensors into saturation and cause DoS. As temperature and pressure sensors operate in low-frequency bands, we ensure stealth by selecting triggers outside this legitimate bandwidth. Inserting a capacitor C parallel to the input resistor leverages capacitive bypassing at high frequencies, yielding gain as:
where and denote signals and , , and C values corresponding to the circuit components.
Signal passage at the preset frequency sharply reduces the combined and impedance, increasing gain. We determine via the desired amplification factor, simulating the circuit in Fig. 7(d) with parameters in Appendix E4. Results show 12.57 kHz inputs cause operational amplifier amplification nearly 200 times that of legitimate signals, creating interference, while low-frequency inputs remain accurate. Adding a small resistor mitigates high-frequency environmental noise triggering to further enhance stealth.
- Transducer: The transduction process is inherently nonlinear and can be formulated as:
where is the gain for the input signal and is the gain of the kth term .
Nonlinearity commonly arises from manufacturing imperfections and intrinsic material properties. Components designed for the same function can vary significantly in their degree of nonlinearity, especially in the coefficient. Attackers can exploit this variation by selecting components with a higher to insert a Trojan. To activate the Trojan, amplitude modulation is used to restore the baseband signal via nonlinearity. More sensitive transducers can further enhance the attack efficiency.
-
LPF and ADC: Ideal LPFs block all signals above their cutoff frequency. However, real filters only attenuate these signals. Attackers can increase the cutoff frequency by modifying the resistance or capacitance. This change reduces the attenuation of a high-frequency attack signal, allowing it to pass through the filter. To prevent aliasing, the ADC's sampling rate must be at least twice the LPF's cutoff frequency according to the Nyquist criterion. The attack works by injecting a signal whose frequency is higher than half the sampling rate. This aliasing causes the ADC to misinterpret the high-frequency attack signal as legitimate, low-frequency sensor data.
-
Payload Design: PED Trojans can be designed without a distinct payload module. The trigger signal is crafted to be demodulated or amplified by the circuit itself, which in turn executes a DoS or spoofing attack. This approach presents a trade-off: gaining stealth by eliminating a payload component at the cost of reduced attack generality.
Insight 2: PED Trojans tune native analog effects to induce or amplify exploitable vulnerabilities, improving structural stealth without explicit trigger logic.
TABLE I: Comparison of direct sensor attacks and Trojans.
| Sensor | Obj. | Direct | Trojan | Impact |
|---|---|---|---|---|
| Microphone | 1 | Range = 0.5 m | Range = 5.1 m | Range +920% |
| Temperature | 1 | -2.2~+5.6 °C | -11.6~+27.1 °C | 4.9× Gain |
| Microphone | 2 | Noise | Valid Command | Command Injection |
| Inclination | 2 | Correct Reading | 159° Offset | |
| Light | 3 | Linear Output | Preset Constant | Logic Inversion |
| Infrared | 3 | Correct Reading | Preset Constant | False Alarm |
| Pressure | 3 | Correct Reading | Preset Constant | Control Loss |
| Temperature | 3 | Correct Reading | Preset Constant | Loop Hijack |
Obj. : Objective; 1: Efficacy Enhancement; 2: Feasibility Expansion; 3: Functional Extension.
V. EVALUATION
To comprehensively evaluate SenTrojan, we conduct extensive real-world experiments across multiple sensor types and attack scenarios. We begin with an overview of our experimental methodology and key findings in Sec. V-A, followed by detailed experimental setups and evaluation metrics in Sec. V-B. We then analyze the Trojan efficacy and hardware overhead of SenTrojan.
A. Overview
We evaluate a total of 14 sensors across 6 categories to demonstrate the broad applicability of SenTrojan, as detailed in Table II. Our evaluation reveals consistently high successful trigger rates (82%-100%), excellent stealthiness (similarity >97%), and zero false trigger rates for LRD Trojans across all tested sensor types. All similarity errors are below 5%, which is comparable to the maximum specified measurement error of representative commercial sensors [27]–[32], which indicates that the Trojan-induced deviations are unlikely to be distinguishable through routine functional testing. Furthermore, we evaluate common hardware-overhead metrics to quantify the performance impact of SenTrojan. Results show that Trojan-inserted sensors exhibit less than 5% deviation from benign sensors in time drift, noise floor, and response time, indicating minimal impact on normal sensor operation.
Our Trojan design process begins by examining the transducer type and determining whether the target sensor can receive remotely injected out-of-band signals. If not, an additional transducer can be introduced. We then characterize the injected signal feature, i.e., amplitude, frequency, or their combination, and implement a feature extraction circuit for reliable triggering. We modified one representative sensor for each case, and all implemented designs are included in the reported results.

(a) Low-frequency signal emission.

(b) EMI signal emission.
Fig. 8: Experimental setup showing attacker devices and victim sensors. The attacker's infrastructure consists of a signal generator, a power amplifier, and signal emitters.

Fig. 9: Signal emitters used in our evaluation across different attack modalities.
Key results summary. Our evaluation demonstrates significant improvements over prior sensor attacks. A comprehensive comparison is summarized in Table I and detailed below:
• Light sensors: Unlike traditional laser attacks that mainly amplify sensor readings, our Trojans can force persistently low outputs, potentially disrupting greenhouse lighting control and reducing crop quality [33]–[35].
• Microphones: We extended the DoS range from 0.5 meters to 5.1 meters and achieved a 100% spoofing success rate, unlike prior work yielding only noise under identical methods, enabling the manipulation of vehicular voice assistants to unlock doors or control smart home systems.
- Infrared sensors: We spoof infrared sensors previously unexplored to enable suppression and false alarm attacks against intrusion detection systems, achieving 100% similarity without unintended triggers.
• Pressure sensors: We spoof brake pressure sensors previously unexplored to induce critical braking failure, causing the simulated vehicle to collide with obstacles.
• Inclination sensors: We induced sensor-level angle deviations of up to , while the benign sensor remained stable under the same attack setup. In STK simulations, a Trojan-induced attitude deviation caused a right roll and subsequent altitude loss.
• Temperature sensors: We amplified temperature deviations by 4.9 times compared to physical signal injection alone, extending the range from negative 11.6 °C to positive 27.1 °C, potentially causing chemical reactor runaway and industrial boiler explosions.
B. Evaluation Setup
- Hardware Configuration: The experimental setup comprises four components: trigger signal generation, attack devices, Trojan implementation, and sensor measurement.

(a) SPV0842LR5H microphone.

(b) S150B381 microphone.
Fig. 10: PED Trojans embedded in two microphone types using PCB. Red boxes indicate the inserted Trojan circuits.
Attack device configuration. For optical, ultrasonic, and acoustic attacks, an arbitrary waveform generator [36] combined with a power amplifier [37] drives transmitters to emit precise physical signals, using an oscilloscope for real-time monitoring as depicted in Fig. 8(a). Similarly, EMI attacks employ an RF signal generator [38] and amplifier [39] to drive a logarithmic antenna or near field probe, shown in Fig. 8(b).
Trigger signal generation. Addressing real-world deployment, we target remotely deliverable optical, acoustic, and electromagnetic triggers using the emitters displayed in Fig. 9.
Trojan implementation strategy. For experimental flexibility, we implement SenTrojan using commercial off-the-shelf sensors and prototype the added Trojan circuitry on circuit boards. These prototypes are intended to validate attack functionality rather than represent the final physical form of a supply-chain implant. In a practical attack, the inserted circuitry can be miniaturized using standard PCB and surface-mount design techniques. To demonstrate feasibility, we further build a PCB-integrated PED Trojan for a microphone, where the complete Trojan-enhanced module measures , and the Trojan itself occupies approximately , as shown in Fig. 10. Accordingly, we focus our evaluation on Trojan efficacy and hardware overhead rather than physical miniaturization.
- Evaluation Metrics: We evaluate the Trojan efficacy of SenTrojan using three primary metrics and the hardware overhead using four metrics, with detailed metric information as follows:
• Similarity assesses how Trojan affects the sensor's normal function by comparing the output of the benign sensor with that of the Trojan-inserted one. It is calculated as:
where is the total number of the data points, is the value from the benign sensor, is the value from the Trojan-inserted sensor. For complex signals like audio waveforms, we apply frequency-domain transformations and use spectral distance metrics. In each case, similarity is calculated over all sampled points rather than from a single measurement. For example, the light sensor evaluation collects approximately 108,000 samples over three 10-minute trials under different lighting conditions.
- False trigger rate (FTR) is the ratio of benign trials in which the Trojan is unintentionally activated to the total

(a)
(b)
(c)
Fig. 11: (a) Thermal imaging capture of overheating eventually leading to PDoS, alongside the parameter display of the power supply; (b) Static spoofing results for the microphone; (c) Dynamic spoofing results for the inclination sensor.
number of benign trials conducted without the predefined trigger signal. For PED cases, a false activation is identified when the output deviation from the benign reference exceeds 5%, corresponding to the maximum specified measurement error among representative commercial sensors [27]–[32].
• Successful trigger rate (STR) is the ratio of trials in which the Trojan is successfully activated and produces the intended effect to the total number of trials conducted with the predefined trigger signal. We evaluate each Trojan over 50 independent trigger trials and calculate STR.
Since the different effects of LRD Trojans share a common triggering mechanism and differ only slightly in payload circuitry, the evaluation of attack effectiveness and stealthiness is described together. A PED Trojan primarily enables spoofing attacks with minimal circuit modifications.
Details for hardware overhead metrics are as follows:
• Time drift describes how sensor output changes over time.
• Noise floor denotes intensity of inherent background noise.
• Response time shows how fast the sensor reacts to changes.
• Power represents the electrical power required by the sensor during operation.
For hardware overhead, we report the normalized deviation from the benign sensor, where lower values indicate smaller overhead:
where and denote the benign and Trojan-inserted measurements for metric m, respectively.
For each Trojan type, we first introduce the applied sensor and detail the corresponding test procedure used to evaluate Trojan efficacy on a case-by-case basis. We then present the hardware-overhead evaluation in a unified manner.
C. Amplitude Mechanism of LRD Trojan
- Ambient Light Sensor: Ambient light sensors are widely used in smart agriculture and industrial combustion systems to measure light intensity. A successful static spoofing attack is defined as the intensity dropping below 10 lux (simulating darkroom or flameout conditions), potentially leading to disrupted crop growth cycles and hazardous fuel accumulation. We design amplitude detection triggers detailed in Appendix F1. We executed 50 trials at 1 m across five diurnal periods,
TABLE II: Overall performance of SenTrojan.
| SenTrojan | Sensor | Trojan Efficacy | Hardware Overhead | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Cond. | Mod. | SSI+ DC | Add. Sensor | Type | Manuf. | Model | Sim.↑ | FTR↓ | STR↑ | Drift↓ | Noise↓ | RT↓ | Power↓ |
| LRD | Amp. | Light | 3+8 | FALSE | Light | Adafruit | GL5506 | 99.7% | 0% | 100% | 0.5% | 0.3% | 0.2% | 0.8% |
| Vishay | TEMT6000 | 99.9% | 0% | 82% | 0.3% | 0.5% | 0.5% | 7.4% | ||||||
| Siemens | QRB1 | 99.4% | 0% | 98% | 0.5% | 0.9% | 0.8% | 6.6% | ||||||
| TRUE | Temp. | Amphenol | NHQ103B | 99.0% | 0% | 100% | 0.9% | 0.9% | 4.4% | 13.6% | ||||
| Heraeus | PT100 | 97.8% | 0% | 96% | 1.7% | 0.7% | 3.4% | 0.5% | ||||||
| Freq. | Ultras. | 3+12 | FALSE | Mic. | CUI Dev. | CMC-9745 | 99.7% | 0% | 96% | 1.4% | 0.8% | 1.4% | 10.2% | |
| DFRobot | Sen0487 | 99.9% | 0% | 98% | 0.2% | 0.2% | 2.4% | 8.7% | ||||||
| TRUE | Infrared | Murata | IRA-S210 | 100% | 0% | 94% | 0.9% | 0.7% | 1.5% | 0.6% | ||||
| Adafruit | SR501 | 100% | 0% | 96% | 0.1% | 0.6% | 0.9% | 6.7% | ||||||
| Pressure | Dayang | DYTB-002 | 99.3% | 0% | 96% | 0.3% | 0.7% | 0.3% | 3.9% | |||||
| PED | ED | Ultras. | 0+1 | FALSE | Mic. | DFRobot | Sen0487 | 99.8% | 0% | 100% | 0.2% | 0.7% | 0.8% | 7.8% |
| Satu. | Sound | 0+1 | FALSE | Inclin. | Analog | ADXL335 | 99.4% | 0% | 100% | 0.5% | 0.5% | 3.5% | 16.5% | |
| Analog | ADXL337 | 99.2% | 0% | 98% | 0.8% | 0.9% | 4.4% | 15.9% | ||||||
| Transd. | EMI | 0+0 | FALSE | Temp. | People | RETCB | 99.1% | 0% | 96% | 1.1% | 0.5% | 3.2% | 0.6% | |
Mod.: Modality; SSI: Small Scale Integration; DC: Discrete Component; Sim.: Similarity; FTR: False Trigger Rate; STR: Successful Trigger Rate; RT: Response Time; Amp.: Amplitude; Freq.: Frequency; ED: Envelope Detection; Satu.: Saturation; Transd.: Transducer; Cond.: Condition; Add.: Additional; Manuf.: Manufacturer; Mic.: Microphone; Temp.: Temperature; Ultras.: Ultrasound; Inclin.: Inclination; CUI Dev.: CUI Devices.
yielding 100%, 82%, and 98% success rates as the laser overcame natural ambient fluctuations. The STR of TEMT6000 is lower than that of other LRD cases because its transducer package attenuates the injected laser and reduces the effective injection strength. Continuous 72-hour monitoring yielded zero false triggers, while three 10-minute comparative trials under identical lighting revealed average similarities of 99.67%, 99.88%, and 99.35%, confirming negligible operational impact. In addition, the Trojan latch mechanism requires a sensor reset to recover from persistent spoofing.
For PDoS attacks, we employed power supply devices equipped with protective features, including overvoltage protection, overcurrent protection, overheat protection, overload protection, and reverse polarity protection, to ensure testing conditions closely resembled real-world scenarios while avoiding potential risks [40]. The results are illustrated in Fig. 11(a). During PDoS attacks, the Trojan-induced short circuit drew 0.99A and raised the local temperature above 170°C. After removing the trigger and power cycling, the sensor did not recover normal functionality. Crucially, this thermal breakdown targets the Trojan's own inserted analog switch. Because this engineered short operates outside the sensor's native current path, localized overcurrent protections are inherently bypassed. Unless strict global current limiters are enforced at the main power supply, native safeguards fail to prevent this localized destruction. Furthermore, even if modern industrial devices are equipped with robust current-limiting regulators and thermal protections, the Trojan effectively exploits these very safeguards. By intentionally driving the device into a sustained state of thermal or overcurrent stress to trigger continuous protection cycles, the Trojan achieves a persistent DoS attack, successfully disabling the sensor even when irreversible physical destruction is prevented.
- Temperature Sensor: In addition, we employ this Trojan mechanism on a temperature sensor, incorporating a photodiode as an extra transducer. This Trojan executes static spoofing by clamping the sensor reading to a falsified low temperature, thereby forcing the thermal control system into a continuous heating state, potentially causing overheating. The trigger success rate was assessed following the identical methodology used for the light sensor. For stealthiness evaluation, continuous sampling was conducted from 20 °C to 80 °C on a controlled heating platform. The results showed no false triggers. Specifically, for NHQ103B and PT100, the Trojan-inserted versions exhibited data similarities of 98.95% and 97.79%, respectively, compared to their benign baselines.
D. Frequency Mechanism of LRD Trojan
- Microphone: Leveraging rare high-intensity ultrasound during normal microphone operation, we design frequency detection triggers detailed in Appendix F2. SenTrojan can silence microphone output to 0 V, as shown in Fig. 11(b), yielding 96% and 98% success rates across 50 trials at a 20 cm distance for two different sensor models. Maximum attack distance evaluations using identical ultrasound injections reveal that the Trojan-inserted Sen0487 achieved a 5.1 m DoS range versus 0.5 m for standalone attacks at equal power, whereas the CMC-9745 was immune to DoS attacks without the Trojan. Stealthiness tests simulating household environments with MUSAN audio [41] of 10 hours produced no false triggers. Similarity between benign and Trojan-inserted sensors for Sen0487 and CMC-9745 exhibited 99.9% and 99.7%,

Fig. 12: Infrared intrusion-detection experiment. The red indicator denotes human-presence detection; after Trojan activation, the detector reports an incorrect state.
respectively, across 2 hours of recording via normalized log spectral distance [42], confirming minimal operational impact.
- Trojan Application: Integrating an extra microphone transducer enables ultrasonic triggering for other sensors.
Infrared sensor. Infrared sensors detect human presence via a digital output generated from an infrared-sensitive resistor and a comparator. The infrared sensor is installed at an office doorway and monitors over a continuous 4-hour period to evaluate the false trigger rate and similarity. The sensor accurately identified all 47 individuals with zero false positives, maintaining 100% average similarity to the benign baseline under normal operation. In addition, we employ this Trojan in a commercial intrusion detection system that uses infrared sensors to detect intruders and trigger alarms. At a distance of 1 meter, the attacker used a Vifa speaker [43] to emit the ultrasonic trigger signal. Under this setup, the Trojan-inserted sensor could be induced to either miss a human-presence event and output "No one detected," or falsely report a human presence, whereas the system reported correct detection under normal operation, as shown in Fig. 12. These effects enable attackers to evade infrared detection and potentially conduct unauthorized activities such as trespassing or accessing restricted areas.
Pressure sensor. Linearly indicating brake magnitude, the pedal pressure sensor constitutes a critical component for safe driving. We develop a Hardware-In-the-Loop (HIL) simulation utilizing CarSim [44] and MATLAB Simulink [45] to illustrate the control-level consequence of the Trojan in a closed-loop simulation environment. In this setup, the pressure sensor output is sampled by an Arduino Uno and forwarded to the PC-based vehicle controller, allowing us to compare benign and Trojan-triggered conditions under the same control logic and obstacle scenario. For the benign condition, the vehicle initially travels at a constant speed, and braking is applied when an obstacle is detected ahead. With the benign sensor input, the controller receives a valid brake signal, the vehicle speed decreases to zero as expected, and the car stops before reaching the obstacle. For the attack condition, once the Trojan is triggered, the compromised pressure sensor output is forced to 0, causing the controller to miss the braking event. Under this controlled HIL configuration, the simulated vehicle therefore fails to decelerate in time and collides with the obstacle. The experimental setup,

Fig. 13: Evaluation of a pressure brake sensor with a HIL driving simulation.

Fig. 14: The waveform of the injected command to spoof the microphone.

Fig. 15: The recognition result of the Trojan-based attack on three ASR models.
along with the pre-collision speed and travel distance profiles, is shown in Fig. 13.
E. The PED Trojan of Microphone
PED Trojans utilize amplitude-modulated voice embedded in carriers to spoof sensors. During Trojan activation, they demodulate high-frequency ultrasound to recover baseband commands like opening the door, potentially triggering unauthorized actions as shown in Fig. 14. Our setup employs computer-generated voice basebands and 27 kHz carriers to evaluate effectiveness following NormDetect protocols [46], [47]. Testing recognition across IFlytek [48], OpenAI [49], and Azure [50] ASR systems yielded results in Fig. 15. To mitigate nonlinearity, we first injected 27 kHz electrical signals directly into amplifier ports, achieving 100% success. Second, leveraging prior ultrasonic methods [4], we reduced sampling rates to 16 kHz, sufficient for speech. As ultrasonic components alias through the ADC to eliminate nonlinear impacts, we distinguished Trojan-induced behavior from system functionality, demonstrating 100% success. Conversely, benign microphones yielded only noise under identical injection due to weak demodulation. Finally, we assessed similarity and STR using the same PED Trojan evaluation protocol. The microphone achieved a 100% STR over 50 trigger trials. By placing the device separately in laboratory and office environments for ten hours, we observed no false ASR sentence activations (FTR = 0%).
Application. Modern cars are equipped with voice virtual assistants that use ASR models to interpret user commands. To demonstrate the threat of microphone spoofing, we conduct an experiment where commands demodulated by the Trojan are injected into the victim's microphone in the car to closely simulate real attack scenarios. The results reveal that the injected command causes the car door to open, potentially leading to dangerous situations, such as unauthorized access to the vehicle or theft.
F. The PED Trojan of Inclination Sensor
Extensively deployed in drones, smartphones, and automotive safety systems [51], inclination sensors measure acceleration and angles. We investigate PED Trojan designs targeting modules dependent on signal processing circuits. Frequency sweeps identify z-axis resonance at 720 Hz for the ADXL335 and 518 Hz for the ADXL337. Controlled by trigger intensity and amplifier asymmetry, DC amplitude manipulation is shown in Fig. 11(c). SenTrojan induces 159° and 26° biases for the tested sensor models, which are the maximum sensor-level deviations measured in our PED Trojan experiments. Because PED Trojans lack the well-defined activation threshold characteristic of LRD Trojans, we first establish a reference output in a preliminary test. We then define that the PED Trojan is successfully activated if the result of a subsequent test falls within ±20% of this reference value. Conversely, benign sensors exposed to identical triggers exhibit no distortion due to insufficient asymmetry for saturation. Finally, comparing benign and Trojan-inserted sensors across nine angles yielded 99.43% and 99.23% similarity, confirming low observability under normal operation. We further evaluated the FTR across nine angles, repeating each measurement five times and collecting 10 s of data at each angle. The results showed output similarities of 99.4% and 99.2% for the ADXL335 and ADXL337, respectively, corresponding to deviations below 5%, with an FTR of zero for both sensors. Over 50 trigger trials, the ADXL335 and ADXL337 achieved STRs of 100% and 98%, respectively.
Application. Widely applied in robotics and aviation, inclination sensors can directly affect flight stability and safety, and constitute potential factors in crashes [1]. We compute the position coordinates and body-attitude quaternions from the sensor outputs and import them into STK [52] for flight simulation under matched benign and attack conditions. We feed ADXL335 measurements into the STK simulation and introduce a Trojan-induced 30° attitude deviation, which is sufficient to disrupt attitude control and initiate a right roll. Under the benign condition, the aircraft maintains a stable attitude and altitude. Under the attack condition, the erroneous sensor measurement causes the flight controller to issue opposing corrective commands, producing a right roll. We further incorporate a lift-loss model to capture the effect of the increasing roll angle on altitude. As shown in Fig. 16, the attack induces an attitude tilt and rapid altitude loss.
G. The PED Trojan of Temperature Sensor
Temperature sensors are critical in medical and industrial systems, where erroneous readings can disrupt closed-loop thermal control and contribute to unsafe operating conditions, potentially including excess cooling scenarios such as the British dye factory incident [3]. Targeting temperature-controlled outlets that regulate power based on real-time thermal feedback, we examine a PED Trojan mechanism implemented through

Fig. 16: Evaluation of the inclination sensor in the flight control system. When the Trojan is triggered, the aircraft undergoes an attitude tilt and its altitude decreases rapidly.

(a) Setup.
(b) Result.
Fig. 17: The temperature-controlled system with wire length adjustment serving as the Trojan mechanism.
transducer wire-length modification, which is common in chemical reactors and industrial manufacturing [53], [54].
Modifying transducer wire lengths enables frequency-dependent attacks. Specifically, 10 cm wires yield 11.6°C drops at 789 MHz and 27.1°C increases at 710 MHz, while 1 cm wires exhibit 2.2 °C drops and 5.6 °C increases at 1185 MHz and 1298 MHz, respectively, as illustrated in Fig. 17. This enhancement amplifies the variation by 4.9x without hardware component changes. Furthermore, adjusting signal amplitude controls deviations, enabling attackers to trigger thermal runaway, production hazards, or financial loss. We further evaluated the FTR across ten temperatures, repeating each measurement five times. The results showed an output similarity of 99.1%, corresponding to a deviation below 5%, with an FTR of zero. Over 50 trigger trials, the RETCB temperature sensor achieved an STR of 96%.
H. Hardware Overhead
To evaluate the hardware overhead of SenTrojan, we compare the factory-calibrated performance of benign and Trojan-inserted sensors under identical environmental and physical stimuli. For each metric, we report the normalized deviation measured under the same test condition. The resulting deviations are summarized in Table II, where lower values indicate smaller functional perturbation and better stealth.
Time drift. We collect 600 samples at 10 Hz immediately after initialization and another 600 samples after 24 hours of continuous operation, and compare the corresponding sensor outputs under identical conditions. The comparison shows no long-term DC offset beyond the baseline variation, with the measured normalized deviation remaining below 2% across all tested sensors. This result is consistent with the high-impedance design of the LRD monitoring circuit, which reduces loading on the native signal path. The added parasitic capacitance is also small relative to the circuit capacitance, limiting its impact on long-term output stability.
Noise floor. We quantify the noise floor using the average peak-to-peak voltage measured under identical test conditions. The measured noise-floor deviation remains below 1% across all tested sensors. For LRD Trojans, the comparator inputs operate in a high-impedance state, which limits leakage-induced current noise. For PED Trojans, the low-frequency power-supply rejection of the analog front end attenuates noise introduced by the added series components, limiting its effect within the measured operating bandwidth.
Response time. We evaluate the response time using the 10% to 90% step-response rise time. The measured normalized deviation ranges from 0.2% to 4.4% across the tested sensors. For LRD Trojans, the added series analog switch contributes only , and the parallel monitoring circuits do not modify the original sensor signal path, resulting in little change to the output RC time constant. For PED Trojans, the inserted series resistors and diodes have limited impact on transient response. The resistors keep transient currents within the operational amplifier's driving capability, the diodes add little dynamic resistance during current spikes, and the analog front end compensates for small supply-voltage drops. These design choices reduce Trojan-induced circuit overhead and match the measured rise-time results.
Power. We evaluate power overhead using a DC power supply to monitor sensor power consumption. For LRD Trojans, the normalized power overhead remains below 10% on average. This result is consistent with the use of LinCMOS components and mega-ohm resistors, which reduce power consumption and keep the Trojan power consumption at the microwatt level. For PED Trojans, the power change depends on the insertion mechanism. Inserted diodes can slightly reduce overall power consumption by lowering the downstream load voltage, whereas some series-resistor PEDs produce a normalized power deviation above 10% in low-power sensors. Nevertheless, sensor power consumption can vary substantially under different physical stimuli during normal operation because different stimulus intensities induce different current levels. For example, a microphone can consume more than twice the power measured under no-sound input, showing that the observed PED overhead is comparable to normal stimulus-dependent power variation.
VI. POTENTIAL DEFENSES
We propose passive shielding and active detection to defend against physical signal injection in SenTrojan.
A. Passive Shielding
As the primary defense against EM, acoustic, and optical signals, passive shielding uses metal casings to block EM coupling, opaque materials to prevent lasers, and sound-absorbing foam to dampen acoustic waves, as shown in Fig. 18.

Fig. 18: The shielding effects of different materials.
B. Active Detection
Active protection employs EM leakage analysis and functional testing to distinguish benign from Trojan circuits, utilizing runtime anomaly detection to identify triggers.
Active detection based on EM leakage. Detection proves difficult as our attack exploits (1) triggers activating signals beyond normal ranges, (2) high-impedance parallel or short-circuit series inactivity modes minimizing power and circuit performance impact, and (3) subtle parametric modifications obscured by component density. EM-based detection methods exploit circuit-level modifications introduced by sensor Trojans, which alter the resulting electromagnetic leakage profiles. Clustering algorithms then use these leakage patterns to distinguish benign circuits from Trojan-infected ones. However, this approach is ineffective against PED Trojans because their small component-parameter perturbations produce negligible changes in EM leakage.
Detection based on functional testing. Extending standard evaluations [25], functional testing exposes physical triggers by varying amplitudes, frequencies, and modalities, including acoustic, optical, and electromagnetic. Conversely, duration- or pattern-dependent activations evade detection due to impractical requirements for long-duration injections.
Impedance-based tamper detection. For pre-deployment verification, an LRD Trojan employs high-impedance parallel monitoring. Its added components may alter the overall circuit impedance, enabling detection using methods [55] when a trusted reference profile is available. A PED Trojan minimizes component modifications and therefore causes smaller impedance perturbations. For example, a modification that changes only the wire length may be difficult to detect. For runtime impedance-based monitoring, an activated LRD Trojan toggles the signal path, thereby changing the circuit impedance. This change can potentially expose the Trojan to impedance monitoring against a trusted reference.
Runtime anomaly detection. Complementing pre-application detection, runtime verification targets correlation errors and spectral noise anomalies, mitigating prohibitive physical isolation costs. Utilizing sensor fusion for consistency checks while scanning transducer outputs for distortion from common injections, including out-of-band frequencies, this monitor effectively identifies attack footprints.
VII. RELATED WORK
A. Sensor Attacks
Prior research has revealed that a wide variety of sensor types across multiple fields are vulnerable to security threats.
For example, modulated lasers can inject voice commands into microphones [56], while electromagnetic interference can induce false touch events on capacitive touchscreens [57]. These threats have been demonstrated in automotive systems [58]–[61], drones [24], [62], smart devices [4], energy systems [63], medical devices [5], and other applications [64]. This research often involves introducing attack signals through physical media, such as light [56], acoustic waves [4], electromagnetic waves [5], or electric fields [65]. Despite extensive research uncovering diverse sensor attack vectors, existing approaches remain fundamentally constrained by their reliance on pre-existing hardware vulnerabilities and continuous external signal emission. As a result, their effectiveness is often sensor-specific, and their impact is difficult to sustain once the attack signal is removed. In contrast, SenTrojan investigates internal hardware compromises via sensor Trojans, which embed malicious functionality into sensor circuits to make previously resistant sensors susceptible to crafted physical triggers. This shift from exploiting to implanting vulnerabilities broadens the sensor attack surface, enabling more generalizable, controllable, and persistent attacks.
B. Hardware Trojan Attacks
Hardware Trojans, typically realized through malicious circuit modifications [13], have been widely studied in IC security, particularly for high-stakes military systems. Prior work examined untrusted military ICs [66] and kill-switch threats [67], both involving digital circuitry insertion. Compared with IC-level Trojans, board-level security remains less explored [68], motivating automated synthetic Trojan insertion into PCB designs [69]. Existing Trojans are commonly classified as logic-based designs [7], [8], which add gates, or dopant-based designs [70], [71], which modify physical properties. While Yang et al. [12] replace digital counters with analog capacitors for Trojan triggering, their design still monitors internal digital states and targets digital logic. In contrast, SenTrojan targets analog sensors, where crafted external physical signals activate hidden analog behavior without software or digital access. Comparisons of SenTrojan with A2 [12] are shown in Appendix G. This shift introduces analog-specific challenges, namely preserving benign sensing accuracy while ensuring reliable activation under environmental noise and component variations. Moreover, by leveraging native physical effects such as transducer nonlinearity and amplifier saturation, SenTrojan reduces reliance on explicit logic anomalies and can evade conventional digital-integrity checks and visual inspections.
VIII. CONCLUSION
In this paper, we introduce SenTrojan, a novel threat vector manipulating sensor outputs via malicious hardware modifications. We propose two distinct trigger mechanisms: Logic-Rule-Driven (LRD) Trojans relying on dedicated blocks for specific signal patterns, and Physical-Effect-Driven (PED) Trojans exploiting inherent behaviors. Extensive evaluations across 14 sensors confirm reliable triggering with minimal
operational disruption. Finally, we explore countermeasures mitigating impacts, emphasizing designer vigilance regarding this emerging threat.
REFERENCES
[1] Curt Devine and Drew Griffin. Boeing relied on single sensor for 737 max that had been flagged 216 times to faa, 2019. https://edition.cnn.com/2019/04/30/politics/boeing-sensor-737-max-faa/index.html. [2] Jack Stewart. Why tesla's autopilot can't see a stopped firetruck. 2018. [3] Process Safety Beacon. Excess cooling can cause a runaway reaction, 2018. https://www.aiche.org/resources/publications/cep/2018/july/process-safety-beacon-excess-cooling-can-cause-runaway-reaction. [4] Guoming Zhang, Chen Yan, Xiaoyu Ji, Tianchen Zhang, Taimin Zhang, and Wenyuan Xu. Dolphinattack: Inaudible voice commands. In Proceedings of the 2017 ACM SIGSAC conference on computer and communications security, pages 103–117, 2017. [5] Denis Foo Kune, John Backes, Shane S Clark, Daniel Kramer, Matthew Reynolds, Kevin Fu, Yongdae Kim, and Wenyuan Xu. Ghost talk: Mitigating emi signal injection attacks against analog sensors. In 2013 IEEE Symposium on Security and Privacy, pages 145–159. IEEE, 2013. [6] Zhicong Zheng, Jinghui Wu, Shilin Xiao, Yanze Ren, Chen Yan, Xiaoyu Ji, and Wenyuan Xu. Phyfuzz: Detecting sensor vulnerabilities with physical signal fuzzing. In NDSS, 2026. [7] Swarup Bhunia, Michael S Hsiao, Mainak Banga, and Seetharam Narasimhan. Hardware trojan attacks: Threat analysis and countermeasures. Proceedings of the IEEE, 102(8):1229–1247, 2014. [8] Kan Xiao, Domenic Forte, Yier Jin, Ramesh Karri, Swarup Bhunia, and Mohammad Tehranipoor. Hardware trojans: Lessons learned after one decade of research. ACM Transactions on Design Automation of Electronic Systems (TODAES), 22(1):1–23, 2016. [9] Endres Puschner, Thorben Moos, Steffen Becker, Christian Kison, Amir Moradi, and Christof Paar. Red team vs. blue team: a real-world hardware trojan detection case study across four modern cmos technology generations. In 2023 IEEE Symposium on Security and Privacy (SP), pages 56–74. IEEE, 2023. [10] Komail Dharsee and John Criswell. Jinn: hijacking safe programs with trojans. In 32nd USENIX Security Symposium (USENIX Security 23), pages 6965–6982, 2023. [11] Yiming Li, Yong Jiang, Zhifeng Li, and Shu-Tao Xia. Backdoor learning: A survey. IEEE Transactions on Neural Networks and Learning Systems, 2022. [12] Kaiyuan Yang, Matthew Hicks, Qing Dong, Todd Austin, and Dennis Sylvester. A2: Analog malicious hardware. In Proceedings of the 2016 IEEE Symposium on Security and Privacy (SP), pages 18–37. IEEE, 2016. [13] Mohammad Tehranipoor and Farinaz Koushanfar. A survey of hardware trojan taxonomy and detection. IEEE Design & Test of Computers, 27(1):10–25, 2010. [14] W Göpel, José Hesse, and JN Zemel. Sensors. A Comprehensive Survey. Vol.: 1 Fundamentals and General Aspects. VCH, 1989. [15] John F Miller. Supply chain attack framework and attack patterns. The MITRE Corporation, MacLean, VA, 2013. [16] Jie Zhang, Feng Yuan, and Qiang Xu. Detrust: Defeating hardware trust verification with stealthy implicitly-triggered hardware trojans. In Proceedings of the 2014 ACM SIGSAC conference on computer and communications security, pages 153–166, 2014. [17] Adam Waksman and Simha Sethumadhavan. Silencing hardware backdoors. In 2011 IEEE Symposium on Security and Privacy, pages 49–63. IEEE, 2011. [18] Timothy Trippel, Kang G Shin, Kevin B Bush, and Matthew Hicks. Bomberman: Defining and defeating hardware ticking timebombs at design-time. In 2021 IEEE Symposium on Security and Privacy (SP), pages 970–986. IEEE, 2021. [19] Frank Imeson, Saeed Nejati, Siddharth Garg, and Mahesh Tripunitara. Non-deterministic timers for hardware trojan activation (or how a little randomness can go the wrong way). In 10th USENIX Workshop on Offensive Technologies (WOOT 16), 2016. [20] Asmit De, Mohammad Nasim Imtiaz Khan, Karthikeyan Nagarajan, and Swaroop Ghosh. Hartbleed: Using hardware trojans for data leakage exploits. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 28(4):968–979, 2020.
[21] Omer Shwartz, Amir Cohen, Asaf Shabtai, and Yossi Oren. Shattered trust: When replacement smartphone components attack. In 11th USENIX Workshop on Offensive Technologies (WOOT 17), 2017.
[22] MITRE Corporation. Supply Chain Compromise: Compromise Hardware Supply Chain, 2023. https://attack.mitre.org/techniques/T1195/003/.
[23] Information Commissioner's Office. Supply Chain Attacks: Learning from the Mistakes of Others. https://ico.org.uk/about-the-ico/research-reports-impact-and-evaluation/research-and-reports/learning-from-the-mistakes-of-others-a-retrospective-review/supply-chain-attacks.
[24] Timothy Trippel, Ofir Weisse, Wenyuan Xu, Peter Honeyman, and Kevin Fu. Walnut: Waging doubt on the integrity of mems accelerometers with acoustic injection attacks. In 2017 IEEE European symposium on security and privacy (EuroS&P), pages 3–18. IEEE, 2017.
[25] Frank E McFadden and Richard D Arnold. Supply chain risk mitigation for it electronics. In 2010 IEEE International Conference on Technologies for Homeland Security (HST), pages 49–55. IEEE, 2010.
[26] Shilin Xiao, Wenjun Zhu, Yan Jiang, Kai Wang, Peiwang Wang, Chen Yan, Xiaoyu Ji, and Wenyuan Xu. Sok: Understanding the fundamentals and implications of sensor out-of-band vulnerabilities. arXiv preprint arXiv:2508.16133, 2025.
[27] NXP Semiconductors. MPX5010 Integrated Silicon Piezoresistive Pressure Sensor, 2024. https://www.nxp.com/docs/en/data-sheet/MPX5010.pdf.
[28] Amphenol NovaSensor. NPC-300 Disposable Medical Pressure Sensor. https://amphenol-sensors.com/en/product-spotlights/npc-300-disposable-medical-pressure-sensor.
[29] Honeywell. Midas S2 Electrochemical Hydrogen Sensor, 2024. https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/hgas/ja/products/high-tech-and-semiconductor/midass2/documents/hon-ia-pmc-midas-s2-e-h2x.pdf.
[30] Amphenol Advanced Sensors. A-1737 Motor Coil Temperature Sensor, 2017. https://amphenol-sensors.com/hubfs/Documents/AAS-920-540D-Thermometrics-A-1737-MotorCoil-121917-web.pdf.
[31] Analog Devices, Inc. ADXL321 Accelerometer, 2007. https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL321.pdf.
[32] Infineon Technologies AG. IM72D128V01 MEMS Microphone, 2022. https://www.infineon.com/assets/row/public/documents/24/49/infineon-i72d128-datasheet-en.pdf?fileId=8ac78c8c80027ecd0180612a60277e10.
[33] Erik Runkle. Grower 101: Controlling photoperiod, 2002. https://www.cannr.msu.edu/resources/grower_101_controlling_photoperiod.
[34] Thomas Boyle. Photoperiod control systems for greenhouse crops, 2017. https://www.umass.edu/agriculture-food-environment/greenhouse-flori culture/fact-sheets/photoperiod-control-systems-for-greenhouse-crops.
[35] University of Wisconsin-Madison Division of Extension. Supplemental lighting, 2026. https://fyi.extension.wisc.edu/energy/greenhouses/supplemental-lighting/.
[36] SIGLENT. SDG6032X, 2021. https://siglentna.com/product/sdg6032x/.
[37] Micronix. NF HSA4051, 2013. https://eshop.micronix.eu/measurements-equipment/electrical-quantities/nf-corporation-instruments/high-speed-bipolar-amplifiers/hsa-4051.html.
[38] Rigol. DSG3136b, 2019. https://rigolshop.eu/rf-signal-generator-dsg3136b.
[39] Mini-Circuits. HPA-272+. https://www.minicircuits.com/WebStore/dash board.html?model=HPA-25W-272%2B.
[40] Alientek. DP100 Digital Power Supply, 2024. https://en.alientek.com/Product_Details/45.html.
[41] David Snyder, Guoguo Chen, and Daniel Povey. Musan: A music, speech, and noise corpus. arXiv preprint arXiv:1510.08484, 2015.
[42] Augustine Gray and John Markel. Distance measures for speech processing. IEEE Transactions on Acoustics, Speech, and Signal Processing, 24(5):380–391, 1976.
[43] Avisoft Bioacoustics. Ultrasonic dynamic speaker vifa, n.d. https://avisoft.com/playback/vifa/.
[44] Mechanical Simulation Corporation. Carsim, 2023. https://www.carsim.com/products/carsim/index.php.
[45] MathWorks, Inc. Hardware-in-the-loop, 2023. https://www2.mathworks.cn/en/discovery/hardware-in-the-loop-hil.html.
[46] Xinfeng Li, Xiaoyu Ji, Chen Yan, Chaohao Li, Yichen Li, Zhenning Zhang, and Wenyuan Xu. Learning normality is enough: a software-based mitigation against inaudible voice attacks. In 32nd USENIX Security Symposium (USENIX Security 23), pages 2455–2472, 2023.
[47] Fengchen Yang, Wenze Cui, Xinfeng Li, Chen Yan, Xiaoyu Ji, and Wenyuan Xu. Lightantenna: Characterizing the limits of fluorescent lamp-induced electromagnetic interference. In NDSS, 2025.
[48] iFLYTEK. iFLYTEK ASR. https://global.xfyun.cn/products/speech-to-text.
[49] OpenAI. OpenAI ASR. https://platform.openai.com/docs/guides/speech-to-text.
[50] Microsoft. Microsoft Azure ASR. https://azure.microsoft.com/en-us/products/ai-services/ai-speech/.
[51] Christopher J Fisher. Using an accelerometer for inclination sensing. AN-1057, Application note, Analog Devices, pages 1–8, 2010.
[52] Ansys Government Initiatives. Systems tool kit (stk), 2023. https://www.ansys.com/products/missions/ansys-stk.
[53] Instrumart. Temperature controller basics handbook, 2018. https://www.instrumart.com/pages/283/temperature-controller-basics-handbook.
[54] West Control Solutions. Temperature monitors and limiters, 2018. https://www.west-cs.com/assets/Brochures/BR-LD-2-US-1903-web-1.0.pdf.
[55] Tahoura Mosavirik, Fatemeh Ganji, Patrick Schaum, and Shahin Tajik. Scatterverif: Verification of electronic boards using reflection response of power distribution network. ACM Journal on Emerging Technologies in Computing Systems (JETC), 18(4):1–24, 2022.
[56] Takeshi Sugawara, Benjamin Cyr, Sara Rampazzi, Daniel Genkin, and Kevin Fu. Light commands: Laser-based audio injection attacks on voice-controllable systems. In 29th USENIX Security Symposium (USENIX Security 20), pages 2631–2648, 2020.
[57] Yan Jiang, Xiaoyu Ji, Kai Wang, Chen Yan, Richard Mitev, Ahmad-Reza Sadeghi, and Wenyuan Xu. Wight: Wired ghost touch attack on capacitive touchscreens. In 2022 IEEE Symposium on Security and Privacy (SP), pages 984–1001. IEEE, 2022.
[58] Hocheol Shin, Dohyun Kim, Yujin Kwon, and Yongdae Kim. Illusion and dazzle: Adversarial optical channel exploits against lidars for automotive applications. In Cryptographic Hardware and Embedded Systems–CHES 2017: 19th International Conference, Taipei, Taiwan, September 25-28, 2017, Proceedings, pages 445–467. Springer, 2017.
[59] Jonathan Petit, Bas Stottelaar, Michael Feiri, and Frank Kargl. Remote attacks on automated vehicles sensors: Experiments on camera and LiDAR. Black Hat Europe, 2015. White paper.
[60] Ruchir Chauhan. A platform for false data injection in frequency modulated continuous wave radar. Utah State University, 2014.
[61] Wenyuan Xu, Chen Yan, Weibin Jia, Xiaoyu Ji, and Jianhao Liu. Analyzing and enhancing the security of ultrasonic sensors for autonomous vehicles. IEEE Internet of Things Journal, 5(6):5015–5029, 2018.
[62] Yunnok Son, Hocheol Shin, Dongkwan Kim, Yongseok Park, Juhwan Noh, Kibum Choi, Jungwook Choi, and Yongdae Kim. Rocking drones with intentional sound noise on gyroscopic sensors. In 24th USENIX security symposium (USENIX Security 15), pages 881–896, 2015.
[63] Jayapakash Selvaraj, Gökçen Yilmaz Dayanikhi, Neelam Prabhu Gaunkar, David Ware, Ryan M Gerdes, and Mani Mina. Electromagnetic induction attacks against embedded systems. In Proceedings of the 2018 on Asia Conference on Computer and Communications Security, pages 499–510, 2018.
[64] Mordechai Guri, Boris Zadov, and Yuval Elovici. Led-it-go: Leaking (a lot of) data from air-gapped computers via the (small) hard drive led. In Detection of Intrusions and Malware, and Vulnerability Assessment: 14th International Conference, DIMVA 2017, Bonn, Germany, July 6-7, 2017, Proceedings 14, pages 161–184. Springer, 2017.
[65] Seita Maruyama, Satohiro Wakabayashi, and Tatsuya Mori. Tap'n ghost: A compilation of novel attack techniques against smartphone touchscreens. In 2019 IEEE Symposium on Security and Privacy (SP), pages 620–637. IEEE, 2019.
[66] Dean R Collins. Trust, a proposed plan for trusted integrated circuits. 2006.
[67] Sally Adee. The hunt for the kill switch. IEEE Spectrum, 45(5):34–39, 2008.
[68] Huifeng Zhu, Xiaolong Guo, Yier Jin, and Xuan Zhang. Pcbench: Benchmarking of board-level hardware attacks and trojans. In Proceedings of the 26th Asia and South Pacific Design Automation Conference, pages 396–401, 2021.
[69] Aritra Bhattacharyay, Shuo Yang, Jonathan Cruz, Prabuddha Chakraborty, Swarup Bhunia, and Tamzidul Hoque. An automated framework for board-level trojan benchmarking. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 42(2):397–410, 2023.
[70] Georg T Becker, Francesco Regazzoni, Christof Paar, and Wayne P Burleson. Stealthy dopant-level hardware trojans. In International
Conference on Cryptographic Hardware and Embedded Systems, pages 197–214. Springer, 2013.
[71] Wei Hu, Chip-Hong Chang, Anirban Sengupta, Swarup Bhunia, Ryan Kastner, and Hai Li. An overview of hardware security and trust: Threats, countermeasures, and design tools. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 40(6):1010–1038, 2021.
[72] Marco Tartagni. Electronic sensor design principles. Cambridge University Press, 2022.
[73] John G Webster and Halit Eren. Measurement, Instrumentation, and Sensors Handbook: Two-Volume Set. CRC Press, 2018.
[74] Cadence. Pspice. https://www.cadence.com/en_US/home/tools/pcb-design-and-analysis/analog-mixed-signal-simulation/pspice.
APPENDIX
A. Life Cycle of Sensor
Sensor life cycles typically span five phases: design, fabrication, distribution, maintenance, and recycling [7], [26], [72], [73]. (1) Design: Engineers define structures, component parameters, and types for chips and peripheral circuits based on application requirements. (2) Manufacturing: Following design finalization, factories produce chips and board-level circuitry. While final testing ensures standards, cost constraints often limit manufacturers to basic functionality checks, omitting thorough safety evaluations [25]. (3) Distribution: Supply chains deliver standalone chips or fully assembled modules for system integration. (4) Maintenance: High-end sensors require regular calibration, diagnostics, and component replacement to ensure consistent long-term performance. (5) Recycling: End-of-life recovery and refurbishment support cost savings and environmental sustainability.
B. The Adversary's Capabilities of Different Stages
• Design stage. One attack scenario arises when malicious actors infiltrate the sensor design team and obtain white-box access to circuit parameters and component choices, a threat model widely explored in prior work [16]–[19]. Specifically, malicious insiders covertly modify hardware components to embed Trojans before delivery. This stage is feasible because sensor design, verification, and subsequent fabrication involve different personnel or organizations. However, the modification must evade design review, calibration, and functional validation, while preserving sensing range, noise, drift, power, and normal behavior. Routine black-box tests may not exercise a hidden trigger, but an independent golden model may reveal unauthorized changes. However, the golden model is unavailable when the same party controls both the modification and the reference artifacts.
• Manufacturing stage. Another attack scenario occurs during sensor fabrication [10], [12], [20], when an untrusted foundry manufactures the sensing chip. Adversaries with access to fabrication masks or process parameters can introduce layout- or process-level modifications as Trojans without changing the overall circuit architecture. This stage is feasible because fabrication is often separated from sensor design and may be performed by an untrusted party. However, analog modifications must remain effective despite process variation while preserving reliability and normal sensing behavior. Moreover, a trusted design file may enable physical or electrical comparison and expose discrepancies.
• Post-manufacturing stage. Attackers may also insert Trojans after manufacturing is complete [21]–[23], including during PCB assembly and maintenance. In modern sensor systems, discrete sensing elements, signal-conditioning circuits, and sometimes microcontrollers are integrated on the PCB. Attackers involved in assembly or maintenance may replace legitimate components with compromised ones, insert additional circuitry, or modify PCB traces to manipulate sensor outputs. This stage is feasible because assembly, repair, calibration, and maintenance provide direct access to board-level components and interconnects. However, the attacker must overcome physical-access constraints, enclosure restrictions, limited board area, and the need to preserve normal operation after rework. Because the sensor has typically completed factory-side hardware inspection and validation by this stage, a Trojan that preserves normal functionality and avoids unintended activation is difficult to identify through routine post-service testing.
C. Trigger Signal Modality
We evaluate ultrasound, laser, EMI, and sound signals across five critical dimensions: flexibility, distance, effect, generality, and difficulty.
• Trojan flexibility. Signal modality dictates injection nature and design constraints. Laser offers superior flexibility, injecting fixed-intensity and modulated signals. Ultrasound and sound rank secondary, limited to modulated signals, while EMI exhibits the lowest flexibility, as high-frequency signals induce capacitive and inductive failures.
• Attack distance. Laser achieves maximum range via minimal attenuation, followed by directional ultrasound. Conversely, sound propagates omnidirectionally, while EMI relies on restricted near-field coupling.
• Attack effect. Trigger modalities influence outcomes. Laser, ultrasound, and sound support broad attack spectra, including DoS and electrical faults. Conversely, EMI is limited to spoofing as high-frequency behaviors alter component responses, reducing versatility.
• Attack generality. EMI demonstrates the highest generality as most sensors possess coupling accessible transmission lines. In contrast, other modalities rely on specific transducer types, limiting injection efficiency and applicability.
• Attack difficulty. Laser attacks present the greatest challenges due to visibility and targeting precision. While audible and detectable, sound simplifies deployment via omnidirectional propagation. Finally, ultrasound and EMI offer maximum stealth, remaining inaudible with relaxed targeting requirements.
D. Analysis of Saturation
The output range of an amplifier is determined by the value of the power supply and the circuit structure, where the maximum output value is , and the minimum value is . Saturation is common in analog circuits and refers to a quantity that cannot exceed either or . The quiescent point is the DC bias required for an amplifier to make the transistor operate in the linear region. It is necessary for the proper operation of the amplifier. There is no fixed standard value for the bias voltage in single-supply amplifiers, which depends on the specific type and application scenario. The voltage corresponding to the DC quiescent point is usually set to to provide the maximum dynamic range. The output signal of the amplifier is:
where is the differential gain of the input voltage and is the amplitude of input signal.
When the injected AC signal exceeds the dynamic range, the output signal will typically be symmetrically clipped (represented as ) by the amplifier due to the design of the quiescent point. The AC signal will then be removed by the low-pass filter (LPF).
E. The Circuit Simulation Details
To better understand the function of different components intuitively, we simulate the circuits using the PSpice model [74].
- Frequency Detector Simulation: We simulate the trigger mechanism using an LM393 comparator as illustrated in Fig. 19. The circuit employs a front-end rectifier to convert the AC input into a DC voltage . When the input amplitude generates a exceeding the reference threshold set by the resistor network, the comparator output toggles. This mechanism confirms that injected AC signals can effectively manipulate the digital output state without affecting normal operation at lower amplitudes.

Fig. 19: The PSpice simulation circuit of the frequency detector.
- The Saturation Effect Simulation: We simulate the saturation amplifier circuit and introduce a resistor between and the port of the amplifier as a Trojan. The specific circuit and results are shown in Fig. 20. When the amplitude of the injected signal exceeds 3V, the output signal is cut off, inducing a DC offset. When the amplitude of the input signal is lower than 3V, the output is unaffected. The stealthiness is guaranteed because not all sensor operating ranges are full-scale. In our tests with the common operational amplifiers LM358 and LM318, the maximum output of the amplifier does not reach . Finally, the output signal of the low-pass filter, representing the induced offset signal, is about 0.5V.
For example, the range of an iron thermocouple is -210°C to 1200°C, meaning a possible spoofing attack of C can be introduced.

Fig. 20: The PSpice simulation circuit of a saturation Trojan in the amplifier.
- The Envelope Detection Effect Simulation: We simulate the envelope detection amplifier circuit and introduce a diode as the Trojan. The specific circuit is shown in Fig. 21 and Fig. 22. In Fig. 21, the injected signal has a 27 kHz carrier modulated by a 500 Hz baseband signal. In Fig. 22, the carrier and baseband frequencies are 100 Hz and 1 Hz, respectively.
The frequencies of these two signals determine the parameters of the subsequent demodulation circuit. The demodulation circuit recovers the baseband signal. For low-frequency signals, the capacitor, due to its high impedance at low frequencies, can be considered an open circuit and thus does not affect the circuit's performance.

Fig. 21: The PSpice simulation circuit of an envelope detection Trojan in the amplifier.

Fig. 22: The PSpice simulation circuit of an envelope detection Trojan in the amplifier without a diode.
- The Over-amplification Effect Simulation: Simulations depicted in Fig. 23 utilize frequency sweeping to determine response curves. Results indicate amplification increases 200 times between 12 kHz and 13 kHz relative to low-frequency transmission, facilitating DoS attacks. Added capacitors function as open circuits for low-frequency inputs. Unlike ideal models in prior expressions, practical bandwidth limitations suppress high-frequency signals, preventing unintended triggers. Furthermore, in practical applications, the resistance introduced by wires or the addition of a small series resistor with the capacitor mitigates noise-induced false triggering.

Fig. 23: The PSpice simulation circuit of an over-amplification Trojan in the amplifier.
F. The Trojan Test Details
- Light-triggered Trojan with Amplitude Mechanism: Depicted in Fig. 24, the Trojan circuit comprises a comparator, analog switch, latch, diode, capacitors, and resistors (3 SSI, 8 DC). A window comparator monitors real-time voltage (0.145 V to 0.970 V) mapped from light intensity. Sustaining signals within this range for 2.5 seconds charges the capacitor, toggling the analog switch to alter signal paths. Upon triggering, an electrical fault attack short-circuits critical wiring, potentially causing overheating and damage. Adapting for additional photoresistor transducers involves adding voltage dividers for detection and routing original sensor outputs to the switch, ensuring normal operation.

Fig. 24: Schematics of an amplitude-based LRD Trojan in the GL5506.
- Ultrasound-triggered Trojan with Frequency Mechanism: Minimizing component count relative to band-pass alternatives, a high-pass filter (33k Ω, 0.22 nF, 21,933 Hz) processes ultrasound signals, depicted in Fig. 25. Peak detectors extract amplitudes while parallel resistors prevent charge buildup. To mitigate 0.3 V leakage from filter imperfections, a comparator sets a 0.6 V threshold to prevent false triggers, augmented by duration detectors. The payload employs analog switches akin to Sec. V-C1. In single transducer sensors lacking signal conditioning, low microphone outputs and diode drops impede peak extraction. Consequently, attackers insert amplifiers and feedback resistors to boost AC amplitudes, enabling Trojan functionality. In addition, utilizing additional microphone
transducers entails configuring basic ECM setups and routing analog switch inputs to original sensor outputs.

Fig. 25: Schematics of a frequency-based LRD Trojan in the Sen0487.
G. Comparison with A2
SenTrojan differs from A2 [12] along four dimensions:
- Trigger source: A2 is activated by internal digital states through a crafted program, whereas SenTrojan is triggered by external physical signals injected through the sensor.
- Insertion point: A2 inserts malicious circuitry into unused layout areas, whereas SenTrojan targets sensor-associated analog front-end and PCB-level circuitry.
- Payload: A2 modifies a digital privilege flip-flop after activation. SenTrojan manipulates sensor outputs to induce PDoS, static spoofing, or dynamic spoofing.
- Validation: A2 uses fabricated malicious processors and software triggers. SenTrojan is evaluated on 14 sensors spanning six transduction principles, with system-level case studies.