Skip to content

SenTrojan: Revealing Analog Hardware Trojan Attacks Targeting SensorsSenTrojan: Revealing Analog Hardware Trojan Attacks on Sensors

arXiv· arXiv:2611.06103· Kun Wang, Ruochen Zhou, Wenjun Zhu, Shilin Xiao, Kai Wang, Chen Yan, Xiaoyu Ji, Wenyuan XuZhejiang University; The Hong Kong University of Science and TechnologyIndexed by this site · 18 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose SenTrojan, an analog sensor hardware Trojan framework, evaluated on 14 sensors; the authors report STR 82%–100%, similarity above 97%, and zero false triggers for LRD.

Threat modelAn attacker can, before sensor deployment or during maintenance/assembly, implant or modify small-scale integrated circuits (SSI) and discrete components (without adding digital modules) in the sensor's analog signal path, then activate the trojan with carefully constructed external physical signals (laser, sound, ultrasound, EMI) to achieve static deception, dynamic deception, or PDoS; no software privileges or digital access are required.

Questions
Existing sensor attacks mostly exploit unintentionally produced physical vulnerabilities that vary by model, with limited generality. The authors study another threat model: whether an attacker can implant a hidden attack surface into a sensor's analog circuit before deployment and activate it with an external physical signal.
Methods
Proposes the analog hardware trojan framework SenTrojan, with two designs: the LRD trojan uses a high-impedance parallel monitoring circuit to detect features such as frequency and amplitude and, after duration verification, triggers the payload; the PED trojan tunes the sensor's inherent analog effects (nonlinearity, rectification, envelope detection, etc.) to achieve triggering and deception with minimal components.
Experiments and results
Evaluated on 14 sensors and 6 transduction principles: the authors report STR 82%–100%, similarity above 97%, LRD false trigger rate of 0%, and average hardware overhead (drift, noise floor, response time) deviation below 5%; microphone DoS distance extended from 0.5 m to 5.1 m, and tilt deviation up to 159°.
Limitations and future work
The authors point out: EM leakage detection is ineffective against PED trojans, and impedance detection is difficult to make effective against PED trojans that only change trace length; after trojan activation, some effects require reset or sensor replacement to recover. The experiments were validated with commercial off-the-shelf sensors plus circuit board prototypes, without evaluating the final physical form of supply-chain implantation or miniaturization.
Experimental setupiFLYTEK ASR、OpenAI ASR et al. · 14 个传感器(6 种换能原理,Table II)、MUSAN 音频语料 et al. · Similarity、FTR et al.
Evaluated models
iFLYTEK ASROpenAI ASRMicrosoft Azure ASR
Benchmarks
14 个传感器(6 种换能原理,Table II)MUSAN 音频语料CarSim + MATLAB Simulink HIL 仿真STK 飞行仿真IFlytek、OpenAI、Azure ASR 系统
Metrics
SimilarityFTRSTRTime driftNoise floorResponse timePower
AI summaryResearchers propose an analog hardware Trojan framework, SenTrojan, which implants malicious functionality before deployment into the analog signal circuits shared by various sensors, is triggered by external physical signals, and can subject sensors to permanent denial of service or static and dynamic spoofing. Its LRD design uses lightweight analog monitoring logic to detect trigger features such as frequency and amplitude, while the PED design exploits native analog effects such as nonlinearity and rectification and requires inserting only very few components. On 14 sensors across 6 transduction principles, the average trigger success rate exceeds 95%, similarity to normal behavior exceeds 97%, and the LRD design has zero false triggers.

Researchers propose an analog hardware Trojan framework, SenTrojan, which implants malicious functionality before deployment into the analog signal circuits shared by various sensors, is triggered by external physical signals, and can subject sensors to permanent denial of service or static and dynamic spoofing. Its LRD design uses lightweight analog monitoring logic to detect trigger features such as frequency and amplitude, while the PED design exploits native analog effects such as nonlinearity and rectification and requires inserting only very few components. On 14 sensors across 6 transduction principles, the average trigger success rate exceeds 95%, similarity to normal behavior exceeds 97%, and the LRD design has zero false triggers.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Whether hardware trojans can be implanted into a sensor's analog circuitry before deployment and activated with external physical signals.

    Core question: Can a hidden hardware Trojan be implanted into a sensor's analog signal circuit before deployment and activated by a carefully constructed external physical signal, thereby manipulating the sensor output?

    • Problem setting and importance: Sensors connect the physical and digital worlds and support systems such as autonomous driving, industrial automation, and medical monitoring; the authors cite cases of sensor failures leading to air crashes, car accidents, and industrial accidents to illustrate their safety importance.
    • Shortcomings of existing methods: The authors state that existing sensor attacks mostly exploit unintentionally produced, sensor-specific physical vulnerabilities (such as circuit nonlinearity and electromagnetic susceptibility), which are inconsistent across different models, hardware versions, and deployment environments, have limited generality, and whose effects are difficult to sustain after the attack signal is removed.
    • Core observation: Hardware Trojans and neural network backdoors are already mature paradigms, but Trojans in analog sensor circuits are largely unexplored; the authors state that prior Trojan designs using analog components (such as A2) still monitor digital states and rely on software-triggered binary events rather than physical signals received through the sensing interface.
    • Proposed approach: SenTrojan, an analog hardware Trojan framework, containing two complementary designs—logic-rule-driven (LRD) Trojans use lightweight analog monitoring logic to detect trigger features such as frequency and amplitude; physical-effect-driven (PED) Trojans exploit the sensor's inherent analog effects (nonlinearity, rectification, etc.) to achieve attacks with minimal component insertion.
    • Threat model:
      • Attacker goal: Activate the implanted Trojan with a constructed physical signal to achieve three types of attack effects: static deception, dynamic deception, or permanent denial of service (PDoS).
      • Attacker knowledge: Can access the sensor at any stage—design, manufacturing, or post-manufacturing (assembly, maintenance); the design does not depend on the specific insertion stage.
      • Attacker capability: Can only insert or modify small-scale integrated circuits (SSI, such as logic gates and analog switches) and discrete components (resistors, capacitors, diodes) in the analog signal path, and cannot add digital modules such as processors; activation requires no software privileges or digital access.
      • Victim system: The deployed sensor and its downstream cyber-physical systems (CPS), such as drones and smart homes.
  2. What related research exists?

    Related work falls into two categories—sensor signal injection attacks and hardware trojans; the authors state that this paper turns to actively implanted analog trojans.

    Sensor attacks

    • DolphinAttack (Zhang et al., 2017) and Ghost Talk (Foo Kune et al., 2013): respectively exploit the microphone's ultrasound nonlinearity and electromagnetic susceptibility to inject signals; these are representative signal injection attacks cited in the paper.
    • Cross-domain sensor attacks: the paper summarizes attacks in scenarios such as automobiles, drones, smart devices, energy systems, and medical devices, with media including light, acoustic waves, electromagnetic waves, and electric fields; the authors point out that these methods rely on pre-existing hardware vulnerabilities, require continuous signal emission, and their effects vary by sensor and are difficult to sustain.
    • PhyFuzz (Zheng et al., 2026): uses physical-signal fuzzing to detect sensor vulnerabilities; the authors classify it as work that characterizes and detects existing vulnerabilities.

    Hardware trojan attacks

    • Digital hardware trojan surveys and cases (Bhunia et al., 2014; Xiao et al., 2016; Puschner et al., 2023, etc.): analyze hardware trojan threats and detection; trojans can be inserted at supply-chain stages such as design, manufacturing, and assembly.
    • A2 (Yang et al., 2016): uses analog capacitors instead of digital counters to build analog malicious hardware; the authors point out that it still monitors internal digital states and is triggered by software instructions, targeting digital logic, which differs from this paper's physical-signal triggering (Appendix G gives a four-dimensional comparison).
    • Board-level trojans (PCBench, Zhu et al., 2021; Bhattacharyay et al., 2023): the authors state that compared with IC-level trojans, board-level security research is scarcer; these works provide PCB-level trojan benchmarks and automated insertion.

    Baselines and comparison setup: the paper has no baseline algorithm in the methodological sense; Table I compares trojan attacks with direct signal injection attacks (e.g., microphone DoS distance 0.5 m vs 5.1 m), and the control in the experiments is the benign (non-implanted) version of the same sensor.

    Positioning: the authors state that this paper is a systematic study of analog sensor trojans, extending sensor security from exploiting unintentional physical vulnerabilities to active supply-chain implantation, with the trigger source changed from software instructions to external physical signals received through the sensing interface.

  3. How does the paper address this problem?

    SenTrojan contains two activation paths: LRD (explicit feature detection + duration verification) and PED (tuning inherent analog effects).

    Overall idea: embed malicious functionality in the analog signal conditioning circuitry common to multiple sensors, and activate it with constructed external physical signals. The SenTrojan framework contains an external logic-rule-driven (LRD) path and an internal physical-effect-driven (PED) path, corresponding to the middle and right parts of Fig. 3, respectively.

    Trigger signal design

    • Modality selection: prioritize four remotely injectable modalities—laser, sound, ultrasound, EMI; exploit the sensor's inherent transducer susceptibility (e.g., accelerometer acoustic sensitivity, microphone ultrasound vulnerability), or add an additional transducer (e.g., photoresistor).
    • Parameter design: for frequency, pursue coupling efficiency to extend attack distance; for amplitude, use stronger interference as the principle; characterize legitimate signal features within the operating range specified in the datasheet, and select features that differ from legitimate signals as trigger thresholds.

    LRD trojan design

    • Overall structure: a parallel high-impedance monitoring circuit that stays in a high-impedance state when idle so as not to affect sensing accuracy; contains three modules—trigger condition detector, duration detector, and payload—and sets a time-domain activation threshold exceeding factory test duration.
    • Single-condition detector: detects frequency or amplitude. Frequency detection uses a high-pass filter (cutoff frequency fp = 1/(2π R1 C1)) plus peak detection and a comparator; amplitude detection uses a window comparator that outputs high only when the input falls within [V−, V+].
    • Multi-condition detector: combination mode requires multiple features to be simultaneously valid within a time window; sequential mode uses analog switches to enable each detector in turn, returning to the initial state if a feature is missing or times out.
    • Duration detector and latch: borrowing the idea of digital counter triggering, uses capacitor charging to implement the delay, Tc = RC(ln Vfout − ln(Vfout − Vth)); default R = 470 kΩ, C = 10 µF, rise time 4 seconds; the latch circuit maintains the activated state, and a capacitive power-on reset ensures an initial logic low.
    • Payload: uses analog switches to switch the transmission path to achieve static deception; uses latch-up to cause a power-to-ground short to achieve PDoS (burning traces when unprotected, repeatedly triggering the protection state to form a sustained shutdown loop when protected); dynamic deception requires an additional transducer to modulate the output in real time.

    PED trojan design

    • Overall idea: add no explicit trigger logic; instead, by modifying parameters or adding a small number of components, induce/amplify the sensor's inherent analog effects, converting a high-frequency injected signal into a low-frequency output deviation, bypassing protective filters such as the LPF.
    • Four amplifier mechanisms: saturation (introducing asymmetric clipping in three ways to produce a DC offset), rectification (using the nonlinearity of the input differential pair to convert high-frequency AC into a DC offset, targeting amplifier topologies sensitive to nonlinearity), envelope detection (adding a diode or using the amplifier's unidirectional conductivity to demodulate an AM signal, with trojan insertion achieved by tuning RC parameters), over-amplification (connecting a capacitor in parallel with the input resistor to boost gain at a preset frequency; simulation shows the amplification of a 12.57 kHz input is about 200 times that of a legitimate low-frequency signal).
    • Transducer and LPF/ADC: the transducer exploits differences in the nonlinear coefficients in Vout(t) = A1 Vin(t) + A2 Vin2(t) + ... + Ak Vink(t), selecting components with higher A2 for trojan implantation; the LPF raises the cutoff frequency by modifying resistors and capacitors, and combined with an injection frequency above half the sampling rate causes ADC aliasing misjudgment.
    • Payload: the PED trojan has no independent payload module; the trigger signal is demodulated or amplified by the circuit itself and then executes DoS or deception; the authors state this trades attack generality for structural stealth.

    Success criteria and design requirements

    • Three design requirements: trojan functionality (reliable activation and production of the expected fault), stealth (maintaining normal behavior before activation, no false triggering under benign stimuli), and minimal components.
    • Evaluation metrics: similarity (Eq. 7, normalized difference from the benign sensor output; spectral distance for audio), false trigger rate FTR (proportion of false activations in benign trials; for PED, judged as output deviation exceeding 5%), success trigger rate STR (50 independent trigger trials per trojan); hardware overhead includes four normalized deviations: time drift, noise floor, response time, and power consumption.
  4. What experiments did the paper conduct?

    Measured on 14 sensors and 6 transduction principles, STR 82%–100%, with HIL brake, STK flight and ASR scenario validation.

    Experimental setup

    • Subjects under test: 14 sensors covering 6 categories—light (GL5506, TEMT6000, QRB1), temperature (NHQ103B, PT100, RETCB), microphone (CMC-9745, Sen0487), infrared (IRA-S210, SR501), pressure (DYTB-002), tilt (ADXL335, ADXL337); 10 LRD trojans and 4 PED trojans (Table II).
    • Trojan implementation: commercial off-the-shelf sensors plus circuit board prototypes; additionally a PCB-integrated microphone PED trojan, module 10 mm × 25 mm, with the trojan occupying about 6 mm × 2 mm (Fig. 10).
    • Attack equipment: arbitrary waveform generator + power amplifier driving light/ultrasound/acoustic emitters; RF signal generator + amplifier driving a log-periodic antenna or near-field probe for EMI (Fig. 8, Fig. 9).
    • Metrics and criteria: similarity (normalized log spectral distance for audio), FTR, STR (50 trigger trials per trojan); PED trojans are judged as successfully activated when the output falls within ±20% of the pre-test reference value, and FTR is judged as deviation exceeding 5%.
    • Overhead metrics: time drift (600 samples each collected after initialization and after 24 hours of continuous operation, 10 Hz), noise floor (peak-to-peak voltage), response time (10%–90% rise time), power consumption.
    • Scenario validation: HIL braking simulation with CarSim + MATLAB Simulink, STK flight simulation, recognition tests on three ASR systems: IFlytek/OpenAI/Azure.

    Main results

    According to Table II (Sim. is similarity, STR is success trigger rate, overhead is normalized deviation):

    Swipe horizontally to read the table

    SensorTrojan typeSim.↑FTR↓STR↑DriftNoise floorResponse timePower
    GL5506 (light)LRD amplitude99.7%0%100%0.5%0.3%0.2%0.8%
    TEMT6000 (light)LRD amplitude99.9%0%82%0.3%0.5%0.5%7.4%
    NHQ103B (temperature)LRD amplitude99.0%0%100%0.9%0.9%4.4%13.6%
    CMC-9745 (microphone)LRD frequency99.7%0%96%1.4%0.8%1.4%10.2%
    IRA-S210 (infrared)LRD frequency100%0%94%0.9%0.7%1.5%0.6%
    DYTB-002 (pressure)LRD frequency99.3%0%96%0.3%0.7%0.3%3.9%
    ADXL335 (tilt)PED saturation99.4%0%100%0.5%0.5%3.5%16.5%
    RETCB (temperature)PED transducer99.1%0%96%1.1%0.5%3.2%0.6%

    (Six rows omitted: QRB1, PT100, Sen0487-LRD, SR501, Sen0487-PED, ADXL337; their STR is 96%–100% and similarity 97.8%–99.9%, all from Table II.)

    • Authors' interpretation: the authors state that across all cases STR is 82%–100%, similarity all exceeds 97%, and the LRD design has zero FTR; the similarity error is below 5%, comparable to the maximum specified measurement error of representative commercial sensors, making it difficult for routine functional tests to distinguish.
    • Exception: TEMT6000's STR is 82%, lower than other LRD cases; the authors explain that its transducer package attenuates the injected laser, reducing the effective injection strength.
    • Overhead: the authors report average deviations of drift, noise floor, and response time below 5%; on some low-power sensors, the power deviation of series-resistor-type PED exceeds 10% (e.g., ADXL335 is 16.5%); the authors state that sensor power consumption itself varies with physical stimuli, and this overhead is comparable to the power variation caused by normal stimuli.

    Comparison with direct signal injection attacks (Table I)

    • Microphone: the trojan extends the DoS distance from 0.5 m to 5.1 m (+920%) and achieves a 100% deception success rate; under the same method, a benign microphone without the trojan only produces noise. CMC-9745 is immune to DoS attacks without the trojan.
    • Tilt: the trojan induces a 159° angle deviation; under the same attack setup the benign sensor remains stable.
    • Temperature: the trojan amplifies the deviation 4.9 times, expanding the range from -2.2~+5.6 °C to -11.6~+27.1 °C.

    System-level scenario validation

    • Pressure braking (HIL): under benign input the simulated vehicle brakes before the obstacle; after the trojan is triggered, the pressure sensor output is forced to 0, the controller misses the braking event, and the vehicle crashes into the obstacle (Fig. 13).
    • Tilt flight (STK): a 30° trojan-induced attitude deviation is injected into the STK simulation; under benign conditions the aircraft remains stable, while under attack conditions the aircraft rolls right and loses altitude (Fig. 16).
    • Microphone ASR: commands demodulated from a 27 kHz carrier were tested on three ASR systems: IFlytek, OpenAI, Azure (Fig. 15); the authors report 100% success for both direct electrical injection and ultrasound injection, and in in-car experiments the demodulated command opened the door; ten hours of placement in laboratory and office environments produced no false triggers (FTR = 0%).

    Other ablations and analyses

    • PDoS measurement: the trojan short-circuit current is 0.99 A and the local temperature exceeds 170°C; the sensor did not recover after power cycling; the authors state the short occurs on the analog switch inserted by the trojan itself, bypassing the sensor's native overcurrent protection (Fig. 11(a)).
    • Infrared intrusion detection: continuous 4-hour monitoring correctly identified all 47 people with zero false alarms and 100% similarity; ultrasound triggering at 1 m can cause the sensor to miss or falsely report human presence (Fig. 12).
    • Temperature trace-length mechanism: a 10 cm wire produces an 11.6°C drop at 789 MHz and a 27.1°C rise at 710 MHz; a 1 cm wire produces a 2.2 °C drop and a 5.6 °C rise at 1185 MHz and 1298 MHz, respectively (Fig. 17).
    • Defense analysis: the authors state that EM leakage detection is ineffective against PED trojans (the EM leakage changes caused by component parameter perturbations are negligible); impedance detection is difficult to make effective against PED trojans that only change trace length; runtime anomaly detection (sensor fusion consistency checks, spectral noise scanning) can identify attack traces.
  5. What are some points that can be further explored?

    The authors discuss detection difficulties and recovery costs; the experiments are limited to circuit board prototypes and 14 sensors.

    Limitations and future directions noted by the authors

    • EM leakage detection is ineffective against PED (Sec. VI-B): The authors state that the electromagnetic leakage changes produced by the PED Trojan's small component parameter perturbations are negligible, and active detection methods based on EM leakage are ineffective against it.
    • Blind spots of impedance detection (Sec. VI-B): The authors state that PED Trojans that only change wire length may be difficult for impedance-based tamper detection to find; LRD Trojans switching signal paths after activation change impedance and may be exposed to impedance monitoring with a trusted reference.
    • Evasion of functional testing (Sec. VI-B): The authors state that activation relying on duration or specific patterns can evade functional testing, because long-duration injection is infeasible in practical detection.
    • Recovery cost (Sec. III-C): The authors state that the static deception effect persists after activation without continuous intervention, and recovery may require a system reset or sensor replacement.
    • Gap between prototype and final form (Sec. V-B1): The authors explain that the circuit board prototype is used to verify attack functionality and does not represent the final physical form of a supply-chain implant; a real attack could be miniaturized using standard PCBs and surface-mount technology; the evaluation focuses on Trojan effectiveness and hardware overhead rather than physical miniaturization.
    • Defense directions (Sec. VI): The authors propose passive shielding (metal enclosures, light-blocking materials, acoustic foam) and active detection (EM leakage analysis, functional testing, impedance detection, runtime anomaly detection) as potential defenses, and emphasize that designers need to remain vigilant against this threat.

    Scope of experimental coverage

    • Test subjects: 14 commercial sensors, covering 6 transduction principles: light, temperature, microphone, infrared, pressure, tilt (Table II); the Trojan mechanism for each category modified one representative sensor.
    • Trigger modalities: The experiments cover four modalities: laser, ultrasound, sound, EMI (Fig. 9).
    • Trial scale: STR used 50 independent trigger trials per Trojan; FTR scenarios included 72 hours of continuous monitoring (light), 10 hours of MUSAN audio (microphone), 4 hours of office monitoring (infrared), and 10 hours of laboratory and office environments (PED microphone).
    • System-level validation: HIL braking simulation (CarSim + Simulink), STK flight simulation, recognition tests on three ASR systems (IFlytek, OpenAI, Azure).
    • Not reported in the paper: the number of repetitions for trials in each scenario (other than the 50 STR trials), the specific sample size of the ASR tests, and quantitative evaluation results for the defense schemes (shielding and active detection).
  6. Summarize the main content of the paper

    SenTrojan introduces hardware trojans into analog sensor circuits, with measured STR of 82%–100% on 14 sensors.

    An attack paper on sensor supply-chain security, studying the threat model of implanting hardware trojans into a sensor's analog signal circuitry before deployment and activating them with external physical signals.

    • Problem addressed: the authors state that existing sensor attacks rely on unintentional, model-specific physical vulnerabilities, with limited generality and effects that are difficult to sustain; trojans in analog sensor circuits are largely unexplored.
    • Method highlights: the SenTrojan framework contains two designs—the LRD trojan uses a high-impedance parallel monitoring circuit to detect frequency and amplitude features and, after capacitor-charging-based duration verification (default 4 seconds), triggers the payload, enabling static deception, dynamic deception, and PDoS; the PED trojan adds no explicit trigger logic and instead tunes inherent analog effects such as amplifier saturation, rectification, envelope detection, over-amplification, and transducer nonlinearity to achieve the attack with minimal components.
    • Main results:
      • On 14 sensors and 6 transduction principles, the authors report STR 82%–100%, similarity 97.8%–100%, and FTR of 0% for the LRD design (Table II).
      • Microphone DoS distance extended from 0.5 m for direct attack to 5.1 m, with a 100% deception success rate; tilt sensor deviation up to 159°; temperature deviation amplified 4.9 times (Table I).
      • For hardware overhead, average deviations of drift, noise floor, and response time are below 5%; on some low-power sensors the PED power deviation exceeds 10%.
      • In HIL simulation, the brake pressure sensor being set to 0 caused the vehicle to crash into the obstacle; in STK simulation, a 30° attitude deviation caused the aircraft to roll right and lose altitude; demodulated commands were recognized by three ASR systems and opened the car door.
    • Authors' conclusions and implications: the authors state that SenTrojan extends sensor security from exploiting unintentional physical vulnerabilities to active supply-chain implantation; existing EM leakage detection is ineffective against PED trojans; the authors propose potential defense directions such as passive shielding and active detection, and call on designers to pay attention to this threat.
Read originalarxiv.org