WO2020144478A1 - Detection of pulse width tampering of signals - Google Patents

Detection of pulse width tampering of signals Download PDF

Info

Publication number
WO2020144478A1
WO2020144478A1 PCT/GB2020/050037 GB2020050037W WO2020144478A1 WO 2020144478 A1 WO2020144478 A1 WO 2020144478A1 GB 2020050037 W GB2020050037 W GB 2020050037W WO 2020144478 A1 WO2020144478 A1 WO 2020144478A1
Authority
WO
WIPO (PCT)
Prior art keywords
under test
voltage
signal
signal under
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/GB2020/050037
Other languages
French (fr)
Inventor
Subbayya Chowdary Yanamadala
Mikael Yves Marie Rien
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ARM Ltd
Original Assignee
ARM Ltd
Advanced Risc Machines Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ARM Ltd, Advanced Risc Machines Ltd filed Critical ARM Ltd
Priority to GB2111116.6A priority Critical patent/GB2595112B/en
Priority to JP2021539595A priority patent/JP7631199B2/en
Priority to CN202080007709.8A priority patent/CN113260870A/en
Publication of WO2020144478A1 publication Critical patent/WO2020144478A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration
    • G01R29/023Measuring pulse width
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/31719Security aspects, e.g. preventing unauthorised access during test
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2851Testing of integrated circuits [IC]
    • G01R31/2882Testing timing characteristics
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318583Design for test
    • G01R31/318588Security aspects

Definitions

  • a sensor and method of using the sensor are described herein that can be employed in an electronic system to monitor a signal and determine if tampering of the signal with respect to the pulse width of the signal has occurred.
  • the monitored signals can include, but are not limited to, clocking signals (e.g., system clocks or cryptographic clock) and control signals (e.g., reset).
  • a monitored signal can be referred to as a“signal under test”.
  • the sensor system described herein can include a sensor comprising a charge storage device (CSD) controllably connected to a voltage source under control of a signal under test (SUT), and a readout circuit coupled to the CSD.
  • the SUT can directly or indirectly control the connection of the CSD to the voltage source.
  • the readout circuit can determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the CSD.
  • the voltage of the CSD is related to the pulse width of the SUT.
  • the readout circuit can determine whether the pulse width of the SUT has been tampered with based directly or indirectly on the voltage of the CSD.
  • a method of operating the sensor can include capturing at least one duty cycle of a pulse width of the signal under test and evaluating the duty cycle to determine whether tampering has occurred.
  • the evaluating of the duty cycle can include determining whether the CSD voltage satisfies the condition with respect to a comparison voltage.
  • a sensor enable signal is used to control when the sensor operates.
  • the sensor can operate (to provide the monitoring for pulse width tampering) based on a periodic and pre-determined schedule, a random schedule, a triggering event, a triggering command, or a triggering environmental or operating condition.
  • multiple sensors are used to monitor a signal under test, where the CSD voltage of each of the multiple sensors are compared to each other to ensure that the voltage is consistent within a tolerance band.
  • multiple sensors are used to monitor different signals under test, and the voltage values are compared to check relative consistency.
  • a CSD voltage of a single sensor or from multiple sensors are compared to a preset value or values.
  • Figure 1 shows an example electronic system that may incorporate the pulse width detection described herein.
  • Figure 7 shows a graph of V CSD versus time.
  • Figure 8A shows an example waveform of a signal that may be monitored for tampering.
  • Figures 8B and 8C show examples of pulse width tampering of the signal shown in Figure 8A.
  • the described sensor and method of using the same as described herein may be implemented in any electronic system such as an integrated circuit (IC), a system on a chip (SOC), or a board level system that contains at least one signal providing a time base or other periodic signal with consistent pulse width.
  • IC integrated circuit
  • SOC system on a chip
  • board level system that contains at least one signal providing a time base or other periodic signal with consistent pulse width.
  • FIG. 1 shows an example electronic system that may incorporate the pulse width detection described herein.
  • the example electronic system 100 can have a non-secure power domain 102 and a secure power domain 104, where the power domains represent power supply mechanisms to the circuitry within their domains. That is, the electronic system 100 can include multiple time bases that may or may not be related to each other.
  • time bases for the non-secure power domain 102 operations may include, but are not limited to, system clocks such as Sys Clk 1 106 and Sys Clk 2 108.
  • Time bases for secure power domain 104 operations may include, but are not limited to, a secure power time base (SPTB) 110, which may be used to control a charge distribution system for providing an isolated power supply for supplying power to sensitive circuitry (e.g., protected blocks 114), and a Cryptographic (Crypto) Clock 112.
  • SPTB secure power time base
  • the electronic system 100 may generate or use other signals (not shown), including control signals such as reset signals, that may have expected periodic behavior with consistent pulse width.
  • An example of a protected block 114 can be a standard cryptographic cell implementing cryptographic operations such as AES.
  • the secure power domain 104 may be derived from the non-secure power domain 102, independent of non-secure power domain 102, or isolated from the non-secure power domain 102.
  • the protected circuit blocks 114 can be powered as part of the secure power domain 104 either partially or in its entirety for a portion of a time, or an entire time.
  • a secure power domain 104 may include a power supply formed of a protective charge storage device and control switches to control the power to the protected blocks 114.
  • a plurality of power supplies e.g., a plurality of capacitors forming a capacitor system
  • the output of the capacitor system can become the input to the protected blocks 114.
  • the described sensor and detection method are suitable for systems incorporating a secure power domain as it can be beneficial to be able to detect the clock manipulation attacks that are used to extract sensitive information.
  • the described sensor and detection method are suitable for detecting manipulation or tampering of the SPTB.
  • the sensor system described herein can be implemented for any time base in the non-secure power domain 102 or secure power domain 104.
  • multiple detection systems and/or sensors may be used to detect manipulation of multiple signals within the electronic system 100.
  • Figures 2A and 2B show example implementations of a sensor for detecting pulse width tampering.
  • Figure 2A shows an implementation using a single switch and
  • Figure 2B shows an implementation using two switches.
  • a sensor 200A can include a charge storage device 202 controllably connected to a voltage source 204 under direct or indirect control of a signal under test 206.
  • a clock signal can be used as the signal under test 206.
  • the clock signal is built as a balanced clock tree network; and the clock signal can directly or indirectly control whether the charge storage device 202 is connected to the voltage source 204.
  • FIG. 2C shows an example implementation of a balanced clock tree network 220.
  • the clock source signal 222 can directly controllably connect the charge storage device 202 to the voltage source 204 (e.g., by being tapped at the source).
  • the clock source signal 222 can indirectly controllably connect the charge storage device 202 to the voltage source 204, for example, by being tapped at one of the branches.
  • one of the branches of the balanced clock tree network 224 can be used as the control signal (even though the clock source signal 222 is the intended signal under test in this illustrative scenario).
  • a readout circuit 208 can be coupled to the charge storage device 202 to determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the charge storage device.
  • the voltage of the charge storage device 202 is related to the pulse width of the signal under test 206.
  • the readout circuit 208 determines whether the pulse width of the signal under test 206 has changed greater than a threshold amount, which can indicate tampering of the signal.
  • the readout circuit 208 can determine whether the pulse width of the signal under test 206 has been tampered with by determining whether the voltage (VCSD) read from the charge storage device 202 satisfies a condition with respect to a comparison voltage.
  • the condition may be whether the difference between the charge storage device voltage and the comparison voltage is greater than a predetermined amount.
  • the comparison voltage may be a reference voltage or may be a voltage from another charge storage device of another sensor. In some cases, the comparison voltage may be the charge storage device voltage, but from a different point in time (e.g., from the same sensor but another time).
  • the readout circuit 208 can indirectly read the voltage of the charge storage device by monitoring the effects of the voltage change.
  • the voltage can be measured directly using analog measurement circuits.
  • readout circuit 208 can measure the frequency of an oscillator supplied by the voltage or can measure the propagation delay through a chain of gates powered by the voltage of the charge storage device 202 as some examples. The propagation delay of the chain of gates is proportional to the voltage of the charge storage device 202. Accordingly, in some cases, the readout circuit 208 includes a delay chain and can determine whether the pulse width of the signal under test has changed greater than the threshold amount based on propagation delay through the delay chain.
  • the voltage source 204 may be part of the sensor 200 or may be external to the sensor 200.
  • the signal under test 206 can be, for example, the SPTB, crypto clock, reset signal, or any other pulse signal.
  • the signal under test 206 can provide the input to a switch, SI 210, to controllably connect the voltage source 204 and the charge storage device 202.
  • SI 210 when SI 210 is closed, charge storage device 202 can charge.
  • a second switch, S2 212 can be included in the sensor 200, such as provided for sensor 200B shown in Figure 2B.
  • a third switch, S3 214 can be coupled in parallel with the charge storage device 202. When S3 214 is closed, the charge in the charge storage device 202 can be discharged either partially or completely.
  • the charge storage device 202 is shown as a capacitor, however, other devices that are capable of holding a charge could also be used for the charge storage device.
  • the sensor may or may not need to continuously monitor the signal under test.
  • a command signal can be used to control monitoring of the signal under test.
  • a conditioning circuit can be coupled to the input of the sensor to control monitoring of the signal under test and remove transient signals for cleaner switching.
  • Figure 3 shows an example implementation of a sensor with a conditioning circuit.
  • the conditioning circuit 300 can be, for example, a latching device.
  • the conditioning circuit 300 can be used to latch the positive edge or negative edge of an incoming signal under test 306 and remove transient signals prior to the sensor 302 receiving the signal under test.
  • the conditioning circuit can be coupled to receive a command signal 304 and the signal under test 306 (which may be a signal such as described with respect to signal 206 of Figures 2A and 2B).
  • the conditioning circuit 300 can receive the command signal 304 from a processor.
  • the processor can be either internal to the electronic system or external to the electronic system. Monitoring of the signal under test commences when the conditioning circuit 300 receives the command signal 304 from the processor.
  • a method of detecting pulse width tampering can include capturing a duty cycle of the pulse width of the signal under test and evaluating the duty cycle.
  • Figure 4 shows a process flow for a method of pulse width detection using a sensing system as described herein.
  • the process 400 can be performed by a sensor system with a sensor and readout circuit such as described with respect to Figures 2A and 2B.
  • a conditioning circuit 300 such as illustrated in Figure 3 can be used to control when the sensor system begins monitoring. That is, when the sensor system includes a conditioning circuit, the method 400 commences when a command signal to begin monitoring is sent by a processor.
  • the monitoring may be controlled by any suitable mechanism and even not require a trigger (e.g., the sensor system may run whenever there is power to the electronic system).
  • the sensor may receive a positive edge or a negative edge of a pulse width of the signal under test (404).
  • switch SI and (optionally) S2 close and S3 opens, allowing the charge storage device (CSD) to begin charging (406).
  • the CSD continues charging until the sensor receives an edge of opposite polarity of the pulse width (408).
  • switch SI and (optionally) S2 open (410A).
  • the switch S3 receives the inverted signal under test and therefore may close (410B) after a slight delay, causing the CSD to begin discharging.
  • the CSD may discharge after receiving a first negative edge of the pulse width or the CSD may build charge for a specified number of multiple pulse cycles. If the CSD builds charge for a specified number of multiple pulse cycles, it will begin discharging upon the negative edge of the final pulse of the specified number of multiple pulse cycles.
  • the readout circuit captures the voltage off the CSD, VCSD, (412).
  • the readout circuit can capture the voltage VCSD while all switches are open, for example, due to the delay caused by the signal path of the signal under test through the inverter (or due to other circuitry controlling when the switch S3 is to be switched.
  • the readout circuit reads the voltage while the CSD is building charge such that the voltage is evaluated while the switches are closed for the duration of the pulse of the signal under test. Once VCSD is captured, the readout circuit evaluates VCSD to determine whether tampering has occurred (414). As mentioned above, the CSD then discharges (410B).
  • Figure 5 shows an example implementation of a signal tree in an electronic system.
  • the signal tree illustrated in Figure 5 reflects an example pathway of a signal that may branch out through an electronic system.
  • the described sensor may be coupled to any one of the branches in the tree.
  • multiple sensors may be positioned throughout an electronic system 500 to monitor the signal under test.
  • the signal under test may be a time base 502 generated, for example, by circuit on a motherboard or other substrate (not shown) that an electronic system is disposed on or via an on-chip clock generator.
  • a sensor 504 can be positioned to monitor the time base 502 prior to the branching of the signal tree (whether on chip or off chip).
  • a sensor 506 can be positioned on a branch 505A.
  • multiple sensors for example sensors 506 and 508, can be positioned on the same branch (e.g., 505A), or at different branches throughout the tree, such as sensor 508 on branch 505A and sensor 510 on branch 505C.
  • a plurality of sensors can have their V CSD compared to each other or to a preset reference value or a set of preset reference values stored in memory.
  • the one or more readout circuits can include a single comparator circuit that can be used to compare VCSD values from multiple sensors to determine if the values are within a threshold amount.
  • Figure 8A shows an example waveform of a signal that may be monitored for tampering; and Figures 8B and 8C show examples of pulse width tampering of the signal shown in Figure 8 A. Tampering is shown in duty cycle 3 for both Figure 8B and 8C.
  • the shortened duty cycle translates to a lower Vcs D than expected.
  • the lengthened duty cycle translates to a higher Vcs D than expected.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Storage Device Security (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

A sensor system can include a sensor having a charge storage device controllably connected to a voltage source under control of a signal under test; and a readout circuit coupled to the charge storage device to determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the charge storage device. In some cases, the determination of whether the pulse width of the signal under test has changed can include determining whether the voltage satisfies a condition with respect to a comparison voltage. In some cases, the determination of whether the pulse width of the signal under test has changed can be based on a propagation delay through a delay chain, where the propagation delay is dependent on the voltage.

Description

DETECTION OF PULSE WIDTH TAMPERING OF SIGNALS
BACKGROUND
[0001] Tampering, or hacking, of an electronic system can give unauthorized users access to sensitive information. Such tampering can include access to sensitive information by unintended methods. One of the techniques that unauthorized users, or adversaries, may use to obtain such sensitive information is to exploit the vulnerabilities that exist due to the implementation of the designs in integrated circuits (ICs). For example, a vulnerability may exist that enables an adversary to perform side-channel analysis attacks or fault injection attacks.
[0002] Attacks by adversaries can include manipulation of the time bases, such as the clock signal, or other control signals, any of which may determine the functioning of sensitive operations. Manipulating the time bases is generally referred to as clock manipulation attacks. In a clock manipulation attack, an adversary manipulates the time base with an objective of causing unintended behavior of a system that can be used to compromise the security of the system. Similar effects are also experienced when other signals with expected pulse widths (e.g., some control signals) are manipulated in the same manner.
BRIEF SUMMARY
[0003] Detection of pulse width tampering of signals are provided. A sensor and method of using the sensor are described herein that can be employed in an electronic system to monitor a signal and determine if tampering of the signal with respect to the pulse width of the signal has occurred. The monitored signals can include, but are not limited to, clocking signals (e.g., system clocks or cryptographic clock) and control signals (e.g., reset). A monitored signal can be referred to as a“signal under test”.
[0004] The sensor system described herein can include a sensor comprising a charge storage device (CSD) controllably connected to a voltage source under control of a signal under test (SUT), and a readout circuit coupled to the CSD. The SUT can directly or indirectly control the connection of the CSD to the voltage source. The readout circuit can determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the CSD. The voltage of the CSD is related to the pulse width of the SUT. Thus, the readout circuit can determine whether the pulse width of the SUT has been tampered with based directly or indirectly on the voltage of the CSD. For example, the readout circuit can determine a change in the pulse width of the SUT by determining whether the voltage read from the CSD (the“CSD voltage”) satisfies a condition with respect to a comparison voltage. The condition may be whether the difference between the CSD voltage and the comparison voltage is greater than a predetermined amount. The readout circuit can include or be coupled to a comparator. As another example, the readout circuit can include a delay chain and can determine a change in the pulse width of the SUT based on propagation delay through the delay chain (which is dependent on the CSD voltage).
[0005] A method of operating the sensor can include capturing at least one duty cycle of a pulse width of the signal under test and evaluating the duty cycle to determine whether tampering has occurred. The evaluating of the duty cycle can include determining whether the CSD voltage satisfies the condition with respect to a comparison voltage. In some cases, a sensor enable signal is used to control when the sensor operates. The sensor can operate (to provide the monitoring for pulse width tampering) based on a periodic and pre-determined schedule, a random schedule, a triggering event, a triggering command, or a triggering environmental or operating condition.
[0006] In some cases, multiple sensors are used to monitor a signal under test, where the CSD voltage of each of the multiple sensors are compared to each other to ensure that the voltage is consistent within a tolerance band. In some cases, multiple sensors are used to monitor different signals under test, and the voltage values are compared to check relative consistency. In some cases, a CSD voltage of a single sensor or from multiple sensors are compared to a preset value or values.
[0007] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 shows an example electronic system that may incorporate the pulse width detection described herein.
[0009] Figures 2A and 2B show example implementations of a sensor for detecting pulse width tampering. Figure 2A shows an implementation using a single switch and Figure 2B shows an implementation using two switches.
[0010] Figure 2C shows an example implementation of a balanced clock tree network. [0011] Figure 3 shows an example implementation of a sensor with a conditioning circuit.
[0012] Figure 4 shows a process flow for a method of pulse width detection using a sensing system as described herein.
[0013] Figure 5 shows an example implementation of a signal tree in an electronic system.
[0014] Figure 6 shows an example implementation of a comparator for comparing VCSD values.
[0015] Figure 7 shows a graph of VCSD versus time.
[0016] Figure 8A shows an example waveform of a signal that may be monitored for tampering.
[0017] Figures 8B and 8C show examples of pulse width tampering of the signal shown in Figure 8A.
DETAILED DESCRIPTION
[0018] Detection of pulse width tampering of signals are provided. A sensor and method of using the sensor are described herein that can be employed in an electronic system to monitor a signal and determine if tampering of the signal with respect to the pulse width of the signal has occurred. The monitored signals can include, but are not limited to, clocking signals (e.g., system clocks or cryptographic clock), control signals, reset signals, status signals, command bus signals, and data bus signals. A monitored signal can be referred to as a“signal under test”.
[0019] The described sensor and method of using the same as described herein may be implemented in any electronic system such as an integrated circuit (IC), a system on a chip (SOC), or a board level system that contains at least one signal providing a time base or other periodic signal with consistent pulse width.
[0020] Figure 1 shows an example electronic system that may incorporate the pulse width detection described herein. The example electronic system 100 can have a non-secure power domain 102 and a secure power domain 104, where the power domains represent power supply mechanisms to the circuitry within their domains. That is, the electronic system 100 can include multiple time bases that may or may not be related to each other. For example, time bases for the non-secure power domain 102 operations may include, but are not limited to, system clocks such as Sys Clk 1 106 and Sys Clk 2 108. Time bases for secure power domain 104 operations may include, but are not limited to, a secure power time base (SPTB) 110, which may be used to control a charge distribution system for providing an isolated power supply for supplying power to sensitive circuitry (e.g., protected blocks 114), and a Cryptographic (Crypto) Clock 112. In addition, the electronic system 100 may generate or use other signals (not shown), including control signals such as reset signals, that may have expected periodic behavior with consistent pulse width.
[0021] An example of a protected block 114 can be a standard cryptographic cell implementing cryptographic operations such as AES. The secure power domain 104 may be derived from the non-secure power domain 102, independent of non-secure power domain 102, or isolated from the non-secure power domain 102. The protected circuit blocks 114 can be powered as part of the secure power domain 104 either partially or in its entirety for a portion of a time, or an entire time. For example, a secure power domain 104 may include a power supply formed of a protective charge storage device and control switches to control the power to the protected blocks 114. In some cases, a plurality of power supplies (e.g., a plurality of capacitors forming a capacitor system) can be used to supply power for the secure power domain 104. The output of the capacitor system can become the input to the protected blocks 114.
[0022] The described sensor and detection method are suitable for systems incorporating a secure power domain as it can be beneficial to be able to detect the clock manipulation attacks that are used to extract sensitive information. For example, the described sensor and detection method are suitable for detecting manipulation or tampering of the SPTB. However, the sensor system described herein can be implemented for any time base in the non-secure power domain 102 or secure power domain 104. Furthermore, multiple detection systems and/or sensors may be used to detect manipulation of multiple signals within the electronic system 100.
[0023] Figures 2A and 2B show example implementations of a sensor for detecting pulse width tampering. Figure 2A shows an implementation using a single switch and Figure 2B shows an implementation using two switches. Referring to Figure 2A, a sensor 200A can include a charge storage device 202 controllably connected to a voltage source 204 under direct or indirect control of a signal under test 206. In some implementations, a clock signal can be used as the signal under test 206. Often, the clock signal is built as a balanced clock tree network; and the clock signal can directly or indirectly control whether the charge storage device 202 is connected to the voltage source 204.
[0024] Figure 2C shows an example implementation of a balanced clock tree network 220. The clock source signal 222 can directly controllably connect the charge storage device 202 to the voltage source 204 (e.g., by being tapped at the source). Alternatively, the clock source signal 222 can indirectly controllably connect the charge storage device 202 to the voltage source 204, for example, by being tapped at one of the branches. For example, one of the branches of the balanced clock tree network 224 can be used as the control signal (even though the clock source signal 222 is the intended signal under test in this illustrative scenario). It should be understood that direct/indirect control refers to whether it is the signal under test that is being used or a derivative signal and not whether there is a conditioning circuit (such as described below with respect to Figure 3) or other components enabling the signal under test to be coupled to the sensor and switch circuitry.
[0025] A readout circuit 208 can be coupled to the charge storage device 202 to determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the charge storage device. The voltage of the charge storage device 202 is related to the pulse width of the signal under test 206. The readout circuit 208 determines whether the pulse width of the signal under test 206 has changed greater than a threshold amount, which can indicate tampering of the signal. For example, since the voltage of the charge storage device 202 is related to the pulse width of the signal under test 206, the readout circuit 208 can determine whether the pulse width of the signal under test 206 has been tampered with by determining whether the voltage (VCSD) read from the charge storage device 202 satisfies a condition with respect to a comparison voltage. The condition may be whether the difference between the charge storage device voltage and the comparison voltage is greater than a predetermined amount. As will be described with respect to Figure 6, the comparison voltage may be a reference voltage or may be a voltage from another charge storage device of another sensor. In some cases, the comparison voltage may be the charge storage device voltage, but from a different point in time (e.g., from the same sensor but another time).
[0026] In some cases, instead of directly reading the voltage off the charge storage device 202, the readout circuit 208 can indirectly read the voltage of the charge storage device by monitoring the effects of the voltage change. For direct monitoring, the voltage can be measured directly using analog measurement circuits. For indirect monitoring, readout circuit 208 can measure the frequency of an oscillator supplied by the voltage or can measure the propagation delay through a chain of gates powered by the voltage of the charge storage device 202 as some examples. The propagation delay of the chain of gates is proportional to the voltage of the charge storage device 202. Accordingly, in some cases, the readout circuit 208 includes a delay chain and can determine whether the pulse width of the signal under test has changed greater than the threshold amount based on propagation delay through the delay chain.
[0027] The voltage source 204 may be part of the sensor 200 or may be external to the sensor 200. The signal under test 206 can be, for example, the SPTB, crypto clock, reset signal, or any other pulse signal. The signal under test 206 can provide the input to a switch, SI 210, to controllably connect the voltage source 204 and the charge storage device 202. For example, when SI 210 is closed, charge storage device 202 can charge. Optionally, a second switch, S2 212, can be included in the sensor 200, such as provided for sensor 200B shown in Figure 2B. Referring to both Figures 2A and 2B, a third switch, S3 214, can be coupled in parallel with the charge storage device 202. When S3 214 is closed, the charge in the charge storage device 202 can be discharged either partially or completely.
[0028] Switches SI, S2, and S3 can each be controlled by the characteristics of the signal under test 206. For example, S 1 210 and S2 212 can both be controlled by the signal under test 206; and S3 214 can be controlled by the inverse signal of the signal under test (e.g., the inverted signal under test).
[0029] In Figures 2A and 2B, the charge storage device 202 is shown as a capacitor, however, other devices that are capable of holding a charge could also be used for the charge storage device.
[0030] The sensor may or may not need to continuously monitor the signal under test. A command signal can be used to control monitoring of the signal under test. In some cases, a conditioning circuit can be coupled to the input of the sensor to control monitoring of the signal under test and remove transient signals for cleaner switching. Figure 3 shows an example implementation of a sensor with a conditioning circuit. The conditioning circuit 300 can be, for example, a latching device. The conditioning circuit 300 can be used to latch the positive edge or negative edge of an incoming signal under test 306 and remove transient signals prior to the sensor 302 receiving the signal under test. The conditioning circuit can be coupled to receive a command signal 304 and the signal under test 306 (which may be a signal such as described with respect to signal 206 of Figures 2A and 2B). The conditioning circuit 300 can receive the command signal 304 from a processor. The processor can be either internal to the electronic system or external to the electronic system. Monitoring of the signal under test commences when the conditioning circuit 300 receives the command signal 304 from the processor.
[0031] The decision to send the command signal can be determined by one or more of the following methods: periodic and pre-determined schedule, randomly scheduled, triggered by an event, triggered by a command, or triggered by an environmental or operating condition. Upon receiving the command signal 304 to monitor the signal under test, the conditioning circuit 300 can latch the positive edge or negative edge of the signal under test 306 and output a transient-removed signal under test 308 to the sensor 302. In some cases, an inverter 310 can be coupled to the output of the conditioning circuit 300 to receive the transient removed signal under test 308 and provide the inverted signal under test 312 to the switch S3 (e.g., switch S3 214 of Figure 2A or Figure 2B). The inverter can be designed with an adequate delay time to permit measuring a voltage across the charge storage device, Cl, after Cl has charged.
[0032] A method of detecting pulse width tampering can include capturing a duty cycle of the pulse width of the signal under test and evaluating the duty cycle. Figure 4 shows a process flow for a method of pulse width detection using a sensing system as described herein. The process 400 can be performed by a sensor system with a sensor and readout circuit such as described with respect to Figures 2A and 2B. In the particular example, a conditioning circuit 300 such as illustrated in Figure 3 can be used to control when the sensor system begins monitoring. That is, when the sensor system includes a conditioning circuit, the method 400 commences when a command signal to begin monitoring is sent by a processor. Of course, the monitoring may be controlled by any suitable mechanism and even not require a trigger (e.g., the sensor system may run whenever there is power to the electronic system).
[0033] Once the sensor system begins monitoring the signal under test (SUT) (402), the sensor may receive a positive edge or a negative edge of a pulse width of the signal under test (404). Upon receiving the positive edge or negative edge of a pulse width, switch SI and (optionally) S2 close and S3 opens, allowing the charge storage device (CSD) to begin charging (406). The CSD continues charging until the sensor receives an edge of opposite polarity of the pulse width (408). Upon receiving the edge of opposite polarity of the pulse width, switch SI and (optionally) S2 open (410A). The switch S3 receives the inverted signal under test and therefore may close (410B) after a slight delay, causing the CSD to begin discharging. The CSD may discharge after receiving a first negative edge of the pulse width or the CSD may build charge for a specified number of multiple pulse cycles. If the CSD builds charge for a specified number of multiple pulse cycles, it will begin discharging upon the negative edge of the final pulse of the specified number of multiple pulse cycles. In any case, between the operations 410A and 410B resulting from the signal under test, the readout circuit captures the voltage off the CSD, VCSD, (412). The readout circuit can capture the voltage VCSD while all switches are open, for example, due to the delay caused by the signal path of the signal under test through the inverter (or due to other circuitry controlling when the switch S3 is to be switched. In some cases, the readout circuit reads the voltage while the CSD is building charge such that the voltage is evaluated while the switches are closed for the duration of the pulse of the signal under test. Once VCSD is captured, the readout circuit evaluates VCSD to determine whether tampering has occurred (414). As mentioned above, the CSD then discharges (410B).
[0034] Figure 5 shows an example implementation of a signal tree in an electronic system. The signal tree illustrated in Figure 5 reflects an example pathway of a signal that may branch out through an electronic system. The described sensor may be coupled to any one of the branches in the tree. In some cases, multiple sensors may be positioned throughout an electronic system 500 to monitor the signal under test. The signal under test may be a time base 502 generated, for example, by circuit on a motherboard or other substrate (not shown) that an electronic system is disposed on or via an on-chip clock generator. A sensor 504 can be positioned to monitor the time base 502 prior to the branching of the signal tree (whether on chip or off chip). In some cases, a sensor 506 can be positioned on a branch 505A. Alternatively, multiple sensors, for example sensors 506 and 508, can be positioned on the same branch (e.g., 505A), or at different branches throughout the tree, such as sensor 508 on branch 505A and sensor 510 on branch 505C.
[0035] The time base 502 can be distributed to multiple functional blocks within an electronic system 500 according to the signal tree configuration such that different branches may operate using the original time base or a variation of the original time base. Each sensor in the signal tree can be coupled to a readout circuit that receives a VCSD value for that sensor. The voltage read from each sensor for a single branch (e.g., via sensors 506 and 508) can be compared to determine if the values of each sensor’s VCSD is within a tolerance band.
[0036] In some cases, multiple sensors (e.g., 508 and 510) that are positioned on different branches (e.g., 505A and 505C) to monitor, for example, different time bases, can be evaluated. The readout circuits for each sensor can measure each sensor’s VCSD and check the relative consistency of the time base characteristics, such as pulse width.
[0037] In some cases, a single readout circuit can be switchably coupled to a plurality of sensors.
[0038] In some cases, a plurality of sensors can have their VCSD compared to each other or to a preset reference value or a set of preset reference values stored in memory. The one or more readout circuits can include a single comparator circuit that can be used to compare VCSD values from multiple sensors to determine if the values are within a threshold amount.
[0039] Figure 6 shows an example implementation of a comparator for comparing VCSD values. The comparator system 600 can include a comparator 602 selectively coupled to receive multiple inputs. A controller (not shown) can selectively control the inputs to the comparator 602 using a switching mechanism 604. Switching mechanism 604 can be an array of switches. The controller may be a dedicated controller or part of the electronic system. The inputs can be VCSD values captured (via corresponding readout circuits) from different sensors throughout an electronic system. In some cases, one or more preset values stored in memory may be used as a reference voltage for the comparator 602.
[0040] The controller can selectively control the inputs to the comparator to compare VCSD values on different branches within a signal tree, VCSD values on the same branch of a signal tree, or VCSD values to a preset reference value. In some cases, a prior VCSD value is used as an input to the comparator to compare a current VCSD value with its VCSD value (which may be stored in a register or storage unit selectively coupled to the comparator 602 via the switching mechanism 604. The multitude of VCSD values are represented in Figure 6 as VCSDI, VCSD2, · · · , VcsDn· If the difference between the VCSD values is greater than a threshold value, the comparator 602 will output an“alert” signal to alert the electronic system of possible tampering. The electronic system can then initiate countermeasures to mitigate the damage from an attack. Alternatively, the comparator system 600 can include a multitude of comparators (not shown) to selectively compare multiple inputs at the same time. For example, the comparator system 600 can include a multitude of 2-input comparators to compare, two-by-two, the voltages from the multiple inputs.
[0041] Figure 7 shows a graph of VCSD versus time. The value of VCSD is directly related to the time the CSD is allowed to charge. Referring to Figure 7, the graph shows a voltage threshold range, Tcik _max and for values of VCSD· The signal under test can be
Figure imgf000010_0001
considered tamper- free if the value of VCSD is between these threshold values. As shown, VCSD increases with time until VCSD reaches a saturation point in which the maximum operating limit is reached, which is determined by the physical constraints of the CSD. If a pulse width is shorter than expected, the CSD will not be allowed to fully charge and VCSD will be below the threshold amount. Conversely, if a pulse width is longer than expected, the CSD will charge above the threshold amount.
[0042] Figure 8A shows an example waveform of a signal that may be monitored for tampering; and Figures 8B and 8C show examples of pulse width tampering of the signal shown in Figure 8 A. Tampering is shown in duty cycle 3 for both Figure 8B and 8C. In Figure 8B, the shortened duty cycle translates to a lower VcsD than expected. In Figure 8C, the lengthened duty cycle translates to a higher VcsDthan expected.
[0043] Although the subject matter has been described in language specific to structural features and/or acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as examples of implementing the claims and other equivalent features and acts are intended to be within the scope of the claims.

Claims

CLAIMS What is claimed is:
1. A sensor system comprising:
a sensor comprising a charge storage device controllably connected to a voltage source under control of a signal under test; and
a readout circuit coupled to the charge storage device to determine whether the pulse width of the signal under test has changed greater than a threshold amount according to a voltage at the charge storage device, wherein the voltage at the charge storage device is related to a pulse width of the signal under test.
2. The sensor system of claim 1, wherein the charge storage device is controllably connected to the voltage source by at least one switch.
3. The sensor system of claim 2, wherein the charge storage device charges when the at least one switch is closed by the signal under test.
4. The sensor system of any of claims 1-3, wherein the sensor further comprises a discharge switch coupled in parallel to the charge storage device.
5. The sensor system of claim 4, wherein the discharge switch is controlled by an inverted signal of the signal under test.
6. The sensor system of any of claims 2-5, further comprising a conditioning circuit coupled to the at least one switch, wherein the conditioning circuit is coupled to receive a command signal and the signal under test and output a transient-removed signal under test to the at least one switch.
7. The sensor system of any of claims 1-6, wherein the readout circuit determines whether the pulse width of the signal under test has changed greater than the threshold amount by determining whether the voltage satisfies a condition with respect to a comparison voltage.
8. The sensor system of claim 7, wherein the comparison voltage is a reference voltage.
9. The sensor system of claim 7, wherein the comparison voltage is a voltage from another charge storage device of another sensor.
10. The sensor system of claim 7, wherein the comparison voltage is from the same sensor but from another time.
11. The sensor system of any of claims 1-6, wherein the readout circuit comprises a delay chain, wherein the readout circuit determines whether the pulse width of the signal under test has changed greater than the threshold amount based on propagation delay through the delay chain, the propagation delay being dependent on the voltage.
12. The sensor system of any of claims 1-11, wherein the readout circuit comprises a comparator.
13. The sensor system of any of claims 1-12, wherein the signal under test is a clock signal, a reset signal, a control signal, a status signal, a command bus signal or a data bus signal.
14. A method for detecting pulse width tampering of signals comprising:
receiving an edge of a pulse of a signal under test, wherein the edge is a positive edge or a negative edge;
coupling a charge storage device to a voltage source during a duration of the pulse of the signal under test;
reading a voltage value from the charge storage device;
after receiving an edge of opposite polarity of the pulse of the signal under test disconnecting the charge storage device from the voltage source; and
determining an occurrence of pulse width tampering by determining whether the voltage value satisfies a condition with respect to a comparison voltage.
15. The method of claim 14, wherein the signal under test is a clock signal.
PCT/GB2020/050037 2019-01-10 2020-01-08 Detection of pulse width tampering of signals Ceased WO2020144478A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
GB2111116.6A GB2595112B (en) 2019-01-10 2020-01-08 Detection of pulse width tampering of signals
JP2021539595A JP7631199B2 (en) 2019-01-10 2020-01-08 Detecting pulse width tampering of signals
CN202080007709.8A CN113260870A (en) 2019-01-10 2020-01-08 Detection of signal pulse width tampering

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/244,364 US11022637B2 (en) 2019-01-10 2019-01-10 Detection of pulse width tampering of signals
US16/244,364 2019-01-10

Publications (1)

Publication Number Publication Date
WO2020144478A1 true WO2020144478A1 (en) 2020-07-16

Family

ID=69174524

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2020/050037 Ceased WO2020144478A1 (en) 2019-01-10 2020-01-08 Detection of pulse width tampering of signals

Country Status (5)

Country Link
US (1) US11022637B2 (en)
JP (1) JP7631199B2 (en)
CN (1) CN113260870A (en)
GB (1) GB2595112B (en)
WO (1) WO2020144478A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI775479B (en) * 2021-06-08 2022-08-21 黑澤科技股份有限公司 Circuit detection device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115480146B (en) * 2021-06-15 2025-09-30 黑泽科技股份有限公司 Circuit sensing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050210A (en) * 2006-12-01 2008-06-05 한국전자통신연구원 Frequency sensing device
US20080309396A1 (en) * 2007-06-14 2008-12-18 Seung-Won Lee Hacking Detector Circuit For Semiconductor Integrated Circuit and Detecting Method Thereof
US20090252068A1 (en) * 2008-04-08 2009-10-08 Stmicroelectronics (Rousset) Sas Detection of data received by a master device in a single-wire communication protocol
US20120139577A1 (en) * 2010-12-07 2012-06-07 Samsung Electronics Co., Ltd. Hacking detecting device, integrated circuit and method of detecting a hacking attempt
EP2573716A2 (en) * 2011-09-20 2013-03-27 Nxp B.V. Secure device anti-tampering circuit

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS517861A (en) * 1974-07-09 1976-01-22 Nissan Motor PARUSUHABAHANTEIKAIRO
JPS517860A (en) * 1974-07-09 1976-01-22 Nissan Motor PARUSUHABAHANTEIKAIRO
JPH1094269A (en) * 1996-09-11 1998-04-10 Toshiba Corp Inverter device
JP3481921B2 (en) * 2001-06-12 2003-12-22 Necマイクロシステム株式会社 Circuit pattern arranging method and register circuit to which this arranging method is applied
JP2003296680A (en) * 2002-03-29 2003-10-17 Hitachi Ltd Data processing device
CN100334455C (en) * 2003-04-10 2007-08-29 富士通株式会社 Pulse Width Measuring Device with Autoranging
JP4134845B2 (en) * 2003-08-19 2008-08-20 株式会社デンソー Signal generation circuit, fail-safe circuit
JP2005091206A (en) * 2003-09-18 2005-04-07 Matsushita Electric Ind Co Ltd Pulse time width measuring apparatus and pulse time width measuring method
US7603602B2 (en) * 2006-11-27 2009-10-13 Faraday Technology Corp. Built-in self test circuit for analog-to-digital converter and phase lock loop and the testing methods thereof
US8065102B2 (en) * 2008-08-28 2011-11-22 Advantest Corporation Pulse width measurement circuit
US8547433B2 (en) * 2008-11-09 2013-10-01 Haim Amir Extended life video camera system and method
US8232824B2 (en) * 2009-04-08 2012-07-31 Taiwan Semiconductor Manufacturing Company, Ltd. Clock circuit and method for pulsed latch circuits
CN101696996B (en) * 2009-10-16 2012-02-15 西安英洛华微电子有限公司 Pulse width signal duty factor detector
CN101964647B (en) * 2010-09-14 2012-10-24 日银Imp微电子有限公司 Pulse width signal duty ratio detection circuit
US9046570B2 (en) * 2012-08-03 2015-06-02 Freescale Semiconductor, Inc. Method and apparatus for limiting access to an integrated circuit (IC)
KR20170003041A (en) * 2015-06-30 2017-01-09 삼성전자주식회사 Device for Determining Effective User Input
US10418981B2 (en) * 2017-04-12 2019-09-17 Samsung Electronics Co., Ltd. System and method for calibrating pulse width and delay
US10955864B2 (en) * 2018-03-06 2021-03-23 Arm Limited Context-aware power network
US10964649B2 (en) * 2018-08-03 2021-03-30 Arm Limited Tamper detection in integrated circuits
US10753966B2 (en) * 2018-11-30 2020-08-25 Sequans Communications S.A. Duty cycle estimation
US11043102B1 (en) * 2019-01-10 2021-06-22 Arm Limited Detection of frequency modulation of a secure time base

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050210A (en) * 2006-12-01 2008-06-05 한국전자통신연구원 Frequency sensing device
US20080309396A1 (en) * 2007-06-14 2008-12-18 Seung-Won Lee Hacking Detector Circuit For Semiconductor Integrated Circuit and Detecting Method Thereof
US20090252068A1 (en) * 2008-04-08 2009-10-08 Stmicroelectronics (Rousset) Sas Detection of data received by a master device in a single-wire communication protocol
US20120139577A1 (en) * 2010-12-07 2012-06-07 Samsung Electronics Co., Ltd. Hacking detecting device, integrated circuit and method of detecting a hacking attempt
EP2573716A2 (en) * 2011-09-20 2013-03-27 Nxp B.V. Secure device anti-tampering circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"LECTURE NOTES IN COMPUTER SCIENCE", vol. 8651, 3 July 2014, SPRINGER BERLIN HEIDELBERG, Berlin, Heidelberg, ISBN: 978-3-54-045234-8, ISSN: 0302-9743, article MICHAEL WEINER ET AL: "A Low Area Probing Detector for Power Efficient Security ICs", pages: 185 - 197, XP055211155, DOI: 10.1007/978-3-319-13066-8_12 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI775479B (en) * 2021-06-08 2022-08-21 黑澤科技股份有限公司 Circuit detection device

Also Published As

Publication number Publication date
GB2595112B (en) 2023-01-04
JP2022516950A (en) 2022-03-03
GB202111116D0 (en) 2021-09-15
JP7631199B2 (en) 2025-02-18
US11022637B2 (en) 2021-06-01
US20200225270A1 (en) 2020-07-16
CN113260870A (en) 2021-08-13
GB2595112A (en) 2021-11-17

Similar Documents

Publication Publication Date Title
Zhang et al. RON: An on-chip ring oscillator network for hardware Trojan detection
Narasimhan et al. Multiple-parameter side-channel analysis: A non-invasive hardware Trojan detection approach
US9523736B2 (en) Detection of fault injection attacks using high-fanout networks
KR100824828B1 (en) Smart battery verification method and related system by measuring input charging voltage
Ngo et al. Hardware Trojan detection by delay and electromagnetic measurements
US10289840B2 (en) Integrated circuit with tamper protection and method therefor
CN114139145B (en) System and method for digital continuous tamper detection
Abdellatif et al. Silicontoaster: A cheap and programmable em injector for extracting secrets
Farheen et al. A twofold clock and voltage-based detection method for laser logic state imaging attack
JP7631199B2 (en) Detecting pulse width tampering of signals
Cao et al. Cluster-based distributed active current timer for hardware Trojan detection
Roy et al. Self-timed sensors for detecting static optical side channel attacks
KR102851745B1 (en) Detection of frequency manipulation of the security time axis
US9523737B2 (en) Insertion of faults into computer systems
Kaushik et al. A switched-capacitor power side-channel attack detection circuit in 65-nm CMOS
Xue et al. Hardware Trojan detection by timing measurement: Theory and implementation
Nemiroff et al. Fault-injection countermeasures, deployed at scale
US12498404B2 (en) Asynchronous peak hold circuit on an integrated circuit trace to monitor for voltage spikes caused by an electromagnetic pulse
Beckers et al. (Adversarial) electromagnetic disturbance in the industry
US12392822B2 (en) Voltage glitch detectors
Knichel et al. The risk of outsourcing: Hidden SCA trojans in third-party IP-cores threaten cryptographic ICs
US11971987B2 (en) Reducing logic locking key leakage through the scan chain
US20250208199A1 (en) Tamper-Aware Age Sensor
Wang et al. TroScan: Enhancing on-chip delivery resilience to physical attack through frequency-triggered key generation
Dutto et al. In-Situ FPGA Fault Injection with Short-Circuits

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20701093

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021539595

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 202111116

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20200108

WWE Wipo information: entry into national phase

Ref document number: 2111116.6

Country of ref document: GB

122 Ep: pct application non-entry in european phase

Ref document number: 20701093

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 2111116.6

Country of ref document: GB