Network attack detection method and system for numerical control equipment
By setting up sniffers and network monitoring units in the intranet of industrial control systems, and using deep packet inspection and artificial intelligence algorithms to capture and analyze network communication content, the problem of existing technology being difficult to deal with advanced network attacks on CNC equipment has been solved, and complex attacks have been achieved. Timely identification and defense of attacks ensure the safe and stable operation of industrial control systems.
Patent Information
- Application Number
- CN202411000176.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing security protection methods are difficult to deal with advanced and complex cyberattacks on CNC equipment, leading to problems such as equipment failure, production interruption, and data leakage.
Set up sniffers and network monitoring units in the intranet of the industrial control system to simulate the operating status of CNC equipment, capture and analyze network communication content through deep packet inspection technology and artificial intelligence algorithms, trigger alarm signals, and achieve real-time monitoring and response.
Effectively identify and block complex and advanced network attacks, ensure the safe and stable operation of industrial control systems, and improve timely response and defense capabilities against attacks of different severity.
Smart Images

Figure CN118869307A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and in particular to a network attack detection method and system for numerical control equipment. Background Art
[0002] With the widespread application of industrial control systems (ICS), the importance of CNC equipment in industrial production has become increasingly prominent. CNC equipment communicates with other industrial control system components through the network to achieve automated control and production. However, with the increasing degree of networking, CNC equipment is also facing more and more network security threats. For example, malware, distributed denial of service (DDoS) attacks, phishing and man-in-the-middle attacks can all lead to CNC equipment failures, production interruptions and even data leaks.
[0003] Existing security protection methods, such as firewalls and traditional intrusion detection systems (IDS), are often unable to cope with advanced and complex attacks against CNC equipment. Therefore, there is an urgent need for a new security protection solution that can detect and respond to network attacks in real time to ensure the safe operation of CNC equipment and industrial control systems. Summary of the invention
[0004] In view of the many problems existing in the above-mentioned prior art, the present invention provides a network attack detection method and system for numerical control equipment. The present invention simulates the operating status of the numerical control equipment by setting a sniffer and a network monitoring unit in the intranet of the industrial control system to attract and capture potential attack traffic; the network communication content captured by the sniffer is analyzed in detail through deep packet inspection technology and artificial intelligence algorithm, and compared with the pre-recorded normal communication content; when an abnormality is detected, the system will trigger a corresponding alarm signal, and ensure timely response and processing through a multi-level protection mechanism; the system can monitor and analyze network traffic in real time, effectively identify and prevent various complex and advanced network attacks, and ensure the safe and stable operation of the industrial control system.
[0005] A network attack detection method for numerical control equipment comprises the following steps: Set up a protection unit between the industrial control system intranet and extranet; The intranet monitoring unit is connected to the protection unit, and the intranet monitoring unit is connected to the industrial control network server; The network inspection unit is connected to the sniffer, and the network inspection unit is connected to the intranet monitoring unit; Recording intercepted network communication content via a sniffer connected to the intranet monitoring unit; Mirroring the network communication content of the intranet monitoring unit to the network review unit; comparing the intercepted network communication content with normal network communication content in the network review unit; When there is a difference between the intercepted network communication content and the normal network communication content, triggering a first-level alarm; When an abnormality is found in the network communication content at the intranet monitoring unit, a secondary alarm is triggered.
[0006] Preferably, mirroring the network communication content includes: selecting communication content directed to the numerical control device from normal network communication content passing through the intranet monitoring unit, and forwarding it to the network review unit.
[0007] Preferably, the method of comparing intercepted network communication content with normal network communication content uses an artificial intelligence-based method to identify abnormal network communication content from normal network communication content.
[0008] Preferably, the artificial intelligence based method includes using OneClassSVM, KMeans or Deep SVDD algorithm for anomaly detection.
[0009] Preferably, the first-level alarm triggering method is that when the network communication content directed to the CNC device intercepted by the sniffer is different from the normal network communication content directed to the CNC device, the network monitoring unit sends the first-level alarm signal to the analysis unit through the intranet monitoring unit and the protection unit.
[0010] Preferably, the secondary alarm triggering method is specifically to use the intranet monitoring unit to record normal network communication content pointing to non-CNC equipment, and in the method of comparing the intercepted network communication content with the normal network communication content, compare the recorded network communication content with the new network communication content. When the comparison result is a difference, the intranet monitoring unit sends the secondary alarm signal to the analysis unit through the protection unit.
[0011] An intranet security system, comprising: A protection unit, used to establish a connection with the external network; An intranet monitoring unit connected to the protection unit; A sniffer and a network monitoring unit are connected to the intranet monitoring unit; The sniffer is used to simulate the numerical control device and record the network communication content directed to the numerical control device; The network monitoring unit is used to compare the recorded network communication content with normal network communication content and generate an alarm signal when a difference is found.
[0012] Preferably, the sniffer is an emulator, which is used to simulate the numerical control equipment, record network communication content, and forward it to the network monitoring unit.
[0013] Preferably, the network monitoring unit is a component that combines network communication content comparison and alarm signal generation.
[0014] Preferably, the analysis unit generates warning information based on the primary and secondary warning signals, and detects behavioral characteristics of the attack in combination with the network communication content recorded in the sniffer and the network communication content recorded in the intranet monitoring unit.
[0015] Compared with the prior art, the advantages and beneficial effects of the present invention are: The present invention achieves the effect of attack trapping and abnormal behavior recording of numerical control equipment by means of simulation technology; The present invention achieves in-depth analysis and anomaly detection effects on complex network communication content through deep packet inspection (DPI) and artificial intelligence algorithms; The present invention achieves timely response and defense effects to network attacks of different severity levels through a multi-level alarm triggering mechanism. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 It is a structural block diagram of the system of the present invention. DETAILED DESCRIPTION
[0017] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0018] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0019] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0020] like Figure 1 As shown, a network attack detection method for numerical control equipment includes the following steps: Set up a protection unit between the industrial control system intranet and extranet; The main function of the protection unit is to establish a security barrier between the intranet and the extranet of the industrial control system to prevent external network attacks from directly threatening the CNC equipment in the intranet. The protection unit usually adopts a variety of security technologies such as firewalls, intrusion detection systems (IDS), and intrusion prevention systems (IPS). Firewalls can filter data packets in and out of the intranet by defining access control policies, allowing only legal data flows to pass. Intrusion detection systems and intrusion prevention systems can monitor network traffic in real time, identify and block suspicious or malicious activities.
[0021] In the present invention, the protection unit is not only set to block unauthorized external access, but also includes a high-level monitoring and defense mechanism. Through the protection unit, all network communication contents entering and leaving the intranet will be strictly examined.
[0022] In an embodiment, the protection unit may use a firewall technology based on deep packet inspection (DPI). DPI can deeply check the content of each data packet, not just the header information of the data packet. Through this technology, the protection unit can identify and analyze the application layer protocol in the data packet, further improving the accuracy and effectiveness of detection and defense. For example, when a data packet attempts to transmit malicious code through the HTTP protocol, DPI can detect this anomaly and prevent it from passing, thereby protecting the CNC equipment in the intranet from being infringed.
[0023] The intranet monitoring unit is connected to the protection unit, and the intranet monitoring unit is connected to the industrial control network server; The main function of the intranet monitoring unit in the present invention is to monitor and analyze the network traffic in the intranet of the industrial control system in real time to identify potential security threats and abnormal behaviors. By connecting the intranet monitoring unit to the protection unit, it can be ensured that all data flows in and out of the intranet are strictly monitored and filtered, thereby effectively preventing unauthorized access and attack behaviors. At the same time, the intranet monitoring unit is connected to the industrial control network server, so that it can fully monitor various operations and communication activities in the industrial control system, and take timely response measures when abnormalities are found.
[0024] In principle, the intranet monitoring unit acts as the second barrier between the intranet and the extranet. The protection unit is responsible for the first layer of security checks, blocking most external threats. The intranet monitoring unit goes deep into the intranet and conducts more detailed checks on the legitimate traffic passing through the protection unit. Its connection method enables it to conduct detailed analysis and record information such as the content, source, and destination of the data packet after it passes through the protection unit.
[0025] During the implementation process, the work of the intranet monitoring unit includes the following steps: Packet capture and analysis: The intranet monitoring unit captures all network communications passing through the protection unit in real time through the connection with the protection unit. These packets include communication requests directed to various devices and servers in the industrial control system. The intranet monitoring unit will conduct in-depth analysis of these packets, including parsing protocols, checking packet headers and payloads, and identifying potential security threats.
[0026] Anomaly detection: The intranet monitoring unit uses a variety of technical means to detect anomalies in captured data packets. These technical means can include feature-based detection (for example, known malicious IP addresses, malware signatures, etc.), behavior-based detection (for example, abnormal communication patterns, frequent port scans, etc.), and artificial intelligence-based detection (for example, using machine learning models to identify abnormal communication content).
[0027] Logging and auditing: All analyzed data packets and their analysis results will be recorded in the log by the intranet monitoring unit. These logs are not only used for real-time security monitoring, but can also be audited and analyzed afterwards to help security personnel understand the process and scope of the attack and improve security policies.
[0028] Alarm and response: When the intranet monitoring unit detects an abnormality or potential security threat, it will immediately trigger an alarm and send the alarm information to the relevant security management system through the interface connected to the industrial control network server. This ensures that security personnel can receive the alarm and take appropriate response measures as soon as the attack occurs.
[0029] For example, an attacker attempts to transmit malicious code through a seemingly normal HTTP request. The request passes the initial inspection of the protection unit and enters the intranet monitoring unit. The intranet monitoring unit will conduct a detailed analysis of the HTTP request to check whether its payload contains known malicious code features. If an abnormality is detected, the intranet monitoring unit will immediately record the event and trigger an alarm to notify the security management system. In this way, the attack behavior can be stopped in time before the attacker actually executes the malicious code, protecting the CNC equipment in the industrial control system from damage.
[0030] In summary, the design of connecting the intranet monitoring unit to the protection unit and the industrial control network server enables the intranet monitoring unit to fully exert its monitoring, analysis and response functions. By working in conjunction with the protection unit, the intranet monitoring unit not only improves the overall security of the industrial control system intranet, but also enhances the system's detection and response capabilities to complex and advanced threats, thereby ensuring the stable and safe operation of the industrial control system.
[0031] The network inspection unit is connected to the sniffer, and the network inspection unit is connected to the intranet monitoring unit; In the application of the present invention, the network review unit is a core component responsible for in-depth analysis and review of network communication content. Through the connection with the sniffer, the network review unit can receive the network communication data captured by the sniffer in real time. With the assistance of the intranet monitoring unit, the sniffer simulates the normal operating environment of the CNC equipment, thereby guiding potential attackers to turn their attack targets to the sniffer. The connection between the network review unit and the intranet monitoring unit ensures comprehensive analysis and monitoring of all communication content in the intranet.
[0032] The role of the network review unit is to conduct detailed inspection and comparison of network communication content intercepted by the sniffer to identify potential security threats. Its workflow includes data reception, parsing, analysis and alarm generation. By working in conjunction with the sniffer and intranet monitoring unit, the network review unit can form an efficient monitoring and defense system.
[0033] The sniffer simulates one or more CNC devices in the industrial control system intranet. These devices appear to be operating normally, but are actually used to guide and capture the malicious activities of attackers. The network communications captured by the sniffer include all communication requests directed to these simulated devices. Due to the location and role of the sniffer, it is difficult for attackers to detect its existence and therefore they will regard it as a normal attack target.
[0034] After receiving the data transmitted by the sniffer, the network review unit will perform a deep analysis of the data packet to extract key information, such as source address, destination address, protocol type, and payload content. Then, the network review unit compares this information with normal network communication content to detect abnormal behavior. The specific comparison method can use rule-based detection, statistical analysis, and machine learning algorithms.
[0035] By connecting to the intranet monitoring unit, the network audit unit is not limited to analyzing the sniffer data, but can also monitor the communication activities of the entire intranet. This comprehensive monitoring ensures that even if the attacker bypasses the sniffer and directly attacks other devices in the intranet, the network audit unit can detect and respond in time.
[0036] For example, an attacker attempts to send malicious instructions through a CNC device simulated by a sniffer. The sniffer captures these instructions and transmits them to the network review unit. The network review unit deeply analyzes these instructions and identifies the differences between them and normal instructions. If these instructions are found to contain malicious code or abnormal behavior, the network review unit will immediately generate an alarm and notify the security management system through the intranet monitoring unit for processing.
[0037] First, the combination of the sniffer and the network review unit can effectively trap and detect the attacker's behavior and provide detailed attack data for analysis. Secondly, through the comprehensive monitoring of the intranet monitoring unit, the security of the entire industrial control system intranet is greatly improved, and any potential attack behavior can be discovered and handled in a timely manner. In addition, the deep analysis and comparison functions of the network review unit ensure efficient detection of complex and advanced attacks, thereby providing multi-level security protection for the industrial control system.
[0038] In summary, the design of connecting the network inspection unit to the sniffer and the intranet monitoring unit realizes comprehensive protection of the intranet of the industrial control system through multi-level monitoring and in-depth analysis, and effectively improves the security and defense capabilities of the system. Through this design, the present invention can provide stable and reliable security protection in a complex and changeable network environment to ensure the normal operation of the industrial control system.
[0039] Recording intercepted network communication content via a sniffer connected to the intranet monitoring unit; In the application of the present invention, the sniffer is used as a key component to capture and record the network communication content in the intranet, especially the communication data of the numerical control equipment. The sniffer is connected to the intranet monitoring unit, which enables it to receive and analyze network traffic in real time to detect potential attacks and abnormal behaviors. The main function of the sniffer is to simulate the normal operation state of the numerical control equipment, induce the attacker to target it, and thus intercept all network communication content targeting these simulated devices.
[0040] The sniffer captures all network communication data passing through by passively monitoring the data flow in the intranet. Its workflow includes the interception, parsing, storage and transmission of data packets. The core technology of the sniffer is Deep Packet Inspection (DPI), which allows the sniffer to deeply parse the content of each data packet instead of just checking the header information of the data packet. Through DPI, the sniffer can identify and record detailed information in the data packet, such as the source address, destination address, protocol type and payload content.
[0041] The sniffer accomplishes its task by following these steps: Packet interception: The sniffer simulates one or more CNC devices in the intranet, and all network communication data directed to these devices will pass through the sniffer. Due to the existence of these simulated devices, attackers will mistake them for normal CNC devices and launch attacks. The sniffer intercepts all data packets flowing to these simulated devices in passive monitoring mode.
[0042] Deep Packet Inspection (DPI): The intercepted data packets are analyzed in detail using DPI technology. The sniffer examines each layer of the data packet, including the application layer protocol, and extracts key information from it. This information includes, but is not limited to: source address, destination address, port number, protocol type, packet length, and payload content. Through DPI, the sniffer can identify potential threats in the data packet, such as malicious code, abnormal instructions, or abnormal traffic patterns.
[0043] Data storage and transmission: The parsed data packet information is stored in the local memory of the sniffer and transmitted to the intranet monitoring unit at the same time. The intranet monitoring unit further analyzes and processes the data to identify potential security threats and abnormal behaviors. The stored data can be used for post-audit and analysis to help security personnel understand the specific process and characteristics of the attack.
[0044] Real-time alerts and responses: When the sniffer detects abnormal or malicious activity, it immediately generates an alert and notifies the security management system through the intranet monitoring unit. These alerts include detailed abnormal information to help security personnel quickly identify and respond to attack behaviors. Depending on the severity of the abnormality, the sniffer can trigger different levels of alerts (such as level 1 and level 2) so that appropriate response measures can be taken.
[0045] For example, an attacker attempts to send malicious code instructions through a CNC device simulated by a sniffer. The sniffer captures these instructions and parses them through DPI technology to identify the malicious code features contained in these instructions. The sniffer immediately records this data and generates an alarm to notify the intranet monitoring unit. The intranet monitoring unit further analyzes this data and, after confirming the attack behavior, notifies the security management system to take measures to prevent the malicious code from spreading and executing in the intranet.
[0046] Through the method of the present invention, the sniffer can effectively capture and record the network communication content for CNC equipment, providing detailed data support for subsequent security analysis and response. It is connected to the intranet monitoring unit so that the entire system can work together to form a comprehensive network security defense system. This not only improves the detection capability of complex and advanced threats, but also ensures the safe and stable operation of the industrial control system.
[0047] The sniffer is connected to the intranet monitoring unit and uses deep packet inspection technology to capture and record network communication content in real time, identify and respond to attack behaviors in the early stages, and effectively protect the numerical control equipment in the industrial control system from the threat of network attacks. Through this design, the present invention can provide a high level of security in the industrial control network environment and ensure the continuity and security of the industrial production process.
[0048] Mirroring the network communication content of the intranet monitoring unit to the network review unit; Preferably, mirroring the network communication content includes: selecting communication content directed to the numerical control device from normal network communication content passing through the intranet monitoring unit, and forwarding it to the network review unit.
[0049] In the application of the present invention, the main function of the intranet monitoring unit is to monitor and analyze the network communication content in the intranet in real time to detect potential security threats. By mirroring the network communication content to the network review unit, it can be ensured that all key communication content can be checked and analyzed in detail, thereby improving the security and defense capabilities of the system. Mirroring technology plays a key role here, allowing network communication data to be copied and transmitted to the review unit for further processing without affecting normal communication.
[0050] Mirroring network communications refers to creating copies of network traffic in the intranet monitoring unit and sending these copies to the network review unit. Mirroring technology usually involves using the port mirroring function of a network switch, or using a specialized network probe device to capture and copy network data flows. In this way, the intranet monitoring unit is able to monitor and analyze network communications without affecting the transmission of actual communication traffic.
[0051] The mirrored network communication content includes the following steps: Packet capture and selection: The intranet monitoring unit captures all network communication data passing through it in real time. In the captured packets, the intranet monitoring unit selects the communication content directed to the CNC device according to predefined rules and policies. These rules can be based on the source address, destination address, port number, protocol type, etc. of the packet. For example, the intranet monitoring unit can be configured to capture and mirror only those communication packets directed to a specific IP address (i.e., CNC device).
[0052] Packet mirroring: Selected packets are copied and a mirrored copy is formed. These mirrored packets retain all the information of the original packet, including header information and payload content. The mirroring process can be achieved through the port mirroring function of the network switch, or by using a network probe device for hardware-level capture and replication.
[0053] Packet forwarding: Mirrored packets are forwarded to the network review unit through the connection of the intranet monitoring unit. After receiving these mirrored packets, the network review unit conducts in-depth analysis and review. In this way, the network review unit can obtain key communication content in the intranet in real time and conduct detailed security analysis.
[0054] Deep parsing and review: The network review unit conducts deep parsing of the received mirrored data packets to check whether there are any anomalies or potential threats in their contents. The parsing process includes layered parsing of data packets (e.g., parsing application layer protocols), feature matching (e.g., identifying known malicious code features), behavioral analysis (e.g., detecting abnormal communication patterns), etc. Through this detailed review, various network attacks and security threats can be effectively identified and prevented.
[0055] For example, the intranet monitoring unit captures an HTTP request directed to a CNC device. According to predefined rules, the intranet monitoring unit selects and mirrors the HTTP request and forwards it to the network review unit. The network review unit performs a deep analysis of the HTTP request and finds that the request payload contains malicious code features. At this point, the network review unit generates an alarm and notifies the intranet monitoring unit and the security management system, so that timely measures can be taken to prevent the spread of malicious code in the intranet.
[0056] Mirroring technology allows all key communication content to be examined in detail, significantly improving the security of the intranet; mirrored data packets can be transmitted to the network review unit in real time, ensuring that any potential threats can be quickly identified and handled; through deep analysis and detailed review, the network review unit can accurately identify complex and advanced network attacks, improving the accuracy and effectiveness of detection; the application of mirroring technology allows intranet monitoring and security review to be carried out without affecting normal communication traffic, ensuring the stability and normal operation of the system.
[0057] comparing the intercepted network communication content with normal network communication content in the network review unit; Preferably, the method of comparing intercepted network communication content with normal network communication content uses an artificial intelligence-based method to identify abnormal network communication content from normal network communication content.
[0058] In the present invention, the network review unit detects and identifies potential security threats and abnormal behaviors by comparing the intercepted network communication content with the normal network communication content. The core of this process is to accurately distinguish between normal communication traffic and abnormal traffic that may be offensive in nature. Through this comparison, the system can discover and respond to various network attacks and abnormal situations in real time.
[0059] The comparison process includes data reception, feature extraction, model training, and anomaly detection. The network review unit first receives intercepted network communication content from the intranet monitoring unit and sniffer, and simultaneously obtains normal network communication content as a benchmark. By deeply analyzing and extracting features from these data, feature vectors are generated for comparison. Then, based on these feature vectors, the model is trained using artificial intelligence technology to be able to identify abnormal network communication content.
[0060] Preferably, the artificial intelligence based method includes using OneClassSVM, KMeans or Deep SVDD algorithm for anomaly detection.
[0061] The AI-based approach is used to identify anomalies from normal network communication content, which includes the following steps: Data collection and preprocessing: The network audit unit receives a large amount of network communication data from the intranet monitoring unit and the sniffer. Normal network communication content usually comes from historical data and verified normal operation records. After the data is collected, it needs to be preprocessed, including data cleaning, denoising and standardization to ensure the consistency and accuracy of the data.
[0062] Feature extraction: After preprocessing, features need to be extracted from the data for training and detection. The feature extraction process includes parsing the header information and payload content of the data packet and extracting key fields such as source address, destination address, port number, protocol type, packet length, and timestamp. These features can effectively characterize the behavior and pattern of network communication.
[0063] Model training: Using the extracted features, the model is trained using an AI-based algorithm. Commonly used algorithms include OneClassSVM, KMeans, and Deep SVDD. Specifically: OneClassSVM (single-class support vector machine): mainly used for anomaly detection. Only normal data is used when training the model to build an interface to distinguish normal data from potential abnormal data.
[0064] KMeans: A clustering algorithm that identifies anomalous data points by dividing the data into different clusters. Normal data points are clustered together, while anomalous data points are usually isolated.
[0065] Deep SVDD (Deep Support Vector Data Description): Combining deep learning and traditional SVDD, it can effectively process high-dimensional and complex network data and identify potential anomalies.
[0066] Anomaly detection and comparison: The trained model is used to detect intercepted network communication content in real time. The network review unit inputs the intercepted communication data features into the model for comparison and judgment. If a data point is detected to deviate from the distribution range of normal data, it is considered an anomaly and an alarm is generated.
[0067] For example, the network review unit receives a network communication data packet captured from a sniffer. First, the data packet is preprocessed and feature extracted to generate a feature vector. Then, the feature vector is input into the trained OneClassSVM model for comparison. The model determines that the data packet is significantly different from the normal communication content and marks it as abnormal data. At this point, the network review unit generates an alarm and notifies the intranet monitoring unit and security management system to take further measures.
[0068] This AI-based approach has significant results. First, through automated and intelligent anomaly detection, the efficiency and accuracy of detection are significantly improved. Second, using machine learning algorithms, it is able to process and analyze large-scale, highly complex network data and detect potential threats in a timely manner. In addition, these methods are adaptive and scalable, and can continuously optimize and improve detection models as the network environment changes.
[0069] By comparing the intercepted network communication content with the normal network communication content in the network review unit, and especially using an artificial intelligence-based method to perform anomaly detection, the present invention realizes efficient and secure monitoring of the industrial control system intranet. The method can not only identify complex and advanced network attacks in real time, but also provide timely response and defense to ensure the safe and stable operation of the industrial control system.
[0070] When there is a difference between the intercepted network communication content and the normal network communication content, triggering a first-level alarm; In the present invention, one of the core functions of the network review unit is to compare the intercepted network communication content with the normal network communication content to detect abnormal situations. When a significant difference is found between the two, the system triggers a level 1 alarm. The triggering mechanism of the level 1 alarm is designed to quickly identify and respond to potential threats, thereby protecting the CNC equipment in the industrial control system from attacks.
[0071] The triggering of the first level alarm is based on the comparative analysis results. When the network review unit detects an abnormal difference between the intercepted network communication content and the normal communication content, the system considers that there is a potential security threat. In the specific implementation process, the difference detection can be completed through a variety of technical means, including feature-based matching, statistical analysis, and machine learning algorithms. These technical means can identify various abnormal behaviors such as abnormal traffic patterns, malicious code characteristics, unauthorized access attempts, etc.
[0072] The specific implementation steps include: Data capture and analysis: The sniffer captures the network communication content directed to the CNC equipment in real time and transmits it to the network review unit. The network review unit conducts in-depth analysis of this data and extracts key information such as source address, destination address, protocol type and payload content.
[0073] Signature comparison: The network review unit compares the intercepted network communication content with the pre-defined normal communication content. Normal communication content usually comes from historical data and verified operation records. During the comparison process, the system checks various aspects of the data packet, including communication frequency, packet length, protocol usage, and content pattern.
[0074] Difference detection: Based on the comparison results, the network review unit identifies any abnormal features. For example, if a network request directed to a CNC device contains an unknown command or an abnormal data pattern, the system will mark it as abnormal. These anomalies may include instructions that do not conform to normal operating modes, malicious code in the data packet, or abnormally high communication frequency.
[0075] Triggering an alarm: When an abnormal difference is detected, the network review unit generates a level 1 alarm. The alarm signal is transmitted to the analysis unit through the intranet monitoring unit and the protection unit. The analysis unit is responsible for further processing the alarm signal, assessing the severity of the threat, and taking appropriate response measures.
[0076] Preferably, the first-level alarm triggering method is that when the network communication content directed to the CNC device intercepted by the sniffer is different from the normal network communication content directed to the CNC device, the network monitoring unit sends the first-level alarm signal to the analysis unit through the intranet monitoring unit and the protection unit.
[0077] For example, an attacker attempts to control a CNC device by sending malicious instructions. The sniffer captures these instructions and transmits them to the network review unit. The network review unit parses and compares these instructions and finds that they contain abnormal opcodes or unauthorized commands. The system identifies these anomalies and triggers a level 1 alarm. The alarm signal is transmitted to the protection unit through the intranet monitoring unit, and then sent to the analysis unit by the protection unit. After receiving the alarm, the analysis unit immediately takes measures to prevent the execution of malicious instructions and notifies security personnel for further investigation.
[0078] The effect of this design is significant. First, real-time anomaly detection and alarm triggering ensure that the system can respond at the early stage of the attack, thereby minimizing potential damage. Second, through multi-level monitoring and comparative analysis, the system can accurately identify complex and advanced attack behaviors, improve detection accuracy and timeliness of response. In addition, the triggering mechanism of the first-level alarm enables the system to respond quickly when facing potential threats, ensuring the safety of CNC equipment in the industrial control system.
[0079] When there is a difference between the intercepted network communication content and the normal network communication content, a first-level alarm is triggered. The preferred alarm triggering method ensures efficient identification and response to abnormal communications of key equipment. The present invention realizes comprehensive protection of the intranet of the industrial control system and improves the security and defense capabilities of the system.
[0080] When an abnormality is found in the network communication content at the intranet monitoring unit, a secondary alarm is triggered.
[0081] In the present invention, the trigger mechanism of the secondary alarm is used to detect and respond to abnormal communication behaviors occurring in the intranet, especially those communications that are not directly directed to the CNC equipment but may still pose a security threat. This mechanism compares the normal network communication content recorded by the intranet monitoring unit with the new network communication content, identifies the abnormal difference, and thus triggers the alarm and takes corresponding protective measures.
[0082] The triggering of the second level alarm is based on comprehensive monitoring and analysis of network communication content. The intranet monitoring unit continuously records all network communication activities in the intranet and establishes a baseline for normal communication content. When new communication content appears, the system compares it with the normal baseline and detects any abnormal behavior. In this way, the system can discover hidden and complex attack attempts and respond in a timely manner.
[0083] The specific implementation steps include: Data recording and benchmark establishment: The intranet monitoring unit continuously records all network communications directed to non-NC devices. These communications include normal operations and communication traffic in the intranet, which constitute the normal communication benchmark of the system. The benchmark data is pre-processed, including data cleaning and standardization, to ensure its consistency and accuracy.
[0084] New data capture and analysis: When new network communication content passes through the intranet monitoring unit, the system captures and analyzes this data to extract key information, such as source address, destination address, protocol type, and payload content. The analysis process is similar to the process of establishing a baseline to ensure data consistency.
[0085] Anomaly detection: The intranet monitoring unit uses the established normal communication baseline to compare with the new network communication content. During the comparison process, the system checks various characteristics, including communication frequency, packet length, protocol usage, and content pattern. If there is a significant difference between the new data and the baseline data, the system considers that an anomaly has been detected.
[0086] Triggering an alarm: When an anomaly is detected, the intranet monitoring unit generates a secondary alarm signal. This signal is sent to the analysis unit through the protection unit, which further evaluates the severity of the anomaly and takes appropriate response measures. Secondary alarms are usually used to identify more subtle or complex attack behaviors that require more detailed analysis and processing.
[0087] Preferably, the secondary alarm triggering method is specifically to use the intranet monitoring unit to record normal network communication content pointing to non-CNC equipment, and in the method of comparing the intercepted network communication content with the normal network communication content, compare the recorded network communication content with the new network communication content. When the comparison result is a difference, the intranet monitoring unit sends the secondary alarm signal to the analysis unit through the protection unit.
[0088] For example, the intranet monitoring unit detects an abnormal flow of traffic directed to the intranet server. This flow includes a large number of login attempts, indicating potential brute force cracking behavior. The intranet monitoring unit compares these new communications with the normal login traffic baseline and finds an abnormally high frequency of login attempts and unauthorized access requests. After the system identifies these abnormal behaviors, it generates a secondary alarm and sends it to the analysis unit through the protection unit. After receiving the alarm, the analysis unit immediately assesses the risk and notifies security personnel to take measures, such as locking suspicious accounts and blocking abnormal IP addresses.
[0089] First, the secondary alarm mechanism ensures that all potential threats in the intranet can be identified in a timely manner, even if these threats are not directly targeted at CNC equipment. Second, by comparing normal baselines with new communication content, the system can accurately identify complex and hidden attack behaviors, improving detection accuracy and timeliness of response. In addition, the triggering and processing mechanism of the secondary alarm enables the system to maintain a high level of defense in the face of multi-level security threats.
[0090] When an abnormality is found in the network communication content at the intranet monitoring unit, a secondary alarm is triggered. The preferred alarm triggering method ensures efficient identification and response to abnormal communications of non-NC equipment. The present invention achieves comprehensive protection of the intranet of the industrial control system and improves the security and defense capabilities of the system.
[0091] like Figure 2 As shown, an intranet security system includes: A protection unit, used to establish a connection with the external network; An intranet monitoring unit connected to the protection unit; A sniffer and a network monitoring unit are connected to the intranet monitoring unit; The sniffer is used to simulate the numerical control device and record the network communication content directed to the numerical control device; The network monitoring unit is used to compare the recorded network communication content with normal network communication content and generate an alarm signal when a difference is found.
[0092] In the application of the present invention, the design of the intranet security system is to protect the numerical control equipment in the industrial control system from external network attacks. The system realizes comprehensive network security defense through the collaborative work of multiple components.
[0093] First, the protection unit is used to establish a connection with the external network. Its main function is to serve as a security barrier between the industrial control system's internal network and the external network. The protection unit filters and monitors all network traffic in and out of the internal network by applying technical means such as firewalls and intrusion prevention systems (IPS) to prevent unauthorized access and potential attacks. The protection unit ensures that only legitimate data packets can pass through, protecting key devices in the internal network from direct external threats.
[0094] The intranet monitoring unit is connected to the protection unit, and its main function is to monitor and analyze network communications in the intranet in real time. The intranet monitoring unit not only records normal communication content in the intranet, but also captures new network communication data in real time and compares it with the recorded normal communication content to detect any abnormal or suspicious activities. In this way, the intranet monitoring unit can promptly discover and respond to potential threats in the intranet and ensure the security of the industrial control system.
[0095] The sniffer and network monitoring unit are connected to the intranet monitoring unit respectively. The sniffer is used to simulate CNC equipment and record the network communication content directed to these devices. The sniffer attracts and captures potential attack traffic by simulating the normal operating environment of CNC equipment. This simulation simulator technology enables the sniffer to effectively record the attacker's behavior and provide detailed data for subsequent security analysis.
[0096] The role of the network monitoring unit is to compare the network communication content recorded by the sniffer with the normal network communication content. When a significant difference is found between the two, the network monitoring unit generates an alarm signal. This comparison process involves deep packet inspection (DPI) technology and anomaly detection algorithms based on artificial intelligence, ensuring that the system can accurately identify various complex attack behaviors. The network monitoring unit can not only monitor network traffic in real time, but also has the function of generating alarm signals, allowing the system to respond promptly when potential threats are discovered.
[0097] Preferably, the sniffer is a simulation simulator, which is used to simulate the numerical control device, record the network communication content, and forward it to the network monitoring unit. Through this simulation, the sniffer can effectively attract and capture attack traffic and provide detailed analysis data for the network monitoring unit. For example, in one embodiment, the sniffer can simulate a numerical control machine tool and capture all network requests and instructions directed to the machine tool. These data are then transmitted to the network monitoring unit for in-depth analysis and comparison.
[0098] Preferably, the network monitoring unit is a component that combines network communication content comparison and alarm signal generation. After receiving the alarm signal, the analysis unit further evaluates the severity of the anomaly and takes corresponding response measures. For example, the analysis unit can lock the attacked device, block abnormal communication traffic, or notify security personnel for further investigation.
[0099] Preferably, the analysis unit generates warning information based on the primary and secondary warning signals, and detects the behavioral characteristics of the attack in combination with the network communication content recorded in the sniffer and the network communication content recorded in the intranet monitoring unit. For example, when the sniffer captures abnormal network communication content and triggers a primary alarm, the analysis unit will evaluate the detailed information of the alarm, and in combination with the data in the intranet monitoring unit, confirm the specific nature and scope of the attack, so as to take the most appropriate protective measures.
[0100] Through multi-level monitoring and analysis, the system can fully protect CNC equipment in the intranet and prevent various potential network attacks; the system can capture and analyze network communication content in real time, respond promptly in the early stages of an attack, and reduce potential damage; using deep packet inspection and artificial intelligence-based algorithms, the system can accurately identify complex and advanced attack behaviors and improve detection accuracy and effectiveness; through the coordinated work of protection units, intranet monitoring units, sniffers, and network monitoring units, the system forms a multi-level defense barrier, providing comprehensive security protection for industrial control systems.
[0101] 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 take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
[0102] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A network attack detection method for numerical control equipment, characterized in that: The following steps are involved: Set up a protection unit between the industrial control system intranet and extranet; The intranet monitoring unit is connected to the protection unit, and the intranet monitoring unit is connected to the industrial control network server; The network inspection unit is connected to the sniffer, and the network inspection unit is connected to the intranet monitoring unit; Recording intercepted network communication content via a sniffer connected to the intranet monitoring unit; Mirroring the network communication content of the intranet monitoring unit to the network review unit; comparing the intercepted network communication content with normal network communication content in the network review unit; When there is a difference between the intercepted network communication content and the normal network communication content, triggering a first-level alarm; When an abnormality is found in the network communication content at the intranet monitoring unit, a secondary alarm is triggered.
2. The detection method according to claim 1, characterized in that Mirroring the network communication content includes: selecting communication content directed to the numerical control device from normal network communication content passing through the intranet monitoring unit, and forwarding it to the network review unit.
3. The detection method according to claim 1, characterized in that: The method of comparing intercepted network communication content with normal network communication content uses an artificial intelligence-based method to identify abnormal network communication content from normal network communication content.
4. The detection method according to claim 3, characterized in that: AI-based methods include anomaly detection using OneClassSVM, KMeans, or Deep SVDD algorithms.
5. The detection method according to claim 1, characterized in that: The first-level alarm triggering method is specifically that when the network communication content directed to the CNC device intercepted by the sniffer is different from the normal network communication content directed to the CNC device, the network monitoring unit sends a first-level alarm signal to the analysis unit through the intranet monitoring unit and the protection unit.
6. The detection method according to claim 1, characterized in that: The secondary alarm triggering method specifically comprises using the intranet monitoring unit to record normal network communication content pointing to non-CNC equipment, and using the method of comparing the intercepted network communication content with the normal network communication content to compare the recorded network communication content with the new network communication content. When the comparison result shows a difference, the intranet monitoring unit sends the secondary alarm signal to the analysis unit through the protection unit.
7. An intranet security system, characterized in that: include: A protection unit, used to establish a connection with the external network; An intranet monitoring unit connected to the protection unit; A sniffer and a network monitoring unit are connected to the intranet monitoring unit; The sniffer is used to simulate the numerical control device and record the network communication content directed to the numerical control device; The network monitoring unit is used to compare the recorded network communication content with normal network communication content and generate an alarm signal when a difference is found.
8. The intranet security system according to claim 7, characterized in that: The sniffer is an emulator used to simulate the numerical control device, record network communication content, and forward it to the network monitoring unit.
9. The intranet security system according to claim 7, characterized in that: The network monitoring unit is a component that combines network communication content comparison and alarm signal generation.
10. The intranet security system according to claim 7, characterized in that: The analysis unit generates warning information according to the primary and secondary warning signals, and detects the behavioral characteristics of the attack in combination with the network communication content recorded in the sniffer and the network communication content recorded in the intranet monitoring unit.
Citation Information
Patent Citations
Industrial control network security detection method and device, electronic equipment and storage medium
CN111343205A
Industrial control honeypot safety protection device and method
CN112578761A
Industrial control network security detection system
CN112738077A
Network industrial control equipment safety monitoring method and device based on safety indexes
CN116318783A
Network attack detection and defense method and system based on honeypot
CN117424751A
Cited By
Industrial control network intelligent exposed surface identification and risk assessment system and method
CN119628967A
An industrial control network intelligent exposure surface identification and risk assessment system and method
CN119628967B
