Multi-source heterogeneous log comprehensive analysis method and system, medium and processor

Through the comprehensive analysis method of multi-source heterogeneous logs, we collect and analyze various log data of network systems, identify the correlation between attack behaviors, solve the problems of insufficient analysis data sources and single technology in the existing technology, and realize the analysis of Comprehensive security posture monitoring and threat identification of network systems.

CN118784281APending Publication Date: 2024-10-15GUANGXI POWER GRID CORP
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410800395.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology analyzes data sources in multi-source heterogeneous log analysis, and the analysis technology is single, and cannot comprehensively display the attacker's attack process on the entire network system.

Method used

Using a multi-source heterogeneous log comprehensive analysis method, by collecting various types of log data, preprocessing, focused analysis, statistical analysis and causal correlation analysis are used to identify the correlation between attack behaviors and form a multi-step attack scenario diagram.

Benefits of technology

It can comprehensively display the attacker's attack process on the entire network system, help security analysts understand attack intentions and methods, improve the efficiency of allocating security resources, and timely prevent and mitigate potential security threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784281A_ABST
    Figure CN118784281A_ABST
Patent Text Reader

Abstract

The invention provides a multi-source heterogeneous log comprehensive analysis method. The multi-source heterogeneous log comprehensive analysis method comprises the steps that various types of log data generated in the operation process of a network system are collected; preprocessing the various types of log data, and converting the log data into log information in a uniform format; performing focus analysis on the log information to obtain various types of security events, and presenting the security events with high importance to security analysts; performing statistical analysis on various types of security events to obtain a data distribution and development trend, and comparing the data distribution and development trend with a normal statistical mode to find an abnormal behavior, thereby displaying the overall condition and trend of a network system; and according to the causal association knowledge base, performing causal association analysis on the security events of various sources, and discovering an association relationship among attack behaviors embodied by the security events, thereby identifying an attack process implemented by an attacker on the whole network system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of log analysis, and in particular to a method, system, medium and processor for comprehensive analysis of multi-source heterogeneous logs. Background Art

[0002] During the operation of the network system, a large number of system logs, application logs, security logs and network logs are generated. These log information records various security events that have occurred in the network system. By analyzing the logs, we can not only find the operation status of the network system, but also find the vulnerabilities in the current system and possible attacks. The traditional method of analyzing and processing various logs separately ignores the correlation between various types of logs, so that its analysis results cannot accurately reflect the security status of the network system. Therefore, multi-source heterogeneous log fusion analysis technology has become a research hotspot in the field of network security.

[0003] In recent years, researchers at home and abroad have studied multi-source heterogeneous logs from different perspectives and have achieved certain results. For example, the data mining tool Weka is used to parse Apache service logs, IP Table Syslog, Snort IDS logs, and Linux Syslog, and the clustering algorithm is used to filter redundant log events, and finally the log events are aggregated, which is conducive to the correlation analysis of multi-source log events; there are also methods that analyze the intersection of log files to discover the malicious behavior of users, thereby improving the security of the system, but this method can only analyze firewall logs and application system logs; there are also methods that collect, filter, normalize, and correlate log files from different sources to reconstruct the attack sequence; finally, log audit technology is used to perform correlation analysis on various types of logs to obtain network security event information, and use this to calculate the theoretical security threat value of the node, thereby obtaining the network security situation.

[0004] The above methods provide a feasible solution for the fusion analysis of multi-source heterogeneous logs and lay a good foundation for log analysis models and algorithms. However, there are also common problems such as the lack of extensive analysis data sources and single analysis technology, which cannot comprehensively display the attack process of the attacker on the entire network system.

[0005] In view of this, a multi-source heterogeneous log comprehensive analysis method, system, medium and processor are needed. Summary of the invention

[0006] In view of the problem that the analysis data source is not extensive enough and the analysis technology is single in the prior art, the present invention provides a multi-source heterogeneous log comprehensive analysis method, system, medium and processor, which can use multiple analysis technologies to conduct comprehensive analysis on various types of log data, discover the correlation between the attack behaviors reflected by security events, and thus show the attack process implemented by the attacker on the entire network system as a whole. The specific technical solution is as follows:

[0007] A multi-source heterogeneous log comprehensive analysis method, comprising:

[0008] Collect various types of log data generated during the operation of the network system;

[0009] Preprocess various types of log data and convert them into log information in a unified format;

[0010] Focus on analyzing log information to obtain various types of security events, and present high-importance security events to security analysts;

[0011] Conduct statistical analysis on various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system;

[0012] Based on the causal association knowledge base, causal association analysis is performed on security events from multiple sources to discover the correlation between the attack behaviors reflected in the security events, thereby identifying the attack process carried out by the attacker on the entire network system.

[0013] Furthermore, the focused analysis of the log information to obtain various types of security events and presenting the security events with high importance to the security analysts includes the following steps:

[0014] Match the log information with the rule base to obtain security events;

[0015] Evaluate the importance of security incidents and present those with high importance as high-risk security incidents.

[0016] Furthermore, the importance evaluation of the security incident includes the following steps:

[0017] Obtain evaluation indicators of security incidents in terms of target asset importance, attack behavior severity, and observed event relevance;

[0018] Calculate the importance score of security events based on the evaluation indicators;

[0019] The calculated importance score is compared with the importance evaluation threshold range to determine the importance of the security event.

[0020] Furthermore, the importance score calculation formula is as follows:

[0021]

[0022] In the above formula, p is the importance score of the security event; x i represents the i-th evaluation index; w i is the criticality of the i-th evaluation indicator in the importance evaluation, and n is the number of evaluation indicators.

[0023] Furthermore, the causal correlation analysis of security events from multiple sources based on the causal correlation knowledge base specifically includes the following steps:

[0024] Parse the causal association knowledge base to obtain the name of the compound security event type;

[0025] Match the high-risk security events and general security events obtained after focus analysis and statistical analysis with the name of the composite security event type; if they match, fill the real attribute values ​​in the security event into the predicates of the premise set and result set of the composite security event type to obtain the instantiated composite security event;

[0026] Based on the causal relationship between compound security events, the connection between security events is identified to form a multi-step attack scenario diagram, allowing security analysts to clearly understand the entire process and detailed steps of the attack.

[0027] Furthermore, the various types of log data include system logs, application logs, security logs and network logs generated during the operation of the network system.

[0028] Furthermore, the preprocessing includes data cleaning, data merging and data mapping.

[0029] A multi-source heterogeneous log comprehensive analysis system is applied to the multi-source heterogeneous log comprehensive analysis method as described above, comprising:

[0030] The collection module is used to collect various types of log data generated during the operation of the network system;

[0031] The preprocessing module is used to preprocess various types of log data and convert them into log information in a unified format;

[0032] A focused analysis module is used to focus on analyzing log information to obtain various types of security events and present high-importance security events to security analysts;

[0033] Statistical analysis module, which is used to perform statistical analysis on various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system;

[0034] The correlation analysis module is used to perform causal correlation analysis on security events from multiple sources based on the causal correlation knowledge base, discover the correlation between the attack behaviors reflected in the security events, and thus identify the attack process carried out by the attacker on the entire network system.

[0035] A computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the multi-source heterogeneous log comprehensive analysis method as described above.

[0036] A processor is used to run a program, wherein the program executes the multi-source heterogeneous log comprehensive analysis method as described above when running.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] 1. It is able to use multiple analysis techniques to conduct comprehensive analysis on various types of log data, discover the correlation between the attack behaviors reflected in security incidents, and thus show the overall attack process of the attacker on the entire network system.

[0039] 2. By identifying high-risk security incidents, organizations can more effectively allocate security resources to prevent and mitigate potential security threats.

[0040] 3. Through correlation analysis, the correlation between attack behaviors can be discovered from security events from different sources, the attack sequence can be reconstructed, and security analysts can understand the attacker's attack intentions and methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0042] Figure 1 It is a flow chart of a multi-source heterogeneous log comprehensive analysis method of the present invention;

[0043] Figure 2 It is a schematic diagram of the process of the method for evaluating the importance of observed events of the present invention;

[0044] Figure 3It is a schematic diagram of the cause-effect relationship analysis process of the present invention;

[0045] Figure 4 A schematic diagram of a network topology structure of an example of the present invention;

[0046] Figure 5 Schematic diagram of the attack scenario. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0049] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0050] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0051] Embodiment 1

[0052] A large amount of log data is generated during the operation of the network system, and these log data and information related to the security of the network system are of great value. In order to assist security analysts in conducting multi-level and multi-angle analysis of log data, and to find out important and effective information reflecting attack methods and techniques, and to present it to security analysts in a friendly way, this paper proposes a multi-source heterogeneous log comprehensive analysis method, which can perform focused analysis, statistical analysis and correlation analysis on various heterogeneous logs, thereby providing security analysts with high-level attack scenarios and statistical trend views, so that they can fully grasp the security status of the entire network system.

[0053] like Figure 1 The figure shows a flowchart of a multi-source heterogeneous log comprehensive analysis method, including:

[0054] S1: Collect various types of log data generated during the operation of the network system through the log collection Agent. Further, the various types of log data include system logs, application logs, security logs and network logs generated during the operation of the network system.

[0055] S2: Preprocess various types of log data and convert them into log information in a unified format. Further, the preprocessing includes data cleaning, data merging and data mapping.

[0056] S3: Focus on analyzing the log information to obtain various types of security events, and present the high-importance security events to security analysts. That is, match the log information with the rule base to obtain security events, and then evaluate the importance of security events in combination with vulnerability information, service information and network topology structure to obtain high-risk security events. The high-importance security events are presented to security analysts to provide an entry point for further analysis.

[0057] Furthermore, the focused analysis of the log information to obtain various types of security events and presenting the security events with high importance to the security analysts includes the following steps:

[0058] Match the log information with the rule base to obtain security events;

[0059] Evaluate the importance of security incidents and present those with high importance as high-risk security incidents.

[0060] Furthermore, the importance evaluation of the security incident includes the following steps:

[0061] Obtain evaluation indicators of security incidents in terms of target asset importance, attack behavior severity, and observed event relevance;

[0062] Calculate the importance score of security events based on the evaluation indicators;

[0063] The calculated importance score is compared with the importance evaluation threshold range to determine the importance of the security event.

[0064] Furthermore, the importance score calculation formula is as follows:

[0065]

[0066] In the above formula, p is the importance score of the security event; x i represents the i-th evaluation index (i.e., the evaluation factor in Table 1 below); w iis the criticality of the ith evaluation indicator in the importance evaluation (i.e., the weight in Table 1 below), and n is the number of evaluation indicators.

[0067] Under the guidance of the risk assessment formula, a method for evaluating the importance of observed events (i.e., safety events in this application) is given, such as Figure 2 This method calculates the importance of observed events by weighting based on the relevant evaluation indicators of target asset importance, attack behavior severity and observed event relevance. Figure 2 The middle ellipse represents various indicators of the observed event, with x i To represent the i-th evaluation index, the criticality of the i-th index in the importance evaluation is represented by w i Represented by, and then the importance score of the observed event is calculated by formula (1).

[0068] After calculating the importance score of the observed event, the importance level of the current observed event is divided into three types: H, M and L according to the set importance threshold, where H represents high importance, M represents medium importance, and L represents low importance.

[0069] This embodiment takes IDS log data as an example to discuss the implementation of the log focus analysis method based on importance evaluation. According to the importance evaluation method of observed events, on the basis of analyzing the attributes of IDS log data, the IDS log event importance index is set from three aspects: the importance of target assets, the severity of attack behavior, and the relevance of observed events, as shown in Table 1. Combined with the practical experience in IDS log data analysis, the IDS log event importance score is set to "H" when it is greater than or equal to 15, "M" when it is between 4 and 15, and "L" when it is less than 4 points.

[0070] Table 1

[0071]

[0072] Note: h, m, l correspond to integers 5, 2, 0 respectively; y, n correspond to integers 1, 0 respectively.

[0073] Log focus analysis can automatically evaluate the importance of received log data, and present log security events to security analysts according to the set level, so that analysts can focus a lot of energy on those log security events with high importance, and further analyze those events. For example, the application scheme evaluates the importance of log data generated by an IDS deployed in a certain unit within 1 hour, calculates the importance score of the log event according to the evaluation index in Table 1 and formula (1), and evaluates according to the importance evaluation threshold [4, 15]. From the distribution diagram of the evaluation results, it can be concluded that events with an importance evaluation of "H" only account for 10.35%, while events with an importance of "L" account for 68.8%. In this way, the number of log events that security analysts focus on is greatly reduced, thereby improving the analysis efficiency of log events.

[0074] S4: Statistical analysis of various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system. Or statistical analysis of logs, according to certain features that security analysts are concerned about, a large amount of log data is summarized and statistically analyzed to give data distribution and development trends, and at the same time, the statistical results are compared with normal statistical patterns to find abnormal behaviors, and the overall status and trends of the network system are intuitively displayed to security analysts in a graphical way, so that they can have a comprehensive and rapid understanding of the entire network security status.

[0075] S5: Perform causal analysis on security events from multiple sources based on the causal knowledge base to discover the correlation between the attack behaviors reflected in the security events, thereby identifying the attack process carried out by the attacker on the entire network system.

[0076] Furthermore, the causal correlation analysis of security events from multiple sources based on the causal correlation knowledge base specifically includes the following steps:

[0077] Parse the causal association knowledge base to obtain the name of the compound security event type;

[0078] Match the high-risk security events and general security events obtained after focus analysis and statistical analysis with the name of the composite security event type; if they match, fill the real attribute values ​​in the security event into the predicates of the premise set and result set of the composite security event type to obtain the instantiated composite security event;

[0079] Based on the causal relationship between compound security events, the connection between security events is identified to form a multi-step attack scenario diagram, allowing security analysts to clearly understand the entire process and detailed steps of the attack.

[0080] Through the log focus analysis and statistical analysis in the above steps, all security events describing the same attack can be extracted from a large amount of log information, but these security events are often isolated from each other, which is not conducive to security analysts understanding the entire attack scenario and the overall security status of the network system. Therefore, by globally analyzing security events from different sources, at different times, and at different levels, the originally isolated security events are integrated according to their internal connections, thereby discovering the causal relationship between the events and reconstructing the entire attack process, so that security analysts can understand the security status of the overall network system.

[0081] Security incident correlation analysis techniques can be divided into three categories:

[0082] 1) Association method based on attribute similarity, that is, fusion is performed based on the similarity between event attributes. This method is simple in principle and easy to implement, but it cannot discover the causal relationship between events.

[0083] 2) Correlation analysis based on known attack scenarios. Correlation analysis based on known attack scenarios has a high accuracy rate, but it has disadvantages such as difficulty in describing attack scenarios and difficulty in discovering new attack behaviors.

[0084] 3) Correlation analysis based on causal relationships. Based on the inherent connection between security events, that is, by comparing the results of the behavior of an earlier security event with the preconditions of the behavior of a later security event, this method does not need to rely on predefined attack scenarios to discover related attack sequences and can identify attack intentions.

[0085] The present application scheme adopts a causal correlation analysis method to perform correlation analysis on multi-source logs, forming a security event correlation diagram, and presenting attack scenarios from a global perspective, which helps security analysts better understand the attacker's attack intentions.

[0086] Causal association is a security event correlation technology that discovers the internal causal relationship between security events by establishing a form of high-order security events, thereby generating an attack sequence between multiple security events. Due to the causal relationship between the security events generated by each attack step, this article first defines the premise and consequences of each individual attack, and then matches the consequences of the first attack step with the premise of the later attack step to achieve correlation analysis of security events. Referring to the causal association method, predicates are used to describe the premise and results of various types of attacks. For example, UDPVulnerableToBOF (VictimIP, VictimPort) is used to indicate that a UDP service vulnerability is discovered through a scanning attack to determine whether a buffer overflow attack has been performed. In order to facilitate the description of the causal association analysis algorithm, several related definitions are introduced first.

[0087] Definition 1 Compound Security Event Type (CET): It is used to represent the premise and consequence of each type of security event in the causal association knowledge base. The compound security event type is represented by a triple CET = (Fact, Prerequisite, Consequence), where Fact is the attribute name of a series of security events, such as VictimIP, VictimPort, etc.; Prerequisite and Consequence represent the premise set and consequence set of this type of security event, which are expressions composed of predicates and logical operators. For each type of compound security event CET, P(CET) represents the premise set of CET, and C(CET) represents the consequence set of CET.

[0088] For example, a buffer overflow attack can be described by SadmindBufferOverflow = ({VictimIP, VictivmPort}, ExistHost (VietimlP) ∧ VulnerableSadmind (VictimlP), {GainRootAccess (VictimIP)}), so P (SadmindBufferOverflow) = {ExistHost (VictimlP), VulnerableSadmind (VictimlP)} and

[0089] C(SadmindBufferOverflow)={GainRootAccess(VictimlP)}.

[0090] Definition 2 Compound Security Event (CE): Assign values ​​to the various attributes of Fact according to the information contained in the security event, that is, instantiate a compound security event type. For example, a low-order buffer overflow security event, whose VietimIP = 152.1.19.5, VictimPort = 1235, can be represented as CE = {(152.1.19.5, 1235), ExistHost (152.1.19.5) ∧ VulnerableSadmind (152.1.19.5), GainRootAccess (152.1.19.5)}).

[0091] Definition 3 Event Type Correlation: Let CET A and CET BIndicates that two different event types in the associated event library are A )∩P(CET B )=I and I≠Ф, then the event type is called CET A and CET B It is correlated, denoted as Event_Type Correlation (CET A , CET B ).

[0092] Definition 4 Event Correlation: Let ET A and E.T. B Represents two composite security events, which correspond to event types CET in the associated event library A and CET B . And there is Event_Type_Correlation(CET A , CET B ), if there exists a predicate p∈C(ET A ) and p∈P(ET B ), p satisfies the most general unifying permutation θ, then the event ET is called A and E.T. B It is correlated, denoted as EventCorrelation (ET A , E.T. B )

[0093] The process of causal correlation analysis of multi-source log events is as follows: Figure 3 As shown. First, parse the causal association knowledge base to prepare for the generation of compound security events. Then match each high-risk security event and general security event obtained after focus analysis and statistical analysis with the name of the compound security event type in the causal association knowledge base; if matched, fill the real attribute value in the security event into the predicate of the premise set and result set of the compound security event type, thereby completing the generation of the compound security event; then, based on the causal relationship between the compound security events, identify the connection between the security events, and form a multi-step attack scenario diagram, so that security analysts can clearly understand the entire process and detailed steps of the attack.

[0094] This application solution can use multiple analysis techniques to conduct comprehensive analysis on various types of log data, discover the correlation between attack behaviors reflected in security events, and thus show the attack process implemented by attackers on the entire network system as a whole. By identifying high-risk security events, organizations can allocate security resources more effectively to prevent and mitigate potential security threats. Through correlation analysis, the correlation between attack behaviors can be discovered from security events from different sources, and the attack sequence can be reconstructed to help security analysts understand the attacker's attack intentions and methods.

[0095] The multi-source heterogeneous log fusion analysis method helps reveal the security status and potential threats of the network system by analyzing log data from different sources and in different formats. The following are the effects brought by the multi-source heterogeneous log comprehensive analysis method:

[0096] (1) Enhanced security monitoring: By comprehensively analyzing multiple logs, network activities can be monitored more comprehensively, and abnormal behaviors and potential security threats can be discovered in a timely manner.

[0097] (2) Improve incident response speed: Comprehensive analysis can quickly identify and classify security incidents, thereby speeding up incident response and handling.

[0098] (3) Improved attack identification: By using correlation analysis of multi-source log data, attack patterns and attacker behaviors can be identified more accurately.

[0099] (4) Facilitate security decision-making: Comprehensive analysis provides richer information, helping security analysts and decision makers make more informed security strategies and response measures.

[0100] (5) Optimize resource allocation: By identifying high-risk security incidents, organizations can more effectively allocate security resources to prevent and mitigate potential security threats.

[0101] (6) Improve compliance and audit capabilities: Comprehensive analysis of multi-source heterogeneous logs helps meet compliance requirements and supports the security audit process by providing detailed log analysis reports.

[0102] (7) Strengthen data protection: Through real-time monitoring and analysis, the protection of sensitive data can be strengthened to prevent data leakage and abuse.

[0103] (8) Promote cross-departmental collaboration: Comprehensive analysis can integrate log data from different departments and systems to promote information sharing and collaboration across departments.

[0104] (9) Improve the ability to reconstruct attack sequences: Through correlation analysis, the correlation between attack behaviors can be discovered from security events from different sources, and the attack sequence can be reconstructed to help security analysts understand the attacker's attack intentions and methods.

[0105] (10) Reduce false alarm rate: Comprehensive analysis can combine multiple contextual information to reduce false alarms and improve the accuracy of security monitoring.

[0106] In summary, multi-source heterogeneous log fusion analysis significantly improves the efficiency and effectiveness of network security protection by providing more comprehensive and in-depth insights into log data.

[0107] Embodiment 2

[0108] In order to verify the applicability of the comprehensive analysis model and algorithm, this paper uses the attack scenario correlation evaluation dataset constructed by MIT Lincoln Laboratory in 2000 funded by DARPA as experimental data. This dataset is widely used to verify the effectiveness of correlation algorithms. DARPA 2000 provides two attack scenario examples, LLDOS1.0 and LLDOS2.0.2.

[0109] This paper conducts experiments on the LLDOS2.0.2 dataset, using the alarm information obtained from the RealSecure detection dataset as the original security event, and combining Figure 4 The network topology structure is constructed, and relevant security events SE are selected as experimental data. Then, combined with the host vulnerability information and service information, the log events are analyzed by focusing and statistical analysis to obtain high-risk security events HE. The causal correlation analysis using the above algorithm is as follows: Figure 5 Attack scenario shown. Figure 5 The corresponding relationship between the middle nodes and security events is shown in Table 2:

[0110] Table 2

[0111]

[0112] It also provides data information about the network boundary and the network interior as well as host logs. However, the data set does not provide network topology, service information, and vulnerability information of the host, which makes it difficult to conduct comprehensive analysis of the logs in this paper. Therefore, the network topology of the key host is obtained based on the alarm information, such as Figure 4 shown.

[0113] In fact, LLDOS2.0.2 includes a compound attack process, and its complete attack sequence is divided into 5 attack stages:

[0114] 1) Obtain host-related information by performing Hlno query on the DNS server to find Solaris hosts that may have Sadmind vulnerabilities;

[0115] 2) Exploit the host vulnerability to invade the system and obtain the root control authority of 172.16.115.20;

[0116] 3) Download and install the Mstream handler and agent programs via FTP;

[0117] 4) Using 172.16.115.20 as a springboard, invade another host 172.16.115.50 and install the Mstreamagent program;

[0118] 5) The attacker Tenet to 172.16.115.20 and issues a DDoS attack command, causing 172.16.115.20 and 172.16.112.50 to launch a DDos attack on 131.84.1.31 together. Figure 5 The attack process was reconstructed, but there are some inconsistencies. That is, the attacker's DNS_HInfo_Query attack behavior was not described. The reason is that Realsecure did not detect the DNS_HInfo_Query attack behavior.

[0119] In view of the relevance and complexity of multi-source heterogeneous logs, this paper can perform focused analysis, statistical analysis and causal correlation analysis on various types of logs, which is suitable for the multi-level and comprehensive needs of multi-source heterogeneous logs. This paper describes the structure of the log comprehensive analysis model in detail, and gives an example of log focused analysis and a detailed description of the multi-source log causal correlation analysis algorithm. Finally, combined with the analysis of network examples, the applicability and effectiveness of the model, importance evaluation method and causal correlation analysis algorithm proposed in this paper are further verified.

[0120] Embodiment 3

[0121] A multi-source heterogeneous log comprehensive analysis system is applied to the multi-source heterogeneous log comprehensive analysis method as described above, comprising:

[0122] The collection module is used to collect various types of log data generated during the operation of the network system;

[0123] The preprocessing module is used to preprocess various types of log data and convert them into log information in a unified format;

[0124] A focused analysis module is used to focus on analyzing log information to obtain various types of security events and present high-importance security events to security analysts;

[0125] Statistical analysis module, which is used to perform statistical analysis on various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system;

[0126] The correlation analysis module is used to perform causal correlation analysis on security events from multiple sources based on the causal correlation knowledge base, discover the correlation between the attack behaviors reflected in the security events, and thus identify the attack process carried out by the attacker on the entire network system.

[0127] Embodiment 4

[0128] A computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the multi-source heterogeneous log comprehensive analysis method as described above.

[0129] Embodiment 5

[0130] A processor is used to run a program, wherein the program executes the multi-source heterogeneous log comprehensive analysis method as described above when running.

[0131] The present application provides a multi-source heterogeneous log comprehensive analysis method, including: collecting various types of log data generated during the operation of a network system; preprocessing various types of log data and converting them into log information in a unified format; focusing on the log information to obtain various types of security events, and presenting the security events with high importance to security analysts; statistically analyzing various types of security events to obtain data distribution and development trends, and comparing with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system; performing causal correlation analysis on security events from multiple sources according to a causal correlation knowledge base, discovering the correlation between the attack behaviors reflected by the security events, thereby identifying the attack process implemented by the attacker on the entire network system. The present application scheme can use multiple analysis techniques to conduct a comprehensive analysis of various types of log data, discover the correlation between the attack behaviors reflected by the security events, and thus show the attack process implemented by the attacker on the entire network system as a whole. By identifying high-risk security events, organizations can allocate security resources more effectively to prevent and mitigate potential security threats. Through correlation analysis, the correlation between attack behaviors can be found from security events from different sources, and the attack sequence can be reconstructed to help security analysts understand the attacker's attack intentions and methods.

[0132] Those of ordinary skill in the art will appreciate that the units of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0133] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored, etc.

[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-0nlyMemory), random access memory (RAM, RandomAccessMemory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A comprehensive analysis method for multi-source heterogeneous logs. It is characterized in that include: Collect various types of log data generated during the operation of the network system; Preprocess various types of log data and convert them into log information in a unified format; Focus on analyzing log information to obtain various types of security events, and present high-importance security events to security analysts; Conduct statistical analysis on various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system; Based on the causal association knowledge base, causal association analysis is performed on security events from multiple sources to discover the correlation between the attack behaviors reflected in the security events, thereby identifying the attack process carried out by the attacker on the entire network system.

2. According to the multi-source heterogeneous log comprehensive analysis method of claim 1, It is characterized in that The focused analysis of the log information to obtain various types of security events and presenting the high-importance security events to the security analysts includes the following steps: Match the log information with the rule base to obtain security events; Evaluate the importance of security incidents and present those with high importance as high-risk security incidents.

3. According to claim 2, the multi-source heterogeneous log comprehensive analysis method, It is characterized in that The importance evaluation of the security incident comprises the following steps: Obtain evaluation indicators of security incidents in terms of target asset importance, attack behavior severity, and observed event relevance; Calculate the importance score of security events based on the evaluation indicators; The calculated importance score is compared with the importance evaluation threshold range to determine the importance of the security event.

4. According to claim 3, the multi-source heterogeneous log comprehensive analysis method, It is characterized in that The importance score calculation formula is as follows: In the above formula, p is the importance score of the security event; x i represents the i-th evaluation index; w i is the criticality of the i-th evaluation indicator in the importance evaluation, and n is the number of evaluation indicators.

5. According to claim 1, the multi-source heterogeneous log comprehensive analysis method, It is characterized in that The causal correlation analysis of security events from multiple sources based on the causal correlation knowledge base specifically includes the following steps: Parse the causal association knowledge base to obtain the name of the compound security event type; Match the high-risk security events and general security events obtained after focus analysis and statistical analysis with the name of the composite security event type; if they match, fill the real attribute values ​​in the security event into the predicates of the premise set and result set of the composite security event type to obtain the instantiated composite security event; Based on the causal relationship between compound security events, the connection between security events is identified to form a multi-step attack scenario diagram, allowing security analysts to clearly understand the entire process and detailed steps of the attack.

6. According to claim 1, the multi-source heterogeneous log comprehensive analysis method, It is characterized in that The various types of log data include system logs, application logs, security logs and network logs generated during the operation of the network system.

7. The multi-source heterogeneous log comprehensive analysis method according to claim 1, It is characterized in that The preprocessing includes data cleaning, data merging and data mapping.

8. A comprehensive analysis system for multi-source heterogeneous logs, It is characterized in that The multi-source heterogeneous log comprehensive analysis method applied to any one of claims 1 to 7 comprises: The collection module is used to collect various types of log data generated during the operation of the network system; The preprocessing module is used to preprocess various types of log data and convert them into log information in a unified format; A focused analysis module is used to focus on analyzing log information to obtain various types of security events and present high-importance security events to security analysts; Statistical analysis module, which is used to perform statistical analysis on various types of security events to obtain data distribution and development trends, and compare with normal statistical patterns to find abnormal behaviors, thereby showing the overall status and trends of the network system; The correlation analysis module is used to perform causal correlation analysis on security events from multiple sources based on the causal correlation knowledge base, discover the correlation between the attack behaviors reflected in the security events, and thus identify the attack process carried out by the attacker on the entire network system.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the multi-source heterogeneous log comprehensive analysis method according to any one of claims 1 to 7.

10. A processor, It is characterized in that The processor is used to run a program, wherein the program, when running, executes the multi-source heterogeneous log comprehensive analysis method described in any one of claims 1 to 7.

Citation Information

Cited By

  • Ransomware attack path mining and depth identification method based on multivariate alarm log analysis

    CN119520042A

  • Network attack identification method and device based on log data, terminal equipment and storage medium

    CN119544317A

  • Artificial intelligence-based database security analysis method and device, equipment and medium

    CN120257272A

  • Database security analysis method, device, equipment and medium based on artificial intelligence

    CN120257272B

  • Network security intelligent management and control method and system based on multi-source data

    CN121151126A