Network attack detection method, device, equipment and storage medium
By establishing a node relationship network and performing network attack detection, the existing technology problems of difficulty in network attack detection and low security are solved, and more accurate and efficient network attack detection is achieved, which is especially effective in the face of complex attacks.
Patent Information
- Application Number
- CN202110651433.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-10
AI Technical Summary
In the existing technology, network attack detection is difficult and system security is low. Especially when faced with organized and planned APT attacks, the detection difficulty increases even more.
By obtaining attack data sets of different network attack methods in different network attack events, a node relationship network is established, network attack detection is performed based on the node relationship network, attack characteristic data and transmission paths are extracted, and a node relationship network is constructed to retrieve target nodes and non-target nodes. , identify sets of security events and assess their credibility and processing priority.
It improves the accuracy and efficiency of network attack detection, reduces the difficulty of detection, improves system security, and can more accurately detect whether the system is under network attack. It is especially effective in the face of complex attacks.
Smart Images

Figure CN115473658B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security, and in particular to a network attack detection method, device, equipment and storage medium. Background Art
[0002] In actual applications, network attacks are often encountered. In order to ensure system security, network attacks need to be detected. However, after the relevant technology, network attack detection is difficult and the system security is low. Summary of the invention
[0003] The main purpose of the present invention is to provide a network attack detection method, device, equipment and storage medium, aiming to solve the problems of difficulty in network attack detection and low system security in the prior art.
[0004] To achieve the above object, the present invention provides a network attack detection method, which comprises the following steps:
[0005] Obtain attack data sets corresponding to different network attack methods in different network attack events;
[0006] Based on each of the attack data sets, establishing a node relationship network;
[0007] Based on the node relationship network, network attack detection is performed.
[0008] Optionally, the step of establishing a node relationship network based on each of the attack data sets includes:
[0009] Extracting attack feature data from each of the attack data sets to obtain first attack feature data corresponding to each of the attack data sets; the attack feature data includes strategy feature data, technical feature data, and output feature data;
[0010] respectively determining a transmission path for each of the first attack feature data, wherein the transmission path includes nodes for generating, transmitting, and outputting the first attack feature data;
[0011] A node relationship network is constructed based on the transmission path corresponding to each of the first attack feature data.
[0012] Optionally, the step of performing network attack detection based on the node relationship network includes:
[0013] Acquire network-related data of the network system to be detected within a preset time period to obtain the data to be detected; the network-related data includes: at least one of network data, network device logs, process data, operating system logs and alarm data;
[0014] Extracting second attack feature data from the data to be detected;
[0015] Retrieving the node relationship network to retrieve a target node and a non-target node from the node relationship network, wherein the first attack feature data corresponding to the target node matches the second attack feature data, and the non-target node is a node other than the target node in the node relationship network;
[0016] Target nodes whose node distance is less than or equal to a preset first threshold are determined as belonging to the same security event, and a security event set of the network to be detected is obtained, wherein the node distance is the number of non-target nodes between two different target nodes, and the security event set includes n security events, where n is an integer greater than or equal to 0.
[0017] Optionally, after the step of determining the target nodes whose node distance is less than or equal to the preset first threshold as belonging to the same security event and obtaining the security event set of the network to be detected, the step further includes:
[0018] Determine the credibility score of each security event based on the total number of target nodes of each security event in the security event set and the number of node associations of each target node in each security event; wherein the number of node associations is the number of other nodes directly connected to the target node and belonging to the same security event;
[0019] Based on the credibility score, a processing priority of each of the security events is determined.
[0020] Optionally, after the step of determining the target nodes whose node distance is less than or equal to the preset first threshold as belonging to the same security event and obtaining the security event set of the network to be detected, the step further includes:
[0021] Based on the node relationship network, determine the network attack event to which the target node included in each of the security events belongs, so as to obtain the specific network attack event corresponding to each of the security events;
[0022] Determine the number of target nodes included in the corresponding security event for each specific network attack event , and the total number of nodes included in the node relationship network for each of the specific network attack events ;
[0023] Based on each specific network attack incident and , determine the correlation between each of the security events and the corresponding specific network attack event.
[0024] Optionally, the step of retrieving the node relationship network to retrieve target nodes and non-target nodes from the node relationship network includes:
[0025] Determining the node type of each node in the node relationship network, the node type including an entry node without attack feature data input, a key node with a number of directly associated other nodes greater than a preset second threshold, and an end node without attack feature data output;
[0026] The first attack feature data and the second attack feature data corresponding to the key node, the end node, and the entry node are searched and matched respectively according to the first priority, the second priority, and the third priority, so as to retrieve the target node and the non-target node.
[0027] Optionally, the step of obtaining attack data sets corresponding to different network attack means in different network attack events includes:
[0028] Crawl text information about network attack events;
[0029] Based on the text information, determine a network attack event and various network attack means included in the network attack event;
[0030] Reproduce the attack process of each network attack method;
[0031] The network association data during the attack process of each of the network attack means is obtained to obtain attack data sets corresponding to each of the network attack means.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also proposes a network attack detection device, the network attack detection device comprising:
[0033] An acquisition module is used to acquire attack data sets corresponding to different network attack methods in different network attack events;
[0034] An establishment module, used to establish a node relationship network based on each of the attack data sets;
[0035] The detection module is used to perform network attack detection based on the node relationship network.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a network attack detection device, which includes: a memory, a processor, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, the steps of the network attack detection method described in any one of the above items are implemented.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer program storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned network attack detection methods are implemented.
[0038] The technical solution of the present invention adopts a network attack detection method, obtains attack data sets corresponding to different network attack means in different network attack events, and establishes a node relationship network based on each attack data set; based on the node relationship network, network attack detection is performed; because the node relationship network is established based on the attack data sets corresponding to different network attack means in different network attack events, it includes a large amount of attack data, therefore, based on the node relationship network, it can more accurately detect whether the system is under network attack, thereby reducing the difficulty of network attack detection and improving system security. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] 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. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0040] Figure 1 A schematic diagram of the structure of a network attack detection device in a hardware operating environment involved in an embodiment of the present invention;
[0041] Figure 2 This is a flow chart of a first embodiment of a network attack detection method according to the present invention;
[0042] Figure 3 A diagram showing the relationship between network attack events and strategies, technologies, and implementations in the first embodiment of the network attack detection method of the present invention;
[0043] Figure 4 A diagram showing the relationship between various attack data and TTP in the first embodiment of the network attack detection method of the present invention;
[0044] Figure 5 This is a flow chart of a second embodiment of a network attack detection method according to the present invention;
[0045] Figure 6 A schematic diagram of a node relationship network of a third embodiment of a network attack detection method of the present invention;
[0046] Figure 7 A schematic diagram of a node relationship network of a fourth embodiment of a network attack detection method of the present invention;
[0047] Figure 8It is a schematic diagram of the structure of the network attack detection device of the present invention.
[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0051] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a network attack detection device in a hardware operating environment according to an embodiment of the present invention.
[0052] Network attack detection devices can be computers, physical servers, cloud servers, etc.
[0053] Typically, a network attack detection device includes: at least one processor 101, a memory 102, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network attack detection method described in any of the following embodiments.
[0054] The processor 101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. The processor 101 may also include an AI (Artificial Intelligence) processor, which is used to process operations related to the network attack detection method, so that the network attack detection method model can be trained and learned autonomously to improve efficiency and accuracy.
[0055] The memory 102 may include one or more storage media, which may be non-transitory. The memory 102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory storage medium in the memory 102 is used to store at least one instruction, which is used to be executed by the processor 101 to implement the steps of the network attack detection method provided in the method embodiment of the present application.
[0056] In some embodiments, the network attack detection device may further optionally include: a communication interface 103 and at least one peripheral device. The processor 101, the memory 102 and the communication interface 103 may be connected via a bus or a signal line. Each peripheral device may be connected to the communication interface 103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 104, a display screen 105 and a power supply 106.
[0057] The communication interface 103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 101 and the memory 102. In some embodiments, the processor 101, the memory 102, and the communication interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102, and the communication interface 103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0058] The radio frequency circuit 104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 104 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 104 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WIFI (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0059] The display screen 105 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to collect touch signals on the surface or above the surface of the display screen 105. The touch signal can be input to the processor 101 as a control signal for processing. At this time, the display screen 105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 105 can be one, the front panel of the electronic device; in other embodiments, the display screen 105 can be at least two, respectively arranged on different surfaces of the electronic device or in a folding design; in some further embodiments, the display screen 105 can be a flexible display screen, arranged on a curved surface or a folding surface of the electronic device. Even, the display screen 105 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 105 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0060] The power supply 106 is used to power various components in the electronic device. The power supply 106 can be AC power, DC power, a disposable battery, or a rechargeable battery. When the power supply 106 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology. Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the network attack detection device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0061] In actual applications, network attacks are often encountered. In order to ensure system security, network attacks need to be detected. Existing network attack detection usually includes HASH detection, IP (Internet Protocol) detection, domain name detection, traffic feature detection, process behavior detection, etc.
[0062] Among them, HASH detection is usually based on the HASH algorithm to determine the HASH value of the file to be detected, and compare it with the HASH value of the malicious file obtained in advance, so as to determine whether the file to be detected is a threat, so as to determine whether it is attacked by the network. It should be noted that the HASH algorithm can map values of any length to values of fixed length through the algorithm, and the mapped value is the HASH value. Using the file as the input of the HASH algorithm, a unique HASH value of the file can be obtained. When any bit of the file changes, a completely different HASH value can be obtained through the same HASH algorithm. Common HASH algorithms include MD5, SHA1, and SHA256. However, in this detection method, the cost for the attacker to change the file content is very low. When the malicious file is mutated or there is any slight change, the HASH value of the malicious file will also change completely, and the detection method will become invalid.
[0063] IP detection usually involves pre-collecting information such as malicious IPs, normal IPs, and historical communication records of each IP, and then querying the IP's trusted value and historical communication records based on the collected information to determine whether the IP is a malicious IP, so as to determine whether it has been attacked by a network; or judging whether the IP is threatening by using features such as the IP's access time and access frequency, so as to determine whether it has been attacked by a network. For example, if the same IP accesses a certain system in large quantities, it indicates that the IP is abnormal and has been attacked by a network. However, in actual network attacks, attackers usually use a variety of techniques to change the attack IP, such as using anonymous proxy pools, applying for anonymous cloud hosts, using "zombies" (hacked hosts), etc., resulting in some attack IPs being actually legitimate and normal IPs, making it impossible to detect whether they have been attacked.
[0064] Domain name detection usually involves pre-collecting information such as malicious domain names and normal domain names, and determining the trust value and historical resolution records of the domain name based on the collected information to determine whether the domain name is a malicious domain name, and whether it has been attacked by a network. However, in actual network attacks, attackers often use certain functions of legitimate websites as C2 servers (Command & Control Server) for communication. Once a legitimate website is used for communication, it cannot be detected by domain name.
[0065] Traffic feature detection usually pre-sets a rule base, and then determines whether the traffic meets the rules in the rule base. If it does, the traffic is determined to be malicious traffic and is determined to be under network attack. The rule base may include incomplete traffic protocols, abnormal fields, etc. However, in actual network attacks, if the attacker uses a "0Day" vulnerability (an undisclosed vulnerability) or a "1Day" vulnerability (disclosed but the specific exploitation method is not disclosed) to attack, since there is no corresponding rule in the rule base, it is impossible to detect threats in the traffic through rule matching.
[0066] Process behavior detection usually detects whether preset malicious process operations occur to determine whether a network attack has occurred. Preset malicious process operations include process injection, replacement of system core files, memory dump, etc. However, in actual network attacks, some process formations cannot be directly judged as malicious, such as adding startup items, starting Powershell, listening to ports, taking screenshots, downloading files, recording, etc. It should be noted that Powershell is a command line shell program and scripting environment.
[0067] It can be seen that due to the ever-changing nature of network attacks, it is difficult to detect them using existing network attack detection technologies, and the accuracy of the detection results is low. Especially for organized and planned APT (Advanced Persistent Threat) attacks, since such attacks are usually carefully planned and intelligence has been collected for a long time before the attack, the detection difficulty is further increased.
[0068] In order to solve the above technical problems, based on the above hardware structure, an embodiment of the network attack detection method of the present invention is proposed.
[0069] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a network attack detection method of the present invention. The network attack detection method comprises the following steps:
[0070] Step S21: Acquire attack data sets corresponding to different network attack methods in different network attack events.
[0071] Attack data sets are network-related data during a network attack; one attack data set corresponds to one network attack method in a network attack event. Network-related data includes but is not limited to: at least one of network data, network device logs, process data, operating system logs, and alarm data.
[0072] The network data includes at least one of a source IP address, a destination IP address, a source port, a destination port, a TCP (Transmission Control Protocol) Payload, a UDP (User Datagram Protocol) Payload, and the like.
[0073] Network device logs are operation logs of network devices, including but not limited to user devices (such as computers, mobile phones, etc.), routers, switches, etc. Network device logs include but are not limited to: at least one of user device logs, router logs, switch logs, etc. User device logs include but are not limited to: at least one of System.log (system log), Diagnostic Messages (diagnostic information), install.log (installation log), power management (power management), etc.
[0074] The process data includes but is not limited to: at least one of the process path, process name, process HASH, process network connection record, process API (Application Programming Interface) call record, process file handle, etc.
[0075] The operating system log is the log of the operating system installed on the network device. The operating system includes but is not limited to at least one of the Linux operating system, Uinx operating system, and Windows operating system. The operating system log includes but is not limited to at least one of the Linux log, Uinx log, and Windows log. Among them, Linux logs / Uinx logs include but are not limited to: wtmp, utmp, btmp, system.log, secure, auth.log, etc. Windows logs include but are not limited to at least one of Security, System, Microsoft-Windows-Sysmon / Operational, Microsoft-Windows-PowerShell Operational, Windows PowerShell, and Microsoft-Windows-Sysmon / Operational.
[0076] Alarm data refers to the alarm data detected by security devices, including but not limited to: at least one of IDS (intrusion detection system), IPS (Intrusion Prevention System), full flow monitoring, mail gateway, WAF (Web Application Firewall), security sandbox, terminal antivirus, etc. It should be noted that security devices are devices in the network that detect whether the network is secure and perform repairs.
[0077] It should be understood that a network attack event includes different network attack means. When each network attack means carries out a network attack, the system will generate some data. In the embodiment of the present invention, attack data sets corresponding to different network attack means in different network attack events are obtained.
[0078] Among them, the specific method of obtaining the attack data sets corresponding to different network attack means in different network attack events can be flexibly set according to actual needs.
[0079] For example, in some implementations, step S21 includes: when it is detected that the network system is under a network attack, obtaining network-related data; analyzing the network-related data to classify the network-related data, thereby obtaining an attack data set for each network attack method.
[0080] In some implementations, step S21 includes: crawling text information of network attack events; and determining, from the text information, an attack data set of the network attack events and the network attack means in the network attack events.
[0081] It should be noted that network security engineers and other personnel will publish text information such as analysis, reports, and data on network attack incidents on the Internet; by crawling and analyzing the text information of network attack incidents, it is possible to determine the network attack incidents and the attack data sets corresponding to different network attack methods in the network attack incidents.
[0082] It should be understood that, in the embodiment of the present invention, the manner of obtaining the attack data set includes but is not limited to the above examples, and the attack data set may be obtained in one or at least two manners.
[0083] Step S22: Building a node relationship network based on each attack data set.
[0084] After obtaining the attack data sets corresponding to different network attack methods, each attack data set is analyzed to determine the logical relationship between the attack data sets and establish a node relationship network.
[0085] It should be noted that the specific method of establishing the node relationship network based on each attack data set can be flexibly set according to actual needs. For example, the logical relationship between the attack data sets can be determined based on the attack feature data of each attack data set, so as to establish the node relationship network.
[0086] For example, in the ATT&CK Enterprise (Adversarial Tactics Techniques and Common Knowledge) framework, a cyber attack method can be broken down into Tactics (strategy), Techniques (technology), and Procedure (output), recorded as TTP, for example, see Figure 3 , Figure 3 This is the process of disassembling a network attack incident. In the ATT&CK Enterprise framework, one technology can correspond to multiple strategies, for example, Figure 3 In the example, technology 1 corresponds to strategy 1, strategy 2, and strategy 3. Therefore, each attack data set includes attack feature data (i.e., TTP feature data, TPP feature data includes strategy feature data, technical feature data, and output feature data, where strategy feature data is data corresponding to the attack strategy, technical feature data is data corresponding to the attack technology, and output feature data is data corresponding to the attack output). After obtaining the attack data sets corresponding to different network attack methods in different network attack events, each attack data set can be analyzed to determine the attack feature data corresponding to each attack data set, thereby establishing a node relationship network based on the attack feature data.
[0087] In some implementations, data mining can also be performed based on the TTP features of the attack data set, thereby updating the node relationship network based on the mined data and enriching the content of the node relationship network. Figure 4 As shown, the TTP feature corresponding to the attack data set 1 is determined to be TTP1. Based on TTP1, the associated TTP2 can be determined (wherein TTP2 has the same technology as TTP1). Based on TTP2, the associated TTP3 and TTP4 can be determined (wherein TTP3 has the same technology as TTP2, and TTP4 has the same technology as TTP2). Based on TTP2, TTP3, and TTP4, the corresponding attack data sets can be obtained, which are attack data set 2, attack data set 3, and attack data set 4, respectively.
[0088] It should be noted that, in some implementations, after establishing the node relationship network, it is possible to continue to obtain attack data sets corresponding to different network attack means in different network attack events, and update the node relationship network based on the attack data sets to enrich the content of the node relationship network and further improve the accuracy of network attack detection.
[0089] Step S23: Perform network attack detection based on the node relationship network.
[0090] In the embodiment of the present invention, after the node relationship network is determined, network attack detection is performed based on the node relationship network, wherein the specific detection method can be flexibly set according to actual needs.
[0091] The technical solution of the present invention adopts a network attack detection method to obtain attack data sets corresponding to different network attack means in different network attack events, and establish a node relationship network based on each attack data set; based on the node relationship network, network attack detection is performed; because the node relationship network is established based on the attack data sets corresponding to different network attack means in different network attack events, it includes a large amount of attack data, therefore, based on the node relationship network, it can more accurately detect whether the system is under network attack, thereby reducing the difficulty of network attack detection and improving system security.
[0092] Based on the first embodiment, a second embodiment of the network attack detection method of the present invention is proposed. In the embodiment of the present invention, see Figure 5 As shown, step S21 includes:
[0093] Step S211: crawling text information of network attack events.
[0094] Among them, text information of network attack events can be crawled from the Internet through at least one device such as a text collector and a crawler device.
[0095] Usually, network security websites, network security forums, network security company websites, network security blogs and other network security-related websites will publish text information of network attack incidents. Therefore, in order to improve crawling efficiency, you can crawl network security websites, network security forums, network security company websites, network security blogs and other network security-related websites to obtain text information of network attack incidents.
[0096] Step S212: Based on the text information, determine the network attack event and the network attack means included in the network attack event.
[0097] Usually, the text information of a network attack event will record the network attack means of the network attack event. Therefore, after crawling the text information of the network attack event, the text information is analyzed to obtain the network attack event and the network attack means included in the network attack event.
[0098] Among them, based on the text information, the method of determining the network security incident and each network attack method included in the network attack incident can be flexibly set according to actual needs. In some implementations, the text information can be analyzed to determine the network security incident, and the network attack methods of the network attack incident can be disassembled step by step according to the ATT&CK Enterprise framework to determine the Tactics (strategy), Techniques (technology), and Procedure (output) of each network attack method.
[0099] Step S213: Reproduce the attack process of each network attack method.
[0100] After determining the network attack events and the network attack means corresponding to the network attack events, in order to obtain real attack data, the attack process of each network attack means is reproduced.
[0101] Step S214: Acquire network-related data during the attack process of each network attack method to obtain attack data sets corresponding to each network attack method.
[0102] In the process of reproducing the attack of each network attack method, network related data is collected to obtain the attack data set of each network attack method.
[0103] In some implementations, the collected network association data may be directly used as an attack data set for each network attack method.
[0104] In other implementations, the collected network association data may be preprocessed, and the preprocessed network association data may be used as an attack data set of network attack means to facilitate subsequent storage.
[0105] Among them, the method of preprocessing can be flexibly set according to actual needs. In one example, a standard data model and a classification standard for network-related data can be pre-set (for example, network-related data can be divided into 5 types of data, including network data, network device logs, process data, operating system logs, and alarm data). After obtaining network-related data during the attack process of network attack means, the network-related data can be standardized according to the preset standard data model, and then the standardized data can be filtered, and then the fields with the same meaning of different devices can be refined for clustering, and redundant fields can be deleted to obtain network-related data including different classifications, thereby obtaining an attack data set. Among them, the method of screening can be flexibly set according to actual needs. For example, fields related to specific hosts and fields with large differences can be filtered out, such as high-order random ports, host names, source IPs, and destination IPs of communication source addresses.
[0106] In some implementations, after the attack dataset is acquired, when the attack dataset is stored, the attack dataset may be stored in a database in a unified format and with unified fields.
[0107] In the network attack detection method provided by the embodiment of the present invention, text information of network attack events is crawled, and based on the text information, the network attack events and the network attack means included in the network attack events are determined, the attack process of each network attack means is reproduced, and the network-related data in the attack process of each network attack means is obtained to obtain the attack data sets corresponding to each network attack means, so that the data in the real network attack process can be obtained, thereby improving accuracy.
[0108] Based on the above embodiments, a third embodiment of the network attack detection method of the present invention is proposed. In the embodiment of the present invention, step S22 includes:
[0109] Step S221: extract attack feature data from each attack data set to obtain first attack feature data corresponding to each attack data set.
[0110] The attack feature data includes strategy feature data, technical feature data, and output feature data.
[0111] In the embodiment of the present invention, each attack feature data set is analyzed, and attack feature data is extracted therefrom. The extracted attack feature data is used as first attack feature data to obtain first attack feature data corresponding to each attack data set.
[0112] Step S222: respectively determine the transmission path of each first attack feature data.
[0113] The transmission path includes nodes for generating, transmitting, and outputting the first attack feature data.
[0114] In the embodiment of the present invention, after each first attack feature data is determined, a transmission path is extracted from each first attack feature data, thereby determining the transmission path of each first attack feature data.
[0115] Step S223: constructing a node relationship network based on the transmission path corresponding to each first attack feature data.
[0116] After determining the transmission path corresponding to each attack data, a node relationship network is constructed based on the transmission path corresponding to each first attack feature data.
[0117] The specific method of constructing the node relationship network can be flexibly set according to actual needs. In one example, in the node relationship network, each node includes its corresponding attack data set, and the relationship between each node is determined based on the transmission path of the first attack feature data. In another example, in order to reduce the storage volume of the node relationship network, each node can include its corresponding first attack feature data, and the relationship between each node is determined based on the transmission path of the first attack feature data. For example, assuming that attack feature data 1 is generated by network device A, and the transmission path is from network device A to network device B, and network device B generates attack feature data 2, then the node relationship network includes node 1 and node 2, node 1 includes attack feature data 1, node 2 includes attack feature data 2, and node 1 points to node 2; in order to facilitate knowing which network device generates the attack feature data, the nodes in the node relationship network can also include the identification information of the corresponding network device, for example, node 1 includes the identification information of network device A, and node 2 includes the identification information of network device 2.
[0118] It should be noted that the same network attack means may be used in different network attack events, and the same attack feature data may be obtained. Therefore, when establishing a node relationship network, the same attack feature data in different network attack events can be merged into one node.
[0119] For example, suppose that in network attack event C, network attack means 1 is used to attack first, then network attack means 2 is used to attack, and then network attack means 3 is used to attack. The network attack feature corresponding to network attack means 1 is a, the network attack feature corresponding to network attack means 2 is b, and the network attack feature corresponding to network attack means 3 is c, where a points to b and b points to c; in network attack event D, network attack means 4 is used to attack first, and then network attack means 2 is used to attack. The network attack feature corresponding to network attack means 4 is d, and the network attack feature of network attack means 2 in network attack event D is e, where d points to e; then see Figure 6 , the node relationship network includes 4 nodes, among which node 601 corresponds to a, node 602 corresponds to b, node 603 corresponds to c, and node 604 corresponds to d.
[0120] It should be noted that, in some implementations, when establishing a node relationship network, a label may be set for each node, and the label may include the network attack event to which the node belongs, so that the corresponding network attack event can be subsequently determined based on the label.
[0121] The network attack detection method provided by the embodiment of the present invention extracts attack feature data from each attack data set to obtain first attack feature data corresponding to each attack data set; the attack feature data includes strategy feature data, technical feature data, and output feature data; the transmission path of each first attack feature data is determined respectively, wherein the transmission path includes nodes for generating, transmitting, and outputting the first attack feature data; based on the transmission path corresponding to each first attack feature data, a node relationship network is constructed, so that the node relationship network includes the association relationship between different attack feature data, thereby more accurately detecting network attacks.
[0122] Based on the above embodiments, a fourth embodiment of the network attack detection method of the present invention is proposed. In the embodiment of the present invention, step S23 includes:
[0123] Step S231: Acquire network-related data of the network system to be detected within a preset time period to obtain data to be detected.
[0124] The network system to be detected is a system that needs to be detected to see if a network attack occurs. The network system to be detected can be flexibly set according to actual needs.
[0125] The preset duration can be flexibly set according to actual needs. For example, since the latency of APT attacks is relatively long, the preset duration can be set to be longer, for example, 1 month, 10 days, etc.
[0126] During the operation of the network system to be detected, network associated data will be generated. In the embodiment of the present invention, the network associated data of the network system to be detected within a preset time period is obtained to obtain the data to be detected.
[0127] In some implementations, the acquired network-related data may be directly used as the data to be detected.
[0128] Alternatively, in other implementations, the acquired network association data may be preprocessed, and the preprocessed network association data may be used as the data to be detected, wherein the preprocessing method may refer to the above description and will not be described in detail here.
[0129] Step S232: extracting second attack feature data from the data to be detected.
[0130] In the embodiment of the present invention, after the data to be detected is acquired, attack feature data is extracted from the data to be detected to obtain second attack feature data.
[0131] Step S233: Retrieve the node relationship network to retrieve the target node and the non-target node from the node relationship network.
[0132] The first attack feature data corresponding to the target node matches the second attack feature data. The non-target node is a node other than the target node in the node relationship network.
[0133] In an embodiment of the present invention, a node relationship network is established based on the transmission path corresponding to each first attack feature data, in which each node includes the corresponding first attack feature data. After determining the second attack feature data, the node relationship network is retrieved to determine the target node matching the first attack feature data with the second attack feature data, as well as non-target nodes other than the target node, from the node relationship network.
[0134] Among them, the retrieval method can be flexibly set according to actual needs.
[0135] Step S234: Target nodes whose node distances are less than or equal to a preset first threshold are determined as belonging to the same security event, and a security event set of the network to be detected is obtained.
[0136] It should be noted that the node distance is the number of non-target nodes between two different target nodes.
[0137] The preset first threshold can be flexibly set according to actual needs, for example, it can be set to 4, 5, 6, etc.
[0138] In an embodiment of the present invention, after determining the target node and the non-target node, the target nodes whose node distance is less than or equal to the preset first threshold are determined to belong to the same security event, thereby obtaining a security event set of the network to be detected. That is, in an embodiment of the present invention, after determining at least one target node, the target nodes are classified based on the node distance between each target node, and each classification corresponds to a security event, thereby determining a security event set, wherein in the same security event, the node distance between any two target nodes is less than the preset first threshold. The security event set includes n security events, where n is an integer greater than or equal to 0.
[0139] For a better understanding, an example is given here. For example, see Figure 7As shown, in the node relationship network, 9 target nodes are retrieved, which are respectively recorded as target nodes 701-709, assuming that the preset node distance is 3; among them, the node distance between target node 701 and target node 702 is 0, the node distance between target node 702 and target node 703 is 0, the node distance between target node 702 and target node 704 is 4, the node distance between target node 704 and target node 705 is 0, the node distance between target node 705 and target node 706 is 0, the node distance between target node 705 and target node 707 is 0, and the node distance between target node 707 and target node 708 is 0. The node distance of target node 708 is 1, and the node distance between target node 708 and target node 709 is 1; therefore, since the node distance between any two target nodes in target nodes 701-703 is less than 3, the node distance between any node in target nodes 701-703 and any node in target nodes 704-709 is greater than 3, and the node distance between any two target nodes in target nodes 704-709 is less than 3, therefore, target nodes 701-703 are classified as one security event, recorded as security event 1; target nodes 704-709 are classified as one security event, recorded as security event 2.
[0140] It should be noted that the target nodes included in each security event may overlap or may not overlap; for example, assuming that the threshold is greater than 3, the node distance between target node E and target node F is 2, the node distance between target node F and target node G is 2, and the node distance between target node E and target node G is 4. In one example, target node E and target node F can be divided into one security event, and target node F and target node G can be divided into one security event; or, in another example, if target node E and target node F have been divided into one security event, target node G is divided into another security event, so as to avoid duplication of target nodes in security events.
[0141] The network attack detection method provided by the embodiment of the present invention obtains network association data of a network system to be detected within a preset time length to obtain data to be detected, and extracts second attack feature data from the data to be detected; retrieves a node relationship network to retrieve a target node and a non-target node from the node relationship network, wherein the first attack feature data corresponding to the target node matches the second attack feature data, and the non-target node is a node other than the target node in the node relationship network; determines the target nodes whose node distance is less than or equal to a preset first threshold as belonging to the same security event, and obtains a security event set of the network to be detected, wherein the node distance is the number of non-target nodes between two different target nodes, and the security event set includes n security events are included, where n is an integer greater than or equal to 0, so that the data to be detected is mapped to the node relationship network, and the data with hidden association relationships in the massive big data (i.e., the data to be detected) are mined to form security events, thereby discovering hidden network attacks; in this way, even if the attacker uses a 0Day attack, after breaking into the system, when moving horizontally to attack, there are many attack traces left during the lateral movement. Therefore, based on the network attack detection method provided by the embodiment of the present invention, the target node corresponding to the 0Day attack can be detected, thereby detecting the security event, which is reflected in the relationship network, that is, the entry node is not detected, but the subsequent nodes are detected, thereby reducing the difficulty of detecting network attacks.
[0142] Based on the fourth embodiment, a fifth embodiment of the network attack detection method of the present invention is proposed. In this embodiment of the present invention, step S233 includes:
[0143] Step S2331: Determine the node type of each node in the node relationship network.
[0144] The node types include entry nodes without attack feature data input, key nodes with the number of directly associated other nodes greater than a preset second threshold, and end nodes without attack feature data output. It should be noted that the number of directly associated other nodes is the number of other nodes directly connected to the node, for example, see Figure 7 As shown, the number of other nodes directly associated with the target node 702 is 3, and the number of other nodes directly associated with the target node 706 is 2.
[0145] The preset second threshold can be flexibly set according to actual needs, for example, it can be set to 5, 4, 3, etc.
[0146] Step S2332: Based on the node type of each node, retrieve the node relationship network to retrieve the target node and the non-target node from the node relationship network.
[0147] Among them, the specific retrieval method can be flexibly set according to actual needs.
[0148] In some embodiments, step S2332 includes: searching and matching the first attack feature data and the second attack feature data corresponding to the key node, the end node, and the entry node respectively according to the first priority, the second priority, and the third priority in sequence to retrieve the target node and the non-target node.
[0149] Considering that there are many nodes directly associated with key nodes, there may be multiple network attack methods using the same technology, and the probability of matching is relatively high, the priority of key nodes is set to the first priority; there are often many high-risk operations in the end nodes. In order to detect high-risk operations in time, the priority of the end nodes is set to the second priority; the priority of the entry node is set to the third priority, and the priority of the key node is greater than that of the end node. First, the first attack feature data corresponding to the key node is retrieved and matched with the second attack feature data to determine the target node from the key node; then the first attack feature data corresponding to the end node is retrieved and matched with the second attack feature data to determine the target node from the end node; then the first attack feature data corresponding to the entry node is retrieved and matched with the second attack feature data to determine the target node from the entry node; and based on the determined target node, the non-target node is determined from the node relationship network.
[0150] In some embodiments, step S2332 includes: determining whether there is a key node in the node relationship network; if there is a key node, taking the key node as the starting node, searching the node relationship network; if at least one target node matching the data to be detected is retrieved from the node relationship network, then the process ends; if there is no key node, or taking the key node as the starting node and not retrieving at least one target node matching the data to be detected from the node relationship network, then determining whether there is an end node in the node relationship network; if there is an end node, taking the end node as the starting node, searching the node relationship network; if at least one target node matching the data to be detected is retrieved from the node relationship network, then the process ends; if there is no end node, or taking the end node as the starting node and not retrieving at least one target node matching the data to be detected from the node relationship network, then determining whether there is an entry node in the node relationship network; if there is an entry node, taking the entry node as the starting node and not retrieving at least one target node matching the data to be detected from the node relationship network, then determining whether there is an entry node in the node relationship network; if there is an entry node, taking the entry node as the starting node and retrieving the node relationship network.
[0151] It should be noted that when searching the node relationship network with the entry node, end node or key node as the starting node, the same target node may be retrieved. Therefore, after retrieving the target node, the search results are deduplicated to obtain the final target node to ensure the uniqueness of the node.
[0152] The network attack detection method provided by the embodiment of the present invention determines the node type of each node in the node relationship network, and retrieves the node relationship network based on the node type of each node to retrieve the target node and the non-target node from the node relationship network, thereby improving the detection speed and detection accuracy.
[0153] Based on the fourth embodiment, a sixth embodiment of the network attack detection method of the present invention is proposed. In the embodiment of the present invention, after step S234, the following may also be included:
[0154] Step S235: Determine the credibility score of each security event based on the total number of target nodes of each security event in the security event set and the number of node associations of each target node in each security event.
[0155] The total number of target nodes of a security event is the total number of target nodes included in the security event.
[0156] The node association number is the number of other nodes that are directly connected to the target node and belong to the same security event as the target node. For example, referring to the above example, the only other node that is directly connected to the target node 701 and belongs to the same security event (i.e., security event 1) as the target node 701 is the target node 702. Therefore, the number of associated nodes of the target node 701 is 1. Similarly, the number of associated nodes of the target node 702 is 2, and the number of associated nodes of the target node 703 is 3. The only node that is directly connected to the target node 704 and belongs to the same security event (i.e., security event 2) as the target node 704 is the target node 705. Therefore, the number of associated nodes of the target node 704 is 1. Similarly, the number of associated nodes of the target node 705 is 3. The number of associated nodes of the target nodes 706 and 707 are both 1, and the number of associated nodes of the target nodes 708 and 709 are both 0.
[0157] In an embodiment of the present invention, a credibility score of each security event is determined based on the total number of target nodes of each security event in the security event set and the number of node associations of each target node in each security event, wherein the credibility score can reflect the probability of occurrence of the security event, that is, the credibility of the security event, wherein the higher the score, the higher the credibility of the security event (that is, the higher the probability of a network attack event).
[0158] Among them, the specific method for determining the credibility score can be flexibly set according to actual needs.
[0159] For example, in one example, the score of a security event may be determined based on the following formula:
[0160]
[0161] in Score the credibility of security incidents; is the total number of target nodes of the security event; The maximum value among the node association numbers of each target node of the security event; is the number of target nodes with node association number i in the security event, for The weights of, for example, is the number of target nodes with a node association number of 0 in this security event, for The weight of is the number of target nodes with a node association number of 1 in the security event, for The weight of , and so on, For security events, the number of node associations is The number of target nodes, for The weights can be flexibly set according to actual needs.
[0162] For example, referring to the previous example, the total number of nodes for security event 1 is , in security event 1, the number of target nodes with a node association number of 0 , that is, there is no node with a node association number of 0; the number of nodes with a node association number of 1 , namely, the "target node 701" and "target node 703" nodes; the number of nodes with a node association number of 2 1, i.e. "target node 702". Assume is 0.1, is 0.2, is 0.3, then the score of security incident 1 is as follows:
[0163]
[0164] Total number of security event 2 nodes , the maximum value of the node association number of each target node of security event 2 , that is, the number of associated nodes of target node 705 is the largest, which is 3; in security event 2, the number of target nodes with a node association number of 0 , namely target node 708 and target node 709; the number of target nodes with a node association number of 1 , namely target node 704, target node 706, target node 707; the number of target nodes with a node association number of 2 , that is, there is no node with a node association number of 2; the number of target nodes with a node association number of 3 , that is, the target node 705.
[0165] Step S236: Determine the processing priority of each security event based on the credibility score.
[0166] After determining the credibility score of each security event, the processing priority of the security event is determined based on the credibility score. The logical relationship between the credibility score and the processing priority can be flexibly set according to actual needs. In one example, the higher the credibility score, the higher the processing priority.
[0167] The network attack detection method provided by the embodiment of the present invention determines the credibility score of each security event based on the total number of target nodes of each security event in the security event set and the node association number of each target node in each security event; wherein the node association number is the number of other nodes directly connected to the target node and belonging to the same security event, and based on the credibility score of the security event, determines the processing priority of the security event, thereby processing the security event based on the processing priority of the security event, thereby reducing the risks brought by network attacks.
[0168] Based on the fourth embodiment, a seventh embodiment of the network attack detection method of the present invention is proposed. In the embodiment of the present invention, after step S234, the following may also be included:
[0169] Step S237: Based on the node relationship network, determine the network attack event to which the target node included in each security event belongs, so as to obtain the specific network attack event corresponding to each security event.
[0170] In the embodiment of the present invention, in order to trace the source of the security event, the network attack event to which each target node belongs in the security event is determined based on the node relationship network, so as to obtain the specific network attack event corresponding to each security event. The network attack event to which each target node belongs can be determined based on the label of each target node.
[0171] Step S238: Determine the number of target nodes included in the corresponding security event for each specific network attack event , and the total number of nodes included in the node relationship network for each specific network attack event .
[0172] For each specific network attack event identified, determine the number of target nodes included in the corresponding security event , and the total number of nodes included in the node relationship network . Where x represents the xth specific network attack event.
[0173] Step S239: Based on each specific network attack event and , determine the correlation between each security event and the corresponding specific network attack event.
[0174] The specific determination method can be flexibly set according to actual needs. In one example, the degree of association is determined as follows:
[0175]
[0176] in The degree of association between the security event and the xth specific network attack event. For example, continuing with the previous example, assuming that in security event 2, target nodes 704-707 belong to network attack event 1, and target nodes 708 and 709 belong to network attack event 2, then the specific network attack events of security event 2 include network attack event 1 and network attack event 2. In the node relationship network, network attack event 1 includes 16 nodes, and network attack event 2 includes 10 nodes. The degree of association between security event 2 and network attack event 1 is 4 / 16=0.25, and the degree of association between security event 2 and network attack event 2 is 2 / 10=0.2.
[0177] The network attack detection method provided by the embodiment of the present invention determines the network attack event to which the target node included in each security event belongs based on the node relationship network, so as to obtain the specific network attack event corresponding to each of the security events; and determines the number of target nodes included in the corresponding security event for each specific network attack event. , and the total number of nodes included in the node relationship network for each specific network attack event ; Based on each specific cyber attack incident and , determine the correlation between each security event and the corresponding specific network attack event, so as to determine the correlation between the security event and the specific network attack event, facilitate the tracing of the security event and carry out targeted repairs.
[0178] Reference Figure 8 , Figure 8 The network attack detection device of the present invention is a schematic diagram of the structure of the network attack detection device, which includes:
[0179] The acquisition module 81 is used to acquire attack data sets corresponding to different network attack means in different network attack events.
[0180] The building module 82 is used to build a node relationship network based on each attack data set.
[0181] The detection module 83 is used to perform network attack detection based on the node relationship network.
[0182] It should be noted that the network attack detection device may optionally include corresponding modules to implement other steps in the above-mentioned network attack detection method.
[0183] Computer Program Embodiment
[0184] The present invention also provides a computer program, which implements the steps in the above network attack detection method when executed by a processor.
[0185] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0186] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0187] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0188] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A network attack detection method, characterized in that: The network attack detection method comprises the following steps: Obtain attack data sets corresponding to different network attack methods in different network attack events; Based on each of the attack data sets, establishing a node relationship network; Based on the node relationship network, network attack detection is performed; The step of performing network attack detection based on the node relationship network includes: Retrieving the node relationship network to retrieve target nodes and non-target nodes from the node relationship network; wherein the first attack feature data corresponding to the target node matches the second attack feature data, the first attack feature data is the attack feature data extracted from each of the attack data sets, the second attack feature data is the attack feature data extracted from the data to be detected, and the non-target node is a node other than the target node in the node relationship network; Determine the target nodes whose node distance is less than or equal to a preset first threshold as belonging to the same security event, and obtain a security event set; wherein the node distance is the number of non-target nodes between two different target nodes, and the security event set includes n security events, where n is a positive integer; Determining a processing priority for each of the security events based on the credibility score of each of the security events; Determine the degree of association between each of the security events and the corresponding specific network attack event; wherein the specific network attack event is a network attack event to which the target node included in the security event belongs.
2. The network attack detection method according to claim 1, characterized in that: The step of establishing a node relationship network based on each of the attack data sets includes: Extracting attack feature data from each of the attack data sets to obtain first attack feature data corresponding to each of the attack data sets; the attack feature data includes strategy feature data, technical feature data, and output feature data; respectively determining a transmission path for each of the first attack feature data, wherein the transmission path includes nodes for generating, transmitting, and outputting the first attack feature data; A node relationship network is constructed based on the transmission path corresponding to each of the first attack feature data.
3. The network attack detection method according to claim 2, characterized in that: Before the step of retrieving the node relationship network to retrieve the target node and the non-target node from the node relationship network, the method further includes: Acquire network-related data of the network system to be detected within a preset time period to obtain the data to be detected; the network-related data includes: at least one of network data, network device logs, process data, operating system logs and alarm data; The second attack feature data is extracted from the data to be detected.
4. The network attack detection method according to claim 3, characterized in that: The step of determining the processing priority of each of the security events based on the credibility score of each of the security events comprises: Determine the credibility score of each security event based on the total number of target nodes of each security event in the security event set and the number of node associations of each target node in each security event; wherein the number of node associations is the number of other nodes directly connected to the target node and belonging to the same security event; Based on the credibility score, a processing priority of each of the security events is determined.
5. The network attack detection method according to claim 3, characterized in that: The step of determining the degree of association between each of the security events and the corresponding specific network attack event comprises: Based on the node relationship network, determine the network attack event to which the target node included in each of the security events belongs, so as to obtain the specific network attack event corresponding to each of the security events; Determine the number of target nodes included in the corresponding security event for each specific network attack event , and the total number of nodes included in the node relationship network for each of the specific network attack events ; Based on each specific network attack incident and , determine the correlation between each of the security events and the corresponding specific network attack event.
6. The network attack detection method according to claim 3, characterized in that: The step of retrieving the node relationship network to retrieve target nodes and non-target nodes from the node relationship network includes: Determining the node type of each node in the node relationship network, the node type including an entry node without attack feature data input, a key node with a number of directly associated other nodes greater than a preset second threshold, and an end node without attack feature data output; The first attack feature data and the second attack feature data corresponding to the key node, the end node, and the entry node are searched and matched respectively according to the first priority, the second priority, and the third priority, so as to retrieve the target node and the non-target node.
7. The network attack detection method according to any one of claims 1 to 6, characterized in that: The step of obtaining attack data sets corresponding to different network attack means in different network attack events includes: Crawl text information about network attack events; Based on the text information, determine a network attack event and various network attack means included in the network attack event; Reproduce the attack process of each network attack method; The network association data during the attack process of each of the network attack means is obtained to obtain attack data sets corresponding to each of the network attack means.
8. A network attack detection device, characterized in that: The network attack detection device comprises: An acquisition module is used to acquire attack data sets corresponding to different network attack methods in different network attack events; An establishment module, used to establish a node relationship network based on each of the attack data sets; A detection module, used for performing network attack detection based on the node relationship network; The detection module is also used for: Retrieving the node relationship network to retrieve target nodes and non-target nodes from the node relationship network; wherein the first attack feature data corresponding to the target node matches the second attack feature data, the first attack feature data is the attack feature data extracted from each of the attack data sets, the second attack feature data is the attack feature data extracted from the data to be detected, and the non-target node is a node other than the target node in the node relationship network; Determine the target nodes whose node distance is less than or equal to a preset first threshold as belonging to the same security event, and obtain a security event set; wherein the node distance is the number of non-target nodes between two different target nodes, and the security event set includes n security events, where n is a positive integer; Determining a processing priority for each of the security events based on the credibility score of each of the security events; Determine the degree of association between each of the security events and the corresponding specific network attack event; wherein the specific network attack event is a network attack event to which the target node included in the security event belongs.
9. A network attack detection device, characterized in that: The network attack detection device comprises: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program implements the steps of the network attack detection method according to any one of claims 1 to 7 when executed by the processor.
10. A computer program storage medium, wherein a computer program is stored on the storage medium, characterized in that: When the computer program is executed by a processor, the steps of the network attack detection method according to any one of claims 1 to 7 are implemented.
