Network attack analysis method and device and electronic equipment

By analyzing log information based on the security attack matrix, dividing attack links and determining the attacker level, the problem of difficulty in analyzing attack characteristics and monitoring high-threat attackers in the existing technology is solved, and effective monitoring of high-threat attackers is achieved, reducing the risk of high-threat attackers. Attack risk.

CN119011211APending Publication Date: 2024-11-22CHENGDU NEW HOPE FINANCIAL INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410986451.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing network security analysis is difficult to analyze attack characteristics in detail, which makes it difficult to focus on monitoring high-threat attackers, which may lead to large attack losses.

Method used

By analyzing the collected log information based on the preset security attack matrix, multiple attack links are obtained, divided into links of different attackers, determining the attacker level, and marking target attackers above the preset level is .

Benefits of technology

It realizes accurate monitoring of attackers with higher threats, reduces the risk of being attacked, and improves the pertinence and effectiveness of network security analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011211A_ABST
    Figure CN119011211A_ABST
Patent Text Reader

Abstract

The invention provides a network attack analysis method and device and electronic equipment, and the method comprises the steps: carrying out the analysis of collected log information based on a preset security attack matrix, obtaining a plurality of attack links, and dividing the plurality of attack links into attack links belonging to different attackers, so as to determine the attack links related to each attacker. And for each attacker, determining the attacker level of the attacker according to the attack link related to the attacker, screening out a target attacker of which the attacker level is higher than a preset level, and marking the target attacker. According to the scheme, the specific attack characteristics can be analyzed in combination with the security attack matrix, so that the threat degree of each attacker can be accurately determined, the attacker with the high threat degree can be monitored, and the attack risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network attacks, and in particular to a network attack analysis method, device and electronic equipment. Background Art

[0002] With the rapid development of digitalization and networking, network security identification has far-reaching significance for the security and development of individuals, enterprises, organizations, etc. In existing network security analysis, logs are generally collected and each log is matched with the network attack life cycle to determine the log-related stage. Then the log events are linked together to restore the attacker's series of attack operations and determine whether the attacker's operations are part of the network attack. In addition, log records are associated to determine whether it is the same attacker, predict the network attack methods that the attacker will perform, and determine the attack mitigation actions.

[0003] In the existing network security analysis method, logs are analyzed according to the network attack life cycle template, but the attack characteristics cannot be analyzed specifically. In addition, only log association is used to determine whether they belong to the same attacker, which makes it difficult to focus on monitoring high-threat attacks, which may result in greater attack losses. Summary of the invention

[0004] The purpose of the present invention includes, for example, providing a network attack analysis method, device and electronic device, which can analyze specific attack characteristics and monitor attackers with a higher threat level to reduce the risk of being attacked.

[0005] The embodiments of the present invention can be implemented as follows:

[0006] In a first aspect, the present invention provides a network attack analysis method, the method comprising:

[0007] Analyze the collected log information based on the preset security attack matrix to obtain multiple attack links;

[0008] Dividing the multiple attack links into attack links belonging to different attackers to determine attack links related to each attacker;

[0009] For each of the attackers, determining an attacker level of the attacker according to an attack link related to the attacker;

[0010] Target attackers whose attacker levels are higher than a preset level are screened out, and the target attackers are marked.

[0011] In an optional implementation manner, the step of determining the attacker level of the attacker according to the attack link associated with the attacker includes:

[0012] Obtaining the sensitivity level, attack scope level and threat degree level of the attack link related to the attacker;

[0013] An attacker level of the attacker is determined according to the sensitivity level, the attack range level, and the threat degree level.

[0014] In an optional implementation manner, the threat level of the attack link associated with the attacker is obtained in the following manner:

[0015] Calculate the threat level score according to the attack links related to each attacker, and arrange all the threat level scores in order;

[0016] For each attacker, the threat level of the attack link associated with the attacker is determined according to the ranking position of the threat level score of the attacker among all threat level scores.

[0017] In an optional implementation manner, the step of calculating a threat level score according to the attack links associated with each attacker includes:

[0018] For each of the attackers, obtaining an attack target of an attack link related to the attacker, and determining the asset pointed to by the attack target;

[0019] The threat level score of the attack link is calculated based on the preset asset value corresponding to the asset and the loss value corresponding to the asset.

[0020] In an optional implementation manner, the sensitivity level of the attack link associated with the attacker is obtained in the following manner:

[0021] Obtaining the attack target domain name of the attack link related to the attacker, and obtaining a preset core domain name;

[0022] The sensitivity level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in the core domain name.

[0023] In an optional implementation manner, the attack range level of the attack link associated with the attacker is obtained in the following manner:

[0024] Obtain the attack target domain name of the attack link related to the attacker, and obtain all domain names in the target area;

[0025] The attack scope level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in all the domain names.

[0026] In an optional implementation manner, the step of analyzing the collected log information based on a preset security attack matrix to obtain multiple attack links includes:

[0027] Perform anomaly analysis on the collected log information to obtain abnormal behavior information;

[0028] Obtain the attack types in the threat library related to the preset security attack matrix and obtain the enterprise's asset list;

[0029] A plurality of attack links are obtained by combining the abnormal behavior information, the attack type and the asset list.

[0030] In an optional implementation manner, the step of dividing the multiple attack links into attack links belonging to different attackers includes at least one of the following:

[0031] Obtaining an IP address related to each of the attack links, and obtaining location information of the IP address, and determining an attacker corresponding to each of the attack links according to the location information;

[0032] Obtaining time points and time intervals related to each of the attack links, and determining attackers corresponding to each of the attack links according to the time points and time intervals;

[0033] Obtaining attack targets related to each of the attack links, and determining attackers corresponding to each of the attack links according to the attack targets;

[0034] Attack features associated with each of the attack links are obtained, and attack features of known specific attackers are obtained, and the attack features associated with each of the attack links are compared with the attack features of each of the known specific attackers to determine the attackers corresponding to each of the attack links.

[0035] In a second aspect, the present invention provides a network attack analysis device, the device comprising:

[0036] An analysis module is used to analyze the collected log information based on a preset security attack matrix to obtain multiple attack links;

[0037] A division module, used for dividing the plurality of attack links into attack links belonging to different attackers, so as to determine the attack link related to each attacker;

[0038] A determination module, configured to determine, for each attacker, an attacker level of the attacker according to an attack link associated with the attacker;

[0039] The marking module is used to screen out target attackers whose attacker levels are higher than a preset level and mark the target attackers.

[0040] In a third aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the steps of the method described in any one of the aforementioned implementation modes are implemented.

[0041] The beneficial effects of the embodiments of the present invention include, for example:

[0042] The present invention provides a network attack analysis method, device and electronic device, which analyzes the collected log information based on a preset security attack matrix, obtains multiple attack links, and divides the multiple attack links into attack links belonging to different attackers to determine the attack links related to each attacker. For each attacker, the attacker's attacker level is determined according to the attacker's related attack link, and the target attacker whose attacker level is higher than the preset level is screened out, and the target attacker is marked. In this scheme, the specific attack characteristics can be analyzed in combination with the security attack matrix, so as to accurately determine the threat level of each attacker, so that the attackers with a higher threat level can be monitored to reduce the risk of being attacked. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A flowchart of a network attack analysis method provided by an embodiment of the present invention;

[0045] Figure 2 for Figure 1 A flowchart of the sub-steps included in S11;

[0046] Figure 3 for Figure 1 A flowchart of the sub-steps included in S13;

[0047] Figure 4 for Figure 3 A flowchart of the sub-steps included in S131;

[0048] Figure 5 for Figure 4 A flowchart of the sub-steps included in S1311;

[0049] Figure 6 for Figure 3 Another flow chart of the sub-steps included in S131;

[0050] Figure 7 for Figure 3 Another flow chart of the sub-steps included in S131;

[0051] Figure 8 A functional module block diagram of a network attack analysis device provided by an embodiment of the present invention;

[0052] Fig. 9 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0054] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0056] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0057] See also Figure 1 , is a flow chart of a network attack analysis method provided by an embodiment of the present invention, the network attack analysis method can be implemented by a network attack analysis device, the network attack analysis device can be implemented by software and / or hardware, and can be configured in an electronic device, the electronic device can be a computer device, a server, etc. The detailed steps of the network attack analysis method are described as follows.

[0058] S11, analyzing the collected log information based on a preset security attack matrix to obtain multiple attack links.

[0059] S12, dividing the multiple attack links into attack links belonging to different attackers to determine attack links related to each attacker.

[0060] S13, for each attacker, determining the attacker level of the attacker according to the attack link related to the attacker.

[0061] S14, screening out target attackers whose attacker levels are higher than a preset level, and marking the target attackers.

[0062] In this embodiment, network attack analysis can be performed on a certain area, for example, network attack analysis can be performed on the network of a certain enterprise. Log information can be collected in advance, and the collected log information may include various types of log information, such as Web server logs, firewall / WAF (Web Application Firewall) logs, intrusion detection system logs, terminal security software logs, etc. Among them, the Web server log can record HTTP (Hyper Text Transfer Protocol) request information, which can be used to analyze abnormal access patterns. Firewall / WAF logs can record abnormal traffic information, which can be used to analyze various types of attack attempts. Intrusion detection system logs can record suspicious behavior information, which can be used to analyze attack characteristics. Terminal security software logs can record abnormal activity information on terminal devices.

[0063] The preset security attack matrix can be, for example, the ATT&CK matrix, which is a knowledge base and model of adversarial attack behaviors, and provides a framework to describe in detail the various techniques and strategies that attackers may adopt during an attack. For example, the strategic layer is used to describe the attacker's goals and motivations, as well as how the attacker attacks; the tactical layer is used to describe the actions taken by the attacker to achieve the strategic goals; the technical layer is used to describe the specific methods used by the attacker in the tactics; and the sub-technical layer is used to describe the more detailed attack methods below the technical layer.

[0064] By analyzing the collected log information in combination with the preset security attack matrix, multiple attack links can be obtained. Each attack link includes information such as attack type, attack target, and attack intention. Schematically, the attack link can be: the attacker exploits the SQL injection vulnerability -> Web server -> A database -> sensitive information leakage.

[0065] By analyzing each attack link, it is possible to determine which attack links belong to the same attacker. For example, it is possible to determine which attack links belong to the same attacker based on the IP address of the attack link, the time information of the attack link, the attack target, etc. In this way, for each attacker, the attack links related to the attacker can be determined. The attacker may have one or more attack links. Usually, an attacker often has multiple attack links.

[0066] After determining the attack links associated with each attacker, the attacker's attacker level is determined based on the attacker's associated attack links. For example, the threat level of the attack link can be determined based on the value of the attack target included in the attack link, thereby determining the attacker's attacker level.

[0067] The higher the threat level of the attacker, the higher the attacker level, and vice versa. In this embodiment, a preset level can be set in advance, and attackers with an attacker level higher than the preset level can be considered as high-threat attackers. Attackers with high threat levels can be marked, so that attackers with high threat levels can be monitored in the future, so as to avoid being attacked by such attackers and causing huge losses.

[0068] In the network attack analysis method provided in this embodiment, specific attack characteristics can be analyzed in combination with the security attack matrix, so as to accurately determine the threat level of each attacker, so that attackers with higher threat levels can be monitored to reduce the risk of being attacked.

[0069] See also Figure 2 In this embodiment, the step of analyzing the collected log information based on the preset security attack matrix may include the following sub-steps:

[0070] S111, performing an abnormality analysis on the collected log information to obtain abnormal behavior information therein.

[0071] S112, obtaining attack types in a threat library related to a preset security attack matrix, and obtaining an asset list of the enterprise.

[0072] S113, obtaining multiple attack links by combining the abnormal behavior information, the attack type and the asset list.

[0073] In this embodiment, the collected log information is analyzed for abnormalities to obtain abnormal behavior information. The abnormal behavior information may be, for example, abnormal information of a successful SQL injection vulnerability.

[0074] The security attack matrix includes a threat library, which includes various attack types that may be encountered during the attack process, for example, it may include SQL injection attack types.

[0075] In addition, enterprises generally count their internal assets to form an asset list, where the assets include hardware devices, software systems, etc. The asset list is stored in the electronic device.

[0076] Combine the abnormal behavior information obtained through analysis, the attack types in the threat library, and the asset list to obtain multiple attack links.

[0077] For example, if the asset list includes a Web server, the threat library includes SQL injection attack types, and the abnormal behavior information obtained by analysis includes information about successful SQL injection vulnerabilities, the analysis shows that attackers can use this vulnerability to obtain sensitive information in the database. Then the attack chain obtained can be as follows: attackers use SQL injection vulnerabilities -> Web server -> A database -> sensitive information leakage.

[0078] On the basis of obtaining multiple attack links, the multiple attack links are divided into attack links belonging to different attackers. This step can be achieved by combining one or more of the following methods:

[0079] In one implementation, an IP address related to each of the attack links may be obtained, and location information of the IP address may be obtained, and an attacker corresponding to each of the attack links may be determined based on the location information.

[0080] Each attack link obtained includes an IP address, which is the source IP address of the attack source. The location information of the attack source can be determined based on the IP address. The region in which it is located can be determined based on the location information. Attack links from the same region are very likely to be attack links initiated by the same attacker. Therefore, attack links in the same region can be classified as belonging to the same attacker.

[0081] In another implementation manner, the time points and time intervals related to each of the attack links may be obtained, and the attackers corresponding to each of the attack links may be determined according to the time points and time intervals.

[0082] Attacks launched by the same attacker often have temporal similarities, that is, they may launch attacks at relatively fixed time points, or the time intervals between attacks may be relatively fixed. Therefore, attack links with similar time points and time intervals can be classified as belonging to the same attacker.

[0083] In yet another implementation, an attack target associated with each of the attack links may be obtained, and an attacker corresponding to each of the attack links may be determined according to the attack target.

[0084] Considering that the same attacker often targets the same attack target, for example, attacking a certain system of an enterprise, attacking a certain database of an enterprise, etc. Therefore, attack links with the same attack target can be classified as belonging to the same attacker.

[0085] In addition, in another implementation, the attack characteristics related to each of the attack links can be obtained, and the attack characteristics of a known specific attacker can be obtained, and the attack characteristics related to each of the attack links can be compared with the attack characteristics of each of the known specific attackers to determine the attacker corresponding to each of the attack links.

[0086] Known specific attackers are attackers that have been identified so far, such as IOC organizations, APT organizations, etc. The attack characteristics of this type of attackers are also known. Therefore, after obtaining the attack characteristics of each attack link, you can compare them with the attack characteristics of the known specific attackers. If the similarity between the attack characteristics of the attack link and the attack characteristics of a known specific attacker is higher than the set threshold, it can be determined that the attacker of the attack link is the known specific attacker.

[0087] After determining the attack links associated with each attacker, the attacker level of the attacker can be determined based on the attacker's related attack links. This can be achieved in the following ways. Please refer to Figure 3 :

[0088] S131, obtaining the sensitivity level, attack scope level and threat degree level of the attack link related to the attacker.

[0089] S132: Determine the attacker level of the attacker according to the sensitivity level, the attack range level, and the threat degree level.

[0090] The attacker's attack chain is analyzed, where the sensitivity level can characterize the sensitive information involved in the attacker's attack chain, the attack range level can characterize the scope of the attacker's attack chain, and the threat level can characterize the degree of damage caused to corporate assets by the attacker's attack chain.

[0091] The sensitivity level, attack range level and threat degree level can be converted into numerical form. The final attacker level of the attacker can be obtained by multiplying the sensitivity level, attack range level and threat degree level, or by adding the three together, or by finding the average of the three, etc. This embodiment does not make any specific limitations.

[0092] See also Figure 4 In this embodiment, the threat level of the attack link associated with the attacker can be obtained in the following way:

[0093] S1311, calculating a threat level score according to the attack links related to each attacker, and arranging all threat level scores in order.

[0094] S1312: For each attacker, determine the threat level of the attack link associated with the attacker according to the ranking position of the attacker's threat level score among all threat level scores.

[0095] See also Figure 5 In this embodiment, for each attack link related to the attacker, the threat level score can be calculated in the following way:

[0096] S13111, for each attacker, obtaining the attack target of the attack link related to the attacker, and determining the asset pointed to by the attack target.

[0097] S13112: Calculate the threat level score of the attack link according to the preset asset value corresponding to the asset and the loss value corresponding to the asset.

[0098] In this embodiment, the enterprise will locate the importance of its assets, and the importance of each asset can be converted into asset value, which can be embodied in numerical form. For example, the asset value of the most important asset can be set to 80-100, the asset value of the secondary asset can be set to 50-80, the asset value of the ordinary asset can be set to 30-50, and the asset value of the less important asset can be set to 10-30.

[0099] In addition, the degree of loss caused by an attack on each asset can also be set. For example, for important assets, if they are attacked, their loss value can be set to 0.8-1, for secondary assets, their loss value can be set to 0.5-0.8, for ordinary assets, their loss value can be set to 0.3-0.5, and for less important assets, their loss value can be set to 0.1-0.3.

[0100] For each attack link, the attack target of the attack link can be obtained, and then the targeted asset can be determined. According to the above definitions of asset value and loss value, the threat level score of the attack link can be calculated. Specifically, the threat level score can be calculated according to the following calculation formula:

[0101] Threat level score = asset value * attack success (1 for success, 0 for failure) * loss caused by the attack

[0102] If there are multiple attack links associated with a certain attacker, the threat level scores of the multiple attack links can be added together to obtain the threat level score corresponding to the attacker.

[0103] In this embodiment, after calculating the threat level score of each attack link, information related to the attack link can also be saved. The saved information may include the attack link ID, the path of the attack link, the time of the first discovered attack, the time of the most recent discovered attack, vulnerability exploitation attempt information (such as OA vulnerability exploitation, ThinkPHP code execution, fastjson vulnerability, etc.), attack source IP address list, attack source area list, target domain name or IP of the attack, threat level score, attacker ID, etc.

[0104] In this way, when you are attacked later, you can detect whether there is a matching attack link based on the attack source IP address or vulnerability exploitation characteristics. If there is, you can determine that the current attack belongs to the attacker of the matched attack link. If there is no match, you can create a new attacker information.

[0105] In this embodiment, for each attacker, attacker-related information can be saved, such as attacker ID, attacker name (such as attacker01), time of the most recently discovered attack, behavior tags (such as scanner, APT, etc.), attack source IP address list, etc.

[0106] After obtaining the threat level score of each attacker in the above manner, the threat level scores of all attackers may be arranged in order, for example, in order from large to small, or in order from small to large.

[0107] For a particular attacker, the threat level of the attacker can be determined based on the threat level of the attacker in all threat level scores. For example, if the threat level of an attacker ranks in the top 20% of all threat level scores, the threat level is 10; if it ranks between the top 50% and 20% of all threat level scores, the threat level is 5; if it ranks in the bottom 50% of all threat level scores, the threat level is 1.

[0108] Also, see Figure 6 , the sensitivity level of the attack link related to the attacker can be achieved in the following ways:

[0109] S1313, obtaining the attack target domain name of the attack link related to the attacker, and obtaining a preset core domain name.

[0110] S1314: Determine the sensitivity level of the attack link associated with the attacker according to the proportion of the attack target domain name in the core domain name.

[0111] In this embodiment, for all domain names in the target area, some domain names can be classified as core domain names according to the importance of each domain name, that is, the core domain names are relatively important domain names in the target area. The target area is the area where the network attack analysis is performed, for example, it can be an enterprise, a region, a school, etc.

[0112] For each attacker, the target domain name of the attacker's related attack link can be obtained, and the target domain name can be compared with the core domain name to obtain the proportion of the target domain name in the core domain name. For example, if there are 50 core domain names and 10 of the target domain names are core domain names, the proportion of the target domain name in the core domain name is 20%.

[0113] The higher the proportion of the target domain name in the core domain name, the more sensitive the attack is, and the more harm it may cause. Therefore, the higher the proportion of the target domain name in the core domain name, the higher its sensitivity level. For example, if the target domain name accounts for more than 80% of the core domain name, the sensitivity level is set to 10, if the target domain name accounts for the top 50% to 80% of the core domain name, the sensitivity level is set to 5, and if the target domain name accounts for less than 50% of the core domain name, the sensitivity level is set to 1.

[0114] See also Figure 7 In this embodiment, the attack range level of the attack link related to the attacker can be obtained by:

[0115] S1315, obtaining the attack target domain name of the attack link related to the attacker, and obtaining all domain names in the target area.

[0116] S1316: Determine the attack scope level of the attack link related to the attacker according to the proportion of the attack target domain name in all the domain names.

[0117] In this embodiment, all domain names in the target area can be obtained. Similarly, after determining the attack target domain name of the attack link related to the attacker, the proportion of the attack target domain name in all domain names is calculated. For example, if the number of all domain names is 50, and 20 domain names in the attack target domain names have corresponding domain names in all domain names, then the proportion of the attack target domain name in all domain names is 40%.

[0118] The higher the proportion of the target domain name in all domain names, the wider the attack range of the attacker. Therefore, the higher the proportion of the target domain name in all domain names, the higher the attack range level. For example, if the target domain name accounts for more than 80% of all domain names, the attack range level is set to 10, if the target domain name accounts for the top 50% to 80% of all domain names, the attack range level is set to 5, and if the target domain name accounts for less than 50% of all domain names, the attack range level is set to 1.

[0119] After obtaining the attacker's sensitivity level, attack range level, and threat level through the above methods, the three can be added or multiplied to obtain the attacker's final attacker level. For example, when the three are multiplied, if the value obtained is 1000, the attacker level is the highest level, if the value obtained is between 250-1000, the attacker level is a medium level, and if the value obtained is below 250, the attacker level is a low level.

[0120] The attacker level of each attacker can be obtained through the above method, and attackers with higher attacker levels can be monitored in detail to avoid serious losses caused by attacks by such attackers.

[0121] Based on the same inventive concept, please refer to Figure 8 , shows a schematic diagram of the functional modules of the network attack analysis device provided by an embodiment of the present invention. This embodiment can divide the functional modules of the network attack analysis device according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules.

[0122] It should be noted that the division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, in the case of dividing each functional module according to each function, Figure 8 The network attack analysis device shown is only a schematic diagram of the device. Among them, the application interface data security protection device can include an analysis module, a division module, a determination module and a marking module. The functions of each functional module of the network attack analysis device are described in detail below.

[0123] An analysis module is used to analyze the collected log information based on a preset security attack matrix to obtain multiple attack links;

[0124] It can be understood that the analysis module can be used to execute the above S11. For the detailed implementation of the analysis module, reference can be made to the above contents related to S11.

[0125] A division module, used for dividing the plurality of attack links into attack links belonging to different attackers, so as to determine the attack link related to each attacker;

[0126] It can be understood that the division module can be used to execute the above S12. The detailed implementation of the division module can refer to the above content related to S12.

[0127] A determination module, configured to determine, for each attacker, an attacker level of the attacker according to an attack link associated with the attacker;

[0128] It can be understood that the determination module can be used to execute the above S13. The detailed implementation of the determination module can refer to the above content related to S13.

[0129] The marking module is used to screen out target attackers whose attacker levels are higher than a preset level and mark the target attackers.

[0130] It can be understood that the marking module can be used to execute the above S14. For the detailed implementation of the marking module, reference can be made to the above contents related to S14.

[0131] In a possible implementation, the above-mentioned determination module may be used to determine the attacker level of the attacker in the following manner:

[0132] Obtaining the sensitivity level, attack scope level and threat degree level of the attack link related to the attacker;

[0133] An attacker level of the attacker is determined according to the sensitivity level, the attack range level, and the threat degree level.

[0134] In a possible implementation, the determination module may determine the threat level in the following manner:

[0135] Calculate the threat level score according to the attack links related to each attacker, and arrange all the threat level scores in order;

[0136] For each attacker, the threat level of the attack link associated with the attacker is determined according to the ranking position of the threat level score of the attacker among all threat level scores.

[0137] In a possible implementation, the determination module may be used to determine the threat level score in the following manner:

[0138] For each of the attackers, obtaining an attack target of an attack link related to the attacker, and determining the asset pointed to by the attack target;

[0139] The threat level score of the attack link is calculated based on the preset asset value corresponding to the asset and the loss value corresponding to the asset.

[0140] In a possible implementation, the determination module is used to determine the sensitivity level in the following manner:

[0141] Obtaining the attack target domain name of the attack link related to the attacker, and obtaining a preset core domain name;

[0142] The sensitivity level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in the core domain name.

[0143] In a possible implementation, the determination module is used to determine the attack range level in the following manner:

[0144] Obtain the attack target domain name of the attack link related to the attacker, and obtain all domain names in the target area;

[0145] The attack scope level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in all the domain names.

[0146] In a possible implementation, the analysis module is used to obtain multiple attack links in the following manner:

[0147] Perform anomaly analysis on the collected log information to obtain abnormal behavior information;

[0148] Obtain the attack types in the threat library related to the preset security attack matrix and obtain the enterprise's asset list;

[0149] A plurality of attack links are obtained by combining the abnormal behavior information, the attack type and the asset list.

[0150] In a possible implementation, the division module is used to divide the multiple attack links into attack links belonging to different attackers in at least one of the following ways:

[0151] Obtaining an IP address related to each of the attack links, and obtaining location information of the IP address, and determining an attacker corresponding to each of the attack links according to the location information;

[0152] Obtaining time points and time intervals related to each of the attack links, and determining attackers corresponding to each of the attack links according to the time points and time intervals;

[0153] Obtaining attack targets related to each of the attack links, and determining attackers corresponding to each of the attack links according to the attack targets;

[0154] Attack features associated with each of the attack links are obtained, and attack features of known specific attackers are obtained, and the attack features associated with each of the attack links are compared with the attack features of each of the known specific attackers to determine the attackers corresponding to each of the attack links.

[0155] See also Fig. 9 , is a block diagram of an electronic device provided in an embodiment of the present invention, the electronic device may be a computer device, a server, etc., and the electronic device includes a memory, a processor, and a communication module. The memory, the processor, and the communication module are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses or signal lines.

[0156] The memory is used to store programs or data. The memory may be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), etc.

[0157] The processor is used to read / write data or programs stored in the memory and execute the network attack analysis method provided by any embodiment of the present invention.

[0158] The communication module is used to establish a communication connection between the electronic device and other communication terminals through the network, and is used to send and receive data through the network.

[0159] It should be understood that Fig. 9 The structure shown is only a schematic diagram of the structure of the electronic device. The electronic device may also include Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations are shown.

[0160] Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are executed, the network attack analysis method provided in the above embodiment is implemented.

[0161] Specifically, the computer-readable storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the computer-readable storage medium is executed, the above-mentioned network attack analysis method can be executed. Regarding the process involved when the computer-readable storage medium and its executable instructions are executed, reference can be made to the relevant description in the above-mentioned method embodiment, which will not be described in detail here.

[0162] In summary, the network attack analysis method, device and electronic device provided by the embodiment of the present invention analyze the collected log information based on a preset security attack matrix, obtain multiple attack links, and divide the multiple attack links into attack links belonging to different attackers to determine the attack links related to each attacker. For each attacker, the attacker's attacker level is determined according to the attacker's related attack link, and the target attacker whose attacker level is higher than the preset level is screened out, and the target attacker is marked. In this solution, the specific attack characteristics can be analyzed in combination with the security attack matrix, so as to accurately determine the threat level of each attacker, so that the attackers with a higher threat level can be monitored to reduce the risk of being attacked.

[0163] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A network attack analysis method, characterized in that: The method comprises: Analyze the collected log information based on the preset security attack matrix to obtain multiple attack links; Dividing the multiple attack links into attack links belonging to different attackers to determine attack links related to each attacker; For each of the attackers, determining an attacker level of the attacker according to an attack link related to the attacker; Target attackers whose attacker levels are higher than a preset level are screened out, and the target attackers are marked.

2. The network attack analysis method according to claim 1, characterized in that: The step of determining the attacker level of the attacker according to the attack link related to the attacker includes: Obtaining the sensitivity level, attack scope level and threat degree level of the attack link related to the attacker; An attacker level of the attacker is determined according to the sensitivity level, the attack range level, and the threat degree level.

3. The network attack analysis method according to claim 2, characterized in that: The threat level of the attack link associated with the attacker is obtained in the following way: Calculate the threat level score according to the attack links related to each attacker, and arrange all the threat level scores in order; For each attacker, the threat level of the attack link associated with the attacker is determined according to the ranking position of the threat level score of the attacker among all threat level scores.

4. The network attack analysis method according to claim 3, characterized in that: The step of calculating the threat level score according to the attack links related to each attacker includes: For each of the attackers, obtaining an attack target of an attack link related to the attacker, and determining the asset pointed to by the attack target; The threat level score of the attack link is calculated based on the preset asset value corresponding to the asset and the loss value corresponding to the asset.

5. The network attack analysis method according to claim 2, characterized in that: The sensitivity level of the attack link associated with the attacker is obtained in the following way: Obtaining the attack target domain name of the attack link related to the attacker, and obtaining a preset core domain name; The sensitivity level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in the core domain name.

6. The network attack analysis method according to claim 2, characterized in that: The attack scope level of the attack link associated with the attacker is obtained in the following way: Obtain the attack target domain name of the attack link related to the attacker, and obtain all domain names in the target area; The attack scope level of the attack link associated with the attacker is determined according to the proportion of the attack target domain name in all the domain names.

7. The network attack analysis method according to claim 1, characterized in that: The step of analyzing the collected log information based on a preset security attack matrix to obtain multiple attack links includes: Perform anomaly analysis on the collected log information to obtain abnormal behavior information; Obtain the attack types in the threat library related to the preset security attack matrix and obtain the enterprise's asset list; A plurality of attack links are obtained by combining the abnormal behavior information, the attack type and the asset list.

8. The network attack analysis method according to claim 1, characterized in that: The step of dividing the plurality of attack links into attack links belonging to different attackers comprises at least one of the following: Obtaining an IP address related to each of the attack links, and obtaining location information of the IP address, and determining an attacker corresponding to each of the attack links according to the location information; Obtaining time points and time intervals related to each of the attack links, and determining attackers corresponding to each of the attack links according to the time points and time intervals; Obtaining attack targets related to each of the attack links, and determining attackers corresponding to each of the attack links according to the attack targets; Attack features associated with each of the attack links are obtained, and attack features of known specific attackers are obtained, and the attack features associated with each of the attack links are compared with the attack features of each of the known specific attackers to determine the attackers corresponding to each of the attack links.

9. A network attack analysis device, characterized in that: The device comprises: An analysis module is used to analyze the collected log information based on a preset security attack matrix to obtain multiple attack links; A division module, used for dividing the plurality of attack links into attack links belonging to different attackers, so as to determine the attack link related to each attacker; A determination module, configured to determine, for each attacker, an attacker level of the attacker according to an attack link associated with the attacker; The marking module is used to screen out target attackers whose attacker levels are higher than a preset level and mark the target attackers.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.