The present invention relates to the vehicle safety field, namely, to the system and method for detecting the unauthorized device connections.
Modern vehicles feature an increasing number of new intelligent systems. Also, the existing systems (such as the systems of steering control, vehicle comfort, braking, cruise control, headlight control etc.) are being increasingly automated. The sensors, devices and systems that are part of the said systems exchange information through the electrical data exchange and control bus (hereinafter referred to as «bus» or «electrical bus»). The volume of the transmitted data grows which allows an intruder to obtain control over the vehicle and the bus itself if an unauthorized access to such a bus has been established. For example, an intruder can easily render the bus out of operation or initiate improper scenarios for the vehicle (headlights de-energization, airbags actuation, brakes deactivation etc.)
Such attacks become possible due to the electrical data exchange and control bus vulnerabilities. The strategies on the user protection and informing of such attacks, as well as on their suppression form part of the modern vehicle information security package.
The proposed invention allows determining and registering the devices installed on the electrical buses illegally which helps preventing various attacks.
A vehicle security system has been known from the prior art (see http://www.igla-systems.ru/katalog/immobilajzery/igla-pro), in the form of an immobilizer with digital LIN and CAN buses immobilization. Upon an unauthorized access, the engine is immobilized through the standard wiring of a vehicle, namely, through the CAN/LIN digital buses. The immobilizer sends a respective command after which the engine stops.
The described solution is intended only for solving the vehicle hijacking problem and doesn't guarantee the vehicle cyber security and, consequently, the human safety. An illegally installed device can be used to harm a driver, passengers or pedestrians (e.g., deactivation of the low-beam/long-distance light during the night-time driving, airbags actuation, brakes deactivation etc.)
A product of Argus (Israel) is also known (see https://argus-sec.com/argus-ecu-protection/) which provides the vehicle information network security by detecting attacks, suspicious activities and changes in the standard vehicle network behavior. When installed in a vehicle, the system is used for network activities monitoring and for the attack analysis and liquidation.
However, this system operates at the protocol level and is incapable of identifying unauthorized installed devices on the electrical bus. The threat can be identified only at the moment the command is executed. This solution cannot be considered a full-featured vehicle cyber security guarantor. More specifically, this solution cannot address all the attack algorithms and requires constant manufacturer support as related to algorithms improvement, including the individual device adaptation for each of the vehicle information systems.
The closest technical solution (chosen as the prototype) is the system and method for providing the vehicle electronic systems security described in the U.S. Pat. No. 9,881,165B2 patent, published on 30 Jan. 2018. This system includes a device. This device is installed between the data bus and the electronic control unit (ECU). The device contains the following functional units:
This system is a device intended for the implementation of some of the hardware firewall functions. Owing to its structure and purpose, this system is characterized by the disadvantages similar to those described above. More specifically:
The object of the present invention is to provide for the unauthorized electrical bus devices identification and registration that would be as efficient and accurate as possible.
The present invention (and, consequently, the system) eliminates all the above disadvantages of the existing systems:
The technical result of the invention is the improvement of the unauthorized connected devices detection accuracy.
On part of the system, the claimed technical result is achieved owing to the fact that the vehicle illegally connected devices detection system contains at least one electronic vehicle device connected through the electrical bus to an unauthorized devices detection module consisting of a measurement unit, an analog-to-digital converter, a digital signal processing unit, a buffer unit and a comparator unit wherein the measurement unit' and the analog-to-digital converter design allows them receiving the electrical signal parameters from the electrical bus during the first and second time periods, the digital signal processing unit performs signal processing and signal spectrum construction, the buffer unit is intended for storing the obtained signal data and the comparator unit is used for comparing the signal spectra obtained during the first and second time periods by the way of the electrical signal components analysis.
On part of the method, the claimed technical result is achieved owing to the fact that the method of the vehicle illegally connected devices detection includes the following:
obtaining of the electrical signal parameters from the electrical bus during the first- and second-time intervals,
processing and construction of the obtained signals spectra,
setting the signal obtained during the first time interval as the threshold signal,
comparing the combined signals obtained during the first and second time periods by the way of the electrical signal spectral components analysis.
The proposed invention is illustrated by the drawings:
The electrical data exchange and control bus of a vehicle constitutes electrical interconnections between a plurality of electronic devices (ECU). In this application a «vehicle electronic device» signifies any electronic device, e.g., an engine control device, a gearbox control device, a brake system control device (including ABS/ESC), a dashboard infotainment system device, a telemetry system device etc. Each of the said devices has its own functional purpose.
A driver integrated circuit is a digital-to-analog element that transforms a digital data bit sequence into an electrical signal with specified characteristics; such integrated circuit is also intended for impedance matching.
Each of the vehicle electrical buses is characterized by a number of physical parameters such as reactive impedance, active impedance, dominant and recessive bus state voltages, average and maximum consumption current, bus speed, pulse on/off time ratio etc. Each driver integrated circuit, when connected to the vehicle electrical data exchange and control bus, introduces changes into the bus electrical parameters.
To detect the connected unauthorized device 131 on the electrical bus, a spectral analysis method is used. This method provides a higher accuracy of the illegally connected devices detection as compared to the physical parameter's registration method (due to the digital signal processing algorithms use as opposed to the methods associated with the analog signal processing). This method provides for the registration taking place at the moment the messages are exchanged through the electrical bus (in the «active» bus state).
The illegally connected devices detection algorithms are implemented through the spectral analysis method, in a separate module 401. This module can be connected to one or several electrical buses 121, 321. The connection is effected by individual lines, with the conductors 411, 412.
The illegally connected devices detection method includes the obtaining of the electrical signal parameters during the first and second time periods. The first time period is usually the moment when the vehicle is bought, or when the vehicle is passing a technical inspection, or any other moment of time. The second time period is any moment of time set by the vehicle user or standing at a certain time interval (one day, one week, one month) from the first time period.
The system operates in three main stages:
The first two stages are effected in module 401. The third stage is implemented by the display module 501 (
Any device with a human-computer interface HMI (a smartphone, a mobile or personal computer, a vehicle dashboard infotainment system, a server etc.) can be used as the display module 501. The transferred information can be displayed on the screen, archived or used for further processing.
Any communication interface or protocol (Wi-Fi, Bluetooth, radio channel, wired interface (CAN, Ethernet, RS485) etc.) can be used as a data transmission channel linking the device 401 to the display module 501.
Hereinafter follows the description of the electrical bus spectral characteristics analysis method for identifying the unauthorized installed devices, as exemplified by the electrical bus reactive impedance analysis.
For example, increasing the electrical bus reactive impedance distorts the square shape of a signal. This is attributable to the growing transient processes influence. The nature of the transient processes in any circuit (in this case—in the electrical bus) depends on the integro-differential properties of the reactive impedance component. The differential properties of the electrical bus are the reason the square signal is distorted; peaks are added to the signal on its edges (the positive peak—on the front edge and the negative—on the rear). The electrical bus differential properties are affected mostly by the reactive impedance capacitive component.
Thus, the higher the capacitive component, the higher are the peak amplitudes on the pulse edges. Therefore, a direct relationship is observed between the number of the electronic devices (including physical driver integrated circuits) connected to the vehicle electrical bus and the waveform of the electrical signal during the data transfer process. More specifically, the more devices are connected, the higher is the peak amplitude on the edges. When the vehicle electronic devices are replaced or substituted for, the above parameters also change due to the inhomogeneity of the driver integrated circuit characteristics.
From the spectral analysis point of view, the increased peak amplitude signifies the redistribution of the signal energy from the lower frequency area of the spectrum into the higher frequency area. The vehicle electrical bus spectral analysis is performed to identify the changes of the total electrical bus reactive impedance values. Based on the measurement of the said values, the time-dependent trends construction and the comparison with the preset parameters, one can draw conclusions concerning the type and configuration of the loads, the number of devices installed on the electrical bus and the deviations from the constant values. The spectral analysis method can be used in the moment when the vehicle electrical bus is active, i.e., when the devices are exchanging data.
Inside the vehicle electrical bus, the data is sent in the form of digital sequences that are meander shaped (consist of consecutive square pulses) at signal level. If the electrical bus resistive parameters differ, the signal waveform gets distorted and becomes non-square-shaped.
is the pulse length; τϕ is the pulse edge length; τCP is the waveform tail length. Overshoots (b1) are formed at the front pulse edges and roll-offs (b2)—at the rear ones. The analysis of the overshoots and roll-offs duration and amplitude allows calculating the total electrical bus reactive impedance. To analyze the digital signal overshoots and roll-offs on the vehicle electrical bus in time domain, it is necessary to have an analog-to-digital converter (ADC) with high sampling frequency (>200 MHz) and, accordingly, a high-performance microprocessor.
In this solution, it is proposed to evaluate the signal timewise changes in spectral domain. This approach is used for the analysis of signals that are periodic in nature.
A digital signal in the vehicle electrical bus has a characteristic that is close to periodic; therefore, using a lower ADC sampling frequency (amounting to tens of MHz) it is possible to register the signal edge changes. For this, it is necessary to accumulate the readings in the course of time (in the first and second time period) and then to analyze them in the frequency domain. The signal spectrum analysis is about measuring and comparing the high frequency subspectrum amplitude values. The more the digital signal waveform is distorted, the higher is the high-frequency spectrum amplitude.
Let's use the mathematical model method to theoretically substantiate the above statements. An electrical signal model will be created using which signals of various nature will be modeled and an analysis of the obtained spectral characteristics will be performed.
Since the electrical signal in the bus has the form of a periodic square pulse sequence, its spectrum waveform will be described by the following formula:
where m is the number of the signal reading in the time domain when the discrete Fourier transformation is used;
X(m) is the signal spectrum
When analyzing the periodic square signal spectrum, we will use the following properties that are specific to it:
When comparing the spectra of the periodic square signal and of its differentiated sequence, we can see that they match one another as far as the frequency sample locations are concerned, but vastly differ in their amplitude distribution. This is due to the fact that an additional pulse array is present on the front and on the rear edge. The bulk of the square periodic signal spectrum energy is concentrated in the first lobe, at the frequencies of (0;1/τ) (see
The differentiated periodic signal spectrum, on the contrary, is characterized by more uniform energy distribution among the first lobes (see
The analysis of the electrical signal spectral characteristics is performed by the way of comparing the ratio between the main lobe energy and the cumulative side lobes energy of the spectrum, and by the way of monitoring the ratio changes in time. If the ratio changes upwards that means that a device has been disconnected from the data bus; if the ratio diminishes, a new device has been connected to the data bus. The said characteristic feature is also observed when the vehicle electronic module is replaced on the electrical bus, since the electrical characteristics of the driver integrated circuits differ.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2018135956 | Oct 2018 | RU | national |
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/RU2019/050181 | 10/10/2019 | WO | 00 |