A network security event analysis method, device and storage medium

Through the matching and comparison of network security event data and attack database and code splitting and reorganization feature matching, the problem of incomplete analysis in the existing technology is solved, in-depth analysis and event tracing of network security events are realized, and the analysis efficiency and Accuracy.

CN115484100BActive Publication Date: 2024-09-27ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211125087.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-15
Publication Date
2024-09-27
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

Existing network security incident analysis methods are inefficient and cannot dig deep into important data information, resulting in incomplete and inaccurate incident analysis.

Method used

By obtaining network security event data, the attack code is matched with the preset attack database. If the match does not meet the conditions, the code is split and the feature matching is reorganized. The host information is combined for comparison. The analysis is completed when the preset conditions are met, and all A manual intervention alarm is issued when the comparison results are not satisfactory.

Benefits of technology

It achieves in-depth analysis of network security incidents, improves incident awareness, provides a solid data analysis basis, and lays the foundation for responding to and preventing network security incidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484100B
    Figure CN115484100B
Patent Text Reader

Abstract

The present application discloses a network security event analysis method, device and storage medium, the method includes information acquisition and feature matching. The device includes an acquisition module, an attack database, a feature matching module, a feature splitting module, and an analysis and tracing module. The storage medium stores a computer program executed by a processor to implement the above-mentioned network security event analysis method. Based on the matching and comparison of network security event data and attack database, the present application conducts a comprehensive analysis of network security events by going deep into the attack code, host information and even the attack data composed of splitting and reorganizing the network security event, avoiding the problem of incomplete and inaccurate event analysis caused by the inability to dig deep into the important data information of the network security event, improving the direction and content of network security event analysis, deeply analyzing network security events, thereby improving the understanding of network security events, and providing a basis for subsequent response and prevention of the network security event and related network security events.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and specifically to a network security event analysis method, device and storage medium. Background Art

[0002] In the information age, network security incidents will have a significant impact on urban information systems and will cause information systems to be unable to provide services normally. Therefore, it is necessary to fully understand various network security incidents so that we can have clear response directions and measures when dealing with network security incidents, so as to avoid the occurrence of network security incidents or stop losses in time in network security incidents. At present, the network security incident analysis method is mainly aimed at collecting evidence on a certain server or device after a security incident, such as manually checking the logs of the attacked server or device. However, this analysis method is inefficient and cannot dig deep into important data information of network security incidents, such as code composition, code features and other key data, and there are problems such as incomplete and inaccurate event analysis. Summary of the invention

[0003] The purpose of this application is to provide a network security event analysis method, device and storage medium to solve the problems of low efficiency, incomplete and inaccurate event analysis in the prior art mentioned in the above background technology.

[0004] To achieve the above objectives, in a first aspect, the present application discloses a network security event analysis method, the method comprising the following steps:

[0005] Information acquisition, acquiring network security event data, the network security event data including attack code and host information, the host information including one or more of host MAC address, IP address, event time, and event result;

[0006] Feature matching, matching the acquired attack code with the preset attack database, when n matches are found, n≥1, the matched result is compared with the host information corresponding to the network security event, when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced based on the analysis result; when no match is found or the comparison result does not meet the preset conditions, the extracted attack code is split and matched with the pre-stored attack database, and the matched result is compared with the host information corresponding to the network security event, when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced based on the analysis result, and when all comparison results do not meet the preset conditions, an attack alarm is sent to the background for manual intervention.

[0007] Preferably, the preset conditions include at least one of the following: the event results corresponding to the network security events are the same, the host MAC addresses are the same, the IP addresses are the same, and the event durations are the same.

[0008] Preferably, the specific steps of splitting the attack code include:

[0009] Extracting a data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information;

[0010] Combine and reorganize the data, use one of the data feature headers as the main keyword, and the other data feature headers as secondary keywords to compose the reorganized data for feature matching.

[0011] Preferably, when no match is found or the comparison result does not satisfy the preset conditions, the main keyword is matched with a preset attack database, all attack data with the main keyword is screened out, and the matched result is compared with the host information corresponding to the network security event. When the comparison result satisfies the preset conditions, the analysis of the network security event corresponding to the main keyword is completed.

[0012] Preferably, after the analysis of the network security event corresponding to the main keyword is completed, the secondary keyword in the reorganized data corresponding to the main keyword is compared with the matched result. When the comparison result satisfies the preset condition and the secondary keyword reaches a preset threshold value P, the analysis of the network security event is completed; otherwise, the reorganized data consisting of a new data feature header is replaced.

[0013] Preferably, the preset threshold value P is 70% to 100%.

[0014] Preferably, the manual intervention includes manually judging the authenticity index of the network security event data and analyzing the network security event according to the authenticity index judgment result, wherein the authenticity index includes one or more of the creation time of the attack code, the attack time, the attack method, the lateral infection sequence of the victim host, the malicious code execution time and the time when other victim hosts are infected with the malicious code.

[0015] In a second aspect, the present application discloses a network security event analysis device, comprising:

[0016] An acquisition module is configured to acquire information to obtain network security event data, wherein the network security event data includes attack code and host information, and the host information includes one or more of host MAC address, IP address, event time, and event result;

[0017] An attack database configured to store a plurality of network attack information, wherein the network attack information includes attack codes and host information, wherein the host information includes one or more of a host MAC address, an IP address, an event time, and an event result;

[0018] A feature matching module, configured to match the network security event data with the network attack information in the attack database;

[0019] A feature splitting module, configured to split and combine attack codes;

[0020] The analysis and tracing module is configured to trace the security incident in the attack database and network data based on the matching results of the feature matching module.

[0021] Preferably, the feature splitting module specifically includes:

[0022] A feature extraction unit configured to extract a data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information;

[0023] A data reorganization unit is configured to reorganize data based on the extraction result of the feature extraction unit, and the data reorganization unit uses one of the data feature headers as a main keyword and other data feature headers as secondary keywords to compose reorganized data for feature matching.

[0024] In a third aspect, the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned network security event analysis method.

[0025] Beneficial effect: The network security event analysis method, device and storage medium of the present application, based on the matching and comparison of network security event data and attack database, deeply analyzes the network security event by attack code, host information and even attack data composed of split and reorganized network security events, which can effectively solve the existing network security event analysis method that only analyzes based on server or device logs, and avoids the problem of incomplete and inaccurate event analysis caused by the inability to dig deep into important data information of network security events. Through multi-directional and multi-element mutual comparison, the direction and content of network security event analysis are improved, and network security events are deeply analyzed, thereby improving the understanding of network security events, and laying a solid data analysis foundation for subsequent response and prevention of the network security event and related network security events. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0027] Figure 1 This is a flowchart of a network security incident analysis method in an embodiment of the present application;

[0028] Figure 2 This is a structural block diagram of a network security event analysis device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0030] In the description of the present disclosure, it should be noted that the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "connected" and "connected" should be understood in a broad sense, which specifically means that there is a signal transmission relationship between modules, which can be a direct line connection relationship between modules or an indirect line connection relationship between modules. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0031] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0032] Example

[0033] refer to Figure 1 A network security incident analysis method is shown, the method comprising the following steps:

[0034] S1-Information acquisition, acquiring network security event data, wherein the network security event data includes attack code and host information, wherein the host information includes one or more of host MAC address, IP address, event time, and event result;

[0035] S2-feature matching, matching the acquired attack code with the pre-set attack database, when n matches can be found, n≥1, the matched result is compared with the host information corresponding to the network security event, and when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced according to the analysis result; when the result cannot be matched or the comparison result does not meet the preset conditions, the extracted attack code is split and matched with the pre-stored attack database, and the matched result is compared with the host information corresponding to the network security event, and when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced according to the analysis result, and when all the comparison results do not meet the preset conditions, an attack alarm is issued to the background for manual intervention. In this embodiment, the preset conditions include at least one of the same event result corresponding to the network security event, the same host MAC address, the same IP address, and the same event duration.

[0036] Specifically, in the feature matching step, when the acquired attack code is matched with the preset attack database but no matching result is obtained or the comparison result does not meet the preset conditions, the specific steps of splitting the attack code include:

[0037] Extracting a data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information;

[0038] Combine and reorganize the data, use one of the data feature headers as the main keyword, and the other data feature headers as sub-keywords to form the reorganized data for feature matching. For example, the main keyword of the first reorganized data is data length, and its sub-keywords are process name, file name, file path, and registry information; the main keyword of the second reorganized data is process name, and its sub-keywords are data length, file name, file path, and registry information; the main keyword of the third reorganized data is file name, and its sub-keywords are data length, process name, file path, and registry information; the main keyword of the fourth reorganized data is file path, and its sub-keywords are data length, process name, file name, and registry information; the main keyword of the fifth reorganized data is registry information, and its sub-keywords are data length, process name, file name, and file path. It should be noted that the data feature header can also be some other attack features in the prior art. These attack features can also be used as the corresponding main keywords or sub-keywords and combined with other data feature headers to form reorganized data. Moreover, the more keywords used in the reorganized data, the better. The advantage of doing so is that it can improve the in-depth analysis of network security incidents and predict the situation of possible network attacks derived from them, thereby achieving a high level of cognition of network security incidents and providing a solid foundation for subsequent network security protection.

[0039] Furthermore, when combining and reorganizing the data, the main keyword is matched with a preset attack database, all attack data with the main keyword is screened out, and the matched results are compared with the host information corresponding to the network security event. When the comparison result meets the preset conditions, the analysis of the network security event corresponding to the main keyword is completed.

[0040] As a preferred implementation of this embodiment, after the analysis of the network security event corresponding to the main keyword is completed, the secondary keyword in the reorganized data corresponding to the main keyword is compared with the matched result. When the comparison result satisfies the preset condition and the secondary keyword reaches the preset threshold value P, the analysis of the network security event is completed; otherwise, the reorganized data consisting of a new data feature header is replaced. The preset threshold value P is 70% to 100%. That is, based on the comparison of the reorganized data, the network attack data with as many identical data feature headers as possible with the reorganized data is matched in the attack database, so as to clarify the attack code and host information corresponding to the network attack data matching the network security event, thereby facilitating the tracing and in-depth understanding of the network security event.

[0041] In this embodiment, the manual intervention includes manually judging the authenticity index of the network security event data and analyzing the network security event according to the authenticity index judgment result, and the authenticity index includes one or more of the creation time of the attack code, the attack time, the attack method, the horizontal infection sequence of the victim host, the execution time of the malicious code, and the time when other victim hosts are infected with the malicious code. When it is impossible to obtain effective network security event analysis results through matching, the network security event is manually judged and analyzed through manual intervention, thereby ensuring that each network security event can be automatically matched or manually intervened to obtain clear recognition.

[0042] This embodiment discloses a Figure 2 The network security event analysis device shown includes an acquisition module, an attack database, a feature matching module, a feature splitting module, and an analysis and tracing module. Specifically:

[0043] An acquisition module is configured to acquire information to obtain network security event data, wherein the network security event data includes attack code and host information, and the host information includes one or more of host MAC address, IP address, event time, and event result;

[0044] An attack database configured to store a plurality of network attack information, wherein the network attack information includes attack codes and host information, wherein the host information includes one or more of a host MAC address, an IP address, an event time, and an event result;

[0045] A feature matching module, configured to match the network security event data with the network attack information in the attack database;

[0046] A feature splitting module is configured to split and combine the attack code. More specifically, the feature splitting module specifically includes: a feature extraction unit configured to extract a data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information; a data reorganization unit configured to reorganize data based on the extraction result of the feature extraction unit, wherein the data reorganization unit uses one of the data feature headers as a primary keyword and the other data feature headers as secondary keywords to form reorganized data for feature matching;

[0047] The analysis and tracing module is configured to trace the security incident in the attack database and network data based on the matching results of the feature matching module.

[0048] The feature matching module obtains the data information in the attack database and the acquisition module respectively and performs corresponding data matching. The feature splitting module performs feature splitting and reorganization on the network security event data obtained in the acquisition module, and then transmits the obtained reorganized data to the feature matching module for matching. The analysis and tracing module performs network security event tracing analysis based on the matching results of the feature matching module.

[0049] This embodiment also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned network security event analysis method.

[0050] The network security event analysis method, device and storage medium of the present application, based on the matching comparison of network security event data and attack database, deeply analyzes the network security event by attack code, host information and even attack data composed of split and reorganized network security events, which can effectively solve the existing network security event analysis method that only analyzes based on server or device logs, and avoids the problem of incomplete and inaccurate event analysis caused by the inability to dig deep into important data information of network security events. Through multi-directional and multi-element mutual comparison, the direction and content of network security event analysis are improved, and network security events are deeply analyzed, thereby improving the understanding of network security events, and laying a solid data analysis foundation for subsequent response and prevention of the network security event and related network security events.

[0051] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A network security incident analysis method, It is characterized in that The method comprises the following steps: Information acquisition, acquiring network security event data, the network security event data including attack code and host information, the host information including one or more of host MAC address, IP address, event time, and event result; Feature matching, matching the acquired attack code with a preset attack database, when n matches are found, n≥1, the matched result is compared with the host information corresponding to the network security event, when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced based on the analysis result, wherein the preset conditions include at least one of the event results corresponding to the network security event are the same, the host MAC address is the same, the IP address is the same, and the event duration is the same; when the result cannot be matched or the comparison result does not meet the preset conditions, the extracted attack code is split and then matched with the pre-stored attack database, when the comparison result meets the preset conditions, the analysis of the network security event is completed, and the source is traced based on the analysis result, and when all comparison results do not meet the preset conditions, an attack alarm is sent to the background for manual intervention; The specific steps of splitting the attack code include: Extract the data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information; combine and reorganize the data, using one of the data feature headers as the main keyword and the other data feature headers as secondary keywords to compose the reorganized data for feature matching, and compare the matched result with the host information corresponding to the network security event.

2. The network security incident analysis method according to claim 1, It is characterized in that When no match is found or the comparison result does not meet the preset conditions, the main keyword is matched with a preset attack database to filter out all attack data with the main keyword, and the matched result is compared with the host information corresponding to the network security event. When the comparison result meets the preset conditions, the analysis of the network security event corresponding to the main keyword is completed.

3. The network security incident analysis method according to claim 2, It is characterized in that After the analysis of the network security event corresponding to the main keyword is completed, the secondary keyword in the reorganized data corresponding to the main keyword is compared with the matched result. When the comparison result satisfies the preset condition and the secondary keyword reaches the preset threshold P, the analysis of the network security event is completed; otherwise, the reorganized data consisting of a new data feature header is replaced.

4. The network security incident analysis method according to claim 3, It is characterized in that The preset threshold value P is 70% to 100%.

5. The network security incident analysis method according to claim 1, It is characterized in that The manual intervention includes manually judging the authenticity index of the network security event data and analyzing the network security event according to the authenticity index judgment result. The authenticity index includes one or more of the creation time of the attack code, the attack time, the attack method, the horizontal infection sequence of the victim host, the malicious code execution time and the time when other victim hosts are infected with the malicious code.

6. A network security incident analysis device, It is characterized in that include: An acquisition module is configured to acquire information to obtain network security event data, wherein the network security event data includes attack code and host information, and the host information includes one or more of host MAC address, IP address, event time, and event result; An attack database configured to store a plurality of network attack information, wherein the network attack information includes attack codes and host information, wherein the host information includes one or more of a host MAC address, an IP address, an event time, and an event result; A feature matching module, configured to match the network security event data with the network attack information in the attack database; The feature splitting module is configured to split and combine the attack code, wherein the specific steps of splitting the attack code include: extracting the data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information; combining and recombining the data, using one of the data feature headers as the main keyword and the other data feature headers as secondary keywords to form the recombined data for feature matching; The analysis and tracing module is configured to trace the security incident in the attack database and network data based on the matching results of the feature matching module.

7. The network security event analysis device according to claim 6, It is characterized in that The feature splitting module specifically includes: A feature extraction unit configured to extract a data feature header of the attack code, wherein the data feature header includes data length, process name, file name, file path, and registry information; A data reorganization unit is configured to reorganize data based on the extraction result of the feature extraction unit, and the data reorganization unit uses one of the data feature headers as a main keyword and other data feature headers as secondary keywords to compose reorganized data for feature matching.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the network security event analysis method described in any one of claims 1 to 5.