Remote attestation of system integrity
By deploying sensors and processors in the power transmission network to measure and compare noise response characteristics, the problem of detecting and preventing power network tampering is solved, real-time identification and prevention of potential threats is achieved, and system security is ensured.
Patent Information
- Application Number
- CN201980026921.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-11
- Filing Date
- 2019-04-18
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-04-18
AI Technical Summary
It is difficult for existing technologies to effectively detect and prevent non-intrusive, semi-intrusive or intrusive tampering of power transmission networks, especially in situations such as differential power analysis, fault injection attacks and the addition of backdoor devices. It is difficult to promptly identify probes or malicious Attachment of circuits.
By deploying sensors in the power delivery network, measuring noise introduced in response to loads, determining dynamic response characteristics and comparing with reference dynamic response characteristics, triggering responses to detect external attacks, utilizing processors and secure memory for real-time comparison and response.
It realizes real-time monitoring and authentication of the power transmission network, can identify potential threats before attacks occur, prevent attackers from predicting and evading detection, and ensure system security.
Smart Images

Figure CN112005238B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to hardware security and, more particularly, to remotely detecting and mitigating attempted non-invasive, semi-invasive, or invasive tampering with power delivery networks. Background Art
[0002] Various attacks on hardware pose an increasing risk to security. One such attack is differential power analysis, where an oscilloscope probe is attached to the power rails on the printed circuit board (PCB) containing the victim system-on-chip (SoC). In this attack, the power supply decoupling capacitors are typically removed to increase the signal-to-noise ratio and / or frequency content of the power supply bypass leakage. Another such attack is called a fault injection attack, where a signal generator probe is attached to the power rail (or AC coupled through any other package pin(s)) as a precursor to the injected fault.
[0003] Additional attacks may involve adding additional circuitry at the PCB level / motherboard level to circumvent security features or for backdooring devices, examples of such devices are mod-chips on contemporary gaming consoles, backdoor devices for server motherboards, or sniffer-devices added to point-of-sale terminals (PoS) to intercept credit card information and forward it to a remote attacker. Most of these circuits draw power from the existing power supply inside the device and thereby change the dynamic response of the existing power supply circuitry. It is important to emphasize that this effect can be seen even at the regulator boundary, although the signal response is often worse. This means that for example a processor may observe an unexpected load on the upstream voltage rail at the regulator (LDO) boundary (at the expense of power supply ripple rejection (PSRR)), which is typically in the range of 40-70dB. This extends the scope of the present disclosure beyond the immediately accessible power network and may allow snooping of associated power networks (connected via linear regulators, DC / DC converters and similar devices).
[0004] Therefore, it is desirable to provide a new apparatus and method for remote authentication of a SoC to detect if and when a probe or malicious circuit has been attached, or other affordances are performed, even before injecting faults, opening backdoors, leaking internal information, or performing side-channel analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] The present disclosure is illustrated by way of example and not limitation in the accompanying drawings, in which like reference numerals indicate similar elements, and in which:
[0006] Figure 1is a high-level schematic diagram of an example shared power delivery network (PDN);
[0007] Figure 2 is based on Figure 1 A graph of the PDN input impedance (seen from the die) versus frequency for a simplified PDN;
[0008] Figure 3 is a graph of the current step excitation using three prominent system resonant frequencies in the PDN;
[0009] Figure 4 is a high-level block diagram of an example embodiment according to the present disclosure;
[0010] Figure 5 is a flow chart of a method for detecting changes in electrical characteristics in a system powered by a PDN according to an embodiment of the present disclosure;
[0011] Figure 6 is a high-level schematic diagram of an apparatus for implementing an embodiment of the present disclosure;
[0012] Figure 7 is a flow chart of a remote authentication method according to an embodiment of the present disclosure;
[0013] Figure 8 is a block diagram of a decimation step according to an embodiment of the present disclosure; and
[0014] Fig. 9 is a timing diagram of the test load, sampling window, and sampling values of the dynamic system load of the authentication method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0015] Specific embodiments of the present disclosure will now be described in detail with respect to the accompanying drawings. For simplicity and clarity of explanation, reference numerals may be repeated in the accompanying drawings to indicate corresponding or similar elements where deemed appropriate. In addition, in order to provide a thorough understanding of the examples described herein, many specific details are set forth. However, those skilled in the art will appreciate that the examples described herein may be practiced without these specific details. In other instances, well-known methods, processes, and components are not described in detail to avoid making the examples described herein difficult to understand. In addition, the description should not be viewed as limiting the scope of the examples described herein.
[0016] It will be appreciated that the examples and corresponding figures used herein are for illustrative purposes only. Different configurations and terms may be used without departing from the principles described herein. For example, components and modules may be added, deleted, modified, or arranged in different connections without departing from these principles.
[0017] In the following detailed description of the embodiments of the present disclosure, many specific details are set forth to provide a more thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced without these specific details. In other instances, in order to avoid unnecessarily complicating the description, well-known features are not described in detail.
[0018] It is to be understood that the terms used herein are intended to describe various embodiments according to the present disclosure and are not intended to be limiting. The terms "one" or "an" as used herein are defined as one or more than one. The term "plurality" as used herein is defined as two or more than two. The term "another" as used herein is defined as at least a second or more. The terms "include" and / or "have" as used herein are defined as including (i.e., open language). The term "coupled" as used herein is defined as connected, although not necessarily directly connected, nor mechanically connected. The term "provided" is defined herein in its broadest sense, for example, produced / actually exists, realized, and / or provided to someone or something in whole or in parts at one time or over a period of time.
[0019] As used herein, the terms "about" or "approximately" apply to all values, whether or not such values are explicitly stated. Such terms generally refer to a range of numbers that one skilled in the art considers to be equivalent to the stated value (i.e., having the same function or result). These terms may include numbers rounded to the nearest significant figure. In this document, any reference to the term "longitudinal" should be understood to mean in a direction corresponding to the direction of extension of a personal computing device from one terminal to an opposite terminal.
[0020] According to an embodiment of the present disclosure, a method for detecting changes in electrical characteristics in a system is provided. The method includes: in response to a load generated on a power delivery network that supplies power to at least a portion of the system, using one or more sensors located on the power delivery network to measure noise introduced in the power delivery network in response to the load. Based on the measured noise, a dynamic response characteristic of the power delivery network is determined; and the dynamic response characteristic of the power delivery network is compared with a reference dynamic response characteristic of the power delivery network based on a predetermined load. In the event that there is a difference between the dynamic response characteristic and the reference dynamic response characteristic, a response to the event will be triggered.
[0021] According to another embodiment of the present disclosure, a reference dynamic characteristic is generated by applying a test stimulus to the power delivery network. The test stimulus may include a sequence of instructions operable to cause a change in current consumption, embody an arbitrary signal, and / or be generated by custom hardware.
[0022] According to another embodiment of the present disclosure, the reference dynamic response characteristic is at least one of an impedance and a frequency response of the power transmission network.
[0023] According to yet another embodiment of the present disclosure, the method further includes: applying an arbitrary waveform or alternating current (AC) to a SoC power rail of the power delivery network along with the test stimulus.
[0024] According to yet another embodiment of the present disclosure, the reference dynamic response characteristic is stored in a secure memory.
[0025] According to yet another embodiment of the present disclosure, a plurality of reference dynamic response characteristics are stored in a secure memory, wherein the reference dynamic response characteristics simulate a plurality of predetermined types of system attacks.
[0026] According to another embodiment, the method further comprises measuring, via one or more sensors, a temperature of a board / die / track / PCB portion associated with the power delivery network under inspection.
[0027] According to yet another embodiment of the present disclosure, the method further includes: measuring humidity or condensation point of an environment associated with the power transmission network via one or more sensors.
[0028] According to another embodiment of the present disclosure, the method further includes: continuously or periodically comparing the dynamic response characteristic of the power transmission network with a reference dynamic response characteristic to trigger an event.
[0029] According to yet another embodiment of the present disclosure, one of first-order, second-order, and third-order deviations between the dynamic response characteristic and the reference dynamic response characteristic represent external attacks at one of a die, a package, and a printed circuit board (PCB), respectively.
[0030] According to another embodiment of the present disclosure, the comparison between the dynamic response characteristic and one or more reference dynamic response characteristics is performed in secure hardware.
[0031] According to yet another embodiment of the present disclosure, the dynamic response is a power rail voltage time domain response.
[0032] According to another embodiment of the present disclosure, the dynamic response characteristic is a current change rate (di / dt).
[0033] According to another embodiment of the present disclosure, there is provided a device for detecting changes in electrical characteristics in a system. The device includes one or more sensors located on a power delivery network, the one or more sensors being used to measure noise introduced into the power delivery network in response to a load on the power delivery network. The device also includes a processor (programmable or hardwired) operable to determine a dynamic response characteristic of the power delivery network based on the measured noise, and to compare the dynamic response characteristic of the power delivery network with one or more reference dynamic response characteristics of the power delivery network. In the event that there is a difference between the dynamic response characteristic and the one or more reference dynamic response characteristics, the processor is operable to trigger a response to the event.
[0034] According to another embodiment of the present disclosure, a processor is coupled to a secure memory for storing one or more reference dynamic response characteristics.
[0035] According to yet another embodiment of the present disclosure, the apparatus further includes a noise sensor operable to measure noise in a power rail of the power delivery network and a trigger circuit to generate an event when the noise drops below a predetermined threshold.
[0036] According to another embodiment of the present invention, a method for detecting changes in electrical characteristics in a system is provided. The method includes: generating a reference load on a power delivery network that powers at least a portion of the system, and using one or more sensors located on the power delivery network to measure a reference noise introduced in the power delivery network in response to the reference load. Based on the measured reference noise, one or more reference dynamic response characteristics of the power delivery network are determined; and the reference dynamic response characteristics are stored in a secure memory. The method also includes using one or more sensors located on the power delivery network to measure the reference noise introduced in the power delivery network in response to the applied load. Based on the measured noise, the dynamic response characteristics of the power delivery network in response to the applied load are determined; and the dynamic response characteristics of the power delivery network are compared with one or more reference dynamic response characteristics of the power delivery network. In the event that there is a difference between the dynamic response characteristics and the one or more reference dynamic response characteristics, a response to the event will be triggered.
[0037] refer to Figure 1, a high-level schematic diagram of an example power delivery network (PDN) 100 consisting of a die-package-printed circuit board (PCB) system is shown. Such a die-package-printed circuit board is disclosed in "Modeling and characterization of the system-level power delivery network for a dual-core arm cortex-a57 cluster in 28nm cmos" by S. Das, P. Whatmough and D. Bull, published in the 2015 IEEE / ACM International Symp. on Low Power Electronics and Design (ISLPED) held in July 2015, the contents of which are incorporated herein by reference. The die-package-PCB system is roughly depicted as and includes a die (chip) 102, a package 104 and a PCB 106. Multiple die switch transistors on the die are combined together and modeled as a current source I die The explicit on-die decoupling capacitor and the non-switching transistor act as a die The local charge reservoirs modeled. The power traces on the package and board are represented by RL networks. The discrete decoupling capacitors (C PKG ) ) and the bulk capacitor on the PCB (C BULK ) is modeled by a series capacitor using its effective series resistance (ESR) and inductance (ESL). Equation (1) represents the analytical solution for the voltage drop seen at the die power rail for a simplified model of such a PDN:
[0038] Equation 1:
[0039] The voltage drop can be decomposed into a DC IR drop term and an AC Ldi / dt term. The resistive component of the voltage drop is addressed by increasing the metallization resources in the PDN 100. The inductive component is a compromise between the package and the die and far exceeds the magnitude of the resistive drop in modern computing systems.
[0040] Reference now Figure 2 , depicting the Figure 1A graph 200 of PDN input impedance (seen from the die) versus frequency for a simplified PDN 100 is shown. The impedance spectrum shows three distinct impedance peaks that are attributed to each capacitor resonating with its corresponding inductor. The highest impedance peak (referred to as the "first order resonance") also occurs at the highest frequency (~100 MHz) due to the resonance between the die capacitance and the package inductance. The second and third order resonances are generated by the downstream capacitor network and occur at relatively low frequencies (~1 MHz and ~10 KHz for the second and third order resonances, respectively).
[0041] refer to Figure 3 , shows a graph 300 of a current step stimulus that, due to microarchitectural events such as pipeline interlocking, exercises three prominent system resonance frequencies in PDN 100. The largest magnitude of the voltage drop is caused by the first order resonance, which itself dominates the overall timing margin.
[0042] Reference now Figure 4 , depicts a high-level block diagram of an example embodiment 400 according to the present disclosure. One 4021 or more (4022 . . . 402 N ) An on-chip power rail noise monitoring sensor is coupled to the PDN 100. The power delivery network may include a network across power supply boundaries, LDOs, DC / DC converters. In an example embodiment, changes in electrical characteristics on one side of an optically isolated DC / DC converter may be detected using the disclosed method on the other side thereof by creating the sample load. The sensor(s) may be of the type disclosed in U.S. Patent Application Publication No. 2015 / 0137864, entitled “Circuit Delay Monitoring Apparatus and Method”, assigned to the assignee of the present application, the contents of which are incorporated herein in their entirety. The sensor (product name is “Vsurge”) utilizes a digital sampling oscilloscope that measures the sensor’s own power rail, and includes a trigger circuit for generating an event when the power rail drops below a programmable threshold. Block 404 represents a signal generator for generating an on-chip load as a signal generator for power supply noise. Advantageously, the dynamic response may be coordinated to occur at multiple points on a circuit board or chip—whether coordinated or uncoordinated. According to embodiments of the present disclosure, such excitation may occur at multiple points (optionally, time-diverse) to generate more complex patterns. These multiple points are conceptually and generally indicated by reference numerals 4011, 4012, . . . 401 NAs will be appreciated, the term "dynamic response" is to be interpreted broadly as the response of a system to a dynamic (i.e., time-varying) event. Thus, dynamic response is intended to include impulse response (the time domain response to an impulse function input; or its frequency domain equivalent), step response (the same, but for a step function input), peak resonant frequency, top N resonant peaks, frequency response, etc. As will be appreciated, such measurements can be transformed using conventional signal processing techniques (e.g., Fourier transforms).
[0043] like Figure 4 As shown, the on-chip power supply noise sensor 4021 and the load determine the impedance and frequency response of the power delivery network (off-chip and on-chip regulators, decoupling capacitors, parasitic capacitance, etc.), and the measurement is used to detect changes in the response due to the addition or removal of elements in the network (e.g., removal of decoupling capacitors, or additional inductance due to the insertion of probe wires into PCB tracks). The processor, generally represented by box 406, is used to implement the functions of the present disclosure as described in further detail below. The processor 406 is operably coupled to one or more sensors (4021, 4022...402 N ) and secure memory 408. The architecture disclosed herein can be implemented as a hardware and software co-design or a fully embedded on-chip hardware block. According to an embodiment of the present disclosure, additional software can be provided to drive the sensors (4021, 4022 ... 402 N The sensors themselves have a very small performance, power, and area (PPA) impact compared to the logic networks and logic gates of the system-on-chip (SoC), referred to in this article as the focus, and therefore the software can run on a low-power processor, or dedicated hardware blocks that implement these services can be used.
[0044] In general, the method according to an embodiment of the present disclosure generally includes three phases: characterization, protection, and reaction. During characterization, the response to the point of interest is characterized. During this phase, a stress test stimulus is applied (e.g., an instruction sequence causing a large change in current consumption, such as a mispredicted branch of a CPU core intellectual property (IP) block), and (one or more) sensors (4021, 4022, ... 4023) are used to detect the current consumption of the CPU core intellectual property (IP) block. N) to measure how the PDN 100 responds to the pulse. The (complex) frequency response of the power delivery network provides a measured indication of the impedance of the power network (S parameters). In addition to stress test stimuli, complex stimuli can also be used to generate arbitrary signals or waveforms, such as AC coupled to (one or more) SoC power rails, which can speed up the characterization phase. Another option is to use custom stimuli specific to the design and measure the response from the point of interest, which allows for faster response characterization. Optionally, custom hardware can be integrated with the sensor and can be used to generate stimuli for faster point of interest characterization. The features of the points of interest are stored in the secure memory 408 as golden reference features. In addition to these features, attacks can also be simulated and deviations from the responses of the points of interest can be stored for diagnostic purposes. The characterization phase can also be performed online to store historical responses. This is roughly represented by a server 414 coupled to a communication network 416. At a high level, the server 414 includes at least one processor 410 and a memory 412 for storing historical responses. In this way, two functions are enabled. First, the type of attack to be protected can be simulated and the responses of the points of interest can be collected. This enables the collection of attack response characterizations. Second, points of interest in the system can be continuously placed under response monitoring, and the responses can be compared to stored reference responses belonging to the attacked system in order to diagnose the type of attack. It will also be appreciated that the responses from the points of interest can be aggregated using many operating conditions that can be provided by other sensors and predictive models (such as temperature, humidity, humidity through condensation, aging, etc.), thereby improving their accuracy. In addition, the characteristics of the power distribution network are affected by the location of the observed points of interest. Therefore, multiple responses can be stored as golden references from multiple locations, and this can be used to further enhance the diagnostic capabilities of the type of threat / attack detected. During the protection phase, the system continuously and / or periodically applies the characterization phase to obtain data from the sensors (4021, 4022...402 N ) collect responses (dynamic response characteristics) from these sensors monitoring points of interest based on which the system response is formed. Deviations between the system response and the golden reference system response are used to detect potential threats and / or attacks that are imminent and / or occurring on the protected hardware. The threat can then be diagnosed to identify the type of threat (chaos, etc.) and its location. The first function can be achieved by using stored dynamic responses from simulated threats, or threats that have been diagnosed by other protection systems, while the latter function uses the location of the point of interest. Another option for diagnosing the location of the threat is the deviation of the PDN impedance compared to the golden reference value. As described above and in Figure 3The deviations from the first, second, and third order resonances shown in provide an indication of where the attack is occurring at the die, package, or PCB, respectively. The protection phase may occur continuously, thereby measuring the characteristics of the point of interest in real time. The comparison to the golden reference may be implemented in software executed on a low power processor (the same as used for characterization) and / or in dedicated hardware operable for this purpose (generally represented by box 406). The protection phase may be performed once during boot-up, and / or continuously or periodically at runtime.
[0045] According to the present disclosure, embodiments thereof prevent an attacker from predicting predetermined pulses and measurements and easily evading detection. In this regard, it will be appreciated that by aggregating many windows of data with random or pseudo-random time offsets, unpredictable background system behavior (systematic or non-systematic) can be eliminated. Such randomness decouples any sampling from the regularity of system power consumption. System power consumption typically has a much stronger signal than a weaker response to programmable application loads. By aggregating 100,000 time series windows (each with 10k sampled time series), system operation noise can be eliminated and (one or more) dynamic response signals can be emphasized for further analysis.
[0046] In the first example (simple power analysis case), the measurement is scheduled at a time when the power consumption mode is fully understood. This can be during a known power load profile of certain instructions using the load mode of the instruction, or by adding additional loads using a load circuit. In many cases, such measurements can be performed in the idle processor state of the CPU (optionally pausing unpredictable chip functions during the measurement). In this case, a single measurement time series window or several aggregated measurement windows can already produce a useful response pattern under low noise. In the second example (differential power analysis case), power measurement / load generation is ideally scheduled at random intervals, but with a fixed time relationship between the start of the pulse and the start of sampling. This allows all individual samples of multiple windows to be summed for the same time Delta_t / array index from the start of sampling. This produces an aggregation that averages the random effects on the sample and emphasizes the weak dynamic response of the signal of interest (hidden in the strong system operation noise). After 100,000 aggregation iterations of the time series sample window, the signal becomes much stronger than the noise associated with the system operation and can be used to determine the changes in the system response. By performing more aggregations or by increasing the load intensity of the test load on the power delivery network, the time and number of iterations required to capture the signal of interest, the impulse response, can be controlled. Depending on the current trust level of the system, the test load intensity or the time between running new time series sample sequences can be modified. This allows the system to reduce the time required to accurately measure the system response at the expense of power consumption and visibility to potential attackers.
[0047] refer to Figure 5, a flow chart of a method for detecting changes in electrical characteristics in a system powered at least in part by a power delivery network (PDN 100) is shown. The method starts at box 500 and proceeds to box 502, where in a collection phase, a reference load is generated on the power delivery network. For example, the reference load is generated by the signal generator 404 as described above. As described above, the test load intensity or the time between running new time series sample sequences can be modified. At box 504, in response to the reference load, one or more sensors (4021, 4022 ... 4023) located on the PDN 100 are used to generate a reference load. N ) to measure a reference noise introduced in the PDN 100. At reference block 506, one or more dynamic response characteristics are determined by the processor 406 based on the measured reference noise. At block 508, the processor stores the one or more reference dynamic response characteristics in the secure memory 408. Such (one or more) reference dynamic response characteristics ((one or more) golden references) are used to determine the presence of an attack. In the protection phase, at block 510, the noise introduced in the power delivery network is measured in response to an applied load using sensors located on the PDN 100. Based on the measured noise, at block 512, the dynamic response characteristics of the PDN 100 are determined in response to the applied load. At block 514, the processor 406 compares the dynamic response characteristics of the PDN 100 with one or more reference dynamic response characteristics of the PDN 100 stored. At block 516, if there is a difference between the dynamic response characteristics and the one or more reference dynamic response characteristics stored in the secure memory 408, then at block 518, the system will trigger a response to the event. The protection phase may continue, in which case the process loops back from blocks 516 and 518 to block 510. Otherwise, after a triggering event at block 518, the process terminates at block 520.
[0048] Reference now Figure 6, depicts a high-level schematic diagram of an apparatus 600 for implementing an embodiment of the present disclosure. The points of interest used may be characterized in the time domain of power rail voltage, the rate of change of current di / dt, the number of times a sensor triggers counts, and the frequency domain of its corresponding impedance. The load circuit is generally characterized by reference numeral 602. The trigger type of the sensor indicates whether the on-chip oscilloscope 604 is waiting for a trigger condition, and how to handle the arrival of such a trigger. The trigger engine 606 of the oscilloscope consists of blocks configured to provide flexibility in triggering sensors, similar to an external oscilloscope. Automatic triggers, event counters, and timestamp blocks also allow points of interest to be monitored, timed, and counted. These quantities are sensitive to the workload being performed and the electrical characteristics of the power delivery network and are described in detail in "Power integrity analysis of a 28nm dual-core arm cortex-a57 cluster using an all-digital power delivery monitor" by PN Whatmough, S. Das, Z. Hadjilambrou and DM Bull, IEEE Journal of Solid-State Circuits, Volume 52, Issue 6, June 2017, and in the aforementioned publication "Modeling and characterization of the system-level power delivery network for a dual-core arm cortex-a57 cluster in 28nm cmos". For the responses, statistically significant data from long stimulus sequences are used, so the threat of an attack that causes a systematic deviation of the response compared to a golden reference can be separated from insignificant events that cause random deviations of the response. For example, attaching an oscilloscope probe to a package pin can produce systematic changes in the network response due to the addition of parasitics (inductance / capacitance) or stubs to the network, or by changing the load on the line and causing changes in the response due to significant nonlinearity of components in the network (such as ceramic capacitors). Figure 6 The configuration shown can be modified to implement the differential power analysis case described above, but instead of replacing the samples in the SRAM buffer, the decimated output is added to each point (index). By having a wider register (i.e. 32 bits or more) for each point, many samples can be gathered for processing. As long as the trigger for starting sampling is randomly scheduled, the resulting SRAM buffer can eliminate system power noise.
[0049] When a threat has been detected, a reaction phase according to the present disclosure will be triggered. The reaction may vary depending on the system configuration and the type of threat: for example, locking the system, lowering its "trust score" (local and / or cloud management server), avoiding performing any sensitive operations (such as cryptographic operations) until the response returns the expected value, or otherwise suitable for the final application of the SoC. The reaction phase can be implemented in software, but for more secure applications, it is preferably implemented as a hardware design.
[0050] According to Figure 7-9 The embodiment of the present disclosure shown provides a method for deriving secure unique identification or authentication information from the dynamic response of the power delivery network of the SoC to the power demand stimulus as described above. This embodiment utilizes the power rail noise monitoring sensor and the above method, in which the dynamic response (impulse response, complex impedance, S parameters, etc.) of the power delivery network of the SoC and PCB level system is characterized / estimated. Those skilled in the art will appreciate that the ADC sensor used in the microcontroller (where the power supply voltage can be routed to the ADC and compared with the internal bandgap) allows the power supply voltage to be absolutely sampled. The load can be generated by a switchable load resistor on the SoC, or an existing switchable load resistor such as used on a GPIO pin that can be driven for power or signal rails. Alternatively, the output GPIO pin can be driven directly for GND, signal or power rails (power is limited by the driving circuit) to generate a transient high load. The embodiment of the present disclosure ensures that the voltage rail sensor can only be accessed by a privileged security level, which, among other things, prevents side channel attacks from the inside. The programmable on-chip load and the phase alignment of the load with the start of the short sampling window of one or more sensors on the power rail enable the system to capture tens of thousands or millions of windows. These windows are everywhere and randomly distributed (unpredictable to a potential attacker). This ensures that when the windows are averaged, system-level power deviations cancel each other out over time. At the same time, the disclosed embodiments emphasize the impact of small differences in the step response of a programmable load that is a constant distance from the sampling window.
[0051] From the above, the frequency response of the system can be derived, which is affected by small differences in the system PCB. This fingerprint can be obtained during the production process where the system is considered safe. Optionally, a discrete Fourier transform (DFT) can be performed on a focus window (high resolution) to identify the frequency / phase response.
[0052] The known good fingerprints are then stored in secure storage controlled by trusted code (Trustlets, v8M uVisor compartments, etc.)
[0053] The security fingerprint is continuously compared to the system state.
[0054] Windows can be clustered in blocks, or continuously in sliding windows of windows. This creates a low-pass function that establishes a baseline that eliminates noise generated by system activity.
[0055] The stored reference can be continuously updated during the life of the PCB to compensate for the aging of components such as capacitors.
[0056] The system is operable to detect step functions in changes in frequency and phase response by comparing the current response to a stored reference.
[0057] Since the reference is stored in a secure memory, detection of modifications to the main PCB can be obtained even after the circuit has been switched off for a short or long time.
[0058] A secure authentication key or identification key is provided at the protocol level, ideally chip-specific and preferably tied to the chip manufacturer via a certificate chain. Optionally, verification of the frequency response pattern can be achieved via a cloud service. The system only needs to forward the signed frequency response (time series or frequency distribution).
[0059] According to an embodiment of the present disclosure, the interested party sends a NONCE to the authenticating party. The trusted code performs a measurement or takes a reasonably new measurement and compares it to a stored reference. If the difference between the two is within an acceptable threshold, the system proves integrity to the interested party by replying "Yes, I can prove that my system has not been compromised - here is my response, including your NONCE, signed by the chip identification / authentication key." The NONCE ensures that attackers cannot replay these authentications, thereby proving freshness.
[0060] The generated authentication payload can be a simple square wave averaged over many windows, or a complex payload waveform at multiple spatially / temporally distinct points of the chip or board. The pattern can be constant for each remote party or each board (inferred from their public identity, optionally with the response encrypted with the requester public key). This makes attacks against the scheme more complex, as the payload pattern is not transferable across devices, and requires more complex countermeasures by the attacker.
[0061] Load coordination can be achieved across chip boundaries by synchronizing multiple chips to generate loads on power rails that are not directly accessible to the measurement chip, and / or by measuring local causes of remote load effects. Coordination synchronizes sampling with loads, allowing normal system loads to be removed from the measurement. Multiple reference signatures can be stored to reflect different behaviors under different load conditions (chip / board component enabled, or power gated), different power supply conditions, different battery discharge levels, battery impedance changes during discharge, different temperature levels, or humidity levels. The system is operable to select the appropriate content to compare at that point.
[0062] Known deviations can be parameterized on the model to interpolate the varying distribution of the frequency response depending on the battery impedance etc. This avoids storing multiple versions of the response.
[0063] In one embodiment, to avoid the requirement for a high speed ADC, the load resistance window may instead be shifted relative to a low speed ADC at a high resolution.Through additional oversampling, the time resolution may be increased.
[0064] Embodiments of the present disclosure may be used to verify the integrity of IO pins (both digital and analog) by performing ADC readings in parallel with IO operations. In this regard, a light load may be applied to the measurement pins by using integrated pull-up / pull-down resistors (100 kilo-ohms or higher impedance).
[0065] Reference now Figure 7 Flowchart of Figure 8 The block diagram and Fig. 9 , describing a method of remote authentication in hardware or software according to an embodiment of the present disclosure. The method starts at block 700, requesting authentication and receiving a remote NONCE, and then continues to block 702, where the system obtains a sample window (FN_GET_WINDOW).
[0066] In block 704, the system generates a true random number generator (TRNG), a pseudo random number generator (PRNG), or a non-periodic value t rnd .
[0067] In block 706, the system configures the timer to wait for t rnd Cycle - produces t rndWait time.
[0068] In block 708, during a configured time period t rndWait After expiration, the method proceeds to block 710 and starts the power rail voltage-current sensor ("VSurge" component 800, using the signal name VSURGE_SAMPLE_START Figure 8) capture process. VSURGE_SAMPLE_START will index counter INDEX_COUNTER ( Figure 8 ) is reset to zero and determines the currently active array index in the buffer VSURGE_SAMPLE_BUFFER. VSurge samples VSURGE_SAMPLE with a value of 12-bit resolution.
[0069] In block 712, each sample output of Vsurge (VSURGE_SAMPLE) is combined with the buffer by adding it to the current buffer value at index INDEX_COUNTER: SAMPLE_BUFFER[INDEX_COUNTER] += VSURGE_SAMPLE. In block 714, INDEX_COUNTER is incremented, the next VSURGE_SAMPLE is obtained, and the previous step (block 712) is repeated for all SAMPLE_BUFFER entries (in this case, 1024 buffer entries, each of 32 bits in size).
[0070] In block 716, at fixed times relative to VSURGE_SAMPLE_START, a test load pattern is generated. The pattern can be as simple as "increase the system load by 1 mA for 50% of the time in the sample window". The duration of the load determines the frequency response. In more complex scenarios, the test load pattern can be arbitrarily complex (digital or analog waveform). What is important is that the load pattern is the same for all aggregated windows and is always at the same time relative to VSURGE_SAMPLE_START. This is done in Fig. 9 , which is shown in timing diagram 900 of . Aggregation of multiple windows is performed (FN_GET_WINDOW_AGGREGATED). By running FN_GET_WINDOW multiple times, the VSURGE_SAMPLE value is aggregated relative to time for the sample load. Due to the non-periodic nature of scheduling FN_GET_WINDOW using VSURGE_SAMPLE_START, the system load becomes non-periodic / random relative to the start of the sample window. This enables the sample to asymptotically approach a single shared value for each entry of SAMPLE_BUFFER. Since the impulse response of the system is expected to be similar over multiple sample windows, the impact of the impulse response becomes significant in data over tens of thousands of aggregated windows. The example calculation for a 12-bit VSURGE_SAMPLE (aggregated in a 32-bit buffer register) allows 2 to be aggregated before the aggregate buffer overflows. 32-12 =2 20= 1048576 windows. As shown in this example calculation, approximately 1M windows can be aggregated. At this oversampling factor, system activity can be expected to average out due to the random / non-periodic scheduling of the VSURGE_SAMPLE_START signal and to emphasize the frequency response of the test load, thereby separating it from the noise of the system load. In most cases, the system load is expected to be 100 times or more the amplitude of the test load signal (i.e., up to 100mA system load, varying between 0.001mA and averaging approximately 10mA, with a test load of 1mA).
[0071] In block 718, the DC offset of the aggregated data is removed in post-processing and / or during aggregation to better utilize the buffer resolution. Removing the DC offset eliminates the effect of different average values of system load when comparing two waveforms collected under different load conditions.
[0072] The system then generates a golden reference waveform (FN_GET_WINDOW_AGGREGATED_REF). In block 720, the waveform FN_GET_WINDOW_AGGREGATED is captured in a trusted environment, preferably as the last step of the trusted manufacturing process.
[0073] In block 722, the waveform FN_GET_WINDOW_AGGREGATED is stored in trusted storage (optionally signed to prevent tampering, and associated with the root of the device's trust framework).
[0074] The system then verifies the golden reference waveform (FN_GET_WINDOW_AGGREGATED_ATTEST). In block 724, the waveform FN_GET_WINDOW_AGGREGATED is captured in the deployed system. Preferably, all hardware and software responsible for collecting and performing the verification steps are run in a trusted environment, such as a TrustZone, ARM SecureIsland (available from the assignee of the present application), or a dedicated secure processor. Peripherals such as timers and VSurge can only be accessed by the trusted domain to ensure that untrusted code cannot tamper with the collected data or logic.
[0075] In block 726, this waveform is then compared to the captured waveform FN_GET_WINDOW_AGGREGATED_REF (this comparison ideally occurs in a trusted domain). Multiple golden references may be stored for different environmental conditions (temperature ranges, humidity levels, battery voltage levels, battery impedance depending on discharge level, etc.). The golden reference is compared to the environmental condition that most closely matches the current environmental condition. If a closer "virtual golden reference" needs to be generated, then golden references for two adjacent environmental conditions may optionally be inserted. The golden reference and measured waveform may be compared directly (error squared analysis, etc.), or the frequency bands and signal amplitudes may be analyzed using a DFT or similar device. The stored reference will then be a set of frequency bands and the associated expected amplitudes of the signals in those bands, depending on the length / frequency composition of the test load pattern. The analysis method is as described above. The result of this analysis is either a match / mismatch output based on an internal threshold, or a confidence value associated with the confidence level of the system's proximity to the golden reference.
[0076] In block 728, the result is then cryptographically signed (public key signature or HMAC using a shared secret) - optionally adding a trusted / secure timestamp, sequence counter, or proof of freshness (such as a NONCE provided by the requester). All of the above processing is ideally protected by a trusted environment to prevent tampering of the logic or data or the signature secret before or after the signature is applied. The signature secret is ideally protected from external leaks.
[0077] Next, remote attestation of the golden reference waveform is performed (FN_GET_WINDOW_AGGREGATED_REMOTE_ATTEST). In block 730, the remote cloud server system triggers the FN_GET_WINDOW_AGGREGATED_ATTEST mechanism locally, for example by providing a server-generated random NONCE that must be co-signed with the trust value calculated in the FN_GET_WINDOW_AGGREGATED_ATTEST step.
[0078] In block 732, where there is a secure / non-secure split, the signature authentication including the NONCE and trust value result is transferred to the non-secure side.
[0079] In block 734, the fully untrusted network stack then returns the authentication packet to the cloud server.
[0080] In block 736, the server verifies that the authentication packet is consistent with the expected device identity (based on a shared HMAC secret or a valid certificate chain for the device authentication certificate that was used to sign the trust value). If the trust value is determined to be sufficiently high in block 734, or the binary indication confirms the match of the internal golden reference to the newly captured and gathered waveform, the server can then securely provide further secrets or (one or more) confidential dates or codes to the device. Therefore, the method is able to infer extended board level integrity (tampering, attached parasitic circuits, loggers, etc.) from within the application processor die or microcontroller. This verification can be performed remotely using the steps described above for cryptographic authentication, including proof of freshness.
[0081] As used herein, the terms "program", "software application", etc. are defined as a sequence of instructions designed for execution on a computer system. A "program", "computer program", or "software application" may include subroutines, functions, procedures, object methods, object implementations, executable applications, applets, servlets, source code, object code, shared libraries / dynamically loaded libraries, and / or other sequences of instructions designed for execution on a computer system.
[0082] The present disclosure may be embodied in a system, a method, a computer program product, or any combination thereof. A computer program product may include one or more computer-readable storage media having computer-readable program instructions stored thereon for causing a processor to perform various aspects of the present disclosure. A computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, (but not limited to) an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above devices.
[0083] References in the specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the system. The phrase "in one embodiment" appearing in different places in the specification does not necessarily refer to the same embodiment.
[0084] Embodiments of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each box in the flowchart illustration and / or block diagram and the combination of boxes in the flowchart illustration and / or block diagram can be implemented by computer-readable program instructions.
[0085] Some portions of the detailed description, such as the processes, may be presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. Algorithms may generally be considered to be steps leading to a desired result. These steps require physical transformations or manipulations of physical quantities. These quantities often (but not necessarily) take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, etc., primarily for reasons of common usage.
[0086] It should be remembered, however, that all of these terms and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless clearly indicated otherwise from the following discussion, it should be understood that throughout the description, discussions using terms such as "processing" or "computing" or "calculating" or "determining" or "displaying" refer to the actions and processes of a computer system or similar electronic computing device that manipulate and transform data represented as physical (electronic) quantities in the computer system's registers and memories into other data similarly represented as physical quantities in the computer system memories or registers or other such information storage, transmission or display devices.
[0087] The operation described herein can be performed by a device. The device can be specially constructed for the desired purpose, or it can include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer-readable storage medium, such as but not limited to any type of disk, read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic card or optical card or any type of medium suitable for storing electronic instructions. The computer-readable storage medium used herein should not be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse passing through an optical fiber cable) or an electrical signal transmitted by a wire.
[0088] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.
[0089] The computer-readable program instructions for performing the operation of the present disclosure may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages (e.g., Simultalk, C++, etc.) and conventional process programming languages (e.g., "C" programming languages or similar programming languages). The computer-readable program instructions may be executed entirely on a computer, partially on a computer (as an independent software package), partially on a first computer and partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the first computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, an electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute a computer-readable program instruction by utilizing the state information of the computer-readable program instructions to personalize the electronic circuit to perform an embodiment of the present disclosure.
[0090] Accordingly, embodiments and features of the present disclosure are set forth in the following numbered items:
[0091] 1. A method for remotely authenticating a power delivery network, the method comprising: storing a trusted golden reference waveform in a secure memory, the trusted golden reference waveform characterizing the power delivery network in response to a load generated on the power delivery network; generating, at a remote cloud server, a remote authentication request for the power delivery network; receiving, at the remote cloud server, an authentication packet from the power delivery network; and verifying, at the remote cloud server, whether the authentication packet is consistent with an expected power delivery network identity.
[0092] 2. The method according to item 1 also includes cryptographically signing the trusted golden reference waveform.
[0093] 3. The method according to item 1 or 2 also includes adding a trusted / secure timestamp, a sequence counter, or a NONCE provided by the requesting party.
[0094] 4. The method according to item 1 or 2 also includes a random NONCE generated by the server and jointly signed with a trust value, which is used to trigger the remote authentication generated by the server.
[0095] 5. The method according to any one of items 1 to 4 also includes verifying the authentication group based on a shared HMAC secret or a valid certificate chain.
[0096] 6. The method of item 5, wherein if it is determined that the trust value reaches a predetermined threshold, or a binary indication confirms a match between the trusted golden reference waveform and the captured and aggregated waveform, the server provides a trusted code to the power delivery network.
[0097] 7. The method according to any one of items 1 to 6 further comprises scheduling loads generated on the power transmission network at random intervals and measuring the introduced noise for determining the trusted golden reference.
[0098] 8. A method according to any one of items 1 to 7, wherein multiple data windows are aggregated with random time offsets to generate the trusted golden reference.
[0099] 9. A method according to any one of items 1 to 7, wherein multiple data windows are aggregated at random or pseudo-random intervals and at a fixed time relationship to sum individual samples of multiple windows over the same time interval.
[0100] 10. A system for remotely authenticating an electric power delivery network, the apparatus comprising: a secure memory operable to store a trusted golden reference waveform, the trusted golden reference waveform characterizing the electric power delivery network in response to a load generated on the electric power delivery network; a remote cloud server operable to: generate a remote authentication request for the electric power delivery network; receive an authentication packet from the electric power delivery network; and verify whether the authentication packet is consistent with an expected electric power delivery network identity.
[0101] 11. The system according to item 10 further includes a module for cryptographically signing the golden reference waveform.
[0102] 12. The system according to item 10 or 11 also includes adding a trusted / secure timestamp, sequence counter or NONCE provided by the requesting party.
[0103] 13. A system according to item 11 or 12, wherein the server is operable to generate a random NONCE co-signed with a trust value for triggering a remote authentication generated by the server.
[0104] 14. A system according to any one of items 10 to 13, wherein the server is operable to verify the authentication packet based on a shared HMAC secret or a valid certificate chain.
[0105] 15. The system of item 13, wherein if it is determined that the trust value reaches a predetermined threshold, or a binary indication confirms a match between the trusted golden reference waveform and the captured and aggregated waveform, the server provides a trusted code to the power delivery network.
[0106] In light of the foregoing, a new apparatus and method for remotely authenticating a power transmission network is disclosed.Having thus described the disclosure in detail and by reference to embodiments thereof, it will be apparent that modifications and variations are possible without departing from the scope of the disclosure as defined in the appended claims.
Claims
1. A method for remotely authenticating a power delivery network (PDN) of a device, the method comprising: From said device in a trusted environment: using one or more sensors located on the power delivery network (PDN) to measure noise introduced in the power delivery network (PDN) in response to an application load generated on the power delivery network (PDN); determining a trusted golden reference waveform of the power delivery network PDN based on the introduced noise measured in the trusted environment; and storing the trusted golden reference waveform in a secure memory of the device; By deploying the device in an environment that is remote from a remote cloud server: using one or more sensors located on the power delivery network (PDN) to measure noise introduced in the power delivery network (PDN) in response to an application load generated on the power delivery network (PDN); determining, by a processor of the device, a dynamic response characteristic of the power delivery network PDN based on the introduced noise measured in the deployment environment; In response to receiving a remote authentication request from the remote cloud server coupled to the communication network, performing the following operations: Safe operation of the device's processor by: generating a trust value, including comparing the dynamic response characteristic to a trusted golden reference waveform stored in the secure memory; generating an authentication packet including the trust value; and Performing encryption signing on the authentication group; as well as sending the signed attestation packet to the remote cloud server; and At the remote cloud server: generating the remote authentication request; receiving the signed authentication packet from the device; Verifying whether the signed authentication packet is consistent with the expected power delivery network PDN identity; as well as A determination is made whether the power delivery network (PDN) is authentic based on the trust value in the signed authentication packet.
2. The method of claim 1 , further comprising cryptographically signing the trusted golden reference waveform.
3. The method of claim 1, further comprising the processor of the device adding a trusted / secure timestamp, a sequence counter, or a NONCE provided by a requestor to the authentication packet.
4. The method according to claim 1 also includes the remote cloud server generating a random NONCE co-signed with a trust value to trigger the remote authentication generated by the server.
5. The method according to claim 1, further comprising: At the remote cloud server, the signed authentication packet is verified based on a shared Hash-based Message Authentication Code (HMAC) secret or a valid certificate chain.
6. The method according to claim 1, wherein: If the confidence value reaches a predetermined threshold, or a binary indication confirms a match between the trusted golden reference waveform and the captured and gathered waveform, the method further comprises: A trusted code is provided to the power delivery network (PDN) by the server.
7. The method of claim 1, further comprising scheduling load generated on the power delivery network (PDN) at random intervals and measuring the introduced noise for determining the trusted golden reference.
8. The method according to claim 1, further comprising: In the trusted environment, multiple windows of data are aggregated with random time offsets to generate the trusted golden reference.
9. The method according to claim 1, further comprising: Aggregate multiple windows of data at random or pseudo-random intervals and with a fixed temporal relationship to sum individual samples from multiple windows over the same time interval.
10. A system for remotely authenticating a power delivery network (PDN) of a device, the system comprising the device and a remote cloud server, wherein: The device comprises: The power delivery network PDN; a secure memory configured to store a trusted golden reference waveform, the trusted golden reference waveform characterizing the power delivery network PDN in response to a load generated on the power delivery network PDN; one or more on-chip power rail noise monitoring sensors configured to measure noise introduced in the power delivery network (PDN) in response to an application load generated on the power delivery network (PDN), and The processor, configured in safe operation: determining a dynamic response characteristic of the power delivery network PDN based on the introduced noise, In response to receiving a remote authentication request from a remote cloud server coupled to a communication network, performing the following operations: Generating a trust value includes comparing the dynamic response characteristic to a trusted golden reference waveform stored in the secure memory, wherein the trusted golden reference waveform characterizes the power delivery network PDN in response to a reference load generated on the power delivery network PDN; generating an authentication packet including the trust value; cryptographically signing the authentication packet; and sending the signed authentication packet to the remote cloud server; and A remote cloud server coupled to the communication network, the remote cloud server being configured to: generating a remote authentication request; receiving a signed authentication packet from the device; verifying that the signed authentication packet is consistent with an expected power delivery network (PDN) identity; and A determination is made whether the power delivery network (PDN) is authentic based on the trust value in the signed authentication packet.
11. The system according to claim 10, wherein: The processor of the device is also configured to cryptographically sign the golden reference waveform.
12. The system according to claim 10, wherein: The processor of the device is further configured to add a trusted / secure timestamp, sequence counter or NONCE provided by the requestor.
13. The system according to claim 11, wherein: The remote cloud server is configured to generate a random NONCE co-signed with a trust value for triggering a remote authentication generated by the server.
14. The system according to claim 10, wherein: The remote cloud server is configured to verify the authentication packet based on a shared Hash-based Message Authentication Code (HMAC) secret or a valid certificate chain.
15. The system of claim 13, wherein: If it is determined that the trust value reaches a predetermined threshold, or a binary indication confirms a match between the trusted golden reference waveform and the captured and aggregated waveform, the remote cloud server is further configured to provide a trusted code to the power delivery network PDN.
