Illegal terminal access positioning method and system for industrial control system
By obtaining terminal sampling information in the industrial control system, extracting and processing the peak and valley points of the voltage signal, and constructing a terminal location fingerprint model, it solves the deployment difficulties and communication interference problems of illegal terminal access positioning, and achieves high-accuracy illegal Terminal detection.
Patent Information
- Application Number
- CN202410673297.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-06
AI Technical Summary
The existing illegal terminal access positioning methods in industrial control systems have problems such as deployment difficulties and communication interference, making it difficult to accurately detect illegal access terminals in field bus networks.
By obtaining the sampling information of the terminal on the communication bus, a voltage signal subsequence is generated, the peak point and valley point positions are extracted, averaged processing is performed, the terminal reflection characteristics are constructed, and a position fingerprint model is constructed based on multiple terminal reflection characteristics, and collaborative comparison is performed to Determine the access location of illegal terminals.
It realizes fast and accurate illegal terminal access positioning in the field bus network, avoids the impact on communication, and improves the accuracy and reliability of positioning.
Smart Images

Figure CN118612666A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of industrial control system attack detection, and in particular relates to an industrial control system illegal terminal access positioning method and system. Background Art
[0002] In the fieldbus network of industrial control systems, attackers can damage or control the system by accessing illegal terminals or sending malicious commands through disguised attacks, causing abnormal operation of devices in the bus network and even disrupting the stable operation of the system, which is a great threat to industrial control systems. Among them, illegal device intrusions gain access to the network by bypassing identity authentication and access control. Such illegal devices are often hidden in the network and difficult to detect.
[0003] At present, most research methods are only applicable to detecting illegal access terminals in industrial control systems. However, the existing positioning methods for illegal terminal access still have some defects. For example, positioning methods based on the differential delay of the signal reaching both ends, positioning methods based on active detection of reflected signals, and positioning methods based on machine learning, etc. On the one hand, these methods face great challenges in deployment in real scenarios, and on the other hand, active detection methods will affect the communication of the line. Therefore, the existing technology for illegal terminal access positioning still faces some operational and performance challenges. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and system for locating illegal terminal access to an industrial control system in view of the deficiencies in the above-mentioned prior art, so as to solve the deployment difficulties and communication interference technical problems faced by locating illegal access terminals.
[0005] The present invention adopts the following technical solutions:
[0006] A method for locating illegal terminal access to an industrial control system comprises the following steps:
[0007] Get sampling information of any terminal on the communication bus;
[0008] Generate a voltage signal subsequence corresponding to any terminal device according to the obtained sampling information;
[0009] Extracting peak point positions and valley point positions from multiple voltage signal subsequences, performing averaging processing, and using the averaged peak point positions and valley point positions as terminal reflection features;
[0010] A multi-terminal location fingerprint model is constructed based on the reflection characteristics of multiple terminals, and the multi-terminal location fingerprints are collaboratively compared to determine the access location of illegal terminals, thereby realizing the location of illegal terminal access.
[0011] Preferably, obtaining the sampling information of any terminal on the communication bus is specifically as follows:
[0012] Connect a parallel impedance to the gateway device at one end of the communication bus, connect the monitoring device to the other end opposite to the parallel impedance, and obtain the voltage and terminal ID of any terminal signal.
[0013] More preferably, the parallel impedance Zf is calculated as follows:
[0014]
[0015] Among them, Z r is the impedance of the reflection node, and Z0 is the impedance of the transmission line.
[0016] Preferably, generating a voltage signal subsequence corresponding to any terminal device according to the obtained sampling information is specifically as follows:
[0017] The sampled voltage signal is preprocessed, a uniform voltage threshold is set, and the first rising edge signal subsequence of the voltage signal is extracted as the corresponding voltage signal subsequence.
[0018] More preferably, the voltage threshold is 0.25-0.5V.
[0019] Preferably, the terminal reflection characteristics are specifically:
[0020] The peak point positions and valley point positions in multiple voltage signal subsequences are extracted, the same sampling voltage threshold is set between different signals, and averaging is performed. The peak point positions and valley point positions after averaging are used as terminal reflection features.
[0021] Preferably, constructing a multi-terminal location fingerprint model is specifically as follows:
[0022] The physical locations of different terminals on the bus are recorded, the terminal reflection features are associated with the corresponding terminal locations, and a multi-terminal location fingerprint model is constructed.
[0023] Preferably, the collaborative comparison of multiple terminal location fingerprints to determine the illegal terminal access location is specifically:
[0024] Compare the sampled signal reflection characteristics with the multi-terminal location fingerprints. If the signal reflection characteristics successfully match the terminal ID location fingerprint, there is no illegal terminal access;
[0025] If the signal reflection feature fails to match the terminal ID location fingerprint, there is illegal terminal access, and the illegal terminal access location is determined based on the comparison result.
[0026] In a second aspect, an embodiment of the present invention provides an industrial control system illegal terminal access positioning system, including:
[0027] An information module, which obtains sampling information of any terminal on the communication bus;
[0028] A generation module generates a voltage signal subsequence corresponding to any terminal device according to the sampling information;
[0029] An extraction module extracts peak point positions and valley point positions in multiple voltage signal subsequences, performs averaging processing, and uses the averaged peak point positions and valley point positions as terminal reflection features;
[0030] The positioning module builds a multi-terminal location fingerprint model based on the reflection characteristics of multiple terminals, collaboratively compares the multi-terminal location fingerprints to determine the access location of illegal terminals, and realizes the positioning of illegal terminal access.
[0031] In a third aspect, a chip includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for locating illegal terminal access to an industrial control system when executing the computer program.
[0032] In a fourth aspect, an embodiment of the present invention provides an electronic device, including a computer program, which, when executed by the electronic device, implements the steps of the above-mentioned method for locating illegal terminal access to an industrial control system.
[0033] Compared with the prior art, the present invention has at least the following beneficial effects:
[0034] A method for locating illegal terminal access in an industrial control system obtains a sampling signal of any terminal device through single-end access, thereby avoiding the problem of deployment difficulties in practical applications; illegal terminal access is located by collecting existing terminal signals of the line, which will not affect the line communication, thereby solving some deployment difficulties and communication interference problems faced by related positioning methods in practical applications; the reliability of terminal position fingerprints is guaranteed by extracting peak point positions and valley point positions in multiple voltage signal subsequences and using them as terminal features; illegal terminal access is located by collaboratively comparing multiple terminal position fingerprints, thereby improving the accuracy of locating illegal access terminals.
[0035] Furthermore, the sampling information includes the terminal ID, and the illegal terminal access location is determined based on the sampling results, including: extracting signal reflection features, comparing the extracted reflection features with multiple terminal location fingerprint models, if the reflection features successfully match the terminal location fingerprint, then there is no illegal terminal access, if the match fails, then the illegal terminal access location is determined based on the comparison result; comparing the sampled signal reflection features with the signal location fingerprint model to determine the access range of the illegal terminal, thereby solving the problem of difficulty in locating illegally accessed terminals in the field bus network.
[0036] Furthermore, by dividing the collected voltage signal into voltage signal subsequences and averaging the reflection characteristics, the effect of improving the accuracy of the terminal position fingerprint is achieved, thereby improving the accuracy of the terminal illegal access positioning.
[0037] Furthermore, by selecting two more important reflection features to construct a terminal location fingerprint model, and by averaging the reflection features, the purpose of improving the comprehensiveness and reliability of the terminal location fingerprint model is achieved.
[0038] Furthermore, the inherent association between the reflection feature sequence and the terminal position is used to determine the location of the illegal terminal access, thereby solving the problem of difficulty in locating the illegal terminal access in the field bus network.
[0039] 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.
[0040] Furthermore, the inherent association between the reflection feature sequence and the terminal position is used to determine the location of the illegal terminal access, thereby solving the problem of difficulty in locating the illegal terminal access in the field bus network.
[0041] In summary, the method for locating illegal terminal access to an industrial control system provided by the present invention can quickly and accurately locate illegal terminal access in the system in a field bus network, and will not affect the normal communication of the bus while ensuring simple deployment.
[0042] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of a reflection node model in a CAN communication bus network of an industrial control system of the present invention;
[0044] Figure 2 It is a schematic diagram of obtaining terminal sampling information in the CAN communication bus network of the industrial control system of the present invention;
[0045] Figure 3 It is a schematic flow diagram of the method of the present invention;
[0046] Figure 4 It is a schematic diagram of terminal topology in the CAN communication bus network of the industrial control system of the present invention;
[0047] Figure 5 is a schematic diagram of multiple terminal rising edges extracted by the present invention;
[0048] Figure 61 is a schematic diagram of reflected signals of the present invention under different attack scenarios, wherein (a) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 1 and terminal 2, (b) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 6 and terminal 7, (c) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 4 and terminal 5, (d) is a rising edge signal of two terminals after an illegal terminal is connected between terminal 8 and the right end of the bus, (e) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 7 and terminal 8, (f) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 2 and terminal 3, (g) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 3 and terminal 4, and (h) is a rising edge signal of three terminals after an illegal terminal is connected between terminal 5 and terminal 6;
[0049] Figure 7 This is a graph showing the change in the accuracy of locating illegal access terminals with the average number of signals under different attack scenarios of the present invention;
[0050] Figure 8 A schematic diagram of a computer device provided by an embodiment of the present invention;
[0051] Fig. 9 The block diagram of a chip provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] 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.
[0053] 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.
[0054] 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.
[0055] 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 the present invention generally indicates that the associated objects are in an "or" relationship.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] In the fieldbus network of the industrial control system, attackers can send malicious commands by accessing illegal terminals to destroy or control the system, causing abnormal operation of the equipment in the bus network and even disrupting the stable operation of the system, which is a great threat to the industrial control system. The security of the fieldbus network is an important part of the industrial control system. Illegal device intrusion is a common attack scenario. Illegal device intrusion obtains access rights to the network by bypassing identity authentication and access control. Such devices may exist in the network secretly. At present, most research methods are only applicable to detecting illegal access terminals in industrial control systems. However, the existing positioning methods for illegal terminal access still have some defects. For example, positioning methods based on the differential delay of the signal arriving at both ends, positioning methods based on active detection of reflected signals, and positioning methods based on machine learning. On the one hand, these methods face great challenges in deployment in real scenarios. On the other hand, the active detection method will affect the communication of the line. Therefore, the existing technology still faces some operational and performance challenges for illegal terminal access positioning.
[0060] The present invention provides a method for locating illegal terminal access in an industrial control system, which includes connecting an impedance in parallel to one end of a communication bus; sampling a signal at the other end of the communication bus to generate a voltage signal subsequence; extracting the peak and valley point positions according to the voltage signal subsequence and performing an average process to form a terminal reflection feature; constructing a multi-terminal position fingerprint based on multiple terminal reflection features; and collaboratively comparing the multi-terminal position fingerprints to determine the illegal terminal access position. Since the parallel impedance amplifies the reflection signal, and by collaboratively comparing the peak and valley positions of multiple terminals, the purpose of passively locating the illegal access terminal is achieved, and the operational and performance problems faced by the positioning of illegal access terminals in the related art are solved.
[0061] Take the following attack scenario as an example:
[0062] The CAN bus network in the industrial control system is accessed by an illegal terminal. The attacker sends malicious instructions by accessing the illegal terminal, and the legal terminal physically responds to the malicious instructions, causing abnormal system functions. According to an embodiment of the present invention, a method for locating illegal terminal access is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0063] See also Figure 1 , which is a schematic diagram of the reflection node model in the CAN communication bus network of the industrial control system. Figure 1 In the example, node i acts as a transmitting node for transmitting electrical signals. When the signal propagates from the transmission line to the reflection node, the impedance of the reflection node is Z. r, the impedance of the transmission line is Z0, connected in parallel, the parallel impedance Zf is calculated as follows:
[0064]
[0065] From the above formula, the calculated parallel impedance Z f Less than Z0. According to formula (1), the reflection coefficient is less than 0, indicating that the impedance of the two regions does not match. During signal transmission, the signal will continue to sense the change of instantaneous impedance. For the signal, it mainly focuses on the perceived impedance rather than the specific components of the impedance. If the perceived impedance remains constant, the signal will be able to propagate normally; but if the impedance changes, the signal will produce reflection.
[0066] According to the impedance mismatch between the two areas mentioned above, the reflection coefficient is calculated as:
[0067]
[0068] Among them, Vreflection represents the reflected voltage, Vincident represents the incident voltage, when the signal propagates to the reflection node, due to the parallel impedance Z f is smaller than Z0, so a reflected signal with a negative voltage will be generated, while part of the incident signal continues to propagate in the original direction.
[0069] In an industrial fieldbus network, all terminals usually share a common bus. Gateway devices, as the medium for data transmission, are usually located at one end of the bus for automation and process monitoring. Due to impedance mismatch, whether it is a terminal or a gateway device connected to the communication bus, a reflected signal will appear at the access point.
[0070] In the context of fieldbus networks, since both the terminal and the gateway device usually have high impedance, and the characteristic impedance of the transmission line is usually 120Ω. According to the above formula, the generated reflection signal is extremely weak and can be ignored. Since the method of the present invention relies on the reflection signal to be implemented, it is crucial to ensure the occurrence of the reflection signal. In order to achieve this, the present invention connects a smaller impedance in parallel with the gateway device to ensure that the corresponding reflection signal is generated when the signal is sent to the gateway device.
[0071] See also Figure 2 , a 120Ω matching resistor is connected in parallel at both ends of the communication bus to eliminate the reflected signals at both ends; the gateway device is placed at one end of the bus, and multiple terminals are connected to the bus; in order to ensure that the reflected signal is generated at the location of the gateway device, an impedance is placed in parallel at the connection of the gateway device; the monitoring tool is connected to the end of the communication bus opposite to the gateway device to collect the transmission and reflection signals; the following analyzes how this reflected signal from one end causes the difference in signals from different terminals.
[0072] Terminal 2 is used as the signal source. When it sends a signal, the signal propagates to both ends of the communication bus. When the signal propagates to the left end, it propagates to the gateway device at time t1. During this process, due to the impedance mismatch at the gateway access point, a negative reflected signal propagating to the right is generated, and part of the transmission signal propagates along the original direction. At the same time, as the signal moves to the right end, it propagates to the monitoring device at time t2; then, the monitoring device receives the reflected signal at time t3. In this process, the time difference between the monitoring device receiving the signal before and after is calculated as:
[0073] Δt=t3-t2
[0074] Combining the relationship between the device position and time in the figure, we get:
[0075] t3-t1=t1+t2
[0076] Based on this, Δt is calculated as:
[0077] Δt=2t1=2Δl / v
[0078] Among them, v represents the propagation speed of the electrical signal in the communication line, and l represents the length of the communication bus.
[0079] The above formula shows that the time difference between the two received signals is inherently correlated with the location of the signal source device. In scenarios involving high-speed communications, factors such as bus length and signal propagation result in Δt being often much shorter than the duration of the rising edge of the signal. This results in a linear superposition of the reflected signal with the first received propagated signal at the rising edge of the signal. Based on this, changes in the transmitter position result in different superposition positions of the reflected signal at the rising edge of the signal.
[0080] The superposition of the reflected signal at the rising edge of the signal causes peaks and valleys to appear on the rising edge of the signal. Therefore, the illegal terminal access location is determined by associating the peak position and valley position with the transmitter position.
[0081] See also Figure 3 The present invention provides a method for locating illegal terminal access to an industrial control system, comprising the following steps:
[0082] S1, connect an impedance in parallel to one end of the communication bus;
[0083] Specifically, an impedance of appropriate size is connected in parallel with the gateway device at one end of the communication line, thereby ensuring that the reflected signal is generated without interfering with the bus communication.
[0084] S2. Obtain sampling information of any terminal;
[0085] Specifically, the sampling information includes the voltage of any terminal signal and the terminal ID. Figure 4 Schematic diagram of the terminal topology in the CAN communication bus network of the industrial control system according to the embodiment of the present invention. Figure 4 As shown in the figure, the CAN communication bus network terminal topology of the industrial control system consists of a gateway device and multiple terminal devices (terminals). The intervals between the terminals on the communication bus have been marked, and the acquisition device (monitoring device) is mounted on the other end of the communication bus to sample the voltage signal.
[0086] S3, generating a voltage subsequence of any terminal according to the sampling information;
[0087] Specifically, the sampled voltage signal is preprocessed to extract the first rising edge of the voltage signal.
[0088] The differential voltage of the CAN signal exceeding 0.9V is regarded as a high level, while the differential voltage below 0.5V is regarded as a low level. By setting a unified sampling voltage threshold of 0.25~0.5V, the synchronization between different terminal signals is guaranteed. At the same time, the number of sampling points of the rising edge is set according to the sampling rate, so as to realize the extraction of the rising edge voltage of the signal. Figure 5 It is a schematic diagram of rising edges of multiple terminals extracted according to an embodiment of the present invention, where the horizontal axis is the sampling point and the vertical axis is the voltage. The multiple terminals include five terminals at different locations from the gateway device. Figure 5 The order of the peak points and valley points in the rising edges of different signals reflects the order of the terminals in the bus topology.
[0089] S4, extracting multiple peak positions and valley positions according to the voltage signal subsequence and performing averaging processing;
[0090] Specifically, for a rising edge signal subsequence, the horizontal coordinates of the corresponding peak point and valley point are extracted. The same sampling voltage threshold is set between different signals, so the peak point and valley point positions are calculated as the coordinate difference of the peak horizontal coordinate and the valley horizontal coordinate relative to the initial sampling voltage threshold coordinate. In order to reduce random errors and reduce noise interference, it is necessary to sample multiple rising edge signals from the same terminal, extract the peak point position and the valley point position multiple times and perform averaging processing, and use the processed peak point position and valley point position as the terminal reflection feature. After meeting the current bus scenario requirements, it is determined whether it is the first sampling of the communication signal. If the fingerprint database of the monitoring device is empty, the monitoring device stores the extracted terminal reflection feature as a terminal position fingerprint model after executing step S4, and considers it to be a fingerprint signal that can reflect the physical location of the terminal. If fingerprint information has been stored in the monitoring device, the monitoring device starts to execute step S6 after executing step S4.
[0091] S5. Build a multi-terminal location fingerprint model;
[0092] Specifically, the physical positions of different terminals on the bus are recorded, the terminal reflection features are associated with the corresponding terminal positions, and a multi-terminal position fingerprint model is constructed.
[0093] S6. Collaboratively compare multiple terminal location fingerprints to determine the access location of illegal terminals.
[0094] Specifically, the sampling information of any terminal is extracted as the corresponding reflection feature, and then compared with the constructed multi-terminal location fingerprint model. If the signal reflection feature matches the terminal location fingerprint successfully, it is considered that there is no illegal terminal access; if the signal reflection feature fails to match the terminal location fingerprint, it is considered that there is illegal terminal access, and the illegal terminal access location is determined based on the comparison result.
[0095] In another embodiment of the present invention, a system for locating illegal terminal access to an industrial control system is provided. The system can be used to implement the above-mentioned method for locating illegal terminal access to an industrial control system. Specifically, the system for locating illegal terminal access to an industrial control system includes an information module, a generation module, an extraction module and a positioning module.
[0096] Wherein, the information module obtains the sampling information of any terminal on the communication bus;
[0097] A generation module generates a voltage signal subsequence corresponding to any terminal device according to the sampling information;
[0098] An extraction module extracts peak point positions and valley point positions in multiple voltage signal subsequences and processes them as terminal reflection features;
[0099] The positioning module builds a multi-terminal location fingerprint model based on the reflection characteristics of multiple terminals, collaboratively compares the multi-terminal location fingerprints to determine the access location of illegal terminals, and realizes the positioning of illegal terminal access.
[0100] In another embodiment of the present invention, a terminal device is provided, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the illegal terminal access positioning method of the industrial control system, including:
[0101] Acquire sampling information of any terminal on the communication bus; generate a voltage signal subsequence corresponding to any terminal device based on the obtained sampling information; extract the peak point positions and valley point positions in multiple voltage signal subsequences, and use them as terminal reflection features after processing; construct a multi-terminal location fingerprint model based on multiple terminal reflection features, and collaboratively compare multiple terminal location fingerprints to determine the access location of illegal terminals, thereby locating illegal terminal access.
[0102] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory.
[0103] The processor may load and execute one or more instructions stored in a computer-readable storage medium to implement the corresponding steps of the method for locating illegal terminal access to an industrial control system in the above embodiment; the processor may load and execute the following steps:
[0104] Acquire sampling information of any terminal on the communication bus; generate a voltage signal subsequence corresponding to any terminal device based on the obtained sampling information; extract the peak point positions and valley point positions in multiple voltage signal subsequences, and use them as terminal reflection features after processing; construct a multi-terminal location fingerprint model based on multiple terminal reflection features, and collaboratively compare multiple terminal location fingerprints to determine the access location of illegal terminals, thereby locating illegal terminal access.
[0105] See also Figure 8 , the terminal device is a computer device, and the computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for calculating the composition of fluid in the reservoir transformation wellbore in the embodiment is realized. To avoid repetition, it is not described one by one here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the calculation system for the composition of fluid in the reservoir transformation wellbore in the embodiment are realized. To avoid repetition, it is not described one by one here.
[0106] The computer device 60 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 8 This is only an example of the computer device 60 and does not constitute a limitation of the computer device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0107] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0108] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device 60.
[0109] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.
[0110] See also Fig. 9 , the terminal device is a chip, and the chip 600 of this embodiment includes a processor 622, which may be one or more, and a memory 632 for storing a computer program executable by the processor 622. The computer program stored in the memory 632 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 622 may be configured to execute the computer program to execute the above-mentioned generalizable monocular absolute depth map estimation method.
[0111] In addition, the chip 600 may further include a power supply component 626 and a communication component 650, wherein the power supply component 626 may be configured to perform power management of the chip 600, and the communication component 650 may be configured to implement communication, for example, wired or wireless communication, of the chip 600. In addition, the chip 600 may further include an input / output interface 658. The chip 600 may operate based on an operating system stored in the memory 632.
[0112] 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.
[0113] In some optional implementations, we provide the attack scenario designs shown in Table 1. We designed 8 different attack scenarios, each of which represents Figure 4 An illegal terminal is connected between the terminals with different distances, and the illegal terminal access is located by collecting the signal of the illegal terminal. The distance between the terminal devices in the 8 attack scenarios decreases in turn, which means that the difficulty of locating the illegal terminal increases in turn.
[0114] Table 1. Attack scenario design
[0115] Attack Scenario describe Equipment spacing A An illegal terminal is connected between terminals 1 and 2 6m B An illegal terminal is connected between terminals 6 and 7 4m C An illegal terminal is connected between terminals 4 and 5 3m D An illegal terminal is connected between terminal 8 and the end 2.35m E An illegal terminal is connected between terminals 7 and 8 1m F An illegal terminal is connected between terminals 2 and 3 0.5m G An illegal terminal is connected between terminals 3 and 4 0.1m H An illegal terminal is connected between terminals 5 and 6 0.05m
[0116] In some other optional implementations, the intrusion device is located according to the detected intrusion signal in different attack scenarios. Figure 6 The rising edge signal under different attack scenarios is illustrated. The location range of the intrusion device is determined by comparing the peaks and troughs of the adjacent signals.
[0117] In the scene AE ( Figure 6 ae), the valley position of the intruder signal falls between the valley positions of the signals of adjacent devices or falls on one side of the valley point of the signal of one of the devices. Taking into account the bus topology, this enables the location of the intruder device to be determined.
[0118] In scene F( Figure 6 In f), the comparison of the valley point positions shows that the intrusion device is located on the left side of ECU3. Since the intrusion signal is aligned with the valley point position of ECU2, the comparison of the peak point position shows that the intrusion device is located on the right side of ECU2, and the location range of the intrusion device is determined in combination with the bus topology.
[0119] In scenes G and H ( Figure 6 gh), the device spacing is 0.1m and 0.05m respectively. The valley location alone is not enough to determine the location range of the intruding device.
[0120] Therefore, it is necessary to collaboratively compare the peaks and troughs of multiple signals for positioning. In order to reduce noise interference and experimental errors, the peak and trough positions of multiple signals are averaged before comparison.
[0121] See also Figure 7 ,It shows that the accuracy of locating abnormal signals in different attack scenarios changes with the increase of the average number of signals. Figure 7 a shows the change in positioning accuracy when the device spacing is large. Obviously, in the scenario where the device spacing is large, no more than 5 signal average times are required to locate the illegally accessed terminal.
[0122] On the contrary, Figure 7In scenario b, when the device spacing is small, the average number of signals increases accordingly. In scenario G, when the devices are 0.1m apart and an illegal terminal is connected, the average number of signals does not exceed 35 times, which means 100% positioning accuracy is achieved. Even in scenario H, when an illegal terminal is connected to a device with a spacing of 0.05m, a positioning accuracy of up to 93% can be achieved after averaging 70 signals.
[0123] Based on the above analysis, the method of the present invention shows that as the number of signal averages increases, the positioning accuracy will increase accordingly, and finally the illegal terminal access positioning between devices 0.05m apart is achieved, and the positioning accuracy reaches 93%.
[0124] In summary, the present invention provides an illegal terminal access positioning method and system for an industrial control system, which can quickly and accurately locate illegal terminal access in the system in a CAN communication bus network, and will not affect the normal communication of the bus while ensuring simple deployment.
[0125] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0128] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0131] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0132] 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.
[0133] 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.
[0134] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0135] 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 locating illegal terminal access to an industrial control system, characterized in that: The following steps are involved: Get sampling information of any terminal on the communication bus; Generate a voltage signal subsequence corresponding to any terminal device according to the obtained sampling information; Extract the peak point positions and valley point positions in multiple voltage signal subsequences and process them as terminal reflection features; A multi-terminal location fingerprint model is constructed based on the reflection characteristics of multiple terminals, and the multi-terminal location fingerprints are collaboratively compared to determine the access location of illegal terminals, thereby realizing the location of illegal terminal access.
2. The method for locating illegal terminal access to an industrial control system according to claim 1, characterized in that: The specific steps to obtain the sampling information of any terminal on the communication bus are: Connect a parallel impedance to the gateway device at one end of the communication bus, connect the monitoring device to the other end opposite to the parallel impedance, and obtain the voltage and terminal ID of any terminal signal.
3. The method for locating illegal terminal access to an industrial control system according to claim 2, characterized in that: The parallel impedance Zf is calculated as follows: Among them, Z r is the impedance of the reflection node, and Z0 is the impedance of the transmission line.
4. The method for locating illegal terminal access to an industrial control system according to claim 1, characterized in that: The voltage signal subsequence corresponding to any terminal device is generated according to the obtained sampling information: The sampled voltage signal is preprocessed, a uniform voltage threshold is set, and the first rising edge signal subsequence of the voltage signal is extracted as the corresponding voltage signal subsequence.
5. The method for locating illegal terminal access to an industrial control system according to claim 4, characterized in that: The voltage threshold is 0.25~0.5V.
6. The method for locating illegal terminal access to an industrial control system according to claim 1, characterized in that: The terminal reflection characteristics are as follows: The peak point positions and valley point positions in multiple voltage signal subsequences are extracted, the same sampling voltage threshold is set between different signals, and averaging is performed. The peak point positions and valley point positions after averaging are used as terminal reflection features.
7. The method for locating illegal terminal access to an industrial control system according to claim 1, characterized in that: The specific steps of building a multi-terminal location fingerprint model are as follows: The physical locations of different terminals on the bus are recorded, the terminal reflection features are associated with the corresponding terminal locations, and a multi-terminal location fingerprint model is constructed.
8. The method for locating illegal terminal access to an industrial control system according to claim 1, characterized in that: The collaborative comparison of multiple terminal location fingerprints to determine the illegal terminal access location is as follows: Compare the sampled signal reflection characteristics with the multi-terminal location fingerprints. If the signal reflection characteristics successfully match the terminal ID location fingerprint, there is no illegal terminal access; If the signal reflection feature fails to match the terminal ID location fingerprint, there is illegal terminal access, and the illegal terminal access location is determined based on the comparison result.
9. An illegal terminal access positioning system for an industrial control system, characterized in that: include: An information module, which obtains sampling information of any terminal on the communication bus; A generation module generates a voltage signal subsequence corresponding to any terminal device according to the sampling information; An extraction module extracts peak point positions and valley point positions in multiple voltage signal subsequences and processes them as terminal reflection features; The positioning module builds a multi-terminal location fingerprint model based on the reflection characteristics of multiple terminals, collaboratively compares the multi-terminal location fingerprints to determine the access location of illegal terminals, and realizes the positioning of illegal terminal access.
10. The illegal terminal access positioning system for industrial control systems according to claim 9, characterized in that: Connect a parallel impedance to the gateway device at one end of the communication bus, connect the monitoring device to the other end opposite to the parallel impedance, and obtain the voltage and terminal ID of any terminal signal; parallel impedance Z f The calculation is as follows: Among them, Z r is the impedance of the reflection node, and Z0 is the impedance of the transmission line.
