A method and system for detecting and locating illegal intrusion equipment in an industrial control system
By setting the detection time window width and signal division interval in the industrial control system, and using the cumulative sum control chart method to extract and correct signal feature deviations, the failure problem of physical intrusion detection when temperature changes is solved, and the system is implemented in the industrial control system. Efficient and accurate intrusion device detection.
Patent Information
- Application Number
- CN202211144500.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-09-20
AI Technical Summary
Existing physical intrusion detection methods cannot effectively detect illegal intrusion devices in industrial control systems when the ambient temperature changes, resulting in detection failure.
By setting the detection time window width, signal division interval and cumulative minimum deviation, the signal is divided into sub-sequences, the time domain digital average method is used to extract feature values, and the feature deviation is accumulated through the cumulative sum control chart method, and stored in time-deviation Database used to correct detection results during continuous changes in temperature.
It achieves effective physical intrusion detection of industrial control systems under temperature changes, improves the real-time and accuracy of detection, reduces false alarm and false negative rates, saves detection costs, and maintains the continuity of normal equipment communication. sex.
Smart Images

Figure CN115567264B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of detecting illegal intrusion equipment of industrial control systems, and in particular relates to a method and system for detecting and locating illegal intrusion equipment of industrial control systems. Background Art
[0002] Industrial control systems (ICS) are complex systems that are now widely used in critical infrastructure such as nuclear energy and electric power. The underlying communication between terminal devices in industrial control systems mainly depends on fieldbus networks. For decades, fieldbus networks have protected systems from network attacks through physical isolation. However, in recent years, many security incidents have occurred in which industrial control systems have been attacked by physical access devices, indicating that physical intrusion attacks have become a new form of intrusion attacks on industrial control systems, and how to detect physical intrusions on industrial control systems has become a hot topic of research.
[0003] At present, the research on intrusion detection lacks consideration of different temperature changes, so it is difficult to ensure the applicability of the method in actual industrial systems. However, ambient temperature is an important influencing factor. Due to changes in seasons, the heat generated by the operation of the equipment itself, etc., the ambient temperature is not constant. When the ambient temperature changes, it will not only cause the temperature of the equipment or wires to change, and then the impedance will change, but it will even cause the intrusion detection method based on the physical level to fail. Therefore, when detecting physical intrusion, it is necessary to consider the ambient temperature as an important influencing factor, and test and optimize the method for continuous temperature changes. Summary of the invention
[0004] The present invention provides a method and system for detecting and locating illegal intrusion equipment in an industrial control system, which are used to solve the technical problem that the existing physical intrusion detection method cannot perform effective detection under continuous temperature changes.
[0005] The present invention adopts the following technical solutions:
[0006] A method for detecting and locating illegally intruded equipment in an industrial control system comprises the following steps:
[0007] S1. Set the detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment;
[0008] S2, loading the signals collected within the detection time window width set in step S1 from the signal database, and dividing the read signals into signal subsequences according to the signal division interval set in step S1;
[0009] S3, extracting the characteristic value of the signal subsequence obtained in step S2 by using the time domain digital averaging method;
[0010] S4, comparing the characteristic value obtained in step S3 with the cumulative minimum deviation obtained in step S1 to obtain a characteristic deviation, and accumulating the characteristic deviation using a cumulative sum control chart method to obtain a current signal characteristic cumulative deviation;
[0011] S5, based on the judgment of whether the current sequence is the last subsequence, move the subsequence, and repeat steps S3 and S4 to accumulate signal feature deviations until all subsequences are traversed in order;
[0012] S6. Store the signal feature deviation obtained in step S5 into the time-deviation database. In physical intrusion detection, compare the deviation value of the corresponding time in the time-deviation database with the threshold value to realize the correction of detection in continuous temperature change. In the process of implementing physical intrusion detection, call the accumulated deviation of the current time-deviation database to determine whether there is an intrusion device connected, so as to realize the detection and positioning of illegal intrusion devices in the industrial control system.
[0013] Specifically, step S2 is as follows:
[0014] S201. According to the current moment, load the signals within the historical detection time window from the signal database, wherein each signal indicates the acquisition time and the amplitude of the signal, and each signal is a signal corresponding to the control instruction of the gateway device;
[0015] S202: All signal sequences obtained by sampling Divide into sub-signal sequences according to the signal division interval.
[0016] Furthermore, in step S202, the divided sub-signal sequences are specifically:
[0017] {{v 11 ,v 12 ,…,v iN},{v 21 ,v 22 ,…,v 2N},…,{v n1 ,v n2 ,…,v nN}}
[0018] Where k is the number of subsequences, N all is the number of signal sequences within the detection time window, N is the length of each sub-signal sequence, and n is the number of sub-signal sequences.
[0019] Specifically, in step S3, the amplitude feature v of the signal subsequence i for:
[0020]
[0021] Where i = 1, 2, ..., n, n is the number of sub-signal sequences, N is the length of each sub-signal sequence, v ij is the signal amplitude with index j in the i-th sub-signal sequence.
[0022] Specifically, step S4 is as follows:
[0023] S401, calculating the mean and variance estimates corresponding to the current signal subsequence, and performing operations with the minimum cumulative deviation to obtain the characteristic deviation of the current signal subsequence;
[0024] S402: Accumulate characteristic deviations of the current signal.
[0025] Furthermore, in step S401, the estimated mean is used to estimate the mean of the current signal subsequence, the estimated variance is used to estimate the variance of the current signal subsequence, and the likelihood ratio of whether there is intrusion in the signal subsequence at the current moment is calculated using the likelihood ratio as the feature deviation.
[0026] Furthermore, we estimate the mean Estimated variance and the likelihood ratio s t They are:
[0027]
[0028]
[0029]
[0030] Where, t = 1, 2, ..., n, n is the number of sub-signal sequences, v i is the amplitude characteristic of the ith sub-signal sequence, is the estimated mean of the ith sub-signal sequence, v t is the amplitude characteristic of the t-th sub-signal sequence, is the estimated mean of the t-th sub-signal sequence, and δ is the cumulative minimum deviation of the signal.
[0031] Furthermore, in step S402, the deviation of the accumulated current signal feature is specifically:
[0032]
[0033]
[0034] in, is the initial value of the signal characteristic deviation accumulation, is the cumulative value of the i-th signal characteristic deviation, is the cumulative value of the i-1th signal characteristic deviation, s iis the characteristic deviation of the i-th sub-signal sequence.
[0035] Specifically, in step S1, the detection time window width is 7 days, and the signal division interval is divided into 1 signal subsequence every 1 hour.
[0036] In a second aspect, an embodiment of the present invention provides an industrial control system illegal intrusion device detection and positioning system, including:
[0037] Setting module, set the detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment;
[0038] The data module loads the signals collected within the detection time window width set by the setting module from the signal database, and divides the read signals into signal subsequences according to the signal division interval set by the setting module;
[0039] The accumulation module uses the time domain digital averaging method to extract the characteristic value of the signal subsequence obtained by the data module; compares the characteristic value with the cumulative minimum deviation obtained by the setting module to obtain the characteristic deviation, and uses the cumulative and control chart method to accumulate the characteristic deviation to obtain the current signal characteristic cumulative deviation;
[0040] The traversal module moves the subsequence based on whether the current sequence is the last subsequence, and repeats the accumulation module to accumulate signal feature deviations until all subsequences are traversed in order;
[0041] The positioning module stores the signal feature deviation obtained by the traversal module in the time-deviation database. In physical intrusion detection, the deviation value of the corresponding time in the time-deviation database is compared with the threshold to realize the correction of detection in continuous temperature changes. During the implementation of physical intrusion detection, the cumulative deviation of the current time-deviation database is called to determine whether there is an intrusion device connected, so as to realize the detection and positioning of illegal intrusion devices in the industrial control system.
[0042] Compared with the prior art, the present invention has at least the following beneficial effects:
[0043] The present invention discloses a method for detecting and locating illegal intrusion equipment in an industrial control system. By setting the detection time window width, signal division interval, and cumulative minimum deviation, the signal is equally divided into signal subsequences, features are extracted from the signal subsequences, and feature deviations are accumulated using a cumulative and control diagram, feature extraction and deviation accumulation are repeated until all subsequences are traversed, and feature cumulative deviation values are stored in a time-deviation database. In the actual physical intrusion detection process, the intrusion deviation value can be compared with a set threshold value, and a sliding time window can be used for detection to determine whether there is an intrusion; the signal used is a high and low level signal when the detection device monitors the normal communication of the device, which does not affect the normal communication between the devices, saves the transformation cost, and retains the connection structure of the original network; the cumulative and control diagram is used to accumulate feature deviations, and by accumulating the signal feature deviations within the detection time window width, the signal feature deviation can be dynamically extracted with temperature changes, and used for physical intrusion detection, ensuring the real-time and accuracy of the detection.
[0044] Furthermore, in step S2, the signals collected within the time window width are loaded according to the preset time window width, and a sliding window can be used to implement dynamic detection in the actual physical intrusion detection process, which not only saves detection costs but also improves detection efficiency.
[0045] Furthermore, the read signal is divided into signal subsequences according to the signal division interval. By processing each segment of the signal subsequence separately, the characteristic value of each segment of the sub-signal can be extracted segment by segment for accumulating characteristic deviations.
[0046] Furthermore, the amplitude feature v of the signal subsequence is extracted using the time domain averaging algorithm i , which can effectively filter out the Gaussian white noise in the signal and extract the amplitude characteristics of the signal.
[0047] Furthermore, setting step S4 can obtain the deviation between the current signal feature and the non-invasion signal feature, and obtain the cumulative deviation of the current signal sequence by accumulating the feature deviation.
[0048] Furthermore, by estimating the mean and variance of the current signal subsequence, the sample values can be used to estimate the overall parameters and obtain the overall probability density function; by calculating the likelihood ratio of whether the current signal subsequence has an intrusion or not, the larger the likelihood ratio, the more likely it is to accept the hypothesis of an intrusion, which is then used as the signal feature deviation.
[0049] Furthermore, by calculating and The estimated overall parameters can be used to derive the likelihood ratio s of the current signal subsequence with or without intrusion t ,s t As characteristic deviation, it is used to accumulate characteristic deviations of different sub-signal sequences in the accumulation and control chart method.
[0050] Furthermore, the cumulative initial value of the signal feature deviation is set to 0. By continuously traversing the sub-signal sequence and accumulating the feature deviation of the sub-signal sequence, the feature deviation caused by the intrusion can be gradually accumulated and amplified while ignoring the tiny feature deviation caused by noise and temperature, and then the feature deviation accumulation value can be used to realize intrusion detection.
[0051] Furthermore, setting the detection time window width to 7 days can ensure that the temperature change within the detection time window is not too large, and at the same time ensure that sufficient signal samples are extracted. The signal division interval is divided into 1 signal subsequence every 1 hour. Since the master station needs to periodically poll the slave station device status and data, setting the signal division interval larger than the polling period can ensure that there are sufficient signals for feature extraction in each time interval.
[0052] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0053] In summary, the present invention utilizes the variation law of impedance of each device in the network with temperature change, and realizes a method for correcting physical intrusion detection characteristics under continuous temperature change by accumulating signal characteristic deviation values under different temperatures in a test environment.
[0054] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a characteristic deviation cumulative curve diagram, where (a) is the non-invasion cumulative deviation diagram, and (b) is the invasion cumulative deviation diagram;
[0056] Figure 2 The present invention is a flow chart of the detection method. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0059] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0060] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects are in an "or" relationship.
[0061] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0062] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0063] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0064] The present invention provides a method for detecting and locating illegally intruded equipment in an industrial control system. By setting the detection time window width, signal division interval, and cumulative minimum deviation, the signal is equally divided into signal subsequences, features are extracted from the signal subsequences, and feature deviations are accumulated using a cumulative and control diagram, feature extraction and deviation accumulation are repeated until all subsequences are traversed, and feature cumulative deviation values are stored in a time-deviation database; in the actual physical intrusion detection process, the intrusion deviation value can be compared with a set threshold, and a sliding time window can be used for detection, thereby determining whether there is intrusion.
[0065] See also Figure 2 The present invention provides a method for detecting and locating illegal intrusion equipment in an industrial control system, comprising the following steps:
[0066] S1. Set appropriate detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment;
[0067] S2, loading the signal collected within the time window width set in step S1 from the signal database, and dividing the read signal into signal subsequences according to the signal division interval set in step S1;
[0068] S3, extracting the characteristic value of the signal subsequence obtained in step S2 by using the time domain digital averaging method;
[0069] S4, comparing the characteristic value obtained in step S3 with the cumulative minimum deviation set in step S1 to obtain a characteristic deviation, and accumulating the characteristic deviation using a cumulative sum control chart method to obtain a cumulative deviation of the current signal characteristic;
[0070] S5, based on the judgment of whether the current sequence is the last subsequence, the subsequence is moved, and the process of extracting feature values from the signal subsequence and accumulating feature deviations is repeated until all subsequences are traversed in order;
[0071] Determine the traversal result of the signal subsequence within the detection time window. If the signal subsequence within the detection time window has not been traversed, move to the next signal subsequence and repeat steps S3 to S4 to accumulate signal feature deviations; if the signal subsequences within the detection time window have completed the accumulation process of signal feature deviations, continue to execute.
[0072] S6. Store the signal feature deviation obtained in step S5 into the time-deviation database. In physical intrusion detection, compare the deviation value of the corresponding time in the database with the threshold value to realize the correction of detection in continuous temperature change and reduce temperature interference. In the process of implementing physical intrusion detection, call the cumulative deviation of the current time-deviation database to determine whether there is an intrusion device access.
[0073] In another embodiment of the present invention, a system for detecting and locating illegally intruded equipment in an industrial control system is provided. The system can be used to implement the above-mentioned method for detecting and locating illegally intruded equipment in an industrial control system. Specifically, the system for detecting and locating illegally intruded equipment in an industrial control system includes a setting module, a data module, an accumulation module, a traversal module and a positioning module.
[0074] Among them, the setting module sets the detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment;
[0075] The data module loads the signals collected within the detection time window width set by the setting module from the signal database, and divides the read signals into signal subsequences according to the signal division interval set by the setting module;
[0076] The accumulation module uses the time domain digital averaging method to extract the characteristic value of the signal subsequence obtained by the data module; compares the characteristic value with the cumulative minimum deviation obtained by the setting module to obtain the characteristic deviation, and uses the cumulative and control chart method to accumulate the characteristic deviation to obtain the current signal characteristic cumulative deviation;
[0077] The traversal module moves the subsequence based on whether the current sequence is the last subsequence, and repeats the accumulation module to accumulate signal feature deviations until all subsequences are traversed in order;
[0078] The positioning module stores the signal feature deviation obtained by the traversal module in the time-deviation database. In physical intrusion detection, the deviation value of the corresponding time in the time-deviation database is compared with the threshold to realize the correction of detection in continuous temperature changes. During the implementation of physical intrusion detection, the cumulative deviation of the current time-deviation database is called to determine whether there is an intrusion device connected, so as to realize the detection and positioning of illegal intrusion devices in the industrial control system.
[0079] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0080] Example
[0081] An attack detection scenario of an application example of a method for correcting physical intrusion detection features under continuous temperature changes is provided. In the RS485 bus network of an industrial control system, an attacker directly implants an external unauthorized device in the system through physical intrusion, uses the device to obtain communication information and forge control instructions, endangering the security and stability of the system. Due to the change in the temperature environment of the industrial control system, the detection of unauthorized intrusion devices using physical intrusion detection methods will result in a high probability of false alarms and missed alarms, causing the detection method to fail.
[0082] For this type of attack detection scenario, combined with Figure 2 Specifically describing the method for correcting physical intrusion detection characteristics under continuous temperature changes in the present invention, and the improvement of the detection performance of the physical intrusion detection method under different temperatures by the method of the present invention, comprising the following steps:
[0083] Step S1: according to the speed of change of ambient temperature, set the appropriate detection time window width, signal division interval and minimum cumulative deviation. Specifically including:
[0084] The detection window width should not be set too wide, which will cause the temperature change in the window to be too drastic, which may easily lead to false alarms caused by excessive temperature changes; at the same time, the detection window should not be too narrow, which will make the deviation accumulation time too short and unable to distinguish whether there is an intrusion or not.
[0085] The signal division interval cannot be set too short, otherwise the characteristics of the subsequences cannot be extracted after the subsequences are divided; the signal division interval cannot be set too long, otherwise the characteristics of the intrusion signal subsequences are easily confused with the characteristics of the normal signal subsequences. The signal division interval corresponds to the signal collection time interval in the actual detection, that is, to ensure that the sampling time of each subsequence after division is similar.
[0086] The experiment sets the detection time window width to 7 days, and the signal collection time interval is to collect N = 1000 signal points every 1 hour, so every 1 hour is divided into 1 signal subsequence.
[0087] The cumulative minimum deviation of the signal is recorded as δ, which represents the amplitude of change of the average value before and after the intrusion. Here, it is set to the amplitude of the signal amplitude change that may be caused by the intrusion according to a priori or experimental conditions.
[0088] Step S2: Load the signal within the set time window width from the signal database, and divide the read signal into signal subsequences according to the set signal division interval. Specifically including:
[0089] Step S201: According to the current time, load the signals within the historical detection time window from the signal database, where each signal indicates the acquisition time and the amplitude of the signal. Each signal is a signal corresponding to the control instruction of the gateway device;
[0090] Step S202: All signal sequences obtained by sampling Divide into sub-signal sequences according to the signal division interval:
[0091] {{v 11 , v 12 , …, v 1N},{v 21 , v 22 , …, v 2N}, …, {v n1 , v n2 , …, v nN}}
[0092] in, N all is the number of signal sequences within the detection time window, N is the length of each sub-signal sequence, and n is the number of sub-signal sequences.
[0093] The signal used is the signal stored in the signal database. The specific signal collection method in the entire detection process is: the detection equipment monitors the communication signal on the bus at fixed intervals, collects a sufficient number of high and low level signals, and saves the collection time and signal amplitude to the signal database.
[0094] Step S3, using a time domain digital averaging algorithm to extract the characteristic value of the sub-signal sequence obtained in step S2, specifically including: performing digital averaging on the absolute values of all signal amplitudes of the sub-signal sequence to characterize the amplitude characteristics of this section of the signal sub-sequence:
[0095]
[0096] Where i = 1, 2, ..., n, n is the number of sub-signal sequences, N is the length of each sub-signal sequence, v ij is the signal amplitude with index j in the i-th sub-signal sequence.
[0097] Step S4: accumulating the deviation of the current signal feature by using the cumulative sum control diagram algorithm, specifically including:
[0098] Since the temperature variation range in the time window is small, it can be approximately considered that the temperature in this time window is approximately constant, so the amplitude of the signal is approximately constant. Assuming that the noise in the system is Gaussian white noise and the noise intensity is constant, it can be approximately obtained that the eigenvalue of each sub-signal sequence in the absence of intrusion obeys the mean μ normal , with variance σ 2 The normal distribution of v i Independent and identically distributed:
[0099] v i ~N(μ normal ,σ2 )
[0100] When there is an intrusion, the access of the intrusion will bring about a change in the signal amplitude. Assuming that the signal strength remains unchanged after the intrusion, it can be approximately obtained that the eigenvalue of each sub-signal sequence under the condition of intrusion follows a normal distribution with a mean of μ attack , and a variance of σ 2 :
[0101] v′ i ~N(μ attack ,σ 2 )
[0102] Assume that there is no intrusion at the beginning, and the intrusion device intrudes at the θ-th sub-signal sequence, where the change point θ is unknown. Then, for the given observation sequence The generalized likelihood ratio statistic of the alternative hypothesis H1: θ = k (k < n) for the null hypothesis H0: θ = ∞ (no change point) is:
[0103]
[0104] Because the denominator is the parameter corresponding to the null hypothesis, if θ falls within the acceptance region, the denominator is relatively large, and thus the entire likelihood ratio is relatively small; while if θ falls within the rejection region, the value of the numerator is greater than the denominator. Therefore, an overly large likelihood ratio is not conducive to the null hypothesis. The rejection region h is the threshold to be set in the intrusion detection stage.
[0105] Let the likelihood ratio of the i-th sequence be The cumulative value of the likelihood ratio of the k-th sequence Then where S0 = 0;
[0106] From s i = S i -S i-1 ,min 1≤i≤n S i = min{S i ,min 1≤t≤n-1 S t}, the recurrence formula is obtained:
[0107]
[0108] Since the signal collected under the same conditions will be lower after the intrusion device is connected than when there is no intrusion, therefore, let μ normal = μ attack +δ, and given the distributions before and after the intrusion, it is derived that:
[0109]
[0110] Since σ2 and μ normal Unknown, use maximum likelihood estimation to get μ normal Estimation of σ 2 Estimation of Substituting into the above formula, we get:
[0111]
[0112] Therefore, the specific steps are:
[0113] Step S401: Calculate the mean and variance estimates corresponding to the current signal subsequence, and find the likelihood ratio of the signal subsequence at the current moment, specifically including: using Estimate the mean of the current signal subsequence, using Estimate the variance of the current signal subsequence using Calculate the likelihood ratio of the signal subsequence at the current moment with or without intrusion as the feature deviation from the feature of no intrusion;
[0114] Step S402: Accumulate the characteristic deviation of the current signal, specifically including:
[0115] Step S5: If the current sequence is not the last subsequence, move to the next subsequence and repeat steps S3 to S4 until all subsequences are traversed in order; if the traversal is completed, proceed to step S6.
[0116] Step S6, storing the feature cumulative deviation value in the time-deviation database, specifically includes: saving the current detection time and the feature cumulative deviation value obtained at the detection time in the time-deviation database, and comparing the deviation value of the corresponding time in the database with the threshold in physical intrusion detection, thereby realizing the correction of detection in continuous temperature changes and reducing temperature interference.
[0117] The current time and the corresponding cumulative deviation value are stored in the time-deviation database. The time deviation database can be used to compare with the threshold in the entire detection process to determine whether there is an intrusion, and the deviation of the original detection method when the temperature is disturbed can be corrected.
[0118] During the detection process, it is necessary to ensure that no intrusion devices are connected at the beginning, and the time window needs to be continuously moved for detection.
[0119] Figure 1 The deviation accumulation result diagram corresponding to intrusion and no intrusion can be observed. It can be observed that the deviation accumulation values of the two are significantly different. A suitable threshold can be set and the deviation value can be compared with the threshold to detect intrusion.
[0120] In summary, the present invention provides a method and system for detecting and locating illegally intruded equipment in an industrial control system, which is used to prevent physical intrusion attack threats that the industrial control system may face, and effectively solves the security problem that the detection features of physical intrusion detection in the serial communication bus network of the industrial control system fail under continuous temperature changes and cannot effectively detect malicious external devices in the system, and can maintain a high accuracy rate under different temperature changes.
[0121] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0125] The above contents are only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A method for detecting and locating illegally intruded equipment in an industrial control system. It is characterized in that The following steps are involved: S1. Set the detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment; S2, loading the signals collected within the detection time window width set in step S1 from the signal database, and dividing the read signals into signal subsequences according to the signal division interval set in step S1; S3, extracting the characteristic value of the signal subsequence obtained in step S2 by using the time domain digital averaging method; S4, compare the characteristic value obtained in step S3 with the cumulative minimum deviation obtained in step S1 to obtain a characteristic deviation, and use the cumulative sum control chart method to accumulate the characteristic deviation to obtain the current signal characteristic cumulative deviation, which is specifically: S401, calculating the mean estimate and variance estimate corresponding to the current signal subsequence, and performing operations with the cumulative minimum deviation to obtain the characteristic deviation of the current signal subsequence, specifically: The estimated mean is used to estimate the mean of the current signal subsequence, the estimated variance is used to estimate the variance of the current signal subsequence, and the likelihood ratio is used to calculate the likelihood ratio of the signal subsequence at the current moment as the characteristic deviation to estimate the mean. Estimated variance and the likelihood ratio s t They are: Where, t = 1, 2, ..., n, n is the number of sub-signal sequences, v i is the amplitude characteristic of the ith sub-signal sequence, is the estimated mean of the ith sub-signal sequence, v t is the amplitude characteristic of the t-th sub-signal sequence, is the estimated mean of the t-th sub-signal sequence, and δ is the cumulative minimum deviation of the signal; S402, accumulating characteristic deviations of the current signal, wherein the characteristic deviations of the current signal are accumulated as follows: in, is the initial value of the signal characteristic deviation accumulation, is the cumulative value of the i-th signal characteristic deviation, is the cumulative value of the i-1th signal characteristic deviation, s i is the characteristic deviation of the i-th sub-signal sequence; S5, based on the judgment of whether the current sequence is the last subsequence, move the subsequence, and repeat steps S3 and S4 to accumulate signal feature deviations until all subsequences are traversed in order; S6. Store the signal feature deviation obtained in step S5 into the time-deviation database. In physical intrusion detection, compare the deviation value of the corresponding time in the time-deviation database with the threshold value to realize the correction of detection in continuous temperature change. In the process of implementing physical intrusion detection, call the accumulated deviation of the current time-deviation database to determine whether there is an intrusion device connected, so as to realize the detection and positioning of illegal intrusion devices in the industrial control system.
2. The method for detecting and locating illegally intruded equipment in an industrial control system according to claim 1, It is characterized in that Step S2 is specifically as follows: S201. According to the current moment, load the signals within the historical detection time window from the signal database, wherein each signal indicates the acquisition time and the amplitude of the signal, and each signal is a signal corresponding to the control instruction of the gateway device; S202: All signal sequences obtained by sampling Divide into sub-signal sequences according to the signal division interval.
3. The method for detecting and locating illegally intruded equipment in an industrial control system according to claim 2, It is characterized in that In step S202, the divided sub-signal sequences are specifically: {{v 11 ,v 12 ,…,v 1N },{v 21 ,v 22 ,…,v 2N },…,{v n1 ,v n2 ,…,v nN }} Where k is the number of subsequences, N all is the number of signal sequences within the detection time window, N is the length of each sub-signal sequence, and n is the number of sub-signal sequences.
4. The method for detecting and locating illegally intruded equipment in an industrial control system according to claim 1, It is characterized in that In step S3, the amplitude feature v of the signal subsequence i for: Where i = 1, 2, ..., n, n is the number of sub-signal sequences, N is the length of each sub-signal sequence, v ij is the signal amplitude with index j in the i-th sub-signal sequence.
5. The method for detecting and locating illegally intruded equipment in an industrial control system according to claim 1, It is characterized in that In step S1, the detection time window width is 7 days, and the signal division interval is divided into 1 signal subsequence every 1 hour.
6. An industrial control system illegal intrusion equipment detection and positioning system, It is characterized in that include: Setting module, set the detection time window width, signal division interval and cumulative minimum deviation according to the actual use environment; The data module loads the signals collected within the detection time window width set by the setting module from the signal database, and divides the read signals into signal subsequences according to the signal division interval set by the setting module; The accumulation module uses the time domain digital averaging method to extract the characteristic value of the signal subsequence obtained by the data module; compares the characteristic value with the cumulative minimum deviation obtained by the setting module to obtain the characteristic deviation, and uses the cumulative and control chart method to accumulate the characteristic deviation to obtain the current signal characteristic cumulative deviation; The traversal module moves the subsequence based on whether the current sequence is the last subsequence, and repeats the accumulation module to accumulate signal feature deviations until all subsequences are traversed in order. Specifically: Calculate the mean estimate and variance estimate corresponding to the current signal subsequence, and perform operations with the cumulative minimum deviation to obtain the characteristic deviation of the current signal subsequence: The estimated mean is used to estimate the mean of the current signal subsequence, the estimated variance is used to estimate the variance of the current signal subsequence, and the likelihood ratio is used to calculate the likelihood ratio of the signal subsequence at the current moment as the characteristic deviation to estimate the mean. Estimated variance and the likelihood ratio s t They are: Where, t = 1, 2, ..., n, n is the number of sub-signal sequences, v i is the amplitude characteristic of the ith sub-signal sequence, is the estimated mean of the ith sub-signal sequence, v t is the amplitude characteristic of the t-th sub-signal sequence, is the estimated mean of the t-th sub-signal sequence, and δ is the cumulative minimum deviation of the signal; The characteristic deviation of the current signal is accumulated. The characteristic deviation of the current signal is accumulated as follows: in, is the initial value of the signal characteristic deviation accumulation, is the cumulative value of the i-th signal characteristic deviation, is the cumulative value of the i-1th signal characteristic deviation, s i is the characteristic deviation of the i-th sub-signal sequence; The positioning module stores the signal feature deviation obtained by the traversal module in the time-deviation database. In physical intrusion detection, the deviation value of the corresponding time in the time-deviation database is compared with the threshold to realize the correction of detection in continuous temperature changes. During the implementation of physical intrusion detection, the cumulative deviation of the current time-deviation database is called to determine whether there is an intrusion device connected, so as to realize the detection and positioning of illegal intrusion devices in the industrial control system.
