A joint prevention and control method and system
Through joint prevention and joint control methods and systems, threat intelligence data sharing and filtering between the central server and client servers are used, and the BERT model and DAE-CM deep clustering model are used to process threat intelligence, which solves the difficulty of traditional network security methods. Address emerging threats and improve network security.
Patent Information
- Application Number
- CN202410175329.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-02-07
AI Technical Summary
Traditional network security methods are difficult to deal with emerging network threats, and the network defense capabilities of enterprises and institutions are insufficient.
Adopt joint prevention and joint control methods and systems, receive and filter threat intelligence data sent by client servers through the central server, use the BERT model and DAE-CM deep clustering model for filtering and classification, and share threat intelligence data to achieve joint defense.
It achieves timely response to network threats, reduces the risk of risk proliferation, and improves the network security of each alliance unit.
Smart Images

Figure CN118041627B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and in particular to a joint prevention and control method and system. Background Art
[0002] In the context of the rapid development of global informatization, the networks maintained by enterprises and institutions (such as universities) are facing increasingly complex network threats, and traditional network security methods are difficult to cope with the challenges of emerging network threats. Based on this, how to improve the network defense capabilities of enterprises and institutions is a technical problem that needs to be solved urgently. Summary of the invention
[0003] In view of the above problems, the present invention provides a joint defense and control method and system, which enables threat intelligence data to be shared among multiple units, jointly defends against network attacks, and improves the network security of each alliance unit.
[0004] According to a first aspect of the present invention, a joint prevention and control method is provided, which is applied to a central server, and the method includes:
[0005] Receive threat intelligence data sent by each client server;
[0006] Performing a first filtering on the threat intelligence data regarding the attack event to obtain first filtered threat intelligence data;
[0007] Performing a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server;
[0008] Send each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control.
[0009] Optionally, performing a first filtering on the threat intelligence data regarding the attack event to obtain the first filtered threat intelligence data includes:
[0010] Pre-training is performed based on the BERT model to judge attack events for each threat intelligence data. If the threat intelligence data is judged to be a non-attack event, the threat intelligence data is deleted; if the threat intelligence data is judged to be an attack event, the threat intelligence data is retained as the first filtered threat intelligence data.
[0011] Optionally, performing a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server includes:
[0012] For each first filtered threat intelligence data, determine the sn code of each client sending the threat intelligence data;
[0013] According to the sn code of each client, respectively determine the preset weight value corresponding to the sn code of each client;
[0014] According to the preset weights corresponding to the sn codes of the clients, the threat intelligence data is second filtered to obtain target threat intelligence data after the second filtering for sending to the client server.
[0015] Optionally, performing a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server includes:
[0016] Based on the DAE-CM deep clustering model, performing multi-layer classification processing on the first filtered threat intelligence data to obtain processed threat intelligence data;
[0017] Based on a preset sending strategy, the processed threat intelligence data is subjected to a second filtering to obtain target threat intelligence data after the second filtering for sending to the client server.
[0018] Optionally, sending each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers includes:
[0019] For each target threat intelligence data after the second filtering, sending a log request to the client server of the target threat intelligence data source;
[0020] Receive the original log text sent by the client server of the target threat intelligence data source, where the original log text is the original log text determined by the client server according to the received log request.
[0021] According to a second aspect of the present invention, a joint prevention and control method is provided, which is applied to a client server, and the method comprises:
[0022] Extract target data from the probe log according to the target field, where the target field includes source IP, destination IP, source port, destination port, threat type, threat name, and threat level;
[0023] Performing policy filtering on the target data to obtain filtered threat intelligence data;
[0024] Periodically send threat intelligence data to the central server;
[0025] Receive the target threat intelligence data sent by the central server and the original log text corresponding to each target threat intelligence data, and conduct joint prevention and control.
[0026] Optionally, the periodic sending of threat intelligence data to the central server includes:
[0027] At each target period, a starting time point is obtained from the time database;
[0028] Send the threat intelligence data between the start time point and the current time point to the central server;
[0029] After the sending is successful, the current time point is updated as the start time point, and the updated start time point is stored in the time database.
[0030] Optionally, the performing policy filtering on the target data to obtain threat intelligence data includes:
[0031] If the number of times the same source IP is monitored within a preset time period exceeds the preset number of targets, the target data corresponding to the source IP will be used as threat intelligence data.
[0032] Optionally, before receiving the target threat intelligence data and the original log text corresponding to each target threat intelligence data sent by the central server and performing joint prevention and control, the method further includes:
[0033] If the threat intelligence data sent by the client server is filtered by the central server as target threat intelligence data, receiving a log request sent by the central server;
[0034] According to the log request, the corresponding log original text is determined, and the log original text is sent to the central server.
[0035] According to a third aspect of the present invention, a joint prevention and control system is provided, comprising:
[0036] A central server and a plurality of client servers connected to the central server;
[0037] Wherein, each client server sends threat intelligence data to the central server;
[0038] The central server is used to perform a first filtering on the threat intelligence data regarding attack events to obtain the first filtered threat intelligence data; perform a second filtering on the first filtered threat intelligence data to obtain the second filtered target threat intelligence data for sending to the client server; and send all target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control.
[0039] The above one or more technical solutions in the embodiments of this specification have at least the following technical effects:
[0040] The embodiments of this specification provide a joint defense and control method and system to achieve timely response to network threats, reduce the risk of risk diffusion, and jointly defend against network attacks through the sharing of threat intelligence data among multiple units, thereby improving the network security of each alliance unit.
[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limiting of the present invention. Moreover, the same reference figures are used to represent the same parts throughout the accompanying drawings.
[0043] In the attached picture:
[0044] Figure 1 A flow chart of a joint prevention and control method in an embodiment of the present invention is shown.
[0045] Figure 2 A schematic diagram of a deep clustering model in an embodiment of the present invention is shown.
[0046] Figure 3 A flow chart of another joint prevention and control method in an embodiment of the present invention is shown.
[0047] Figure 4 A block diagram of a joint prevention and control system in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0049] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. 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.
[0050] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0051] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0052] Combination Figure 1 The present invention provides a joint prevention and control method, which is applied to a central server. The method includes steps 101 to 104:
[0053] Step 101: receiving threat intelligence data sent by each client server;
[0054] In this embodiment, there are multiple client servers and one central server, and each client server is connected to the central server respectively. The client server represents an institution such as a university, a company, etc.
[0055] The client server will periodically send threat intelligence data to the central server. The threat intelligence data refers to the threatening network security events in the intranet that the client server filters out over a period of time. The client server uploads the threat intelligence data to the queueName1 message queue of the central server.
[0056] Specifically, the client server will collect the probe log, which records a lot of information. This embodiment will extract information from the probe log as needed. This embodiment sets a target field, which is the main information that this embodiment wants to obtain from each network security event in the probe log. The target field may include source IP, destination IP, source port, destination port, threat type, threat name, and threat level. Then, according to the target field, extract from the probe log to obtain the target data.
[0057] The extraction method can be a regular method, that is, configuring a regular expression and using sub-expressions to capture the matching field information; the extraction method can be a slicing method, that is, setting the segmentation character and segmenting the probe log, and then excluding irrelevant information from the segmented string to extract 7 key field information; when the probe log has a complex structure, irregular pattern, or needs to process a large number of changes, you can also use a deep learning-based named entity recognition (NER) model to identify fields such as source IP, destination IP, port number, etc. as entities.
[0058] Then, the target data is subjected to policy filtering. The purpose of policy filtering is to filter out network security events with lower threats in the target data and obtain filtered threat intelligence data.
[0059] Specifically, when the number of times the same source IP is detected by policy filtering within a preset time period exceeds the preset number of targets, the target data corresponding to the source IP is used as threat intelligence data. The client server implements blockade control on the source IP, and at the same time saves the original log text corresponding to the source IP in the ElsticSearch database for backup to facilitate subsequent queries. The target data corresponding to the source IP is used as threat intelligence data to send to the central server.
[0060] It should be noted that in addition to threat intelligence data, the client server will also upload interception rate data, interception exception data, and heartbeat detection packets to the central server. Among them, the interception rate data refers to the interception rate information of the client server in the past 30 days (the ratio of the total number of threat intelligence data obtained by analysis to the total number of probe logs received), which will be counted and uploaded to the queueName2 message queue of the central server. Interception exception data refers to the client server statistics of interception exception information. In theory, the source IP in the threat intelligence data should be written into the firewall and will not appear again in the probe log of the probe device within the expiration time. However, if it appears, it means that the interception is abnormal. In this case, this source IP is counted as the interception exception IP and uploaded to the queueName3 message queue of the central server. The heartbeat detection packet refers to the data packet that the client server sends to the central server regularly to assist the central server in monitoring whether the client server is online. The heartbeat detection packet can be sent every half a minute and uploaded to the heartBeatQueue message queue of the central server. The heartbeat detection package contains the device's sn code (i.e., the unique identifier of the client server device), device name, number of probe devices, and number of disposal devices (the number of disposal devices that write the source IP of the threat to the firewall). These data are used to display on the large screen of the central server device.
[0061] Step 102: performing a first filtering on the threat intelligence data regarding the attack event to obtain first filtered threat intelligence data;
[0062] In an optional implementation, due to the large number of client servers, each client server belongs to a different unit, and the policy filtering method adopted by each unit when filtering the target data may also be different, and the central server cannot unify the policy filtering method of each client server. Each client server may use one or more policy filtering methods to filter the target data. This causes the threat intelligence data uploaded by some client servers to be less dangerous, which creates a data processing burden for joint defense and control. Therefore, the central server will perform a first filter on the threat intelligence data uploaded by the client server, with the aim of filtering out the threat intelligence data with lower threats, leaving the threat intelligence data that the central server considers to be an attack event. That is, a unified configuration parameter is set based on the policy filtering method adopted by the client server for the first filtering, thereby obtaining the threat intelligence data after the first filtering. Generally speaking, the configuration parameters set by the central server are slightly higher than the configuration parameters of the client server.
[0063] Common client-server policy filtering generally includes multi-rule policy filtering. For example, within a certain period of time, the source IP of the threat intelligence data has several threat names or threat types or attacks several target IPs; the source IP of the threat intelligence data from a certain geographical location has several threat names or threat types or attacks several target IPs. Then, by comparing with the set target number, the first filtering is performed to obtain the threat intelligence data after the first filtering.
[0064] In another optional implementation, the first filtering can also be performed based on BERT model pre-training to judge attack events for each threat intelligence data. If the threat intelligence data is judged to be a non-attack event, the threat intelligence data is deleted; if the threat intelligence data is judged to be an attack event, the threat intelligence data is retained as the threat intelligence data after the first filtering. It should be noted that this embodiment uses the BERT model as a pre-training model, collects historical threat intelligence data as sample data, labels the sample data, and then uses the sample data to train and adjust the BERT model to obtain a trained BERT model.
[0065] Step 103: performing a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server;
[0066] In this embodiment, after the threat intelligence data is filtered for the first time, it is also necessary to perform a second filter. Because the confidence of each client server is different, after a period of time, it will be found that the confidence of the threat intelligence data sent by some client servers is higher, and the confidence of the threat intelligence data sent by some client servers is lower. There is a certain probability of false alarms in the threat intelligence data after the first filter, so it is necessary to eliminate false alarms before linkage control can be performed, otherwise it is easy to make mistakes.
[0067] The purpose of the second filtering is to filter the target threat intelligence data to be sent to each client server for joint prevention and control. In an optional implementation, the second filtering step may include:
[0068] For each first filtered threat intelligence data, determine the sn code of each client sending the threat intelligence data;
[0069] According to the sn code of each client, respectively determine the preset weight value corresponding to the sn code of each client;
[0070] According to the preset weights corresponding to the sn codes of the clients, the threat intelligence data is second filtered to obtain target threat intelligence data after the second filtering for sending to the client server.
[0071] It should be explained that multiple client servers may send the same source IP to the central server. Therefore, for a certain threat intelligence data after the first filtering, there may be one or more client servers sending this threat intelligence data. In addition, due to the different confidence levels of different client servers about the threat intelligence data, a corresponding preset weight value will be assigned to each client server.
[0072] Specifically, based on the sn code of each client, the preset weights corresponding to the sn code of each client are found, the sum of these preset weights is calculated, and the sum is compared with the preset threshold. If the sum is greater than the preset threshold, the threat intelligence data is retained as the target threat intelligence data for being sent to the client server. The setting of the preset weights will be updated regularly, and is determined based on the proportion of target threat intelligence data in the threat intelligence data sent by the client server corresponding to the sn code in a certain period of time in the past. The higher the proportion of target threat intelligence data, the higher the preset weight corresponding to the client server, and the lower the proportion of target threat intelligence data, the lower the preset weight corresponding to the client server.
[0073] In another optional embodiment, the second filtering step may include:
[0074] Based on the DAE-CM deep clustering model, multi-layer classification processing is performed on the first filtered threat intelligence data to obtain processed threat intelligence data; the multi-layer classification processing mainly refers to classifying the threat level and threat type of the threat intelligence data.
[0075] Then, based on a preset sending strategy, the processed threat intelligence data is subjected to a second filtering to obtain target threat intelligence data after the second filtering for sending to the client server.
[0076] Combination Figure 2 As shown in FIG. 1 , the DAE-CM deep clustering model refers to embedding a single hidden layer autoencoder CM into a deep autoencoder DAE, performing an implicit feature mapping, nonlinearly mapping the input of threat intelligence data to the feature space of DAE, and performing multi-layer classification processing therein.
[0077] The DAE-CM deep clustering model can optimize CM and DAE at the same time. It uses the deep autoencoder DAE to find the missing of the input in the embedding space and guide CM to better optimize. The nested model enables CM to also affect the feature extraction of DAE. Among them, CM is embedded in the clustering module of the deep autoencoder, and DAE is used to explicitly learn feature mapping to achieve nonlinear clustering.
[0078] First, the initialization vector T of the BERT model (obtained by converting the threat intelligence data into the model data format) is used as the input of DAE. DAE encodes it multiple times into S. CM is a single hidden autoencoder. Its input is not directly processed on T, but S is used as input to encode it through the Q hidden layer, and finally output
[0079] ˉˉ
[0080] Reconstruct S, and DAE outputs the reconstruction T. Such a structure can realize the joint optimization of feature embedding and clustering, and dynamically adjust the model to obtain better results.
[0081] The preset delivery strategy refers to the configuration of threat level and threat type. Based on the configuration of threat level and threat type, target threat intelligence data for delivery to each client server is determined from the threat intelligence data.
[0082] Step 104: Send each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control.
[0083] In this embodiment, after multiple filtering to determine the target threat intelligence data, the central server will send the target threat intelligence data to the client server. The central server can send it to all connected client servers, or only to the target client server, where the target client server refers to the client server that is willing to accept the central server for joint prevention and control.
[0084] In addition, when the client server uploads the threat intelligence data to the queueName1 queue of the central server, it does not upload the original log text at the same time. Because the amount of threat intelligence data is large, and the original log text data volume is relatively large, if each threat intelligence data is uploaded with the original log text, it will greatly reduce the upload speed and occupy the storage space of the central server.
[0085] Therefore, after determining the target threat intelligence data, for each target threat intelligence data, the central server will send a log request to the client server that is the source of the target threat intelligence data; and receive the log original text sent by the client server that is the source of the target threat intelligence data, wherein the log original text is the log original text determined by the client server based on the received log request.
[0086] That is to say, only when the client server receives the log request sent by the central server, the client server will query the ElsticSearch database for the log text of the target threat intelligence data (the probe log sent by the probe device) and upload it to the queueName4 message queue of the central server. This method reduces invalid data transmission by only obtaining the log text of the target threat intelligence data sent.
[0087] In addition, the platform where the central server is located can also visualize threat intelligence data, intuitively displaying the operating status and interception results of network attacks. The content presented includes 10 aspects of information:
[0088] 1. Real-time battle situation map of automated network protection: It is reflected in the form of a carousel map, which is used to display the threat data uploaded by each client server in the past 10 minutes.
[0089] 2. Attack interception trend chart for the past 7 days: This is a line chart that shows the amount of threat intelligence data uploaded by each client server every day in the past 7 days.
[0090] 3. Hotspot time trend chart of attack events in the past 30 days: It is represented as a line chart, which is used to show the ratio of the number of attack events and the number of interceptions per day in the past 30 days.
[0091] 4. System operation monitoring diagram: It is reflected in the form of a carousel chart, used to display abnormal information of each unit.
[0092] 5. Data chart sent by joint defense and control: This is reflected in the form of a carousel chart, which is used to display the target threat intelligence data sent to each client server in the past 10 minutes.
[0093] 6. Attack region statistics: reflected in the world map and map cannon, statistics of the 10 countries with the largest number of threat intelligence data are displayed on the map in the form of map cannon.
[0094] 7. The central information chart presents five aspects of information: the number of joint prevention and control units, which shows the number of client servers that can connect to the central server; the number of joint prevention and control devices, which shows the sum of the number of each client probe device and the number of disposal devices; the number of joint prevention and control days, which shows the total number of days the platform is in operation; the cumulative number of intercepted attack IPs, the total number of threat data uploaded by the client server; the cumulative number of joint defense IPs sent, the total number of threat data sent by the center.
[0095] 8. Attack IP interception peak: the highest amount of threat intelligence data uploaded every day.
[0096] 9. Attack IP interception unit ranking: This is reflected in a carousel chart, which is used to display the ranking of threat intelligence data uploaded by all client servers on that day.
[0097] 10. Yesterday’s risk outbreak unit ranking: This is reflected in a carousel chart, which is used to display the ranking of the number of changes in the threat intelligence data uploaded by all client servers on that day compared with yesterday.
[0098] In summary, this embodiment provides a joint defense and control method, which can achieve timely response to network threats and reduce the possibility of risk spread through a real-time sharing platform and a blocking and control processing mechanism. By sharing threat intelligence data, various units form a collaborative mechanism to jointly defend against network attacks and improve the security of the entire Internet. In addition, the real-time sharing platform ensures that threat intelligence data can be transmitted quickly, so that the networks of various units can more effectively respond to changing network threats. Using a blocking and control processing mechanism, the IP addresses in the acquired target threat intelligence data are blocked, effectively cutting off the threat source and enhancing network security.
[0099] Based on the same inventive concept, this embodiment also provides a joint prevention and control device, including:
[0100] A receiving unit, used to receive threat intelligence data sent by each client server;
[0101] A first filtering unit, configured to perform a first filtering on the threat intelligence data regarding the attack event to obtain first filtered threat intelligence data;
[0102] A second filtering unit, configured to perform a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server;
[0103] The prevention and control unit is used to send each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control.
[0104] Optionally, the first filtering unit is further used for:
[0105] Based on BERT model pre-training, each threat intelligence data is judged as an attack event. If the threat intelligence data is judged as a non-attack event, the threat intelligence data is deleted; if the threat intelligence data is judged as an attack event, the threat intelligence data is retained as the first filtered threat intelligence data.
[0106] Optionally, the second filtering unit is further used for:
[0107] For each first filtered threat intelligence data, determine the sn code of each client sending the threat intelligence data;
[0108] According to the sn code of each client, respectively determine the preset weight value corresponding to the sn code of each client;
[0109] According to the preset weights corresponding to the sn codes of the clients, the threat intelligence data is second filtered to obtain target threat intelligence data after the second filtering for sending to the client server.
[0110] Optionally, the second filtering unit is further used for:
[0111] Based on the DAE-CM deep clustering model, performing multi-layer classification processing on the first filtered threat intelligence data to obtain processed threat intelligence data;
[0112] Based on a preset sending strategy, the processed threat intelligence data is subjected to a second filtering to obtain target threat intelligence data after the second filtering for sending to the client server.
[0113] Optionally, the control unit is also used to:
[0114] For each target threat intelligence data after the second filtering, sending a log request to the client server of the target threat intelligence data source;
[0115] Receive the original log text sent by the client server of the target threat intelligence data source, where the original log text is the original log text determined by the client server according to the received log request.
[0116] In summary, the embodiment of this specification provides a joint defense and control device to achieve timely response to network threats, reduce the risk of risk diffusion, and improve the network security of each alliance unit by jointly defending against network attacks through the sharing of threat intelligence data among multiple units.
[0117] Based on the same inventive concept, Figure 3 As shown, this embodiment also provides a joint prevention and control method, which is applied to a client server, and the method includes steps 201 to 204:
[0118] Step 201: extracting target data from the probe log according to the target field, wherein the target field includes source IP, destination IP, source port, destination port, threat type, threat name, and threat level;
[0119] In this embodiment, the probe log refers to the information recorded by the probe device in the client server for network security events. There is a lot of content in the probe log. This embodiment obtains the information required by this embodiment from the probe log based on the target field, which is equivalent to simplifying the content of the probe log. Based on actual needs, the target field may include source IP, destination IP, source port, destination port, threat type, threat name, and threat level. Among them, the source IP refers to the IP address accessed to the device in the client server intranet in the recorded network security event. The destination IP refers to the IP address accessed by the source IP. The destination IP can be the IP address of the client server or the IP address of other devices in the intranet where the client server is located. The threat type refers to what type of network security event is judged to be, for example, a dos attack, etc. The threat level refers to the threat level of this network security event, for example, levels 1-4.
[0120] Step 202: performing policy filtering on the target data to obtain filtered threat intelligence data;
[0121] In this embodiment, the target data can be regarded as the original data obtained based on the probe log. Through policy filtering, the target data with low danger level is filtered out. The target data with low danger level has too many false positives and is not harmful, so it is ignored. Only the filtered target data is retained.
[0122] Specifically, when the number of times the same source IP is monitored by policy filtering within a preset time period exceeds the preset number of targets, the target data corresponding to the source IP is used as threat intelligence data. The client server implements a blockade on the source IP, and at the same time saves the original log text corresponding to the source IP in the ElsticSearch database for backup to facilitate subsequent queries. The target data corresponding to the source IP is used as threat intelligence data to send to the central server.
[0123] It should be noted that in addition to threat intelligence data, the client server will also upload interception rate data, interception exception data, and heartbeat detection packets to the central server. Among them, the interception rate data refers to the interception rate information of the client server in the past 30 days (the ratio of the total number of threat intelligence data obtained by analysis to the total number of probe logs received) and is counted and uploaded to the queueName2 message queue of the central server. Interception exception data refers to the client server statistics of interception exception information. In theory, the source IP of the threat intelligence data should be written into the firewall and will not appear again in the probe log of the probe device within the expiration time. However, if it appears, it means that the interception is abnormal. In this case, this source IP is counted as the interception exception IP and uploaded to the queueName3 message queue of the central server. The heartbeat detection package refers to the information that the client server sends to the central server regularly to assist the central server in monitoring whether the client server is online. The heartbeat detection package can be sent every half a minute and uploaded to the heartBeatQueue message queue of the central server. The heartbeat detection package data includes the device's sn code (i.e., the unique identifier of the client server device), device name, number of probe devices, and number of disposal devices (the number of disposal devices that write the source IP of the threat intelligence data to the firewall). These data are used to display on the large screen of the central server device.
[0124] Step 203: periodically sending threat intelligence data to the central server;
[0125] In this embodiment, the client server will periodically collect threat intelligence data and upload it to the rabbitMq message queue of the central server, and use the AES algorithm in the symmetric encryption algorithm to encrypt the sent data to ensure the security of the uploaded data.
[0126] It should be noted that when the client server is initially connected to the central server, the client server will send a heartbeat detection packet to the central server. The heartbeat detection packet data includes the client server's SN code (unique identifier), device name, number of probe devices (the number of probe devices for which the client server obtains probe logs), and number of disposal devices (the number of source IPs in the threat intelligence data written to the firewall by the client server).
[0127] When the central server receives the heartbeat detection packet from the client server, it automatically creates the unit information of this client server and creates a message queue associated with the unit information, using the device sn code as the name of the message queue, which is used as a pipeline for sending data to the client server. Each unit information contains all the data in the heartbeat detection packet.
[0128] The unit information initially created after receiving the heartbeat detection package has no unit name by default and is disabled by default. You need to manually enter the unit name in the web interface, bind the relationship between the unit to which the client server belongs and the client server, and enable it before the client server is allowed to upload all data except the heartbeat detection package. This can improve the management and control of the client server, ensure the controllability of the data, and only accept data sent by the allowed client server.
[0129] In addition, the client server will obtain the start time point from the time database at intervals of a target period; send the threat intelligence data between the start time point and the current time point to the central server; after successful sending, update the current time point to the start time point, and store the updated start time point in the time database. In this way, a data resending mechanism is implemented. Even if data transmission fails due to network fluctuations and other reasons, the data will not be missed.
[0130] Step 204: Receive the target threat intelligence data sent by the central server and the original log text corresponding to each target threat intelligence data, and perform joint prevention and control.
[0131] In this embodiment, the client server sends a lot of threat intelligence data to the central server. The central server will filter all threat intelligence data sent by each client server to obtain target threat intelligence data. For the client server, part of the threat intelligence data it sends may be determined as target threat intelligence data. If part of it is determined as target threat intelligence data, the central server will send a log request to the client server for the determined threat intelligence data. The client server determines the corresponding log text based on the log request and sends the log text to the central server.
[0132] The client server receives the target threat intelligence data sent by the central server, as well as the original log text corresponding to each target threat intelligence data, and conducts joint defense and control.
[0133] In summary, this embodiment provides a joint defense and control method, which can achieve timely response to network threats and reduce the possibility of risk spread through a real-time sharing platform and a blocking and control processing mechanism. By sharing threat intelligence data, various units form a collaborative mechanism to jointly defend against network attacks and improve the security of the entire Internet. In addition, the real-time sharing platform ensures that threat intelligence data can be transmitted quickly, so that the networks of various units can more effectively respond to changing network threats. Using a blocking and control processing mechanism, the IP addresses in the acquired target threat intelligence data are blocked, effectively cutting off the threat source and enhancing network security.
[0134] Based on the same inventive concept, this embodiment also provides a joint prevention and control device, including:
[0135] An extraction unit, configured to extract target data from the probe log according to a target field, wherein the target field includes a source IP, a destination IP, a source port, a destination port, a threat type, a threat name, and a threat level;
[0136] A filtering unit, used to perform policy filtering on the target data to obtain filtered threat intelligence data;
[0137] A sending unit is used to periodically send threat intelligence data to the central server;
[0138] The prevention and control unit is used to receive the target threat intelligence data sent by the central server and the original log text corresponding to each target threat intelligence data, and perform joint prevention and control.
[0139] Optionally, the sending unit is further configured to:
[0140] At each target period, a starting time point is obtained from the time database;
[0141] Send the threat intelligence data between the start time point and the current time point to the central server;
[0142] After the sending is successful, the current time point is updated as the start time point, and the updated start time point is stored in the time database.
[0143] Optionally, the filter unit is also used for:
[0144] If the number of times the same source IP is monitored within a preset time period exceeds the preset number of targets, the target data corresponding to the source IP will be used as threat intelligence data.
[0145] Optionally, the control unit is also used to:
[0146] If the threat intelligence data sent by the client server is filtered by the central server as target threat intelligence data, receiving a log request sent by the central server;
[0147] According to the log request, the corresponding log original text is determined, and the log original text is sent to the central server.
[0148] Based on the same inventive concept, Figure 4 As shown, this embodiment also provides a joint prevention and control system, including:
[0149] A central server and a plurality of client servers connected to the central server;
[0150] Wherein, each client server sends threat intelligence data to the central server;
[0151] The central server is used to perform a first filtering on the threat intelligence data regarding attack events to obtain the first filtered threat intelligence data; perform a second filtering on the first filtered threat intelligence data to obtain the second filtered target threat intelligence data for sending to the client server; and send all target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control.
[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the central server and the client server described above can refer to the corresponding processes in the aforementioned method and will not be elaborated here.
[0153] In summary, the embodiments of this specification provide a joint defense and control system that enables timely response to network threats, reduces the risk of risk diffusion, and improves the network security of each alliance unit by jointly defending against network attacks through the sharing of threat intelligence data among multiple units.
[0154] The above are only various embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A joint prevention and control method, characterized in that: Applied to a central server, the method includes: Receive threat intelligence data sent by each client server; Performing a first filtering on the threat intelligence data regarding the attack event to obtain first filtered threat intelligence data; Performing a second filtering on the threat intelligence data after the first filtering to obtain target threat intelligence data after the second filtering for sending to the client server; Send each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control; The performing a second filtering on the threat intelligence data after the first filtering to obtain the target threat intelligence data after the second filtering for sending to the client server includes: For each first filtered threat intelligence data, determine the sn code of each client server that sends the threat intelligence data; According to the sn codes of the client servers, respectively determine the preset weight values corresponding to the sn codes of the client servers; According to the preset weights corresponding to the sn codes of the client servers, the threat intelligence data is second filtered to obtain target threat intelligence data for sending to the client servers after the second filtering; The preset weight is determined according to the proportion of target threat intelligence data in the threat intelligence data sent by the client server corresponding to the sn code in the past historical time period; The second filtering of the threat intelligence data according to the preset weights corresponding to the sn codes of the client servers to obtain the target threat intelligence data after the second filtering for sending to the client servers includes: The sum of the preset weight values corresponding to the sn codes of the client servers is calculated, and if the sum is greater than a preset threshold, the threat intelligence data is retained as target threat intelligence data for sending to the client server.
2. The method according to claim 1, characterized in that The first filtering of the threat intelligence data about the attack event to obtain the first filtered threat intelligence data includes: Pre-training is performed on the BERT model based on deep learning, and attack event judgment is performed on each threat intelligence data. If the threat intelligence data is judged to be a non-attack event, the threat intelligence data is deleted; if the threat intelligence data is judged to be an attack event, the threat intelligence data is retained as the first filtered threat intelligence data.
3. The method according to claim 1, characterized in that The performing a second filtering on the threat intelligence data after the first filtering to obtain the target threat intelligence data after the second filtering for sending to the client server includes: Based on the DAE-CM deep clustering model, performing multi-layer classification processing on the first filtered threat intelligence data to obtain processed threat intelligence data; Based on a preset sending strategy, the processed threat intelligence data is subjected to a second filtering to obtain target threat intelligence data after the second filtering for sending to the client server.
4. The method according to claim 1, characterized in that: The sending of each target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers includes: For each target threat intelligence data after the second filtering, sending a log request to the client server of the target threat intelligence data source; Receive the original log text sent by the client server of the target threat intelligence data source, where the original log text is the original log text determined by the client server according to the received log request.
5. A joint prevention and control method, characterized in that: Applied to a client server, the method comprises: Extract target data from the probe log according to the target field, where the target field includes source IP, destination IP, source port, destination port, threat type, threat name, and threat level; Performing policy filtering on the target data to obtain filtered threat intelligence data; Periodically send threat intelligence data to the central server; Receive the target threat intelligence data sent by the central server and the original log text corresponding to each target threat intelligence data, and perform joint prevention and control, wherein the target threat intelligence data is determined by the joint prevention and control method described in any one of claims 1-4.
6. The method according to claim 5, characterized in that The periodic sending of threat intelligence data to the central server includes: At each target period, the starting time point is obtained from the time database; Send the threat intelligence data between the start time point and the current time point to the central server; After the sending is successful, the current time point is updated as the start time point, and the updated start time point is stored in the time database.
7. The method according to claim 5, characterized in that The performing policy filtering on the target data to obtain threat intelligence data includes: If the number of times the same source IP is monitored within a preset time period exceeds the preset number of targets, the target data corresponding to the source IP will be used as threat intelligence data.
8. The method according to claim 5, characterized in that Before receiving the target threat intelligence data sent by the central server and the original log text corresponding to each target threat intelligence data and performing joint prevention and control, the method further includes: If the threat intelligence data sent by the client server is filtered by the central server as target threat intelligence data, receiving a log request sent by the central server; According to the log request, the corresponding log original text is determined, and the log original text is sent to the central server.
9. A joint prevention and control system, characterized in that: include: A central server and a plurality of client servers connected to the central server; Wherein, each client server sends threat intelligence data to the central server; The central server is used to perform a first filtering on the threat intelligence data about the attack event to obtain the first filtered threat intelligence data; perform a second filtering on the first filtered threat intelligence data to obtain the second filtered target threat intelligence data for sending to the client server; and send all the target threat intelligence data and the original log corresponding to each target threat intelligence data to all client servers for joint prevention and control; wherein, for each first filtered threat intelligence data, determining the sn code of each client server that sends the threat intelligence data; According to the sn codes of the client servers, respectively determine the preset weight values corresponding to the sn codes of the client servers; Calculate the sum of the preset weight values corresponding to the sn codes of the client servers, and if the sum is greater than a preset threshold, retain the threat intelligence data as target threat intelligence data for sending to the client server; Among them, the preset weight is determined according to the proportion of target threat intelligence data in the threat intelligence data sent by the client server corresponding to the sn code in the past historical time period.
