Large-scale attack monitoring method and system based on real-time calculation

Through real-time computing and distributed stream processing platforms, the problem that traditional attack monitoring systems cannot respond to and identify homologous attack events in real time is solved, and fast and accurate attack pattern recognition and network security protection capabilities are achieved.

CN119011184AActive Publication Date: 2024-11-22NARI INFORMATION & COMM TECH +4

Patent Information

Application Number
CN202410862160.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-11-22
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Traditional attack monitoring systems cannot detect and respond to attack behavior in real time, and their attack correlation analysis capabilities are weak, making them unable to quickly and accurately identify homologous attack events.

Method used

Using a large-scale attack monitoring method based on real-time computing, the log data is analyzed through a distributed stream processing platform, including two-level analysis based on C-segment common attack sources, business system vulnerability common attack analysis, and attack method maturity common attack analysis , generate attention lists and perform trend analysis and association analysis to predict attack behavior in real time and identify abnormal patterns.

Benefits of technology

It realizes the rapid and accurate identification of abnormal behaviors and attack patterns in network traffic, improves the accuracy and real-timeness of alarm data, integrates common attacks, and improves network security protection capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011184A_ABST
    Figure CN119011184A_ABST
Patent Text Reader

Abstract

The invention discloses a large-scale attack monitoring method and system based on real-time calculation. The method comprises the following steps: acquiring log data; analyzing the log data through a distributed stream processing platform; the analysis comprises two-stage analysis based on a C-segment common attack source: generating a first attention list according to the attacked times of the object, obtaining the physical position of the attacked object through position analysis, and obtaining the C-segment range to which the IP address of the attacked object belongs through threat intelligence library association; performing trend analysis on the attack data in the first preset time period based on the first attention list information, and predicting the next attacked time of the attacked object; and carrying out association analysis on the whole network to obtain other attacked areas. According to the method, real-time calculation is realized through three analysis modes, abnormal behaviors and attack modes are quickly and accurately identified, and the accuracy and real-time performance of alarm data are improved; for attack sources, attack means and attacked service systems, correlation analysis and generality integration are performed, and disposal suggestions are quickly formed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer information processing, and in particular to a large-scale attack monitoring method and system based on real-time computing. Background Art

[0002] With the rapid development of network technology, network security issues are becoming increasingly prominent, especially the frequent occurrence of large-scale attacks, which pose a serious threat to the normal operation and data security of enterprises. In order to meet this challenge, attack monitoring technology has become an important research direction in the field of network security.

[0003] Traditional attack monitoring methods are mainly based on log analysis, but due to the variety of log formats and large amounts of data, it is difficult to achieve fast and accurate attack correlation and early warning. In addition, most existing attack monitoring systems only defend against known threats, and have limited ability to detect unknown potential threats. In general, the shortcomings of existing technologies are mainly reflected in the following aspects: traditional attack monitoring systems usually use batch processing to analyze logs, which cannot detect and respond to attack behaviors in real time, resulting in an inability to respond in time when an attack occurs; the attack correlation analysis capability is weak, and it is unable to quickly and accurately identify homologous attack events.

[0004] Therefore, how to improve the efficiency and accuracy of attack monitoring and timely detect unknown threats has become an urgent problem to be solved. Summary of the invention

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides a large-scale attack monitoring method and system based on real-time computing to solve the problem that the current attack monitoring system analyzes logs but cannot detect and respond to attack behaviors in real time, resulting in an inability to respond in time when an attack occurs; the attack correlation analysis capability is weak and the same-origin attack events cannot be quickly and accurately identified.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, the present invention provides a large-scale attack monitoring method based on real-time computing, comprising:

[0009] Get log data;

[0010] Analyzing the log data through a distributed stream processing platform;

[0011] The analysis includes a two-level analysis based on a common attack source of segment C, wherein the two-level analysis based on a common attack source of segment C generates a first watch list according to the number of times the object is attacked, obtains the physical location of the attacked object through location analysis, and obtains the C segment range to which the IP address of the attacked object belongs through association with the threat intelligence library, which is used to improve the first watch list information;

[0012] Performing a trend analysis on the attack data within a first preset time period based on the first attention list information, and predicting the next attack time of the attacked object in combination with the trend analysis result;

[0013] Based on the first focus list and trend analysis, correlation analysis is performed on the entire network to obtain other attacked areas.

[0014] As a preferred solution of the large-scale attack monitoring method based on real-time computing described in the present invention, wherein: the generating of the first attention list according to the number of times the object is attacked includes:

[0015] Within a preset first time range, if the address of any object is attacked more than a preset number of times, the C-segment address corresponding to the object is included in the first watch list.

[0016] As a preferred solution of the large-scale attack monitoring method based on real-time computing described in the present invention, wherein: performing trend analysis on attacks within a first preset time period based on the physical location and associated threat intelligence includes:

[0017] Obtaining attack source data within a second preset time period in the attention list, and the number of attacks at each time scale within the time period;

[0018] Compare the number of attacks horizontally within the same time scale to obtain attack trends.

[0019] As a preferred solution of the large-scale attack monitoring method based on real-time computing described in the present invention, wherein: based on the first focus list and trend analysis, the entire network is subjected to correlation analysis to obtain other attacked areas, including:

[0020] Acquire a total database, the total database including all sub-databases connected to the total database, the sub-database including the C-segment address in the first focus list of the area to which it belongs;

[0021] Regularly match and compare the C-segment addresses in the local sub-database with the attack sources in the other sub-databases in the total database;

[0022] If there is a match, it means that the attacker also attacked the area to which the corresponding matching sub-database belongs.

[0023] As a preferred solution of the large-scale attack monitoring method based on real-time computing described in the present invention, the analysis also includes common attack analysis based on business system vulnerabilities, and the common attack analysis based on business system vulnerabilities specifically includes:

[0024] Based on the log data, the number of attacks on all business systems within a preset second time range is obtained in real time. If the number of attacks on a business system exceeds a set threshold, the business system is included in the second attention list;

[0025] Obtaining the type of attack suffered by each business system in the second focus list within a second preset time period;

[0026] Combine the attributes of the business system itself and the type of attack it is subject to to determine the feasibility of the attack;

[0027] Associate the topological information of the attack path to obtain the reachability of the attack;

[0028] De-noising the acquired attack data to improve the second attention list information;

[0029] The attack source IP of the business system within the third preset time period is obtained, and the common characteristics of the attack are obtained in combination with the second attention list information for source tracing and countermeasure.

[0030] As a preferred solution of the large-scale attack monitoring method based on real-time computing described in the present invention, the analysis further includes common attack analysis based on the maturity of attack means, and the common attack analysis based on the maturity of attack means specifically includes:

[0031] Acquire all attack means data in real time based on log data, associate the vulnerability with the content involved in the attack means, and add the associated attack means to the third attention list;

[0032] Obtaining the business systems in the third focus list that are attacked within the fourth preset time period, associating the asset attributes of the corresponding attacked business systems, and determining whether the attack methods will have an impact on the business systems in combination with the security patches;

[0033] The attack source in the third focus list within the fifth preset time period is obtained, and the physical address and threat intelligence of the attack source are correlated and analyzed to perform source tracing analysis.

[0034] In a second aspect, the present invention provides a large-scale attack monitoring system based on real-time computing, comprising:

[0035] Acquisition module, used to obtain log data;

[0036] The analysis module is used to analyze the log data through a distributed stream processing platform.

[0037] As a preferred solution of the large-scale attack monitoring system based on real-time computing described in the present invention, it also includes:

[0038] The first analysis module is used for two-level analysis based on the common attack source of segment C;

[0039] The second analysis module is used for common attack analysis based on business system vulnerabilities;

[0040] The third analysis module is used for common attack analysis based on the maturity of attack methods.

[0041] In a third aspect, the present invention provides a computing device, comprising:

[0042] Memory and processor;

[0043] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the large-scale attack monitoring method based on real-time calculation are implemented.

[0044] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the large-scale attack monitoring method based on real-time computing.

[0045] Compared with the prior art, the present invention has the following beneficial effects: the present invention realizes real-time calculation through three analysis methods, so that abnormal behaviors and attack patterns in network traffic can be identified quickly and accurately, improving the accuracy and real-time performance of alarm data; correlation analysis is carried out on attack sources, attack methods, and attacked business systems, common attacks are integrated, disposal suggestions are quickly formed, and network security protection capabilities are improved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 This is a schematic diagram of the overall process of a large-scale attack monitoring method based on real-time computing according to an embodiment of the present invention;

[0048] Figure 2 A schematic diagram of analysis types in a large-scale attack monitoring method based on real-time computing according to an embodiment of the present invention;

[0049] Figure 3It is a schematic diagram of the overall process of two-stage analysis based on the common attack source of the C segment in the large-scale attack monitoring method based on real-time calculation according to an embodiment of the present invention;

[0050] Figure 4 It is a schematic diagram of the timing of two-stage analysis based on the common attack source of the C segment in the large-scale attack monitoring method based on real-time calculation according to an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of a timing sequence of attacks based on common vulnerabilities of business systems in a large-scale attack monitoring method based on real-time computing according to an embodiment of the present invention;

[0052] Figure 6 The diagram is a timing diagram of common attacks based on maturity of attack means in a large-scale attack monitoring method based on real-time computing according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0054] Example 1

[0055] Reference Figure 1-Figure 6 , as an embodiment of the present invention, provides a large-scale attack monitoring method based on real-time computing, comprising:

[0056] S100: Figure 1 , get log data;

[0057] It should be noted that log data may include: intrusion prevention system (IPS) logs, intrusion detection system (IDS) logs, web application firewall (WAF) logs, unknown threat detection (Sky Eye) logs, attack source tracing device (Rui Yan) logs, and traffic analysis probe (NTA) logs.

[0058] The above log data is stored for subsequent log preprocessing and data analysis.

[0059] It should also be noted that before the data is analyzed, it needs to be preprocessed. The preprocessing mainly focuses on identification, deduplication, denoising, normalization, and data enhancement of log data.

[0060] Specifically, data denoising: from the collected log data, directly delete the data that is not in compliance with the format and the number of attributes that are inconsistent with the requirements to improve data quality. Data deduplication: deduplicate the data after data denoising. Within the specified time interval, if there are multiple records with only different times and the same other attributes, only the last record of the duplicate records will be retained. Data normalization: normalize the log data after deduplication, and convert logs with different expressions into a unified description form. The normalized fields provided by the system include log reception time, log generation time, log duration, user name, source address, source MAC address, source port, operation, destination address, destination MAC address, destination port, log event name, summary, level, original level, original type, network protocol, network application protocol, device address, device name, device type, etc. Analysts no longer need to be familiar with different log information from different manufacturers, which greatly improves the efficiency of analysis and auditing work. Finally, the normalized data is sent to the analysis queue for subsequent two-level analysis based on common attack sources in segment C, common attacks based on business system vulnerabilities, and common attack analysis based on the maturity of attack means.

[0061] S200: Analyze log data through the distributed stream processing platform;

[0062] It should be noted that distributed stream processing platforms are mainly used to build high-throughput, low-latency data pipelines and real-time data stream applications.

[0063] Exemplarily, the distributed stream processing platform may be Kafka, Apache Pulsar, or Pravega, etc.

[0064] Preferably, the processed data can be sent to the analysis queue of Kafka for subsequent data analysis.

[0065] S201: Figure 2 ,The analysis includes two levels of analysis based on the common attack sources of ,C segment;

[0066] S201-1: Figure 3 and Figure 4 , generate a first watch list based on the number of times the object has been attacked, obtain the physical location of the attacked object through location analysis, and obtain the C segment range to which the IP address of the attacked object belongs through the threat intelligence library association, which is used to improve the first watch list information;

[0067] In a possible implementation, generating a first attention list according to the number of times the object has been attacked includes:

[0068] Within a preset first time range, if the address of any object is attacked more than a preset number of times, the C-segment address corresponding to the object is included in the first watch list.

[0069] The address of any object refers to the IP address of a host in a certain organization.

[0070] Exemplarily, the preset first time range may be 5 minutes, 10 minutes, or a custom time range that conforms to the actual situation; the preset number of times may be a custom number of times such as 10 times or 15 times.

[0071] It should be noted that after the C segment address corresponding to the attacked object is included in the first watch list, the C segment range of the subsequent attacked object IP address refers to the inclusion of the entire C segment range to which the IP segment belongs, so as to complete the first watch list information. The network segment range of international Class C IP addresses covers the address space from 192.0.0.0 to 223.255.255.255, and has a specific binary representation, network number and host number allocation, default subnet mask and application scenario.

[0072] It should also be noted that the threat intelligence library is used to correlate the C-segment range of the IP addresses of the attacked objects. C-segment analysis can reveal specific network segments or service providers that the attacker may target. This step supplements the information of the first watch list and helps identify potential larger-scale attack strategies or attacker preferences.

[0073] S201 - 2 : performing trend analysis on the attack data within a first preset time period based on the first attention list information, and predicting the next attack time of the attacked object in combination with the trend analysis result.

[0074] Exemplarily, the first preset time period may be within the previous week (7 days) or other custom time period.

[0075] In a possible implementation, the trend analysis includes:

[0076] Obtain attack source data within a first preset time period in the attention list, as well as the number of attacks at each time scale within the time period;

[0077] Compare the number of attacks horizontally within the same time scale to obtain attack trends.

[0078] Exemplarily, the time scale may be divided into units of one hour, and a horizontal comparison may be performed within the time scale to form a trend graph to obtain the attack trend.

[0079] Trend analysis can not only obtain attack trends, but also improve the first focus list information for the blue team commander or source tracing analysis group to conduct source tracing and countermeasures.

[0080] Combined with the trend analysis results, the next attack time of the attacked object can be predicted. Based on the generated trend chart or trend data, the time period can be segmented and analyzed, and prediction algorithms such as the Holt-Winters method and LSTM neural network can be used to predict the next attack time of the address segment.

[0081] It should be noted that this step of trend analysis aims to identify the changes in the frequency and intensity of attacks over time, and whether there are periodic or other predictable patterns. Using this information, you can try to predict when a high-risk object may be attacked next, so as to deploy defensive measures in advance.

[0082] S201-3: Perform correlation analysis on the entire network based on the first focus list and trend analysis to obtain other attacked areas.

[0083] In a possible implementation, a correlation analysis is performed on the entire network based on the first focus list and trend analysis to obtain other attacked areas, including:

[0084] Obtaining a total database, the total database includes all sub-databases connected to the total database, and the sub-databases include the C-segment addresses in the first focus list of the area to which they belong;

[0085] Regularly match and compare the C-segment addresses in the local sub-database with the attack sources in the other sub-databases in the total database;

[0086] If there is a match, it means that the attacker also attacked the area to which the corresponding matching sub-database belongs.

[0087] Exemplarily, the total database can be the data of the entire network (headquarters + network province), and the sub-database is the database of each network province. The C network segment addresses analyzed by each network province are uploaded to the headquarters database. The C network segment addresses found by this network province are regularly compared with the attack sources of other network provinces. If they match, it means that the attacker has attacked other network provinces at the same time. SMS notification is sent to the relevant personnel of the network province to pay attention and deal with it in time.

[0088] It should be noted that the purpose of conducting a broader correlation analysis of the entire network using the information obtained from the first focus list and trend analysis is to discover other areas that are similar to known attack patterns but have not yet been directly listed as focus points. This analysis can reveal potential attack paths, weaknesses that have not yet been fully recognized, or new targets that attackers may be exploring, thereby prompting security teams to expand monitoring and implement more comprehensive protection strategies.

[0089] S202: Figure 2 and Figure 5 , based on the common attack analysis of business system vulnerabilities, specifically includes:

[0090] Based on the log data, the number of attacks on all business systems within a preset second time range is obtained in real time. If the number of attacks on a business system exceeds a set threshold, the business system is included in the second attention list;

[0091] Exemplarily, the preset second time range may be the same day or other time range that meets actual needs. If the number of attacks on the business system exceeds a set threshold, the set threshold may be to take the top three attacks obtained, and add their corresponding attacked business systems to the second attention list.

[0092] Obtaining the type of attack suffered by each business system in the second focus list within a second preset time period;

[0093] Exemplarily, the second preset time period may be the previous week (7 days) or other custom time period.

[0094] Combine the attributes of the business system itself and the type of attack it is subject to to determine the feasibility of the attack;

[0095] Specifically, the attributes of the business system itself refer to the development language, framework, middleware, etc.

[0096] Specifically, the feasibility of an attack can be determined by analyzing the correlation and historical data of attack behaviors, identifying attack patterns and trends, and considering the purpose, intent, and action plan of the attack to evaluate its targeting and purposefulness, thereby more generally determining the feasibility of network attack assessments.

[0097] It should be noted that feasibility assessment helps to prioritize systems that are frequently attacked and easily breached, prioritize and optimize resource allocation, effectively reduce security risks, and improve the overall security level.

[0098] Associate the topological information of the attack path to obtain the reachability of the attack;

[0099] For example, if the attack is discovered by an IPS or WAF blocking device, the attack is unreachable; if it is discovered by a bypass monitoring device, the attack is reachable.

[0100] It should be noted that the accessibility assessment can indirectly help monitoring personnel decide whether it is necessary to shut down unnecessary network access paths, strengthen the network structure, and reduce the attack surface.

[0101] De-noising the acquired attack data to improve the second attention list information;

[0102] The attack source IP of the business system within the third preset time period is obtained, and the common characteristics of the attack are obtained in combination with the second attention list information for source tracing and countermeasure.

[0103] Exemplarily, the third preset time period may be within one hour or other custom time period.

[0104] It should be noted that the purpose of obtaining the attack source IP in this step is to obtain high-frequency IP, number of attacks, physical location, threat intelligence, etc., so as to dig out common features based on personnel experience or related analysis systems. The identification of common features helps to build a more effective prevention mechanism, to warn and intercept similar future attacks, and to provide the blue team commander or source tracing analysis group with countermeasures to trace the source and evaluate and reinforce the attacked business systems.

[0105] S203: Figure 2 and Figure 6 , based on the common attack analysis of attack means maturity, specifically includes:

[0106] Based on log data, all attack methods data is obtained in real time, vulnerabilities are associated with the contents involved in the attack methods, and the associated attack methods are included in the third attention list;

[0107] Specifically, the vulnerabilities mainly come from the vulnerabilities involved in the early warning list or vulnerability library.

[0108] Obtaining the business systems in the third focus list that are attacked within the fourth preset time period, associating the asset attributes of the corresponding attacked business systems, and determining whether the attack methods will have an impact on the business systems in combination with the security patches;

[0109] Exemplarily, the fourth preset time period may be within the previous week (7 days) or other custom time period;

[0110] Specifically, asset attributes include development languages, frameworks, middleware, etc.;

[0111] For example, the security patch is combined to determine whether the attack method will have an impact on the business system. For example, SQL injection may leak sensitive data, and DDoS attack may paralyze the system.

[0112] It should be noted that analyzing the attacks in the third watch list and their impact on business systems helps prioritize the protection of the most important or most vulnerable systems and ensure the effective allocation of resources. At the same time, emergency patching plans are formulated based on the status of security patches to reduce risk exposure.

[0113] The attack source in the third focus list within the fifth preset time period is obtained, and the physical address and threat intelligence of the attack source are correlated and analyzed to perform source tracing analysis.

[0114] Exemplarily, the fifth preset time period may be within the previous week (7 days) or other custom time period;

[0115] It should be noted that the correlation analysis ultimately obtains the geographical information of the attack and whether it hits the threat intelligence, thereby assisting the blue team commander or the source tracing analysis group to further analyze the attack organization. The source tracing analysis not only helps to understand the attacker's motivation, skill level and action pattern, but also provides a basis for formulating defense strategies, such as implementing targeted firewall rules and enhancing access control in specific regions.

[0116] In summary, the present invention can quickly and accurately identify abnormal behaviors and attack patterns in network traffic through real-time calculation methods, thereby improving the accuracy and real-time performance of alarm data; the three analysis methods conduct correlation analysis on attack sources, attack methods, and attacked business systems, and integrate common attacks. From the perspective of the attack source, it is necessary to discover whether it has the common characteristics of the C network segment. After having this characteristic, the data of the entire network of the headquarters is checked to determine whether the attack simultaneously attacks other network provinces and regions, so that the attack source obtained is more valuable; then, from the perspective of attack methods, by analyzing what means are used to attack, how to counterattack, and which business systems are attacked, security reinforcement is performed and business system vulnerabilities are found. The three analysis methods are progressive, but they can also be analyzed in parallel or separately according to specific needs.

[0117] The above is a schematic scheme of a large-scale attack monitoring method based on real-time computing in this embodiment. It should be noted that the technical scheme of the system for large-scale attack monitoring based on real-time computing and the technical scheme of the large-scale attack monitoring method based on real-time computing are of the same concept. The details of the technical scheme of the large-scale attack monitoring system based on real-time computing in this embodiment that are not described in detail can all be referred to the description of the technical scheme of the large-scale attack monitoring method based on real-time computing.

[0118] The large-scale attack monitoring system based on real-time computing in this embodiment includes:

[0119] Acquisition module, used to obtain log data;

[0120] The analysis module is used to analyze the log data through a distributed stream processing platform.

[0121] Furthermore, it also includes,

[0122] The first analysis module is used for two-level analysis based on the common attack source of segment C;

[0123] The second analysis module is used for common attack analysis based on business system vulnerabilities;

[0124] The third analysis module is used for common attack analysis based on the maturity of attack methods.

[0125] This embodiment further provides a computing device, which is applicable to large-scale attack monitoring based on real-time computing, and includes:

[0126] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the large-scale attack monitoring method based on real-time computing as proposed in the above embodiment.

[0127] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for large-scale attack monitoring based on real-time computing proposed in the above embodiment is implemented.

[0128] The storage medium proposed in this embodiment and the large-scale attack monitoring method based on real-time computing proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0129] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0130] Example 2

[0131] Referring to Table 1, based on the previous embodiment, this embodiment provides an application and comparison case of a large-scale attack monitoring method based on real-time computing to illustrate the feasibility of our solution.

[0132] Detection data: The attack logs of intrusion prevention equipment, Web application protection equipment, unknown threat discovery equipment, terminal source tracing analysis equipment, and threat monitoring probe equipment in the Internet regions of State Grid Information and Communication Corporation, Tianjin Company, and Liaoning Company from the end of February 2023 to March 14 were analyzed.

[0133] Each type of attack log has many fields. The following 17 key feature fields are extracted, as shown in Table 1.

[0134] Table 1 Feature fields

[0135]

[0136]

[0137] Environment configuration: 3 machines, each machine has 16 cores of CPU, 64G of memory, 512G of disk, operating system: Redhat 7.5

[0138] Based on the two-level analysis of the common attack sources in segment C, it was first discovered that it was through the web application firewall with the address 172.16.228.206. The analysis showed that the attack source IP was 115.171.170.98, which came from the Internet area. The destination IP was 172.16.229.12, and the system it belonged to was an external resource pool host. The attack occurred more than 10 times within 5 minutes. After correlating the analysis of segment C, a similar address was found: 115.171.170.96, which belonged to an external resource pool host. After trend analysis, it was predicted that 115.171.170.0 / 24 would continue to attack.

[0139] Based on the common attack analysis of business system vulnerabilities, the top three IP addresses of attackers are obtained through ranking, which are 61.151.159.19 / 61.151.150.10 and 218.61.28.250. The device 172.16.228.206 is found to have 3414 attacks, which are included in the second attention list. The attack types include: threat intelligence hits, unknown viruses, etc., and traceability and countermeasures are carried out.

[0140] Based on the common attack analysis of the maturity of attack means, it was found that the attacked business systems were the external network resource pool host system (172.16.229.12) which was attacked 3468 times, the power trading system (172.16.229.12) which was attacked 1705 times, etc. The attack sources were obtained for source tracing analysis.

[0141] A comparison is made between the scheme of the present invention and the traditional monitoring means, see Table 2.

[0142] Table 2 Comparison parameters

[0143]

[0144]

[0145] It can be seen intuitively from Table 2 that our three-segment analysis can monitor large quantities of logs quickly and in real time, and both the accuracy and predictive ability are better than the original batch processing analysis. The attack impact assessment based on the business system vulnerability and attack means maturity analysis also includes the degree of impact on the business system, asset loss prediction and delayed emergency response time, which is more comprehensive. Traditional tracing is inefficient and it is difficult to take countermeasures quickly. We can achieve rapid tracing based on C-segment analysis and attack means maturity analysis combined with the threat intelligence library.

[0146] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A large-scale attack monitoring method based on real-time computing, characterized in that: include: Get log data; Analyzing the log data through a distributed stream processing platform; The analysis includes a two-level analysis based on a common attack source of segment C, wherein the two-level analysis based on a common attack source of segment C generates a first watch list according to the number of times the object is attacked, obtains the physical location of the attacked object through location analysis, and obtains the C segment range to which the IP address of the attacked object belongs through association with the threat intelligence library, which is used to improve the first watch list information; Performing a trend analysis on the attack data within a first preset time period based on the first attention list information, and predicting the next attack time of the attacked object in combination with the trend analysis result; Based on the first focus list and trend analysis, correlation analysis is performed on the entire network to obtain other attacked areas.

2. The large-scale attack monitoring method based on real-time computing according to claim 1, characterized in that: The step of generating a first attention list according to the number of times the object is attacked includes: Within a preset first time range, if the address of any object is attacked more than a preset number of times, the C-segment address corresponding to the object is included in the first watch list.

3. The large-scale attack monitoring method based on real-time computing according to claim 1 or 2, characterized in that: Performing a trend analysis of attacks within a first preset time period based on the physical location and associated threat intelligence includes: Obtaining attack source data within a second preset time period in the attention list, and the number of attacks at each time scale within the time period; Compare the number of attacks horizontally within the same time scale to obtain attack trends.

4. The large-scale attack monitoring method based on real-time computing as claimed in claim 3 is characterized in that: Based on the first focus list and trend analysis, correlation analysis is performed on the entire network to obtain other attacked areas, including: Acquire a total database, the total database including all sub-databases connected to the total database, the sub-database including the C-segment address in the first focus list of the area to which it belongs; Regularly match and compare the C-segment addresses in the local sub-database with the attack sources in the other sub-databases in the total database; If there is a match, it means that the attacker also attacked the area to which the corresponding matching sub-database belongs.

5. The large-scale attack monitoring method based on real-time computing according to claim 1 or 4, characterized in that: The analysis also includes common attack analysis based on business system vulnerabilities, and the common attack analysis based on business system vulnerabilities specifically includes: Based on the log data, the number of attacks on all business systems within a preset second time range is obtained in real time. If the number of attacks on a business system exceeds a set threshold, the business system is included in the second attention list; Obtaining the type of attack suffered by each business system in the second focus list within a second preset time period; Combine the attributes of the business system itself and the type of attack it is subject to to determine the feasibility of the attack; Associate the topological information of the attack path to obtain the reachability of the attack; De-noising the acquired attack data to improve the second attention list information; The attack source IP of the business system within the third preset time period is obtained, and the common characteristics of the attack are obtained in combination with the second attention list information for source tracing and countermeasure.

6. The large-scale attack monitoring method based on real-time computing according to claim 5, characterized in that: The analysis also includes common attack analysis based on the maturity of attack means, and the common attack analysis based on the maturity of attack means specifically includes: Acquire all attack means data in real time based on log data, associate the vulnerability with the content involved in the attack means, and add the associated attack means to the third attention list; Obtaining the business systems in the third focus list that are attacked within the fourth preset time period, associating the asset attributes of the corresponding attacked business systems, and determining whether the attack methods will have an impact on the business systems in combination with the security patches; The attack source in the third focus list within the fifth preset time period is obtained, and the physical address and threat intelligence of the attack source are correlated and analyzed to perform source tracing analysis.

7. A system using the large-scale attack monitoring method based on real-time computing as claimed in claim 1, characterized in that: include: Acquisition module, used to obtain log data; The analysis module is used to analyze the log data through a distributed stream processing platform.

8. The large-scale attack monitoring system based on real-time computing as claimed in claim 7, characterized in that: Also includes, The first analysis module is used for two-level analysis based on the common attack source of segment C; The second analysis module is used for common attack analysis based on business system vulnerabilities; The third analysis module is used for common attack analysis based on the maturity of attack methods.

9. An electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the large-scale attack monitoring method based on real-time computing described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the large-scale attack monitoring method based on real-time computing as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Cooperative type active defense method based on honeynets

    CN103561003A

  • Network attack consequence dynamic quantification assessment method based on regional trend information

    CN106559414A

  • Prediction method, system and equipment for potential security events and medium

    CN116318885A

  • Network security blacklist derived from honeypot statistics

    US20210120022A1

Cited By

  • DDoS attack object identification method, device and equipment based on security agent

    CN121333662A

  • Distributed brute force attack cooperative detection and traceability method and distributed brute force attack cooperative detection and traceability equipment

    CN122226431A