Network security situation fault detection method and system based on historical data

Through the network security situation fault detection method based on historical data and the use of anomaly detection algorithms to extract and establish mapping relationships, the problem of indeterminate fault content after industrial equipment intrusion is solved, accurate identification and processing of complex attack patterns are achieved, and network security is improved. Troubleshooting capabilities for security posture.

CN118764288AInactive Publication Date: 2024-10-11TIANJIN CHUANGZHI INFORMATION & COMMUNICATION TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410999608.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

After industrial equipment is invaded, the fault content cannot be determined, resulting in the inability to handle it in a timely manner, and there are multiple complex attack modes that are difficult to accurately identify and handle.

Method used

The network security situation fault detection method based on historical data obtains current and historical industrial equipment data, uses anomaly detection algorithms to extract historical intrusion patterns and processes, establishes mapping relationships, determines real-time fault content, and processes it according to response strategies.

Benefits of technology

It can accurately identify the real-time fault content of industrial equipment, handle covert intrusion methods in a timely manner, and improve the fault handling capabilities of the network security posture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764288A_ABST
    Figure CN118764288A_ABST
Patent Text Reader

Abstract

The invention discloses a network security situation fault detection method and system based on historical data. The method comprises the following steps: acquiring current industrial equipment data and historical industrial equipment data; obtaining historical fault content of historical industrial equipment data and response strategy information corresponding to the historical fault content; the industrial equipment data comprises an abnormal data text and an abnormal intrusion text; performing data extraction on the historical abnormal intrusion text according to a historical abnormal data text by using an abnormal detection algorithm to obtain a historical intrusion mode and a historical intrusion process; establishing a historical mapping relationship between the historical intrusion mode and the historical intrusion process; determining real-time fault content of the current industrial equipment data according to a historical mapping relation; and obtaining response strategy information corresponding to the real-time fault content, and performing fault processing operation on the current industrial equipment data according to the response strategy information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security, and in particular to a method and system for detecting network security situation faults based on historical data. Background Art

[0002] As modern factories and production facilities become increasingly dependent on network connections and automation systems, the data information security management capabilities of industrial equipment are also increasing. However, after the data information of industrial equipment is attacked by intruders, the fault content after the data information attack of the industrial equipment cannot be quantified, resulting in the inability of industrial equipment data to block the attacks of intruders, which has created a huge security problem for industrial equipment.

[0003] At the same time, the researchers found that due to the diversity and complexity of industrial equipment attacks, there are multiple attack modes. Each attack mode has different attack means and attack strategies, and is also secretive, making it difficult to be discovered when industrial equipment is being tested. At the same time, during the detection process, due to multiple attack modes, the fault content cannot be accurately identified, and the fault cannot be handled in time. In addition, when a vulnerability other than a regular fault occurs, the fault cannot be accurately identified and handled.

[0004] Therefore, there is an urgent need for a network security situation fault detection method based on historical data to solve the problems that the data information fault content of industrial equipment cannot be qualitatively determined and the new fault content cannot be updated. Summary of the invention

[0005] The purpose of the present invention is to provide a network security situation fault detection method and system based on historical data, which solves the above technical problems pointed out in the prior art.

[0006] The present invention provides a network security situation fault detection method based on historical data, comprising the following steps:

[0007] Acquire current industrial equipment data and historical industrial equipment data; and acquire historical fault content of the historical industrial equipment data and response strategy information corresponding to the historical fault content; the industrial equipment data includes: abnormal data text and abnormal intrusion text; the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text; the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text;

[0008] Using an anomaly detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, to obtain a historical intrusion mode and a historical intrusion process; establishing a historical mapping relationship between the historical intrusion mode and the historical intrusion process; and determining the real-time fault content of the current industrial equipment data according to the historical mapping relationship;

[0009] Response strategy information corresponding to the real-time fault content is obtained, and a fault processing operation is performed on the current industrial equipment data according to the response strategy information.

[0010] Preferably, the establishing of the historical mapping relationship between the historical intrusion mode and the historical intrusion process; and determining the real-time fault content of the current industrial equipment data according to the historical mapping relationship are specifically performed in the following steps:

[0011] Analyze the intrusion patterns of the historical industrial equipment data to obtain the historical shallow intrusion patterns and the historical deep intrusion patterns of the historical industrial equipment data; analyze the historical shallow intrusion patterns and the historical deep intrusion patterns to establish a historical pattern correlation relationship between the historical shallow intrusion patterns and the historical deep intrusion patterns;

[0012] Analyze the historical intrusion process of the historical industrial equipment data, and extract the historical process nodes in the historical intrusion process; select a first key process node according to the historical process node, and construct a first historical process table through the first key process node;

[0013] Constructing a historical mapping relationship through the historical mode association relationship and the first historical process table; establishing a historical mapping relationship table through the historical mapping relationship;

[0014] Utilize the anomaly detection algorithm to extract the current intrusion mode and the current intrusion process from the real-time abnormal intrusion text of the current industrial equipment data, and directly establish a current real-time mapping relationship between the current intrusion mode and the current intrusion process;

[0015] Encoding each historical mapping relationship in the historical mapping relationship table by an encoder to obtain each historical mapping data; and archiving each historical mapping data to generate a historical mapping database;

[0016] Encoding the current real-time mapping relationship through an encoder to obtain real-time mapping data;

[0017] The similarity between the historical mapping database and the current real-time mapping data is calculated and obtained, and the historical fault content of the historical industrial equipment data is determined according to the similarity.

[0018] Preferably, the historical fault content of the historical industrial equipment data is determined by the similarity, and the specific operation steps are as follows:

[0019] Determine whether the similarity is greater than or equal to a preset similarity threshold p; when the similarity is greater than or equal to the similarity threshold p, determine that the current real-time mapping data is successfully matched with the historical mapping data in the historical mapping database; obtain the historical fault content of the historical industrial equipment data corresponding to the successful comparison result;

[0020] If the similarity is less than the similarity threshold p, it is determined that the current real-time mapping data fails to correspond to the historical mapping data in the historical mapping database; the first historical process table in the historical mapping database established for the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table, and then it is finally converted into an updated historical mapping database through the encoder again; the updated historical mapping database and the current real-time mapping data are compared until the similarity is greater than or equal to the preset similarity threshold p, and the historical fault content of the historical industrial equipment data corresponding to the successful correspondence result is obtained.

[0021] Preferably, the specific operation steps for establishing the historical pattern association relationship between the historical shallow abnormal invasion pattern and the historical deep abnormal invasion pattern are as follows:

[0022] The historical shallow invasion mode and the historical deep invasion mode are compared and analyzed for characteristic difference values, and the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are determined to be the same; and the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are determined to be the same by a preset characteristic difference value threshold w;

[0023] If the feature difference value between the historical shallow invasion pattern and the historical deep invasion pattern is less than or equal to the preset feature difference value threshold w, it is determined that the invasion target of the historical shallow invasion pattern and the historical deep invasion pattern is the same, and a historical pattern association relationship is established;

[0024] If the feature difference value between the historical shallow invasion mode and the historical deep invasion mode is greater than the preset feature difference value threshold w, it is determined that the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are different, and an invasion path map is constructed, wherein the invasion path map includes all paths of different invasion targets; the historical shallow invasion mode and the historical deep invasion mode are associated by constructing the invasion path map;

[0025] The historical shallow invasion patterns and the historical deep invasion patterns are associated with each other after the above steps to form a historical pattern association relationship, so as to establish a historical mapping relationship table.

[0026] Preferably, the first historical process table in the historical mapping database established for the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table. The specific operation steps are as follows:

[0027] Select a second key process node according to the historical process node, update the first historical process table through the second key process node, and obtain a second historical process table by updating; obtain a second historical mapping relationship table by constructing an association relationship between the second historical process table and the historical pattern, and convert the second historical mapping relationship table into data through an encoder to obtain an updated historical mapping database;

[0028] The maximum threshold of the number of first-level comparisons of the re-comparison counter is set; the number of counts of the re-comparison counter is initially 0; the similarity counter is preset to determine whether the similarity between the updated historical mapping database and the real-time mapping data is greater than or equal to the similarity threshold p, and the number of counts of the comparison counter is increased by 1; if the similarity is greater than or equal to the similarity threshold p, it is determined that the current real-time mapping data and the historical mapping data in the updated historical mapping database are successfully matched, and the historical fault content of the historical industrial equipment data with the successful matching result is obtained;

[0029] If the similarity is still less than the similarity threshold p, if it is determined that the new corresponding result fails, it is further determined whether the count number of the re-comparison counter is less than or equal to the maximum comparison number threshold; if it is determined that the count number of the re-comparison counter is equal to the maximum comparison number threshold, the real-time fault content of the current industrial equipment data is sent to the fault administrator, who manually updates it to the historical mapping database;

[0030] If it is determined that the count number of the re-comparison counter is less than the maximum comparison number threshold, return to the above steps to reselect the historical process node as the new key process point until it is determined that the updated historical mapping data in the updated historical mapping database corresponding to the real-time mapping data of the current industrial equipment data or the count number of the re-comparison counter is equal to the maximum comparison number threshold, and if the new corresponding result is still determined to be a comparison failure, the real-time fault content of the current industrial equipment data is sent to the fault administrator, who manually updates it to the historical mapping database.

[0031] Preferably, the determining that the intrusion targets of the historical shallow intrusion pattern and the historical deep intrusion pattern are different, and constructing an intrusion path map, specifically comprises the following steps:

[0032] Extracting historical abnormal data text from the collected historical industrial equipment data; analyzing the historical intrusion pattern through the historical abnormal data text to obtain all historical intrusion starting point data; analyzing the historical intrusion process through the historical abnormal data text to obtain all intrusion target data of the historical intrusion industrial equipment of the historical intrusion pattern;

[0033] Construct an invasion path graph through the historical invasion starting point data and all invasion target data; calculate the distance between the historical invasion starting point data and invasion target data through Euclidean distance to perform invasion path matching;

[0034] A Euclidean distance intrusion path matching threshold m is preset. If the Euclidean distance between the historical intrusion starting point data and the intrusion target data is less than the preset Euclidean distance intrusion path matching threshold m, an intrusion path between the historical intrusion starting point data and the intrusion target data is established; if the Euclidean distance between the historical intrusion starting point data and the intrusion target data is greater than or equal to the preset Euclidean distance intrusion path matching threshold m, no intrusion path exists between the historical intrusion starting point data and the intrusion target data;

[0035] Check whether the intrusion path between the intrusion target data and the historical intrusion starting point data is less than a preset Euclidean distance intrusion path matching threshold m; and establish an intrusion path graph for all intrusion paths.

[0036] Accordingly, the network security situation fault detection system based on historical data includes: an industrial data module, a fault corresponding module, and a strategy solution module;

[0037] The industrial data module is used to obtain current industrial equipment data and historical industrial equipment data; and obtain the historical fault content of the historical industrial equipment data and the response strategy information corresponding to the historical fault content; the industrial equipment data includes: abnormal data text and abnormal intrusion text; the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text; the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text;

[0038] The fault corresponding module is used for the abnormal detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, obtain the historical intrusion mode and the historical intrusion process; establish the historical mapping relationship between the historical intrusion mode and the historical intrusion process; determine the real-time fault content of the current industrial equipment data according to the historical mapping relationship;

[0039] The strategy resolution module is used to obtain response strategy information corresponding to the real-time fault content, and perform fault processing operations on the current industrial equipment data according to the response strategy information.

[0040] Compared with the prior art, the embodiments of the present invention have at least the following technical advantages:

[0041] By analyzing the above-mentioned network security situation fault detection method based on historical data provided by the present invention, it can be known that in specific applications, the historical abnormal intrusion text of the historical industrial equipment data is extracted by using an anomaly detection algorithm to extract the historical intrusion mode and the historical intrusion process. The historical intrusion mode includes the intrusion means used by many intruders that have been suffered in the historical industrial equipment, and the intrusion modes are known. In the intrusion process, all the intrusion strategies used in the historical intrusion process are recorded, and it is known how the intrusion strategy is changed in the historical intrusion process; and the historical intrusion mode is extracted to establish the historical mode association relationship between the historical shallow intrusion mode and the historical deep intrusion mode, so that the intrusion means of different historical intrusion modes in cooperation with each other can be clearly understood; at the same time, the first historical process table is established for the historical intrusion mode, and the historical process nodes in the historical intrusion process are recorded to know the strategy changes and the targets of the intrusion during the intrusion; the historical mapping relationship table is established through the historical mode association relationship and the first historical process table;

[0042] Furthermore, a current real-time mapping relationship is established for the current intrusion mode and the current intrusion process of the current industrial equipment data; and the historical mapping relationship table and the current real-time mapping relationship are converted into data form to obtain a historical mapping database and real-time mapping data, and similarity is judged to obtain the fault content of the current industrial equipment data; BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 An overall flow chart of a network security situation fault detection method based on historical data provided in Embodiment 1 of the present invention;

[0045] Figure 2 An operation flow chart of a network security situation fault detection method based on historical data provided in Embodiment 1 of the present invention;

[0046] Figure 3 A flowchart of obtaining fault results of historical industrial equipment data in a method for detecting network security situation faults based on historical data provided in Embodiment 1 of the present invention;

[0047] Figure 4A flow chart of establishing a historical mapping relationship table for a network security situation fault detection method based on historical data provided in the first embodiment of the present invention;

[0048] Figure 5 A flow chart of updating a history mapping database of a network security situation fault detection method based on history data provided in the first embodiment of the present invention;

[0049] Figure 6 A flowchart of constructing an intrusion path diagram of a network security situation fault detection method based on historical data provided in the first embodiment of the present invention;

[0050] Figure 7 This is a flow chart of a network security situation fault detection system based on historical data provided in Embodiment 2 of the present invention.

[0051] Label: industrial data module 10, fault corresponding module 20, strategy solution module 30. DETAILED DESCRIPTION

[0052] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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] The present invention is further described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0054] Embodiment 1

[0055] like Figure 1 As shown, Figure 2 As shown, the present invention proposes a network security situation fault detection method based on historical data, including the following steps:

[0056] S1: Acquire current industrial equipment data and historical industrial equipment data; and acquire historical fault content of the historical industrial equipment data and response strategy information corresponding to the historical fault content; the industrial equipment data includes: abnormal data text and abnormal intrusion text; that is, the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text, and at the same time, the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text;

[0057] It should be noted that in the above-mentioned embodiments of the present application, the above-mentioned historical industrial equipment data refers to the conventional historical fault content that occurs during the operation of the industrial system, and has a complete solution. At the same time, the historical fault data of industrial equipment and the response strategy information corresponding to the historical fault data can be extracted from the network or the industrial system technical operation manual through crawler technology (that is, the response strategy information is a method for processing the fault content to eliminate the fault); the response strategy information refers to the response strategy content about the fault content recorded in the historical industrial equipment data. When industrial equipment fails, the staff usually takes a series of measures to repair the equipment and restore it to normal operation. These measures may include reconfiguring equipment setting parameter information, which are collectively referred to as response strategy information.

[0058] By acquiring historical industrial equipment data and related historical fault content, it is possible to analyze previous fault conditions and the response strategies adopted for the faults.

[0059] During the real-time operation of the industrial system, when a fault occurs, the industrial system cannot directly identify the fault information, that is, it cannot directly and quickly identify the fault content, and thus cannot promptly handle the fault when the system fails in the first place. The embodiment of the present application extracts the current industrial equipment data, and uses the extracted historical industrial equipment data for comparison in subsequent operations, thereby identifying the historical fault content or historical fault events in the historical industrial equipment data corresponding to the current industrial equipment data, and thereby uses the existing response strategy information to handle it in the first place. The specific operations are shown in the following scheme.

[0060] S2: Using an anomaly detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, obtain the historical intrusion pattern and the historical intrusion process (the abnormal data text is the means and strategies of intrusion events that have occurred in the past industrial equipment (that is, the industrial equipment data that indicates what means and methods the intruder used to invade and what strategies the intruder had during the invasion process). The means and strategies of these intrusion events can be used to extract the intrusion pattern and the invasion process in the abnormal intrusion text); establish a historical mapping relationship between the historical intrusion pattern and the historical intrusion process; determine the real-time fault content of the current industrial equipment data according to the historical mapping relationship.

[0061] S3: Obtain the response strategy information corresponding to the real-time fault content (that is, obtain the fault content consistent with the fault in the current industrial equipment data and the historical industrial equipment data according to the historical mapping relationship, and then search for the corresponding response strategy information from the "historical fault content of historical industrial equipment data and the response strategy information corresponding to the historical fault content" obtained in step S1 according to the fault content); perform a fault processing operation on the current industrial equipment data according to the corresponding response strategy information found and confirmed (that is, use the response strategy information of the historical industrial equipment data corresponding to the identified current industrial equipment data to perform the first-time processing operation on the real-time fault content of the current industrial equipment data).

[0062] It should be noted that the historical abnormal data text includes abnormal data that appeared in the past of historical industrial equipment, including network defect data text, phishing attack data text, password attack data text, and brute force cracking data text; these historical abnormal data may be formed by external factors, such as virus intrusion, hacker attack, etc.; they also include internal factors, such as employees frequently use or operate industrial equipment using work cards, etc., causing data confusion in the internal network or system of the industrial equipment, etc., causing abnormal data such as loopholes or weaknesses in the industrial equipment; and the historical abnormal intrusion text includes a variety of historical intrusion modes and historical intrusion processes caused by historical abnormal data texts of industrial equipment (such as: network defect data text represents a network intrusion mode, the intruder attempts to make unauthorized access from a specific IP address; the intrusion process may include scanning the target system, discovering loopholes and using loopholes to access, thereby extracting the intrusion mode and intrusion process). Therefore, by using the anomaly detection algorithm to extract the historical abnormal intrusion text according to the historical abnormal data text, the intrusion mode and intrusion process of the abnormal intrusion text can be intuitively viewed;

[0063] In addition, the intrusion mode and the intrusion process correspond to each other. For each intrusion mode, its specific intrusion process is analyzed, including the strategies and means that the intruder may adopt, the loopholes or weaknesses used, etc. Each intrusion mode is matched with its corresponding intrusion process to establish a historical mapping relationship between the two; the real-time fault content of the current industrial equipment data is determined according to the historical mapping relationship;

[0064] For example:

[0065] The detection and analysis of current historical industrial equipment data revealed the intrusion patterns and intrusion processes of the historical industrial equipment data. The intrusion pattern was SQL injection attack, which is a common network attack method. Intruders inject malicious SQL code into user input to execute unauthorized commands or access sensitive data.

[0066] The intrusion process is that the intruder first identifies the target Web application and tries to find possible SQL injection points; the intruder tries to trigger network vulnerabilities by entering special characters or SQL statements; if the intrusion is successful, the intruder can execute malicious SQL code, such as reading, modifying or deleting data in the database; after the attack, the intruder may try to delete or modify traces in the log file to cover up its activities.

[0067] Matching analysis: In this example, the intrusion pattern "SQL injection attack" corresponds to the intrusion process; the intrusion pattern describes the typical behavior of the intruder (i.e., injecting malicious SQL code), while the intrusion process details how the intruder performs this behavior in actual operations, including reconnaissance, injection attempts, exploitation of vulnerabilities, data extraction, and cleaning of traces (i.e., the matching analysis process is the process of historical mapping relationships).

[0068] Therefore, in the embodiment of the present application, through the historical mapping relationship between the intrusion mode and the intrusion process, it is specifically analyzed whether the current industrial equipment data has been invaded or is being invaded, and security protection measures are initiated in a timely manner, and some hidden intrusion methods can also be discovered in a timely manner.

[0069] Specifically, Figure 3 As shown, in step S2, a historical mapping relationship between the historical intrusion mode and the historical intrusion process is established; and the real-time fault content of the current industrial equipment data is determined according to the historical mapping relationship, specifically the following operation steps:

[0070] S21: Analyze the intrusion patterns of the historical industrial equipment data to obtain the historical shallow intrusion patterns and the historical deep intrusion patterns of the historical industrial equipment data; analyze the historical shallow intrusion patterns and the historical deep intrusion patterns to establish a historical pattern correlation relationship between the historical shallow intrusion patterns and the historical deep intrusion patterns;

[0071] It should be noted that historical intrusion patterns include historical shallow intrusion patterns and historical deep intrusion patterns; historical intrusion patterns include all attack patterns for intrusion on historical industrial equipment data, such as network defects, brute force cracking, phishing attacks, and password attacks; they also include means of intrusion, such as using an intrusion pattern to continuously attack the target of intrusion or using several intrusion patterns to attack at the same time; for shallow intrusion patterns, which are usually easy to identify and belong to shallow abnormal behaviors, such as network defects and brute force cracking, shallow attacks can be made on the network security of industrial equipment, offensive probing of industrial equipment networks, collecting network vulnerabilities of industrial equipment, detecting weak points, etc.; while deep intrusion patterns are more concealed, and the intrusion behaviors are more complex and longer lurking, such as phishing attacks and password attacks, in order to discover more concealed behavioral characteristics; and by comparing shallow intrusion patterns with deep intrusion patterns, the differences and commonalities of the intrusion means between the two are analyzed, and the different strategies adopted by intruders in different intrusion processes (network defect data text, phishing attack data text, password attack data text, brute force cracking data text) are understood;

[0072] And as the time when the industrial equipment is invaded changes, the first invasion mode may be the shallow invasion mode, which will evolve into the deep invasion mode (that is, the invasion target is the same) over time, or the two may invade different invasion targets of the industrial equipment at the same time (that is, the shallow invasion mode invades the external defense of the industrial equipment, and the deep invasion mode invades the internal system of the industrial equipment), and invade the industrial equipment. This shows that different invasion modes may invade at the same time, so the two are correlated;

[0073] S22: Analyze the historical intrusion process of the historical industrial equipment data, extract the historical process nodes in the historical intrusion process; select a first key process node according to the historical process node, and construct a first historical process table through the first key process node;

[0074] It should be noted that the historical intrusion mode will undergo multiple changes through multiple intrusion strategies during the historical intrusion process. Among them, the intrusion mode includes multiple intrusion modes (i.e., shallow intrusion mode and deep intrusion mode). The shallow intrusion mode includes multiple intrusion means: network defects, brute force cracking; the deep intrusion mode includes multiple intrusion means: phishing attacks, password attacks; and the intrusion process includes intrusion strategies of multiple intrusion modes;

[0075] For example, the historical process node is J 1 , J 2 , J 3 ......J n, select the first key process node, the first key process node includes the first node and the last node; the first node is the node where the invasion mode starts, the last node is the invasion target node where the invasion mode reaches the end point, and some nodes in the middle are nodes of the transformation strategy of the invasion mode; then establish the first historical process table according to the first key process node of the historical invasion process of the historical industrial equipment data;

[0076] Therefore, each intrusion method of multiple intrusion modes includes multiple intrusion strategy changes in the intrusion process. All nodes in the intrusion process of each intrusion event are regarded as a historical process node, forming multiple, and the first historical process node is regarded as the first key process node, and the first historical process table is constructed;

[0077] For example: There are currently four historical industrial equipment data, which are represented as: L1, L2, L3, L4;

[0078] Among them, the historical process nodes of L1 are respectively the network defect intrusion of the first node with shallow intrusion mode to collect network information of industrial equipment, the weak points are analyzed after sufficient network information is collected, and the middle node directly attacks the weak points with brute force to invade the last node;

[0079] The historical process nodes of L2 are: the first node uses the network defect of the shallow intrusion mode to invade and collect the network information of the industrial equipment to detect whether there are security vulnerabilities in the network information of the industrial equipment, and then the middle node uses the cryptographic attack concealment of the deep intrusion mode to invade the end node of the industrial equipment;

[0080] The historical process nodes of L3 are: the first node uses a deep intrusion mode password attack to invade the current industrial equipment data for management rights, tamper with the program password data, and when the manager enters the password, the last node of the intrusion is brute-force cracked on the system program;

[0081] The historical process nodes of L4 are, in order, the first node using deep-different intrusion mode phishing attack to send emails and other letters to the current industrial equipment. When the management personnel read or download them, they tamper with the system network data and invade the system program with network defects;

[0082] Then extract the first key process node of each historical industrial equipment data, that is, take the key process nodes of L1, which are network defect intrusion of the first node and brute force attack and intrusion of the last node; L2 network defect intrusion of the first node and password attack of the last node; L3 password attack of the first node and brute force attack and intrusion of the last node; L4 phishing attack of the first node and network defect intrusion of the last node; establish the first historical process table according to each first key process node.

[0083] S23: constructing a historical mapping relationship through the historical mode association relationship and the first historical process table; establishing a historical mapping relationship table through the historical mapping relationship;

[0084] It should be noted that a mapping relationship is established between the historical intrusion mode and the historical intrusion process of the historical industrial equipment data through the historical mode association relationship and the first historical process table; the various intrusion modes in the historical mode association relationship use different intrusion means to invade and attack the historical industrial equipment (i.e., multiple means of a single intrusion mode invade separately or multiple means of multiple modes invade simultaneously); and the historical intrusion process is to change the intrusion mode in the invasion process after the invasion of the historical intrusion mode, and change the intrusion strategy in the historical intrusion process; therefore, the historical mode association relationship and the first historical process table can be associated with each other to construct a historical mapping relationship table (i.e., the first historical mapping relationship table);

[0085] S24: extracting the current intrusion mode and the current intrusion process from the real-time abnormal intrusion text of the current industrial equipment data by using the abnormality detection algorithm, and directly establishing a current real-time mapping relationship between the current intrusion mode and the current intrusion process;

[0086] It should be noted that, because it is impossible to specifically determine which intrusion means the current intrusion mode uses and it is impossible to determine whether the intrusion strategy is changed during the intrusion process of the current intrusion mode, and whether other intrusion means of the current intrusion mode are changed, the current intrusion mode and the current intrusion process are directly established in real time. The establishment of the historical mode association relationship and the establishment of the first historical process table have been explained in detail in step S21-step S22, and will not be repeated here.

[0087] S25: Encode each historical mapping relationship in the historical mapping relationship table (i.e., the first historical mapping relationship table) by using an encoder (the encoder can use pure binary modern electronic numbers for encoding, and convert data by using a mapping relationship of every two into one, and the conversion form is simple and easy; the present embodiment can also use Gray code, hexadecimal code and other methods for encoding, which belongs to the prior art content and will not be repeated here) to obtain each historical mapping data, and archive each historical mapping data to generate a historical mapping database;

[0088] S26: Encode the current real-time mapping relationship through an encoder to obtain real-time mapping data;

[0089] S27: Calculate and obtain the similarity between the historical mapping database and the current real-time mapping data (the similarity is obtained by converting the historical mapping database and the current real-time mapping data from an encoder, and the cosine similarity method can be used to calculate the data similarity between the two to determine whether the cosine similarity between the two is greater than or equal to the similarity threshold p; this embodiment can also use Euclidean distance, etc. to calculate the similarity between the two, which belongs to the prior art content and will not be repeated here), determine whether the similarity is greater than or equal to the preset similarity threshold p; when the similarity is greater than or equal to the similarity threshold p, it is determined that the current real-time mapping data is successfully matched with the historical mapping data in the historical mapping database; obtain the historical fault content of the historical industrial equipment data corresponding to the successful comparison result;

[0090] S28: If the similarity is less than the similarity threshold p, it is determined that the current real-time mapping data fails to correspond to the historical mapping data in the historical mapping database; the first historical process table in the historical mapping database established for the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table (i.e., a second historical mapping relationship table), and the updated historical mapping database is finally converted through an encoder again; the updated historical mapping database is subjected to similarity tests with the current real-time mapping data until the similarity is greater than or equal to a preset similarity threshold p, and the historical fault content of the historical industrial equipment data corresponding to the successful correspondence result is obtained;

[0091] For example: The current real-time mapping relationship can be regarded as a mechanism to link the observed abnormal data with specific current intrusion patterns and current intrusion processes; this mapping relationship is usually based on the analysis and learning of historical industrial equipment data to identify common current intrusion patterns and corresponding current intrusion processes.

[0092] For example, suppose that by analyzing the current industrial equipment data, the technicians have established a mapping relationship indicating that a specific data anomaly is caused by a SQL injection attack. This mapping relationship corresponds the characteristics of the abnormal data (such as abnormal query requests, database error information, etc.) to the intrusion mode (such as network defects, brute force cracking, phishing attacks, password attacks) and intrusion process (such as reconnaissance, attempted injection, data extraction, etc.) of the SQL injection attack; the historical mapping relationship table contains the means of various intrusion patterns and strategies of the intrusion process observed in the industrial equipment data in the past, as well as their mapping relationship with the abnormal data.

[0093] In order to determine whether the characteristics of this abnormal data are abnormal, the technician needs to convert the current real-time mapping relationship into real-time mapping data and the historical mapping relationship table into a historical mapping database through an encoder; if the real-time mapping data matches the historical mapping data in the historical mapping database, it means that the technician has encountered similar intrusion mode means and intrusion process strategies before, so it can be determined what kind of fault content the current industrial equipment data has encountered. This may be because the intruder used the same means as before to attack the equipment.

[0094] However, if the real-time mapping data fails to match the similarity with the historical mapping data in the historical mapping database, this means that the technician has encountered a new intrusion process that has not been seen before; in this case, the technician needs to further analyze the intrusion strategy in the current intrusion process (the specific analysis is the explanation of step S22 above), and supplement the historical mapping relationship table, and convert it into a historical mapping database through an encoder, so as to more accurately identify and respond to future intrusion attempts.

[0095] To supplement the historical mapping relationship table, technicians need to supplement the intrusion strategy that changes during the intrusion process with new intrusion patterns for detailed analysis, including the intrusion strategy that changes during the intrusion process of the intruder. Then, technicians can add this new information to the historical mapping relationship table and update the historical mapping database for use in future intrusion detection and analysis. In this way, a more comprehensive understanding of various intrusion patterns and intrusion processes can be achieved, improving the security of industrial equipment data.

[0096] Specifically, Figure 4 As shown, in step S21, the specific operation steps for establishing the historical pattern association relationship between the historical shallow abnormal invasion pattern and the historical deep abnormal invasion pattern are as follows:

[0097] S211: comparing the historical shallow invasion mode and the historical deep invasion mode to analyze the feature difference values ​​of the two, and determining whether the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are the same; determining whether the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are the same by a preset feature difference value threshold w;

[0098] If the feature difference value between the historical shallow invasion pattern and the historical deep invasion pattern is less than or equal to the preset feature difference value threshold w, it is determined that the invasion target of the historical shallow invasion pattern and the historical deep invasion pattern is the same, and a historical pattern association relationship is established;

[0099] If the feature difference value between the historical shallow invasion mode and the historical deep invasion mode is greater than the preset feature difference value threshold w, it is determined that the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are different, and an invasion path map is constructed, wherein the invasion path map includes all paths of different invasion targets; the historical shallow invasion mode and the historical deep invasion mode are associated by constructing the invasion path map;

[0100] It should be noted that the characteristic difference values ​​of the shallow and deep intrusion modes are analyzed, that is, the frequency, duration and impact range of the two intrusion modes are compared to understand the intrusion process of the intrusion modes in different scenarios; determine whether the main intrusion targets of the two intrusion modes are the same or not, for example, if the intrusion targets are different, the shallow intrusion may mainly target the external defense of industrial equipment, while the deep intrusion may try to bypass the external defense and directly invade the internal system of the industrial equipment; if the intrusion targets are the same, then the single target is invaded at the same time;

[0101] The characteristic difference value is judged according to the characteristic values ​​of frequency, duration and impact range of the two intrusion modes (frequency refers to the number of times an intrusion event occurs through an intrusion mode. The frequency difference value of the two intrusion modes is calculated by counting the number of occurrences of shallow and deep intrusion modes in a certain period of time and calculating their average values; duration refers to the length of time an intrusion event lasts. The start and end time of each intrusion event is recorded, and then its duration is calculated by comparing the relative difference in the average duration of shallow and deep intrusion modes; impact range refers to the size of the impact range of an intrusion event on a system, network or data. The impact range is evaluated by the degree of impact caused by the intrusion event, and the difference value is calculated by comparing the average impact range caused by the two intrusion modes; when their overall characteristics are When the feature difference value is less than or equal to the preset feature difference value threshold w, it means that the feature values ​​of the two intrusion modes are close to or the same, and their intrusion strategies are also close (that is, the intrusion paths and the intrusion targets are close to or the same), so the intrusion targets of the two intrusion modes are the same, and the two intrusion modes are related to each other; if it is greater than the preset feature difference value threshold w, it means that the intrusion means and intrusion strategies of the two are different, that is, the intrusions of the two include multiple paths or intrusion targets, and therefore, in the subsequent steps where the paths are different, an intrusion path diagram that can include the paths and intrusion targets of all intrusion modes (that is, the explanation of step S21) is constructed to realize the correlation relationship between the intrusion modes of the two), and then the preset feature difference value threshold w is used according to the feature difference value to determine whether the intrusion targets of the shallow intrusion mode and the deep intrusion mode are the same;

[0102] If the intrusion targets are different, an intrusion path diagram is constructed to understand the historical intrusion process from shallow intrusion to deep intrusion. By constructing an intrusion path diagram, the historical intrusion mode can be changed. This helps to understand how the intruder gradually invades the industrial equipment system and finally achieves the intrusion target, thereby detecting the historical fault content;

[0103] Moreover, the first historical shallow intrusion pattern may be the step for the intruder to conduct preliminary exploration and collect industrial equipment information, preparing for the subsequent more complex historical deep intrusion pattern; therefore, by constructing the intrusion path diagram, the historical shallow intrusion pattern is associated with the historical deep intrusion pattern, so as to further combine the intrusion process to detect whether there is fault content.

[0104] S212: the historical shallow invasion patterns and the historical deep invasion patterns are associated with each other through the above steps to form a historical pattern association relationship, so as to establish a historical mapping relationship table (i.e., a first historical mapping relationship table);

[0105] It should be noted that by understanding the intrusion means and intrusion strategies at different stages of the intrusion process, we can more accurately judge the role and influence of historical shallow intrusion patterns and historical deep intrusion patterns. We can also understand the changing intrusion targets in the middle of the path or understand the multiple targets to be invaded through multiple paths through the intrusion means and intrusion strategies in the historical intrusion process. In this way, we can quickly and effectively determine whether the current industrial equipment data is facing fault content and formulate corresponding defense strategies.

[0106] Specifically, Figure 5 As shown, in step S28, the first historical process table in the historical mapping database established by the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table. The specific operation steps are as follows:

[0107] S281: Select a second key process node according to the historical process node, update the first historical process table through the second key process node, and obtain a second historical process table through updating; obtain a second historical mapping relationship table by constructing an association relationship between the second historical process table and the historical pattern, and perform data conversion on the second historical mapping relationship table through an encoder to obtain an updated historical mapping database;

[0108] S282: Setting the maximum threshold of the number of first-level comparisons of the re-comparison counter; the count number of the re-comparison counter is initially 0; presetting the similarity counter, the updated historical mapping database and the real-time mapping data are again judged to be greater than or equal to the similarity threshold p, and the count number of the comparison counter is increased by 1; if the similarity is greater than or equal to the similarity threshold p, it is determined that the current real-time mapping data and the historical mapping data in the updated historical mapping database are successfully matched, and the historical fault content of the historical industrial equipment data with the successful matching result is obtained;

[0109] S283: If the similarity is still less than the similarity threshold p, if it is determined that the new corresponding result fails, further determine whether the count number of the re-comparison counter is less than or equal to the maximum comparison number threshold; if it is determined that the count number of the re-comparison counter is equal to the maximum comparison number threshold, send the real-time fault content of the current industrial equipment data to the fault administrator, and the fault administrator manually updates it to the historical mapping database;

[0110] If it is determined that the count number of the re-comparison counter is less than the maximum comparison number threshold, then return to the above step S281 until it is determined that the updated historical mapping data in the updated historical mapping database corresponding to the real-time mapping data of the current industrial equipment data or the count number of the re-comparison counter is equal to the maximum comparison number threshold, and if it is still determined that the new corresponding result is a comparison failure, then the real-time fault content of the current industrial equipment data is sent to the fault administrator, and the fault administrator manually updates it to the historical mapping database;

[0111] It should be noted that the maximum threshold number of times is set by using the counter (such as: the maximum threshold number of times is 5), the historical mapping database is updated and supplemented, and the current real-time mapping data and the historical mapping database are re-judged for similarity, and the counter is increased by 1. If the corresponding result is successful, the historical mapping database of the historical industrial equipment data is used to obtain the corresponding historical fault content. If the corresponding result fails, the historical mapping database continues to be updated. Each time the historical mapping database is updated, the counter is increased by 1. When the historical mapping database is updated to 5 times, the counter is 5, and the update is stopped (that is, when the updated historical mapping database has not been successfully similar to the current real-time mapping data, it is updated until the maximum threshold number of 5 is reached, and the update is stopped). The final corresponding result is output. If the comparison still fails, the real-time fault content of the current industrial equipment data is sent to the fault administrator, who manually processes the current fault content, records the current fault content information and the fault response strategy information, and updates the current fault content and the response strategy information to the historical mapping database, detects the future fault content of the industrial equipment, and improves the network security of the industrial equipment.

[0112] Specifically, Figure 6 As shown, in step S211, it is determined that the intrusion targets of the historical shallow intrusion pattern and the historical deep intrusion pattern are different, and an intrusion path map is constructed. The specific operation steps are as follows:

[0113] S2211: extracting historical abnormal data text from the collected historical industrial equipment data; analyzing the historical intrusion mode through the historical abnormal data text to obtain all historical intrusion starting point data (i.e., the historical intrusion starting point data is the intrusion target at the starting point of the intrusion attack on the historical industrial equipment by the intruder (i.e., the intrusion starting point or the first node)); analyzing the historical intrusion process through the historical abnormal data text to obtain all intrusion target data of the historical intrusion industrial equipment of the historical intrusion mode (i.e., the intrusion target data includes the process data of the intrusion of all abnormal data in the historical equipment industrial data (the above process refers to the process from the intrusion target at the attack starting point to the attack end node), intrusion strategy data (the intrusion strategy refers to the mutual transformation and change between the historical shallow intrusion mode and the historical deep intrusion mode that occurred in the above intrusion process), and intrusion end node data (in the intrusion process, the intruder will first use the shallow intrusion mode to directly invade the intrusion target or probe the network to collect information. If it is to probe the network to collect information, the strategy of the deep intrusion mode will be selected in the subsequent intrusion process to conduct a covert intrusion to reach the final intrusion target (i.e., the intrusion end node));

[0114] It should be noted that the historical abnormal data text of the historical industrial equipment data is collected, and the historical abnormal data text includes network defect data text, phishing attack data text, password attack data text, and brute force cracking data text; the historical abnormal data text includes not only the intrusion means included in the above-mentioned intrusion mode, but also the intrusion target achieved by the historical intrusion mode after the intrusion through the historical intrusion process, and understands whether the intrusion target is a single target or multiple targets;

[0115] Through these historical abnormal data texts, we analyze the historical intrusion patterns, and analyze which ones belong to the historical shallow intrusion patterns (i.e. shallow intrusion patterns include: network defects, brute force cracking), and which ones belong to the historical deep intrusion patterns (i.e. deep intrusion patterns include: phishing attacks, password attacks), and finally get the historical intrusion starting point data, so that the historical intrusion patterns can be analyzed more quickly, the subsequent detection time can be reduced, and the efficiency can be improved;

[0116] And the historical intrusion process is analyzed through the historical abnormal data text, and the specific intrusion target data of the intrusion industrial equipment is obtained at the end of the historical intrusion process, and the intrusion target data is used as the condition for the subsequent construction of the intrusion path map;

[0117] S2212: construct an intrusion path graph through the historical intrusion starting point data and all intrusion target data; calculate the distance between the historical intrusion starting point data and the intrusion target data through the Euclidean distance to perform intrusion path matching (i.e., through intrusion path matching, it can be obtained whether the historical intrusion starting point data corresponds to all intrusion target data. If they correspond, a complete attack path from the intrusion attack (i.e., the first node) to the intrusion target (i.e., the last node) can be formed; if they do not correspond, it proves that the intrusion of the starting point (i.e., the first node) has wrong data collection or the intrusion target does not exist);

[0118] A Euclidean distance intrusion path matching threshold m is preset. If the Euclidean distance between the historical intrusion starting point data and the intrusion target data is less than the preset Euclidean distance intrusion path matching threshold m, an intrusion path between the historical intrusion starting point data and the intrusion target data is established; if the Euclidean distance between the historical intrusion starting point data and the intrusion target data is greater than or equal to the preset Euclidean distance intrusion path matching threshold m, there is no intrusion path between the historical intrusion starting point data and the intrusion target data (the Euclidean distance between the historical intrusion starting point data and the intrusion target data is calculated, and it is determined whether there is an intrusion path between the two by calculating the Euclidean distance. If the Euclidean distance between the two is greater than or equal to the preset Euclidean distance intrusion path matching threshold m, it means that the industrial equipment has collected erroneous abnormal data or the intrusion target does not exist (that is, it means that during the intrusion process, the intrusion of the industrial equipment was abandoned, so there is no intrusion target, so it is abandoned); if the Euclidean distance between the two is less than the preset Euclidean distance intrusion path matching threshold m, it can be known that the intrusion target that the historical intrusion mode will eventually reach after the intrusion (that is, there may be one intrusion target or several intrusion targets), the path formed between the historical intrusion mode and the intrusion target is the intrusion path, and an intrusion path diagram is established);

[0119] Check whether the intrusion path between the intrusion target data and the historical intrusion starting point data is less than a preset Euclidean distance intrusion path matching threshold m; establish an intrusion path graph for all intrusion paths;

[0120] It should be noted that constructing an intrusion path diagram can be used to understand and visualize how intruders gradually invade industrial equipment in the network; when the feature difference value between the historical shallow intrusion mode and the historical deep intrusion mode is greater than the preset feature difference value threshold w, it means that there are errors in the data collected by the historical industrial equipment or there are multiple intrusion targets; therefore, in this case, constructing an intrusion path diagram can understand how intruders invaded the historical industrial equipment system, how to switch different historical intrusion modes to invade targets during the historical intrusion process, and other possible paths for them to invade;

[0121] Collect all data texts related to historical abnormal data texts and historical abnormal intrusion texts, including network defect data texts, phishing attack data texts, password attack data texts, and brute force cracking data texts; ensure that these data texts cover the entire historical intrusion process, from the initial stage of reconnaissance to the means of changing historical intrusion modes in the middle stage of the historical intrusion process and the final stage of detection to the intrusion target; based on the collected data texts, analyze and determine the different stages of the intrusion, which may include data collection, data tampering, data theft, etc.

[0122] Embodiment 2

[0123] like Figure 6 As shown, accordingly, the present invention also proposes a network security situation fault detection system based on historical data, including: an industrial data module 10, a fault corresponding module 20, and a strategy solution module 30;

[0124] The industrial data module 10 is used to obtain current industrial equipment data and historical industrial equipment data; and obtain the historical fault content of the historical industrial equipment data and the response strategy information corresponding to the historical fault content; the industrial equipment data includes: abnormal data text and abnormal intrusion text; the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text; the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text;

[0125] The fault corresponding module 20 is used for the abnormal detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, obtain the historical intrusion mode and the historical intrusion process; establish the historical mapping relationship between the historical intrusion mode and the historical intrusion process; determine the real-time fault content of the current industrial equipment data according to the historical mapping relationship;

[0126] The strategy resolution module 30 is used to obtain response strategy information corresponding to the real-time fault content, and perform fault processing operations on the current industrial equipment data according to the response strategy information.

[0127] In summary, the network security situation fault detection system and method based on historical data proposed by the example of the present invention extracts historical intrusion patterns and historical intrusion processes from historical abnormal intrusion texts of historical industrial equipment data by using anomaly detection algorithms. The historical intrusion patterns include intrusion methods used by intruders that have been suffered by many historical industrial equipment. It is possible to understand what intrusion patterns the historical industrial equipment has suffered, and record all intrusion strategies used in the intrusion process during the intrusion process, and know how the intrusion strategies are changed in the historical intrusion process; and extract historical shallow intrusion patterns and historical deep intrusion patterns to establish historical pattern associations, so that the intrusion methods used by different historical intrusion patterns in cooperation with each other can be clearly understood;

[0128] Furthermore, a first historical process table is established for the historical intrusion mode, and the historical process nodes in the historical intrusion process are recorded to know the strategy changes and the targets of the intrusion; a historical mapping relationship table is established through the historical pattern association relationship and the first historical process table, and the historical mapping relationship table records the historical intrusions that have occurred in the historical industrial equipment data in the past and how the process changes that occurred during the intrusion were invaded, and also records whether the target of the intrusion attack is a single target or multiple targets;

[0129] Furthermore, a current real-time mapping relationship is established for the current intrusion mode and the current intrusion process of the current industrial equipment data; by establishing the two and converting the historical mapping relationship table and the current real-time mapping relationship into data form, a historical mapping database and real-time mapping data are obtained, and a similarity judgment is made to obtain the fault content of the current industrial equipment data.

[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. A person skilled in the art may modify the technical solutions described in the above embodiments, or replace part or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A network security situation fault detection method based on historical data, characterized in that: The steps include: Acquire current industrial equipment data and historical industrial equipment data; and acquire historical fault content of the historical industrial equipment data and response strategy information corresponding to the historical fault content; The industrial equipment data includes: abnormal data text and abnormal intrusion text; the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text; the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text; Using an anomaly detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, to obtain a historical intrusion mode and a historical intrusion process; establishing a historical mapping relationship between the historical intrusion mode and the historical intrusion process; and determining the real-time fault content of the current industrial equipment data according to the historical mapping relationship; Response strategy information corresponding to the real-time fault content is obtained, and a fault processing operation is performed on the current industrial equipment data according to the response strategy information.

2. According to the network security situation fault detection method based on historical data of claim 1, it is characterized in that: Establishing a historical mapping relationship between the historical intrusion mode and the historical intrusion process; determining the real-time fault content of the current industrial equipment data according to the historical mapping relationship, specifically the following operation steps: Analyze the intrusion patterns of the historical industrial equipment data to obtain the historical shallow intrusion patterns and the historical deep intrusion patterns of the historical industrial equipment data; analyze the historical shallow intrusion patterns and the historical deep intrusion patterns to establish a historical pattern correlation relationship between the historical shallow intrusion patterns and the historical deep intrusion patterns; Analyze the historical intrusion process of the historical industrial equipment data, and extract the historical process nodes in the historical intrusion process; select a first key process node according to the historical process node, and construct a first historical process table through the first key process node; Constructing a historical mapping relationship through the historical mode association relationship and the first historical process table; establishing a historical mapping relationship table through the historical mapping relationship; Utilize the anomaly detection algorithm to extract the current intrusion mode and the current intrusion process from the real-time abnormal intrusion text of the current industrial equipment data, and directly establish a current real-time mapping relationship between the current intrusion mode and the current intrusion process; Encoding each historical mapping relationship in the historical mapping relationship table by an encoder to obtain historical mapping data corresponding to the historical mapping relationship; and archiving all the historical mapping data to generate a historical mapping database; Encoding the current real-time mapping relationship through an encoder to obtain real-time mapping data; The similarity between the historical mapping database and the current real-time mapping data is calculated and obtained, and the historical fault content of the historical industrial equipment data is determined according to the similarity.

3. The method for detecting network security situation faults based on historical data according to claim 2 is characterized in that: The historical fault content of the historical industrial equipment data is determined by the similarity, and the specific operation steps are as follows: Determining whether the similarity is greater than or equal to a preset similarity threshold p; when the similarity is greater than or equal to the similarity threshold p, determining that the current real-time mapping data is successfully matched with the historical mapping data in the historical mapping database; Obtaining historical fault content of historical industrial equipment data corresponding to the successful comparison result; If the similarity is less than the similarity threshold p, it is determined that the current real-time mapping data fails to correspond to the historical mapping data in the historical mapping database; the first historical process table in the historical mapping database established for the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table, and then it is finally converted into an updated historical mapping database through the encoder again; the updated historical mapping database and the current real-time mapping data are compared until the similarity is greater than or equal to the preset similarity threshold p, and the historical fault content of the historical industrial equipment data corresponding to the successful correspondence result is obtained.

4. The method for detecting network security situation faults based on historical data according to claim 3 is characterized in that: The specific steps for establishing the historical pattern association relationship between the historical shallow invasion pattern and the historical deep invasion pattern are as follows: The historical shallow invasion mode and the historical deep invasion mode are compared and analyzed for characteristic difference values, and the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are determined to be the same; and the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are determined to be the same by a preset characteristic difference value threshold w; If the feature difference value between the historical shallow invasion pattern and the historical deep invasion pattern is less than or equal to the preset feature difference value threshold w, it is determined that the invasion target of the historical shallow invasion pattern and the historical deep invasion pattern is the same, and a historical pattern association relationship is established; If the feature difference value between the historical shallow invasion mode and the historical deep invasion mode is greater than the preset feature difference value threshold w, it is determined that the invasion targets of the historical shallow invasion mode and the historical deep invasion mode are different, and an invasion path map is constructed, wherein the invasion path map includes all paths of different invasion targets; the historical shallow invasion mode and the historical deep invasion mode are associated by constructing the invasion path map; The historical shallow invasion patterns and the historical deep invasion patterns are associated with each other after the above steps to form a historical pattern association relationship, so as to establish a historical mapping relationship table.

5. The method for detecting network security situation faults based on historical data according to claim 4 is characterized in that: The first historical process table in the historical mapping database established for the historical industrial equipment data is updated, and the historical mapping relationship table is updated to obtain an updated historical mapping relationship table. The specific operation steps are as follows: Select a second key process node according to the historical process node, update the first historical process table through the second key process node, and obtain a second historical process table by updating; obtain a second historical mapping relationship table by constructing an association relationship between the second historical process table and the historical pattern, and convert the second historical mapping relationship table into data through an encoder to obtain an updated historical mapping database; Set the maximum threshold of the number of first-level comparisons of the re-comparison counter; The count number of the re-comparison counter is initially 0; The similarity counter is preset to determine whether the similarity between the updated historical mapping database and the real-time mapping data is greater than or equal to the similarity threshold p, and the number of counts of the comparison counter is increased by 1; if the similarity is greater than or equal to the similarity threshold p, it is determined that the current real-time mapping data and the historical mapping data in the updated historical mapping database are successfully matched, and the historical fault content of the historical industrial equipment data with the successful matching result is obtained; If the similarity is still less than the similarity threshold p, if it is determined that the new corresponding result fails, it is further determined whether the count number of the re-comparison counter is less than or equal to the maximum comparison number threshold; if it is determined that the count number of the re-comparison counter is equal to the maximum comparison number threshold, the real-time fault content of the current industrial equipment data is sent to the fault administrator, who manually updates it to the historical mapping database; If it is determined that the count number of the re-comparison counter is less than the maximum comparison number threshold, return to the above steps to reselect the historical process node as the new key process point until it is determined that the updated historical mapping data in the updated historical mapping database corresponding to the real-time mapping data of the current industrial equipment data or the count number of the re-comparison counter is equal to the maximum comparison number threshold, and if the new corresponding result is still determined to be a comparison failure, the real-time fault content of the current industrial equipment data is sent to the fault administrator, who manually updates it to the historical mapping database.

6. The method for detecting network security situation faults based on historical data according to claim 5 is characterized in that: The specific steps of determining that the intrusion targets of the historical shallow intrusion pattern and the historical deep intrusion pattern are different and constructing an intrusion path map are as follows: Extracting historical abnormal data text from the collected historical industrial equipment data; analyzing the historical intrusion pattern through the historical abnormal data text to obtain all historical intrusion starting point data; analyzing the historical intrusion process through the historical abnormal data text to obtain all intrusion target data of the historical intrusion industrial equipment of the historical intrusion pattern; Construct an invasion path graph through the historical invasion starting point data and all invasion target data; calculate the distance between the historical invasion starting point data and invasion target data through Euclidean distance to perform invasion path matching; A Euclidean distance intrusion path matching threshold m is preset. If the Euclidean distance between the historical intrusion starting point data and the intrusion target data is less than the preset Euclidean distance intrusion path matching threshold m, an intrusion path between the historical intrusion starting point data and the intrusion target data is established; if the Euclidean distance between the historical intrusion starting point data and the intrusion target data is greater than or equal to the preset Euclidean distance intrusion path matching threshold m, no intrusion path exists between the historical intrusion starting point data and the intrusion target data; Check whether the intrusion path between the intrusion target data and the historical intrusion starting point data is less than a preset Euclidean distance intrusion path matching threshold m; Establish an intrusion path map for all intrusion paths.

7. Network security situation fault detection system based on historical data, including: Industrial data module, fault response module, and strategy solution module; The industrial data module is used to obtain current industrial equipment data and historical industrial equipment data; and obtaining historical fault contents of the historical industrial equipment data and response strategy information corresponding to the historical fault contents; The industrial equipment data includes: abnormal data text and abnormal intrusion text; the current industrial equipment data includes real-time abnormal data text and real-time abnormal intrusion text; the historical industrial equipment data includes historical abnormal data text and historical abnormal intrusion text; The fault corresponding module is used for the abnormal detection algorithm to extract data from the historical abnormal intrusion text according to the historical abnormal data text, obtain the historical intrusion mode and the historical intrusion process; establish the historical mapping relationship between the historical intrusion mode and the historical intrusion process; determine the real-time fault content of the current industrial equipment data according to the historical mapping relationship; The strategy resolution module is used to obtain response strategy information corresponding to the real-time fault content, and perform fault processing operations on the current industrial equipment data according to the response strategy information.

Citation Information

Patent Citations

  • Event abnormal fluctuation detection method and system, electronic equipment and storage medium

    CN113902334A

  • Smart city network security processing method and system

    CN115499239A

  • Method and system for intelligently monitoring behavior of invading industrial monitoring and auditing system

    CN116226837A

  • Network service security protection method and system based on big data mining

    CN118101291A

  • Network device, apparatus and method for network traffic prediction

    WO2015184611A1