The present invention relates to an attack detection device, an attack detection method, and an attack detection program.
A micro-electro-mechanical system (MEMS) sensor is a sensor configured such that mechanical parts and an electronic circuit are integrated into one unit.
MEMS sensors are often used due to their small size, high accuracy, and low cost.
For example, MEMS gyroscope sensors and MEMS acceleration sensors are used for autonomous control of self-driving vehicles or devices such as robots.
In measurement and control using a sensor, the reliability of sensor data is directly linked to the reliability of a system. Therefore, an attack on the sensor is a threat. An attack that disguises sensor data in software using malware can be dealt with by existing information security technologies.
On the other hand, an attack that deceives in hardware by exposing the sensor to a physical signal to physically vary the state of the sensor cannot be dealt with only by existing information security technologies.
Non-Patent Literature 1 and Non-Patent Literature 2 disclose attack methods that deceive a MEMS gyroscope sensor and a MEMS acceleration sensor, respectively, by ultrasonic waves.
An acoustic wave attack focuses on the fact that a MEMS sensor is composed of a spring and a weight. That is, it leverages the property that an object composed of a spring and a weight has a resonance frequency.
An attacker exposes the MEMS sensor to acoustic waves having the same frequency as the resonance frequency of the MEMS sensor. This exposure forces the mechanical part of the MEMS sensor to resonate, and abnormal sensor data is output from the sensor.
The following countermeasures are available as countermeasures against acoustic wave attacks on MEMS sensors.
Non-Patent Literature 1 discloses, as countermeasure methods, physically shielding a sensor, changing the resonance frequency of the sensor, and providing a plurality of sensors of the same type and comparing sensor data, as countermeasures in hardware.
Non-Patent Literature 2 discloses a countermeasure method of replacing the parts constituting a sensor with parts that are less susceptible to ultrasonic attacks, as a countermeasure in hardware. Furthermore, Non-Patent Literature 2 discloses a countermeasure method of changing the sampling interval of the sensor, as a countermeasure in software.
Non-Patent Literature 1: Son, Yunmok, et al. “Rocking drones with intentional sound noise on gyroscopic sensors.” 24th USENIX Security Symposium (USENIX Security 15). 2015.
Non-Patent Literature 2: Timothy Trippel, Ofir Weisse, Wenyuan Xu, Peter Honeyman, and Kevin Fu. 2017. WALNUT: Waging doubt on the integrity of mems accelerometers with acoustic injection attacks. In Security and Privacy (EuroS&P), 2017 IEEE European Symposium on. IEEE, 3-18.
Although Non-Patent Literature 1 and Non-Patent Literature 2 disclose some countermeasures against acoustic wave attacks on MEMS sensors, these countermeasures have the following drawbacks.
The countermeasure methods in hardware require that the sensor itself be modified or a plurality of sensors be provided, thereby increasing costs.
The method of shielding the sensor may affect other sensors, and the method of shielding the sensor may adversely affect measurement performance.
In addition, if the hardware configuration cannot be changed, the countermeasures in hardware cannot be implemented.
A problem of the countermeasure method in software disclosed in Non-Patent Literature 2 is that it can be applied only to limited sensors. This is because it is a prerequisite for applying this countermeasure method that a user of the sensor can set the sampling interval of the sensor.
It is an object of the present invention to provide an attack detection device that detects an attack on a sensor and can be used within the scope of normal use of the sensor without requiring modification to the sensor itself.
An attack detection device according to the present invention includes:
a characteristic detection unit to treat sensor data detected by a sensor as a waveform of time-series data, and detect in the waveform of the sensor data a corresponding characteristic corresponding to a reference characteristic, the characteristic detection unit detecting the corresponding characteristic for each of a plurality of reference characteristics of respectively different types; and
an attack determination unit to determine presence or absence of an attack on the sensor, based on a plurality of corresponding characteristics, each detected for a corresponding one of the plurality of reference characteristics.
According to the present invention, it is possible to provide an attack detection device that detects an attack on a sensor and can be used within the scope of normal use of the sensor without requiring modification to the sensor itself.
Description of Configurations
Each of the high frequency detection unit 111, the amplitude change detection unit 112, the periodic change detection unit 113, the abrupt change detection unit 114, the bias detection unit 115, and the single sine wave detection unit 116 may be denoted simply as a detection unit.
A plurality of MEMS sensors 200 may be connected to the attack detection device 100. The number of detection units that are included in the characteristic detection unit 110 and detect attack characteristics is not limited to six units. Other detection units may be added, or one or more of the six detection units of the high frequency detection unit 111 to the single sine wave detection unit 116 may be omitted.
Description of Operation
Operation of the attack detection device 100 will be described. The operation of the attack detection device 100 corresponds to an attack detection method. The operation of the attack detection device 100 also corresponds to processes of the attack detection program.
The attack detection device 100 is characterized in that when an attack is performed on the MEMS sensor 200, an attack characteristic that occurs in sensor data is detected as a time-series change.
In each of the eight graphs, the horizontal axis is time and the vertical axis is the signal value.
In (a) bias, bias is included in sensor data.
In (b) sine wave, a high frequency sine wave is included in sensor data.
In (c) sine wave, a low frequency sine wave is included in sensor data.
In (d) AM modulation, sensor data is AM modulated.
In (e) FM modulation, sensor data is FM modulated.
In (f) AM modulation & FM modulation, sensor data is AM modulated and FM modulated.
In (g) ASK modulation, sensor data is ASK modulated.
In (h) PSK modulation, sensor data is PSK modulated.
The attack detection device 100 aims to detect attack characteristics of (a) bias to (h) PSK modulation illustrated in
The attack detection device 100 has the following advantages. The attack detection device 100 has a plurality of detection units that detect attacks, such as the high frequency detection unit 111 to the single sine wave detection unit 116. Therefore, the attack detection device 100 can complementarily detect attack characteristics that cannot be detected by only a single detection unit. In addition, in the attack detection device 100, the attack determination unit 120 determines the presence of an attack based on the detection results of the plurality of detection units, so that false detections are reduced. As will be described later, the attack determination unit 120 determines the presence of an attack by calculating the sum of weighted detection results and comparing it with a threshold value.
The detection units included in the characteristic detection unit 110 of the attack detection device 100 will be described below. Time-series data of sensor data may hereinafter be referred to as a “waveform”.
The high frequency detection unit 111 will be described first. The detection of a characteristic in sensor data by the high frequency detection unit 111 focuses on the fact that the amplitude of time-series data of sensor data fluctuates abnormally rapidly when the MEMS sensor 200 is attacked. The high frequency detection unit 111 detects, as a characteristic, a high-frequency characteristic in sensor data.
As specific methods for detecting a high frequency by the high frequency detection unit 111, the following two methods may be considered. One method is to cut out sensor data using a certain time window and compare waveforms before and after passing through a low-pass filter. The low-pass filter may be provided in the high frequency detection unit 111 as a program. Alternatively, as illustrated in
The Pearson correlation coefficient is one method for measuring a similarity between two waveforms. The Pearson correlation coefficient for two series xi and yi (i=1, 2, . . . , n) can be obtained by the following formula.
Note that
are the arithmetic averages of xi and yi, respectively.
The other specific method for detecting a high frequency by the high frequency detection unit 111 is to cut out a waveform using a time window and perform an FFT so as to convert time-domain data to frequency-domain data and directly detect a high-frequency component.
The high frequency detection unit 111 can detect (b), (d), (e), (0, and (g) among the waveforms at the time of an attack in
The amplitude change detection unit 112 will now be described. The characteristic detection by the amplitude change detection unit 112 focuses on the fact that the amplitude of a waveform appears to be constant when the waveform is viewed over a long duration. The amplitude change detection unit 112 detects, as a characteristic, a constant change in the amplitude of the waveform. A specific detection method by the amplitude change detection unit 112 is to draw an envelope on the waveform over a long duration and observe a change therein. This allows a change over time in amplitude peak to be observed. Therefore, the amplitude change detection unit 112 can detect that a change in amplitude is nearly constant when the width of the change over time in amplitude peak is small. The amplitude change detection unit 112 can detect (a), (b), (e), and (h) among the waveforms at the time of an attack in
The periodic change detection unit 113 will be described. The characteristic detection by the periodic change detection unit 113 focuses on the fact that a waveform at the time of an attack changes with a certain period. The periodic change detection unit 113 detects, as a characteristic, a periodic change in a waveform. One method for checking the periodicity of a waveform is an autocorrelation coefficient. The autocorrelation coefficient for a series xi (i=1, 2, . . . , n) can be obtained by the following formula.
Note that j is a shift width of the series. When a high autocorrelation coefficient is observed with regard to a given shift width j, this indicates that the waveform has a high similarity at intervals of the given shift width j. That is, the waveform can be regarded as a regular waveform whose period is j. Therefore, if a high autocorrelation coefficient is observed, the presence of an attack may be determined.
The periodic change detection unit 113 can detect (a), (b), (c), (d), (e), and (g) among the waveforms at the time of an attack in
The abrupt change detection unit 114 will be described. The detection by the abrupt change detection unit 114 focuses on the fact that a waveform changes abruptly upon the start of an attack. The abrupt change detection unit 114 detects, as a characteristic, an abrupt change in the waveform. A specific detection method is that the abrupt change detection unit 114 records a change in frequency or a change in amplitude. When observing a change in amplitude, the abrupt change detection unit 114 compares sensor data values at regular time intervals. The presence of an attack may be determined if a significant change is observed.
When observing a change in frequency, the abrupt change detection unit 114 performs a fast Fourier transform (FFT) at regular time intervals to acquire a peak frequency. The presence of an attack may be determined if there is an abrupt change in the peak frequency. The abrupt change detection unit 114 can detect (a), (b), (c), (d), (e), (g), and (h) among the waveforms at the time of an attack in
The bias detection unit 115 will now be described. The detection by the bias detection unit 115 focuses especially on an attack that causes bias to be output. The bias detection unit 115 detects, as a characteristic, bias in a waveform. As specific detection methods by the bias detection unit 115, the following two methods may be considered. One method is to monitor the average and variance of the waveform. When the average is far from 0 and the variance is close to 0, it can be seen that constant values are output from the MEMS sensor 200 as the waveform. In other words, it can be seen that there is bias. Therefore, the presence or absence of bias can be determined from results of comparing each of the average and the variance with 0. The other method is to monitor a change in the amplitude of the waveform. When a change in the amplitude of the waveform is small, it can be known that there is bias. Therefore, if there are two sets of sensor data at a certain time t and the next time series t+1, a change in the amplitude of the waveform can be known. The presence or absence of bias can be determined by comparing the change in the amplitude with a certain threshold value.
The bias detection unit 115 can detect (a) among the waveforms at the time of an attack in
The single sine wave detection unit 116 will now be described. The detection by the single sine wave detection unit 116 focuses on the fact that since the MEMS sensor 200 is forcibly resonated, a frequency in accordance with the resonance frequency continues to be superposed. That is, there is a characteristic that regular sine waves continue to be superposed as in (b), (c), (d), (g), and (h) illustrated in
The characteristic detection unit 110 treats sensor data detected by the sensor as a waveform of time-series data, and for each reference characteristic of a plurality of reference characteristics of respectively different types, detects in the waveform of the sensor data a corresponding characteristic corresponding to the reference characteristic. A reference characteristic is a characteristic to be detected in the waveform of the sensor data. A corresponding characteristic is a characteristic corresponding to one reference characteristic of the plurality of different reference characteristics. In the following, a corresponding characteristic is a detection result. The characteristic detection unit 110 generates each corresponding characteristic as a score indicating a degree of matching with the reference characteristic corresponding to the corresponding characteristic. That is, in the first embodiment, a detection result, which is a corresponding characteristic, is a detection score indicating to what degree the waveform matches the reference characteristic set as an attack characteristic.
(1) The high frequency detection unit 111 of the characteristic detection unit 110 detects, as a corresponding characteristic, a frequency characteristic in the waveform indicated by the sensor data. In the high frequency detection unit 111, the reference characteristic is a high frequency, and a similarity is used as a detection result 11, which is a corresponding characteristic.
(2) The amplitude change detection unit 112 of the characteristic detection unit 110 detects, as a corresponding characteristic, an amplitude change characteristic in the waveform indicated by the sensor data. In the amplitude change detection unit 112, the reference characteristic is a constant change in amplitude, and the width of a change over time in amplitude peak is used as a detection result 12, which is a corresponding characteristic.
(3) The periodic change detection unit 113 of the characteristic detection unit 110 detects, as a corresponding characteristic, a periodic change in the waveform indicated by the sensor data. In the periodic change detection unit 113, the reference characteristic is a periodic change, and an autocorrelation coefficient is used as a detection result 13, which is a corresponding characteristic.
(4) The abrupt change detection unit 114 of the characteristic detection unit 110 detects, as a corresponding characteristic, an abrupt change in the waveform indicated by the sensor data. In the abrupt change detection unit 114, the reference characteristic is an abrupt change, and an autocorrelation coefficient is used as a detection result 14, which is a corresponding characteristic.
(5) The bias detection unit 115 of the characteristic detection unit 110 detects, as a corresponding characteristic, bias in the waveform indicated by the sensor data. In the bias detection unit 115, the reference characteristic is bias, and the average of the waveform is used as a detection result 15, which is a corresponding characteristic.
(6) The single sine wave detection unit 116 of the characteristic detection unit 110 detects, as a corresponding characteristic, continued superposition of sine waves. In the single sine wave detection unit 116, the reference characteristic is superposition of single sine waves, and a period of time during which superposition of certain frequencies continues is used as a detection result 16, which is a corresponding characteristic.
(7) As will be described later, the detection results 11 to 16 are compared with corresponding threshold values.
In step S01, the MEMS sensor 200 transmits sensor data 201 to the controller 300. The controller 300 performs processing corresponding to the sensor data 201.
In step S02, the MEMS sensor 200 transmits the sensor data 201 to the high frequency detection unit 111. The high frequency detection unit 111 detects whether a high frequency is included in the sensor data 201, and transmits the detection result 11 to the attack determination unit 120.
In step S03, the MEMS sensor 200 transmits the sensor data 201 to the amplitude change detection unit 112. The amplitude change detection unit 112 detects whether a change in the amplitude of the sensor data 201 is constant, and transmits the detection result 12 to the attack determination unit 120.
In step S04, the MEMS sensor 200 transmits the sensor data 201 to the periodic change detection unit 113. The periodic change detection unit 113 detects whether a change over time of the sensor data 201 is periodic, and transmits the detection result 13 to the attack determination unit 120.
In step S05, the MEMS sensor 200 transmits the sensor data 201 to the abrupt change detection unit 114. The abrupt change detection unit 114 detects whether the sensor data 201 changes abruptly, and transmits the detection result 14 to the attack determination unit 120.
In step S06, the MEMS sensor 200 transmits the sensor data 201 to the bias detection unit 115. The bias detection unit 115 detects whether bias is included in the sensor data 201, and transmits the detection result 15 to the attack determination unit 120.
In step S07, the MEMS sensor 200 transmits the sensor data 201 to the single sine wave detection unit 116. The single sine wave detection unit 116 detects whether single sine waves continue to be superposed in the sensor data 201, and transmits the detection result 16 to the attack determination unit 120.
The attack determination unit 120 determines the presence or absence of an attack on the sensor based on a plurality of corresponding characteristics detected with regard to the reference characteristics. The attack determination unit 120 detects the presence or absence of an attack on the sensor, using scores indicating the respective corresponding characteristics. That is, the attack determination unit 120 determines the presence or absence of an attack based on the detection results 11 to 16, using thresholds as will be described later.
In step S08, the attack determination unit 120 transmits a determination result 121 to the controller 300.
The controller 300 performs processing depending on the determination result 121 received from the attack determination unit 120.
In step S11, the attack determination unit 120 resets the threshold value counter 122 for determining the presence or absence of an attack.
In step S12, the attack determination unit 120 receives a detection result. This detection result is one of the detection results 11 to 16.
In step S13, the attack determination unit 120 compares the received detection result with a threshold value corresponding to the received detection result.
The threshold values will now be described. The attack determination unit 120 has two types of threshold values. One type of threshold value is a threshold value for being compared with a detection result by the detection unit. The other type of threshold value is a threshold value for being compared with the value of the threshold value counter 122. As the former type of threshold value, there are threshold values 1 to 6 below.
The threshold value 1 is compared with the detection result 11 of the high frequency detection unit 111.
The threshold value 2 is compared with the detection result 12 of the amplitude change detection unit 112.
The threshold value 3 is compared with the detection result 13 of the periodic change detection unit 113.
The threshold value 4 is compared with the detection result 14 of the abrupt change detection unit 114.
The threshold value 5 is compared with the detection result 15 of the bias detection unit 115.
The threshold value 6 is compared with the detection result 16 of the single sine wave detection unit 116.
In step S14, if the detection result exceeds the threshold value, the attack determination unit 120 increments the threshold value counter 122. With the configuration of
That the detection result exceeds the threshold, which is a condition for incrementing the threshold value counter 122, signifies the following.
(1) Regarding the detection result 11 indicating a similarity related to a high-frequency component, the similarity is larger than the threshold value 1.
(2) Regarding the detection result 12 indicating the width of a change over time in peak related to constant amplitude, the width of the change over time in peak is smaller than the threshold value 2.
(3) Regarding the detection result 13 indicating an autocorrelation coefficient related to a periodic change, the autocorrelation coefficient is larger than the threshold value 3.
(4) Regarding the detection result 14 indicating a change in amplitude per unit time related to an abrupt change, the change in amplitude per unit time is larger than the threshold value 4.
(5) Regarding the detection result 15 related to bias, the average value of the waveform is larger than the threshold value 5.
(6) Regarding the detection result 16 related to single sine waves, the period of time during which superposition of given frequencies continues is larger than the threshold value 6.
In step S15, the attack determination unit 120 checks whether all the detection results have been compared with the threshold values. If the result of step S15 is NO, the process proceeds to step S13.
If the result of step S15 is YES, the process proceeds to step S16.
In step S16, the attack determination unit 120 determines the presence or absence of an attack. If the value of the threshold value counter 122 exceeds the counter threshold value for determining the presence of an attack, the attack determination unit 120 determines the presence of an attack. In this case, the attack determination unit 120 transmits an anomaly notification as the determination result 121 to the controller 300 in step S17.
If the threshold value counter 122 does not exceed the counter threshold value, the attack determination unit 120 determines the absence of an attack. In this case, the attack determination unit 120 transmits a normal-state notification as the determination result 121 to the controller 300 in step S18.
A supplementary description of the high frequency detection unit 111 will be provided. It has been described that when detecting a high frequency by comparison between waveforms before and after passing through the low-pass filter, the high frequency detection unit 111 uses the Pearson correlation coefficient for calculating a similarity between the waveform before passing through the low-pass filter and the waveform after passing through the low-pass filter. Instead of the Pearson correlation coefficient, the following similarity calculation methods (1) and (2) may be used.
(1) The similarity calculation method is to calculate mutual correlations, correlation information amounts, or likelihoods.
(2) The similarity calculation method is to calculate geometric distances, such as the Euclidean distance, the Mahalanobis distance, the Manhattan distance, the Chebyshev distance, and the Minkowski distance.
In the attack determination unit 120, the threshold value counter 122 may be realized by the following method, taking into consideration the target to be observed by the sensor. Weighting is performed individually for each detection unit, or the threshold value itself is changed. The attack determination unit 120 weights a score that indicates a corresponding characteristic, depending on the type of the reference characteristic corresponding to the corresponding characteristic, and determines the presence or absence of an attack on the sensor based on the weighted score. Depending on the type of the reference characteristic signifies depending on the type of the detection unit. Weighting of a score may be done by changing the value of a detection result, changing the threshold value to be compared with a detection result, or changing the counter threshold value.
For example, with a MEMS acceleration sensor or a MEMS gyroscope sensor attached to a robot arm that performs regular movements, the threshold value to be compared with the detection result 13 obtained from the periodic change detection unit 113 is increased so as to lower the importance.
When there is an attack on the MEMS sensor 200, the waveform of the MEMS sensor 200 exhibits attack characteristics, such as a high frequency, constant amplitude, a periodic change, an abrupt change, bias, and superposition of single sine waves. In the attack detection device 100 of the first embodiment, these characteristics are detected by the six detection units, so that an attack on the MEMS sensor 200 can be detected.
In addition, the attack detection device 100 requires only input of sensor data of the sensor for which an attack is to be detected, so that no modification to the sensor itself is required.
In addition, the attack detection device 100 can be used for many types of sensors, not limited to the MEMS sensor 200.
The hardware configuration of the attack detection device 100 has been described with reference to
The processor 910 is a central processing unit (CPU) or a digital signal processor (DSP). The memory 920 is a random access memory (RAM), a read only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD). Each of the sensor data input interface 930 and the attack determination result output interface 940 is an Inter-Integrated Circuit (I2C) interface, a Serial Peripheral Interface (SPI), or an Ethernet (registered trademark) interface.
The “unit” of each of the high frequency detection unit 111, the amplitude change detection unit 112, the periodic change detection unit 113, the abrupt change detection unit 114, the bias detection unit 115, the single sine wave detection unit 116, and the attack determination unit 120 may be interpreted as a “circuit”, “step”, “procedure”, or “process”. The attack detection device 100 may be realized by an electronic circuit, such as a logic integrated circuit (IC), a gate array (GA), an application specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).
The processor and the above electronic circuit are also collectively referred to as processing circuitry.
Description of Configurations
Referring to
The attack detection device 100 includes the characteristic detection unit 110, the attack determination unit 120, a context determination unit 130, and a state transition detection unit 140. The attack detection device 100 of the second embodiment further includes the context determination unit 130 and the state transition detection unit 140 in addition to the components of the attack detection device 100 of the first embodiment.
The control system 600 includes the MEMS sensor 200, the controller 300, and an actuator 400. The control system 600 performs feedback control on the control target 500.
The attack detection system 700 is configured such that the attack detection device 100 is connected to the control system 600.
A plurality of MEMS sensors 200 may be connected to the attack detection device 100. The characteristic detection unit 110 may be composed of the plurality of detection units as described in the first embodiment. Alternatively, the characteristic detection unit 110 may be composed of one detection unit or two or more detection units of the plurality of detection units. The attack detection device 100 may be realized as a component of the controller 300 constituting the control system 600. When the control system 600 does not have an actuator, the context determination unit 130 may determine a context based only on the sensor data 201.
Description of Operation
Operation of the attack detection device 100 of the second embodiment will be described. The attack detection device 100 further includes the context determination unit 130 and the state transition detection unit 140 in addition to the components of the attack detection device 100 of the first embodiment, and can detect an attack on the MEMS sensor 200, taking into consideration a state of the control target 500.
A context signifies a state of the control target 500.
Context determination has two effects. One effect is that false detections can be reduced by changing the detection criteria and determination criteria of the characteristic detection unit 110 and the attack determination unit 120, depending on the context. For example, when the control target 500 is a robot, sensor data changes abruptly at the start of moving, so that a detection score, which is a detection result, of the abrupt change detection unit 114 may be decreased. Alternatively, the threshold value to be compared with a detection result of the abrupt change detection unit 114 may be decreased.
Another effect of context determination is that an abnormal context state is detected and used for attack determination.
There are two methods for detecting an abnormal context state.
One method detects an abnormal context state based on an inconsistency between a controlled variable and a state of the control target 500 indicated by sensor data.
The other method detects an abnormal context state as an undefined abnormal state transition when there is a state transition.
A method for determining a context by the context determination unit 130 will now be described. A context is determined by the context determination unit 130 based on a controlled variable and a change over time in sensor data. In the following, a description will be provided using a mobile robot as an example. It is assumed that the movement of the mobile robot is controlled by a motor controlled with pulse width modulation (PWM) and the mobile robot is equipped with an acceleration sensor. The controlled variable can be known from a control signal 301 output from the controller 300. The control signal 301 is a signal for controlling the actuator 400.
As illustrated in
In step S21, the MEMS sensor 200 transmits the sensor data 201 to the controller 300. The controller 300 decides how much to operate the actuator 400 based on the sensor data 201, and transmits the control signal 301 for controlling the actuator 400 to the actuator 400. The actuator 400 acts on the control target 500, and the state of the control target 500 changes. This is control of the control target 500 by feedback control.
In step S22, the MEMS sensor 200 transmits the sensor data 201 to the characteristic detection unit 110. The characteristic detection unit 110 detects whether an attack characteristic is included in the sensor data 201, and transmits a detection result 110a to the attack determination unit 120.
In step S23, the MEMS sensor 200 transmits the sensor data 201 to the context determination unit 130.
In step S24, the controller 300 transmits the control signal 301 to the context determination unit 130. The context determination unit 130 determines a context based on two pieces of information of the sensor data 201 and the control signal 301. The context determination unit 130 transmits a determined current context 131 to the characteristic detection unit 110, the attack determination unit 120, and the state transition detection unit 140.
In step S25, the state transition detection unit 140 detects an abnormal state transition based on the context 131, and transmits a detection result 141 to the attack determination unit 120.
The attack determination unit 120 determines the presence or absence of an attack based on the detection result 110a by the characteristic detection unit 110, the context 131 by the context determination unit 130, and the detection result 141 by the state transition detection unit 140.
In step S26, the attack determination unit 120 transmits the determination result 121 to the controller 300. The controller 300 performs processing based on the determination result 121.
First, in step S101, the context determination unit 130 determines a context based on the controlled variable indicated by the control signal 301 and determines a context based on the sensor data 201, from among the contexts illustrated in
In step S102, the context determination unit 130 checks whether the two contexts match. If the two contexts match, the context determination unit 130 decides on the matching context (step S103). If the two contexts do not match, the context determination unit 130 decides that the context is indefinite.
However, if the context determined based on the controlled variable is A or B and the context determined based on the sensor data 201 is A, the context is decided as
Step S104 indicates this decision.
Operation of the state transition detection unit 140 will be described using a flowchart illustrated in
In step S201, the state transition detection unit 140 receives the context 131 from the context determination unit 130.
In step S202, the state transition detection unit 140 compares the received context 131 with an immediately preceding context received on the previous occasion, and determines a state transition.
In step S203, the state transition detection unit 140 checks whether the state transition from the immediately preceding context to the context 131 is a state transition that is not defined, on the basis of the state transition diagram illustrated in
For example, in the state transition diagram illustrated in
After resetting the threshold value counter 122, the attack determination unit 120 receives the context 131 in step S302.
The attack determination unit 120 weights a score that indicates a corresponding characteristic, depending on the determination result of the context determination unit 130, and determines the presence or absence of an attack on the sensor based on the weighted score. Specifically, in step S303, the attack determination unit 120 refers to the correspondence information 123 and changes one or more threshold values, depending on the context 131.
The correspondence information 123 indicates ways of changing the threshold values corresponding to five contexts: acceleration, deceleration, constant velocity, stationary, and indefinite. For example, in a stationary state, it can be anticipated that sensor data will fluctuate greatly at the next movement, so that the threshold value for detecting an abrupt change should be increased. The correspondence information 123 is created based on such an idea.
In this way, the attack determination unit 120 changes the threshold value, depending on the received context 131.
The state transition detection unit 140 uses the context 131 determined by the context determination unit 130 and a context immediately preceding the context 131 to detect an abnormal state transition from the immediately preceding context to the context 131.
If an abnormal state transition is detected by the state transition detection unit 140, the attack determination unit 120 determines that there is an attack on the sensor and notifies the controller 300 of an anomaly as the determination result 121. Alternatively, if an abnormal state transition is detected by the state transition detection unit 140, the attack determination unit 120 may change all or some of the threshold values 1 to 6 without determining the presence of an attack.
In the second embodiment, when there is an attack on the MEMS sensor 200, the attack can be detected based on attack characteristics as in the first embodiment.
In addition to the effects of the first embodiment which are that no modification to the sensor is required and it can be used for many types of sensors, the attack detection device 100 has effects of allowing detection of a wider variety of attacks and allowing false detections to be reduced.
In addition, the attack detection device 100 changes one or more threshold values, depending on the context 131, so that false attack detections can be reduced.
In addition, the attack detection device 100 can detect an attack by observing an abnormal state transition due to the attack.
1, 2, 3, 4, 5, 6: threshold value; 10: attack detection system; 11, 12, 13, 14, 15, 16: detection result; 100: attack detection device; 110: characteristic detection unit;
110
a: detection result; 111: high frequency detection unit; 112: amplitude change detection unit; 113: periodic change detection unit; 114: abrupt change detection unit; 115: bias detection unit; 116: single sine wave detection unit; 120: attack determination unit; 121: determination result; 122: threshold value counter; 123: correspondence information; 130: context determination unit; 131: context; 132: context determination information; 140: state transition detection unit; 141: detection result; 200: MEMS sensor; 201: sensor data; 300: controller; 301: control signal; 400: actuator; 500: control target; 600: control system; 700: attack detection system; 910: processor; 920: memory; 930: sensor data input interface; 940: attack determination result output interface; 950: control signal input interface; 960: low-pass filter
This application is a Continuation of PCT International Application No. PCT/JP2018/016648, filed on Apr. 24, 2018, which is hereby expressly incorporated by reference into the present application.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2018/016648 | Apr 2018 | US |
Child | 17002240 | US |