System and method for intrusion detection at the physical level using internal analog-to-digital converters
By integrating an ADC into a microcontroller to measure the side channel traces of the ECU, generating fingerprint features and performing real-time comparisons, the problem of malicious intrusion detection faced by modern automotive ECUs is solved, achieving efficient and low-cost intrusion detection and reducing security risks.
Patent Information
- Application Number
- CN202111121392.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-25
- Filing Date
- 2021-09-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-09-24
AI Technical Summary
Modern automobiles' electronic control units (ECUs) face significant security threats due to their sheer number and connectivity to external networks. Existing technologies struggle to effectively detect malicious intrusions, leading to potentially serious security risks.
By using an analog-to-digital converter (ADC) integrated in a microcontroller to measure the side channel traces of an ECU, generating fingerprint features, and comparing them at runtime, an intrusion detection system (IDS) can be implemented to detect abnormal behavior.
By monitoring the physical properties of the ECU in real time, potential malicious attacks can be efficiently identified without software or hardware modifications, reducing security risks, minimizing noise interference, and providing a low-cost intrusion detection solution.
Smart Images

Figure CN114254312B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the security of computer systems such as vehicle computer systems or other types of systems. Background Technology
[0002] Due to the sheer number of electronic control units (ECUs) and their connectivity to external networks, modern automotive in-vehicle networks present a significant attack surface from a security perspective. Detecting malicious intrusions into such networks is a crucial part of automotive security, aimed at preventing or at least mitigating the impact of attacks. Summary of the Invention
[0003] According to one embodiment, the system includes a memory and a microcontroller that includes an analog-to-digital converter (ADC) and communicates with the memory. The microcontroller is configured to define a fingerprint that includes a baseline measurement of a side-channel trace of a separate processor retrieved from the ADC during a system registration cycle, wherein the registration cycle includes measuring the voltage of the separate processor and generating the fingerprint prior to runtime operation, receiving runtime measurements from the ADC regarding at least the voltage of the separate processor during runtime, comparing the runtime measurements with the fingerprint, and performing countermeasure operations against software run by the separate processor in response to measurements exceeding a threshold.
[0004] According to one embodiment, a computer-implemented method includes defining a fingerprint that includes baseline measurements retrieved from a side channel of at least a single processor during a system registration cycle, wherein the baseline measurements include one or more physical attributes received from an analog-to-digital converter (ADC) of a microcontroller, receiving runtime measurements from the ADC, wherein the runtime measurements include one or more physical attributes of at least a single processor during runtime, comparing the runtime measurements of the physical attributes to the fingerprint, and performing countermeasure operations against software run by the single processor in response to runtime measurements exceeding a threshold.
[0005] According to one embodiment, a system includes a memory and a microcontroller, the microcontroller including an analog-to-digital converter (ADC) and communicating with the memory. The microcontroller is configured to define a fingerprint comprising a baseline measurement of a side-channel trace retrieved from the ADC during a registration cycle of the system, wherein the registration cycle includes measuring a voltage prior to runtime operation, receiving a runtime measurement from the ADC, the runtime measurement including at least the voltage of a single microcontroller during runtime, comparing the runtime measurement to the fingerprint, and performing countermeasure operations against software run by a single processor in response to measurements exceeding a threshold. Attached Figure Description
[0006] Figure 1 A block diagram of an exemplary computing device according to some embodiments of the present disclosure is illustrated.
[0007] Figure 2 An exemplary block diagram of a computing device utilizing an MCU with an ADC is shown.
[0008] Figure 3A The illustration shows a first embodiment of an IDS configuration using an ADC.
[0009] Figure 3B The illustration shows a second embodiment of an IDS configuration using an ADC.
[0010] Figure 3C The illustration shows a third embodiment of an IDS configuration using an ADC.
[0011] Figure 3D The illustration shows a fourth embodiment of an IDS configuration using an ADC.
[0012] Figure 4 The diagram illustrates a system with a variable reference voltage for the ADC. Detailed Implementation
[0013] This document describes embodiments of the present disclosure. However, it will be understood that the disclosed embodiments are merely examples, and other embodiments may take various forms and alternative forms. The figures are not necessarily to scale; some features may be enlarged or minimized to show detail of specific components. Therefore, the specific structural and functional details disclosed herein should not be construed as limiting, but merely as a representative basis for teaching those skilled in the art to employ the embodiments in various ways. As will be understood by those skilled in the art, the various features illustrated and described with reference to any of the figures may be combined with features illustrated in one or more other figures to produce embodiments not explicitly illustrated or described. The combinations of illustrated features provide representative embodiments for typical applications. However, for a particular application or implementation, various combinations and modifications of features consistent with the teachings of this disclosure may be desired.
[0014] Illustrative embodiments introduce systems and methods for detecting malicious attacks. The physical characteristics of devices or electronic control units (ECUs) connected to the vehicle's bus can be continuously measured. Due to their enhanced connectivity with internal and external networks, modern automotive microcontroller units (MCUs) can be vulnerable to malicious attacks involving software, hardware, or parameter modifications. In the automotive field, such attacks can be severe even over short periods, and therefore, runtime detection of these attacks can be critical to vehicle security and safety.
[0015] In this disclosure, embodiments describe a technique that can improve the quality of techniques attempting to mitigate such attacks. Depending on the implementation, this series of countermeasures can work without requiring software or hardware modifications to existing devices. In one potential embodiment, only external wiring is needed to measure the power consumption of the MCU under consideration. Useful features are then extracted from these real-time measurements and compared with reference features pre-calculated from training measurements obtained during the profiling phase. During the profiling phase, only valid programs are run to build a database of their respective features (i.e., fingerprints). Any different or modified programs—not profiled in the database—ideally should have different characteristics and thus generate different features. Therefore, by continuously monitoring the MCU under test, the system can perform low-level physical runtime intrusion detection by comparing these features.
[0016] Many MCUs have integrated on-chip analog-to-digital converters (ADCs). Integrated ADCs can be used in intrusion detection systems (IDS). ADCs provide a low-cost solution for obtaining physical measurements, which can also be used to generate fingerprints. Many modern MCUs include a large number of (potentially unused) ADC inputs, so using ADCs for IDS can be a cheap task and solution. While many modern MCUs offer on-chip ADCs, many ADC inputs are unutilized. Unused resources can be used for inexpensive, low-level IDS. Measurements can be collected very locally, which can help reduce noise sources and other interference. Alternatively, measurements may be sent to different devices on the same vehicle (e.g., a central automotive gateway) for processing and detection. Another alternative might be to send measurements to remote devices (remote computers or servers not in the vehicle) for further processing and detection.
[0017] like Figure 1 As shown, Figure 1 A block diagram of an exemplary computing device according to some embodiments of the present disclosure is shown. Device 100 may include a controller 105, which may be, for example, a central processing unit processor (CPU), a chip or any suitable computing or arithmetic device, an operating system 115, memory 120, executable code 125, and a storage system 130 that may include input devices 135 and output devices 140. Controller 105 (or one or more controllers or processors that may span multiple units or devices) may be configured to implement the methods described herein and / or perform or act as various modules, units, etc. According to embodiments of the present invention, more than one computing device 100 may be included in a system, and one or more computing devices 100 may act as components of the system.
[0018] Operating system 115 may be or may include any code segment designed and / or configured to perform tasks (e.g., code segments similar to executable code 125 described herein) related to coordinating, scheduling, arbitrating, supervising, controlling, or otherwise managing the operation of computing device 100, such as scheduling the execution of software programs or tasks or enabling software programs or other modules or units to communicate. Operating system 115 may be a commercial operating system. It will be noted that operating system 115 may be an optional component; for example, in some embodiments, the system may include computing devices that do not require or do not include operating system 115. For example, a computer system may be or may include microcontrollers, application-specific integrated circuits (ASICs), field-programmable arrays (FPGAs), network controllers (e.g., CAN bus controllers), associated transceivers, system-on-a-chip (SoCs), and / or any combination thereof, which may or may not be used with an operating system or a real-time operating system (RTOS).
[0019] Memory 120 may be or may include, for example, random access memory (RAM), read-only memory (ROM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate (DDR) memory chips, flash memory, volatile memory, non-volatile memory, cache memory, buffer, short-term memory cell, long-term memory cell, or other suitable memory cell or storage unit. Memory 120 may be or may include multiple possibly different memory cells. Memory 120 may be a non-transitory readable medium for a computer or processor, or a non-transitory computer storage medium such as RAM.
[0020] Executable code 125 can be any executable code, such as an application, program, process, task, or script. Executable code 125 can be executed by controller 105 under the control of operating system 115. For example, executable code 125 can be an application implementing security in a vehicle, as further described herein, such as detecting or preventing cyberattacks on the in-vehicle network. Although for clarity, Figure 1 A single executable code 125 is shown, but a system according to some embodiments of the invention may include multiple executable code segments similar to executable code 125, which may be loaded into memory 120 and cause controller 105 to perform the methods described herein. Where applicable, the terms "process" and "executable code" may refer to the same thing and may be used interchangeably herein. For example, verification, validation, and / or authentication of a process may refer to verification, validation, and / or authentication of executable code.
[0021] Storage system 130 may be or may include, for example, flash memory, memory known in the art that is internal to or embedded in a microcontroller or chip, hard disk drive, CD-R drive, Blu-ray disc (BD), Universal Serial Bus (USB) device, or other suitable removable and / or fixed storage unit. Content may be stored in storage system 130 and may be loaded from storage system 130 into memory 120, where it may be processed by controller 105. In some embodiments, this may be omitted. Figure 1 Some of the components shown. For example, memory 120 may be a non-volatile memory with the storage capacity of storage system 130. Therefore, although shown as a separate component, storage system 130 may be embedded in or included in memory 120.
[0022] Input device 135 can be or may include any suitable input device, component, or system, such as a physical sensor like an accelerometer, tachometer, thermometer, microphone, analog-to-digital converter, detachable keyboard or keypad, mouse, etc. Output device 140 may include one or more (possibly detachable) displays or monitors, motors, servo motors, speakers, and / or any other suitable output device. Any suitable input / output (I / O) device may be connected to computing device 100 as shown in boxes 135 and 140. For example, a wired or wireless network interface card (NIC), a universal serial bus (USB) device, a JTAG interface, or an external hard drive may be included in input device 135 and / or output device 140. It will be appreciated that any suitable number of input devices 135 and output devices 140 can be operatively connected to computing device 100 as shown in boxes 135 and 140. For example, a technician or engineer may use input devices 135 and output devices 140 to connect to computing device 100, update software, etc. Input and / or output devices or components 135 and 140 may be adapted to interface with or communicate with control or other units in the vehicle. For example, input and / or output devices or components 135 and 140 may include ports that enable device 100 to communicate with engine control unit, suspension control unit, traction control unit, etc.
[0023] Embodiments may include articles, such as computer or processor non-transitory readable media or computer or processor non-transitory storage media, such as, for example, memory, disk drives, or USB flash drives, that encode, include, or store instructions, such as computer-executable instructions, which, when executed by a processor or controller, implement the methods disclosed herein. Examples include storage media such as memory 120, computer-executable instructions such as executable code 125, and controllers such as controller 105.
[0024] The storage medium may include, but is not limited to, any type of disk, including magneto-optical disks, semiconductor devices such as read-only memory (ROM), random access memory (RAM) such as dynamic RAM (DRAM), erasable programmable read-only memory (EPROM), flash memory, electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, or any type of medium suitable for storing electronic instructions that includes programmable storage devices.
[0025] Embodiments of the present invention may include components such as, but not limited to, multiple central processing units (CPUs), graphics processing units (GPUs) or any other suitable multi-purpose or specific processors or controllers (e.g., a controller similar to controller 105), hardware security modules (HSMs), multiple input units, multiple output units, multiple memory units, and multiple storage units. For the sake of brevity, although the following disclosure may refer to a CPU, references to one or more CPUs may be interpreted to include GPUs, controllers, processors, microprocessors, microcontrollers, FPGAs, SOCs, HSMs, or other components. The system may additionally include other suitable hardware components and / or software components. In some embodiments, the system may include, or may be, for example, a personal computer, desktop computer, mobile computer, laptop computer, notebook computer, terminal, workstation, server computer, personal digital assistant (PDA) device, tablet computer, network device, or any other suitable computing device.
[0026] In some embodiments, the system may include, or may be, for example, multiple components, including corresponding multiple central processing units, such as multiple CPUs as described herein, multiple CPUs embedded in an in-vehicle or in-vehicle system or network, multiple chips, FPGAs or SOCs, microprocessors, HSMs, transceivers, microcontrollers, multiple computer or network devices, GPUs, any other suitable computing devices, and / or any combination thereof. For example, a system as described herein may include one or more devices, such as computing device 100.
[0027] Figure 2An exemplary block diagram of a computing device utilizing an MCU with an ADC is illustrated. Circuit 200 may include a first ECU 201, a second ECU 202, a third ECU 203, an intrusion detection system (IDS) 205, and an ADC 215, which may be an on-chip ADC 215 incorporated into the MCU 211. Each of these components can be connected via a CAN bus 209. The CAN bus 209 can be used to allow various ECUs or controllers in the vehicle to communicate with each other. In an alternative, the IDS 205 may be used to store fingerprints and other system-related security data. The fingerprint can be used as an outline of the ECU or circuitry and is used by the IDS to detect malicious activity. Although multiple ECUs are shown in circuit 200, alternative embodiments may include more or fewer ECUs utilized.
[0028] IDS 205 can be used to store fingerprints based on measurements taken during the system training phase. In another embodiment, IDS can be used to extract measurements from a first ECU 201 connected to ADC 205 or another type of sensor or probe. In one embodiment, option IDS 205 can thus determine whether an anomaly has occurred that requires countermeasures. Countermeasures may include disabling certain software operations, terminating power supply to one or more components, notifying a remote system of a potential anomaly or problem, outputting information about such anomalies to a user to allow for an appropriate response, issuing an alarm, etc. The fingerprint can be a code used to identify normal operation of the system by utilizing one or more measurements of voltage or other physical properties (e.g., parasitic noise) from the ADC 215 of one or more ECUs of the system. Measurements can be derived from sensors that can be used to identify physical properties of the ECU or system. For example, the system can utilize sensors such as microphones, accelerometers, gyroscopes, thermal elements (thermometers), thermometers, or any other similar internal or external sensors. For example, the system can derive a fingerprint by utilizing physical measurements of current or voltage from the ADC 215 connected to the ECU and the temperature of the ECU. To perform actual measurements and transform those measurements into analyzable digital values, the system can utilize an analog-to-digital converter (ADC) 215. Such an embedded ADC 215 is available in a microcontroller.
[0029] The training phase can also be referred to as the profiling phase or baseline phase. As disclosed in application number 16 / 723,861, filed December 20, 2019, entitled “ASYSTEM AND METHOD FOR NETWORK INTRUSION DETECTION BASED ON PHYSICALMEASUREMENTS” (which is hereby incorporated herein by reference in its entirety), an intrusion detection system can fingerprint software running on an integrated circuit using voltage measurements or other physical measurements obtained by an ADC. The intrusion detection system can operate in two phases—a registration phase (e.g., a training phase) and a runtime phase. In the registration phase, the ADC can perform device measurements to read voltages from the microcontroller. In alternative embodiments, external or internal sensors perform device measurements of physical characteristics (e.g., power, timing, sound, temperature, vibration, etc.) to perform an initial baseline measurement. This measurement can be used to derive a fingerprint using, for example, machine learning (ML) / deep learning (DL) techniques, signal processing techniques, or a combination thereof. Possible variations include a registration process that includes protecting the model in the secure portion of the processor hosting the IDS. It can be protected using, for example, a secure processor or a secure memory, or both.
[0030] In an alternative embodiment, measurements can be transmitted to a gateway or network IDS located remotely from the circuit. The remote IDS can then acquire and compare the circuit measurements. Network transmissions can be associated with processing by sending characteristics of the processing following the transmission of critical messages. Transmissions of injected messages will ideally have different characteristics because no processing will be involved. Remote authentication capabilities can also be added to allow the network IDS to send challenges that trigger a sequence of special functions or instructions, resulting in a fingerprint (generated by measurements of power consumption, timing, sound, temperature, vibration, or other physical properties, etc.). The fingerprint can be sent to a verifier (which can be the same device, a different local device, or a protected area of a remote device or cloud service) where the fingerprint is verified. The fingerprint can be derived from physical measurements or used to define a context (e.g., a specific situation where the device is operating, such as slow driving, fast driving, stopping, etc.). This context can be utilized, and further used by the IDS to specify rules (e.g., how to respond).
[0031] During device operation, side-channel power measurements can be performed within specific time windows. These measurements can then be processed in the same manner as during the registration phase and compared to a baseline. If the fingerprint does not match the expected fingerprint for the function (within a defined threshold), it must be assumed that the function has been modified—potentially maliciously. Intrusions can be recorded and can trigger additional actions such as terminating / delaying / modifying processes / messages / connections, disabling / rebooting the device, reprogramming the device with raw code, or resetting the device.
[0032] like Figure 2 As shown, instead of relying on external physical sensors, the MCU's internal ADC 215 can be used to collect side-channel traces. The MCU's static and dynamic power consumption is related to the instructions running on the MCU. Changing power consumption can also cause varying loads on the power supply voltage rails. This can result in small deviations from the ideal voltage (e.g., 1.2 V). Therefore, these deviations can also be correlated with the instructions running on the microcontroller. The ADC can be used to record these deviations. The recorded traces can then be used for registration and runtime fingerprinting. Power supply pin 217 can be connected to the ADC via connection 213 to record various possible changes in traces and power consumption.
[0033] The ADC 215 can have two sets of voltage sources. One of the power sources can supply power to the ADC, and the other can provide a reference signal. The reference power source typically powers the analog section of the ADC and is assumed to be noise-free (or at least a very clean signal). The ADC can also have multiple channels, which can be configured via configuration registers. Such registers can typically be configured from a microcontroller and generally do not have any access control (i.e., any application can set them). Typically, output channels can be received in an output register, which can also be read by any application. According to embodiments in this disclosure, for such registers, the registers may not have confidentiality or integrity in their data.
[0034] Power pin 217 can be connected to the internal voltage pins of MCU 211 via connection pin 213 or other types of connections. The ADC can then be used to monitor the physical behavior of MCU 211, fingerprint benign behavior, and detect malicious (or random) modifications. More ECUs can be equipped with this measurement capability. Measurement results can also be sent to a separate IDS for comparison.
[0035] Additional alternative embodiments are shown and described in the various figures below. In one example, measurements from the ADC may also be transmitted to a different source, such as a gateway or network IDS capable of performing a comparison of features with runtime measurements. Thus, measurements from the IDC are transmitted to another processor, controller, or component. The ADC may utilize a specific channel for the IDC. For example, this channel may include higher bandwidth and a much higher sampling rate than others (standard channels). The comparison may include measuring the distance between a baseline (e.g., correlation, Euclidean distance, L1 distance, etc.) and the measurement (e.g., runtime measurement), comparing the resulting distance to a threshold, and so on. In yet another embodiment, a post-processing step of the measurement signal may occur after measuring the physical properties. The post-processing of the signal may include the signal itself, a filtered version of the signal, some features of the signal derived through signal processing or possibly through a neural network, etc. The system may also include a process for aligning the measurement signal relative to a baseline signal.
[0036] The comparison between features and runtime measurements can be performed using neural networks or other types of machine learning systems. The comparison output can be a tuple of accuracy and confidence values, which can be used to compare and define a baseline threshold for the training process. Therefore, the network can be trained in response to the predicted confidence values and the amount of loss. It would be preferable to also add a dependent claim where the comparison is performed via a neural network, and the comparison output is a tuple of accuracy and confidence values, both of which are compared to a defined (appropriate) threshold defined during the baseline (training process).
[0037] Network transmissions can be associated with processing by sending characteristics of the processing after the transmission of critical messages. Transmissions of injected messages would ideally have different characteristics because no processing would be involved.
[0038] Remote authentication capabilities can be added, allowing the network IDS to send challenges that trigger a sequence of special functions or commands, resulting in fingerprints (generated by measurements of power consumption, timing, sound, temperature, vibration, etc.). These fingerprints are then sent to a verifier (which can be the same device, a different local device, a remote device, or a protected area of a cloud service), where the fingerprints are verified.
[0039] Fingerprints derived from physical measurements can also be used to define contexts (specific situations such as when the device is operating, driving slowly, driving fast, or stopped). This context can then be used by the IDS to specify rules (how to respond).
[0040] The ADC may also include special security registers or multiple registers. These registers may be accessible to a secure element within the microcontroller (e.g., the HSM), or may only be available after the initial secret configuration. The "IDS" channel will only be available for reading if the security register is enabled on the HSM (or where the intended secret is present). Once enabled, an alternative use of the security register is to allow encryption or Message Authentication Code (MAC) calculations to be fully integrated within the ADC. The system may also allow challenge acceptance during IDS operation. Receiving and accepting such challenges can be enabled in a challenge register within the ADC. A corresponding response register may exist. The output of the register can be input to any encryption or MAC unit to enable encryption and / or integrity protection for the ADC response. The encryption / integrity unit is part of the ADC, not a separate component.
[0041] The ADC can be connected to the main microcontroller CPU via at least one data bus. Alternatively, an IDS ADC with at least one channel connected via a secure bus can be utilized. A secure bus can mean that it is encrypted and / or authenticated. The bus can be controlled by a secure element (e.g., an HSM) or by accessing the secure state of the microcontroller. The system can use keys (e.g., public / private keys) for encryption or authentication via any security protocol. Therefore, similar to a CAN bus, the data bus can include AND logic behavior.
[0042] Figure 3A A first embodiment of an IDS configuration using an ADC is illustrated. In this embodiment, Figure 3A The system can directly probe the controller's internal voltage. MCU 301 may include an internal ADC. The ADC may include a voltage input pin 303 connected to a power supply pin 307. In one embodiment, the power supply pin 307 may be a positive power supply voltage. Notably, ground connection 305 may not be connected to the ADC input pin 303. In such a configuration, only one of the ADC's multiple channels can be connected to Vdd via an internal on-chip connection. This connection can be designed to minimize noise by using a low-pass filter (e.g., a resistor-capacitor circuit), which can be carefully designed to suit the characteristics of the Vdd signal. For example, allowing the low-pass filter to charge and discharge rapidly.
[0043] Figure 3BA second embodiment of an IDS configuration using an ADC is illustrated. In this embodiment, the ground pin of the microcontroller 301 can be probed. The MCU 301 may include an internal ADC. The ADC may include a voltage input pin 303 connected to ground connection 305. In one embodiment, the power supply pin 307 may be a positive power supply voltage. Notably, the power supply pin 307 may not be connected to the ADC input pin 303.
[0044] Figure 3C A third embodiment of an IDS configuration using an ADC is illustrated. The system can disable the ADC pin 303. Therefore, the ADC pin 303 may not have a connection to the power supply pin 307 or ground 305. In this embodiment, the system can then measure parasitic noise on the ADC.
[0045] Figure 3D A fourth embodiment of an IDS configuration using an ADC is illustrated. In this embodiment, the system can utilize a secondary MCU 307 with an ADC 309 to perform measurement and probing. The secondary MCU 307 can be connected to the primary MCU 301 via the ADC input 309 and a power supply pin 307. Therefore, MCU 301 may not need to utilize its own ADC. In an alternative embodiment, the system can probe the ground pin 305 instead of the power supply pin 307.
[0046] Figure 4 A system with a variable reference voltage for an ADC is illustrated. The ADC configuration in such an embodiment allows the ADC reference voltage to be system-controllable, thus configurable via internal registers. Microcontroller 401 may include an ADC 403. ADC 403 may have an input 404 for retrieving the input voltage. MCU 401 may include a reference voltage generation system 405 and a reference voltage control register 407. This system may include a reference voltage that can be controlled by internal registers, such as the reference voltage register 407. The voltage reference may generate a fixed (or constant) voltage, independent of load, power supply variations, temperature changes, and the passage of time on the microcontroller 401 or the device. The internal registers are additionally accessible only from a safety element (e.g., an HSM) or during IDS operation. The reference voltage may vary based on the operation being inspected or the task being performed for different phases of IDS operation. For example, the reference voltage may differ for one application compared to another. In the event of a challenge, the reference level configuration may be part of the challenge. Such a system provides additional degrees of freedom to the challenging / proving entity. In another scenario, the reference voltage control register can be part of a safety element.
[0047] The processes, methods, or algorithms disclosed herein may be deliverable to / implemented by a processing device, controller, or computer, which may include any existing programmable electronic control unit or dedicated electronic control unit. Similarly, processes, methods, or algorithms may be stored in various forms as data and instructions executable by a controller or computer, including but not limited to information permanently stored on non-writable storage media such as ROM or flash memory devices and information changeably stored on writable storage media such as floppy disks, magnetic tapes, CDs, RAM devices, and other magnetic and optical media. The processes, methods, or algorithms may also be implemented in a software executable object. Alternatively, suitable hardware components such as application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), state machines, controllers, or other hardware components or devices, or combinations of hardware, software, and firmware components, may be used to embody the processes, methods, or algorithms wholly or partially.
[0048] While exemplary embodiments have been described above, they are not intended to describe all possible forms included in the claims. The words used in this specification are descriptive and not limiting, and it is understood that various changes may be made without departing from the spirit and scope of this disclosure. As previously described, features of various embodiments may be combined to form further embodiments of the invention that may not be explicitly described or illustrated. While various embodiments may have been described as providing advantages over other embodiments or prior art implementations in one or more desired features, or being preferred over other embodiments or prior art implementations, those skilled in the art will recognize that one or more features or characteristics may be compromised depending on the specific application and implementation to achieve desired overall system properties. These properties may include, but are not limited to, cost, strength, durability, lifecycle cost, merchantability, appearance, packaging, size, suitability, weight, manufacturability, ease of assembly, etc. Accordingly, while any embodiment may be described as less desirable than other embodiments or prior art implementations in one or more features, these embodiments are not outside the scope of this disclosure and may be desirable for a particular application.
Claims
1. A system comprising: Memory; The microcontroller includes an analog-to-digital converter (ADC) and communicates with memory, and is configured to: Define a fingerprint, the fingerprint comprising a baseline measurement of the side channel trace of the side channel of the individual processor retrieved from the ADC during the registration cycle of the system, wherein the registration cycle comprises measuring the voltage of the individual processor via the power supply pin of the ADC prior to runtime operation, wherein the ADC includes a security register, and wherein the security register is accessible after security measures are passed. Receive runtime measurements from the ADC regarding the voltage of at least one individual processor during runtime, wherein the runtime measurements are retrieved directly from the power supply pin; Compare runtime measurements with fingerprints to obtain the difference; and In response to the difference exceeding a threshold, countermeasures are performed against software, hardware modifications, or one or more fault attacks run by a separate processor, wherein the countermeasures are associated with a context defined by runtime measurements from the ADC.
2. The system according to claim 1, wherein, Countermeasures include outputting messages or notifications.
3. The system according to claim 1, wherein, An ADC includes an ADC input pin that connects to an internal voltage pin, power supply, internal regulator, or intermediate voltage of the microcontroller.
4. The system according to claim 1, wherein, The ADC includes an encryption unit that receives the output via a security register.
5. The system according to claim 4, wherein, An ADC includes an ADC input pin that connects to an internal voltage pin of the microcontroller to measure the drain supply voltage.
6. The system according to claim 1, wherein, The side channel has a higher bandwidth than the other side channels, and the channel is used for baseline measurements.
7. The system according to claim 1, wherein, The ADC is connected to a separate processor via at least one data bus, wherein the ADC includes at least one channel connected via a security bus that requires encryption or authentication or both.
8. The system according to claim 7, wherein, The security bus is controlled by a security element or in response to the security state of the microcontroller.
9. The system according to claim 1, wherein, The side channels have a higher sampling rate than the other side channels of the ADC, where the channel is used for baseline measurements.
10. The system of claim 1, wherein the ADC is disconnected and configured to measure parasitic noise on the ADC.
11. A computer-implemented method, comprising: Define a fingerprint, the fingerprint including a baseline measurement retrieved from a side channel of at least a single processor during the registration cycle, wherein the baseline measurement includes one or more physical properties received from an analog-to-digital converter (ADC) of a microcontroller, wherein the ADC includes a security register, and wherein the security register is accessible after security measures are implemented; Receive runtime measurements from the ADC, wherein the runtime measurements include one or more physical properties of at least a single processor during runtime, and wherein the runtime measurements are retrieved directly from the power supply pin; The runtime measurement of physical properties is compared with the fingerprint to obtain the difference; and In response to the difference exceeding a threshold, countermeasures are performed against software, hardware modifications, or one or more fault attacks run by a separate processor, wherein the countermeasures are associated with a context defined by runtime measurements from the ADC.
12. The computer-implemented method according to claim 11, wherein, Physical properties include voltage.
13. A system comprising: Memory; The microcontroller includes an analog-to-digital converter (ADC) and communicates with memory, and is configured to: Define a fingerprint that includes a baseline measurement of the side channel trace of the side channel retrieved from the ADC during the registration cycle of the system, wherein the registration cycle includes measuring the voltage prior to runtime operation, wherein the ADC includes a security register, and wherein the security register is accessible after security measures have been taken. Receive runtime measurements from the ADC, including the voltage of at least one individual microcontroller during runtime, wherein the runtime measurements are retrieved directly from the power supply pin; Compare runtime measurements with fingerprints to obtain the difference; and In response to the difference exceeding a threshold, countermeasures are performed against software, hardware modifications, or one or more fault attacks run by a single processor.
14. The system according to claim 13, wherein, Runtime measurements are retrieved from the connection between the ADC's input power pin and the microcontroller's voltage source.
15. The system according to claim 13, wherein, Runtime measurements are retrieved from the connection between the ADC's input power pin and the microcontroller's ground.
16. The system according to claim 13, wherein, Runtime measurements are retrieved from the input power supply pins of the ADC without connection to them, and these runtime measurements include the ADC’s parasitic noise.
17. The system according to claim 13, wherein, Countermeasures include reprogramming the software back to its original code.
18. The system according to claim 13, wherein, Countermeasures include reprogramming the software.
19. The system according to claim 13, wherein, The side channel is associated with a separate microcontroller.
20. The system according to claim 13, wherein, Runtime measurements are sent to an intrusion detection system (IDS) separate from the individual processor and MCU, wherein the IDS is configured to use a neural network to compare the runtime measurements with baseline measurements, wherein the IDS is also configured to access the MCU’s security registers during the operation of the IDS.
21. The system according to claim 1, wherein, The microcontroller includes a reference voltage control register configured to control the reference voltage of the system.
22. The system according to claim 21, wherein, The reference voltage control register can only be accessed by safety elements or during system operation.
Citation Information
Patent Citations
System and method for network intrusion detection based on physical measurements
US11683341B2
Systems, methods, and apparatus to enhance the integrity assessment when using power fingerprinting systems for computer-based systems
US20150317475A1
Systems and methods for cyber-physical vehicle management, detection and control
US20180103036A1
Systems, methods, and apparatuses for intrusion detection and analytics using power characteristics such as side-channel information collection
US9268938B1
