A method for noise reduction of alarm logs based on multi-source threat intelligence

Through the alarm log noise reduction processing method of multi-source threat intelligence, using information processing models and trustworthy evaluation standards, the problem of insufficient alarm log noise reduction in the existing technology is solved, ensuring security and efficiency.

CN118626463BActive Publication Date: 2024-10-22GUODIAN DADU RIVER POWER ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411098478.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-10-22
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

In the alarm log denoising process, the existing technology only filters or contextually merges specific types of logs, which results in the inability to effectively evaluate the overall alarm information, and may ignore serious alarm information, resulting in security risks.

Method used

The alarm log denoising processing method based on multi-source threat intelligence is adopted. Through data collection, automated analysis of information processing models and the establishment of trustworthy evaluation standards, enriched standard data is obtained and denoising processing of alarm logs is performed.

Benefits of technology

It effectively prevents serious alarm information with the same alarm source and time from being filtered out to ensure security, while improving the overall evaluation capability of alarm logs and reducing manual analysis time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626463B_ABST
    Figure CN118626463B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for denoising an alarm log based on multi-source threat intelligence, and relates to the technical field of network and information security, comprising: obtaining a plurality of alarm information based on a multi-source log; establishing an information processing model to obtain enriched standard data; establishing a credible evaluation standard; and denoising the alarm log based on the credible evaluation standard. The present invention is used to solve the problems that in the existing method for denoising an alarm log, only a specific type of log is screened, resulting in ignoring the overall evaluation of the alarm log during analysis, and the context of the alarm log cannot be effectively denoised when it is merged, and the alarm logs with the same alarm source and the same alarm time but with relatively serious alarm information are screened out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network and information security technology, and in particular to an alarm log noise reduction processing method based on multi-source threat intelligence. Background Art

[0002] The main content of threat intelligence is the compromised identifiers used to identify and detect threats, such as file HASH, IP, domain name, program running path, registry entries, etc., as well as related attribution tags. Threat intelligence aims to provide comprehensive, accurate, relevant, executable and decision-making knowledge and information to the asset subject facing the threat (usually the enterprise or institution to which the asset belongs). Multi-source threat intelligence usually includes strategic threat intelligence, operational threat intelligence, tactical threat intelligence and technical threat intelligence. The more widely used threat intelligence in the industry is mainly at the technical threat intelligence level; integrate threat intelligence to form real-time log data, and visual monitoring can be performed through log management. Alarm log files are a special type of tracking files, namely trace files; alarm log files are generally named alert_ <sid>.log, where SID is the name of the ORACLE database instance; the database alarm log records messages and error information in chronological order; the alarm log can effectively monitor the system operation status, discover and solve problems in a timely manner, and improve the availability and stability of the system.

[0003] Existing improvements for denoising alarm logs usually filter specific types of logs or merge the context of alarm logs. Filtering specific types of logs results in only independent analysis of alarm logs during analysis, thereby ignoring the overall assessment of alarm logs, which creates security risks. Merging the context of alarm logs can only reduce the number of overall alarm logs, but cannot effectively reduce noise and thus reduce the time for manual analysis. In addition, there are also existing improvements based on address and time related features. For example, in the Chinese patent application publication number CN114020735A, a security alarm log denoising method is disclosed. Method, device, equipment and storage medium. This solution uses address information and event type as initial grouping conditions, and realizes noise reduction of contextual security alarm logs based on time and behavior characteristics, filters low-risk alarms, and retains high-value information. Although this analysis method can filter alarm logs from the perspective of time and address to reduce noise, this analysis method cannot effectively filter the alarm information of the alarm log based on time and address, thereby filtering out alarm logs with the same alarm source and the same alarm time but with more serious alarm information, which in turn creates security risks. In view of this, it is necessary to improve the noise reduction of existing alarm logs. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to a certain extent at least, by proposing a method for denoising an alarm log based on multi-source threat intelligence, collecting data based on multi-source logs, and obtaining multiple alarm information based on the collected results; establishing an information processing model, using the information processing model to automatically parse multiple alarm information to obtain enriched standard data of each alarm type; then establishing a trusted evaluation standard based on the enriched standard data of the alarm type; finally, denoising the alarm log based on the trusted evaluation standard, so as to solve the problem that in the prior art, only specific types of logs are screened, resulting in only independent analysis of the alarm log during analysis, thereby ignoring the overall evaluation of the alarm log; merging the context of the alarm log can only reduce the number of the overall alarm log, and cannot effectively reduce the noise to reduce the time of manual analysis; the alarm logs with the same alarm source and the same alarm time but with more serious alarm information will be screened out, thereby causing security risks.

[0005] To achieve the above object, the present invention provides an alarm log denoising processing method based on multi-source threat intelligence, comprising:

[0006] Collect data based on multi-source logs, and obtain multiple alarm information based on the collection results; establish an information processing model, and use the information processing model to automatically analyze multiple alarm information to obtain enriched standard data for each alarm type;

[0007] Establish credible evaluation criteria based on enriched standard data of alarm types;

[0008] Perform noise reduction on alarm logs based on trustworthy judgment criteria.

[0009] Furthermore, data collection is performed based on multi-source logs, and multiple alarm information is obtained based on the collection results; an information processing model is established, and the information processing model is used to automatically parse multiple alarm information to obtain enriched standard data of each alarm type, including the following sub-steps:

[0010] Collect data from multi-source logs, obtain multiple alarm information from the multi-source logs, and record them as alarm information 1 to alarm information N respectively; establish an information processing model, and use the information processing model to analyze the alarm information;

[0011] Obtain information analysis methods based on analysis results;

[0012] The information analysis method is stored in the information processing model, and the alarm information is analyzed based on the information analysis method to obtain the alarm characteristics;

[0013] Based on the alarm characteristics of all alarm information, enriched standard data of each alarm information is obtained.

[0014] Furthermore, the information processing model includes an alarm analysis sub-method, and the alarm analysis sub-method includes:

[0015] The alarm types corresponding to all alarm information are recorded as alarm types LX1 to LXα, respectively. For any alarm information N1 among alarm information 1 to alarm information N, the alarm type of alarm information N1 is recorded as LXα1, and the number of alarm information of alarm type LXα1 in all alarm information is recorded as L; the alarm time of alarm information N1 is recorded as T, and the number of alarm information of alarm time T in all alarm information is recorded as R. The same-area ratio algorithm is used to obtain the same-area ratio of alarm information N1. The same-area ratio algorithm is: , where F1 is the same-zone ratio, R1 is the number of alarm information with alarm time T and alarm type LXα1, and when obtaining the alarm time, only the hour and minute of the alarm time are obtained.

[0016] Furthermore, the alarm analysis sub-method also includes:

[0017] Based on the analysis method of alarm information N1, all alarm information of alarm type LXα1 is analyzed, and all obtained same-area ratios are recorded as same-area ratio QB1 to same-area ratio QBL in sequence. The time fluctuation value of the alarm information of alarm type LXα1 is obtained using the proportion fluctuation algorithm. The proportion fluctuation algorithm is:

[0018] , where F2 is the time fluctuation value, fi is the i-th same-area ratio from the same-area ratio QB1 to the same-area ratio QBL, It is the average value of the same area proportion QB1 to the same area proportion QBL.

[0019] Furthermore, the information analysis method based on the analysis result includes:

[0020] Based on the alarm analysis sub-method, the time fluctuation values ​​of all alarm types are obtained, and an information analysis method is established based on the time fluctuation values. The information analysis method includes:

[0021] For any alarm information β, the alarm time of alarm information β is obtained, recorded as Tβ, and the alarm information whose alarm time is closest to Tβ and not equal to Tβ among alarm information 1 to alarm information N is obtained based on the information processing model, recorded as alarm information β1; the time fluctuation value of the alarm type of alarm information β1 is recorded as the reference fluctuation value;

[0022] Obtain the source of the alarm information β, recorded as source β; obtain the alarm time and reference fluctuation value of all alarm information except the alarm information β issued by the source β; establish a plane rectangular coordinate system, recorded as the source analysis coordinate system, wherein the unit of the X-axis of the source analysis coordinate system is time, and the unit of the Y-axis of the source analysis coordinate system is the reference fluctuation value;

[0023] The alarm time and reference fluctuation value of all alarm information except the alarm information β issued by the source β are punctuated in the source analysis coordinate system and recorded as the source reference point; the maximum value of the difference between the vertical coordinates of all source reference points is recorded as the maximum fluctuation difference.

[0024] Furthermore, the method for obtaining information analysis based on the analysis result also includes:

[0025] The alarm time and reference fluctuation value based on the alarm information β are punctuated in the source analysis coordinate system and recorded as point β; the source reference point with the smallest difference between the horizontal coordinate and the point β is obtained, which is recorded as the difference reference point; the difference between the vertical coordinate of the difference reference point and the vertical coordinate of the point β is obtained, which is recorded as the actual difference; when the actual difference is greater than the maximum fluctuation difference, the alarm information β is recorded as the new alarm information; when the actual difference is less than or equal to the maximum fluctuation difference, the alarm information β is recorded as the old alarm information.

[0026] Furthermore, the method for obtaining information analysis based on the analysis result also includes:

[0027] When the alarm information β is new alarm information, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β;

[0028] When the alarm information β is an old alarm information, the alarm text of the alarm information β is checked for duplication with the alarm texts of all alarm information sent by the source β except the alarm information β. When the repetition rate of the alarm text of the alarm information β and the alarm text of any alarm information γ sent by the source β except the alarm information β is greater than the standard repetition rate, the processing flow of the alarm information γ is recorded as the alarm feature of the alarm information β; when the repetition rate of the alarm text of the alarm information β and the alarm texts of all alarm information sent by the source β except the alarm information β is less than or equal to the standard repetition rate, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β.

[0029] Furthermore, obtaining enriched standard data of each alarm information based on the alarm characteristics of all alarm information includes:

[0030] Record alarm information 1 to alarm information N as alarm information to be processed, analyze alarm information 1 to alarm information N based on the information parsing method and obtain alarm features of all alarm information;

[0031] For any alarm type LXα1 from alarm type LX1 to alarm type LXα, when the number of alarm features of all alarm information corresponding to alarm type LXα1 that are processing flows is greater than the number of alarm features that are alarm texts, the enriched standard data of alarm type LXα1 is set to connect the processing flows with the alarm logs by field;

[0032] When the number of alarm features of processing flow in the alarm features of all alarm information corresponding to the alarm type LXα1 is less than the number of alarm features of alarm text, the enriched standard data of the alarm type LXα1 is set to connect the alarm text with the alarm log by field;

[0033] Get the settings for enriched standard data for all alarm types.

[0034] Furthermore, the trustworthy judgment criteria are established based on the enriched standard data of the alarm type, including:

[0035] For any alarm type LXα1, the enriched standard data of the alarm information of the alarm type LXα1 in the alarm information 1 to the alarm information N are recorded as enriched data SJ1 to enriched data SJV in sequence, where V is the number of alarm information of the alarm type LXα1 in all the alarm information;

[0036] For any enriched data SJV1 from the enriched data SJ1 to the enriched data SJV, the number of fields connected when the fields are connected in the enriched data SJV1 is obtained, which is recorded as the number of connection features; the interval [Pmin, Pmax] formed by the number of connection features of all enriched data is recorded as the judgment standard interval, wherein Pmin is the minimum number of connection features of all enriched data, and Pmax is the maximum number of connection features of all enriched data;

[0037] The trustworthiness judgment standard of alarm type LXα1 is set to that the number of connected fields is within the judgment standard range when the fields are connected;

[0038] Based on the analysis method of alarm type LXα1, the credible judgment criteria of all alarm types are obtained.

[0039] Furthermore, the noise reduction process of the alarm log based on the trustworthiness judgment standard includes:

[0040] When the alarm log Ω to be denoised is obtained, the alarm type of the alarm log Ω is recorded as the alarm type LXΩ, and the enriched standard data of the alarm log Ω is obtained based on the setting method of the enriched standard data of the alarm type LXΩ; the number of connection features of the enriched standard data of the alarm log Ω is recorded as sumΩ, and when sumΩ is within the judgment standard range of the alarm type LXΩ, the alarm log Ω is processed based on the processing method of the alarm information whose alarm type is the alarm type LXΩ in the alarm information 1 to the alarm information N;

[0041] When sumΩ is outside the judgment standard range of the alarm type LXΩ, the alarm log Ω is sent to the staff for further processing.

[0042] Beneficial effects of the present invention: the present invention firstly collects data based on multi-source logs, obtains multiple alarm information based on the collected results; establishes an information processing model, uses the information processing model to automatically parse multiple alarm information, and obtains enriched standard data for each alarm type; then establishes a credible evaluation standard based on the enriched standard data of the alarm type; finally, performs noise reduction processing on the alarm log based on the credible evaluation standard. The advantage of this is that by using the information processing model to automatically parse the alarm information and obtain the enriched standard data, the alarm information can be analyzed based on the time information, and the alarm information can be enriched based on the type of the alarm information. That is, by enriching the standard data, it is possible to judge whether the alarm information can be automatically processed based on the trusted evaluation criteria obtained from the enriched standard data, thereby preventing the safety hazards caused by screening out alarm logs with the same alarm source and the same alarm time but with more serious alarm information when noise reduction is performed only through the time and address data of the alarm information. At the same time, by obtaining enriched standard data, it is possible to ensure that the alarm log can be evaluated as a whole during analysis, and the alarm information that cannot be automatically processed will be sent to the staff through the trusted evaluation criteria. It can also maximize the alarm information processed by the staff as alarm information that can only be processed manually, thereby achieving efficient noise reduction. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is a flow chart of the steps of the method of the present invention;

[0044] Figure 2 It is a schematic diagram of obtaining the maximum fluctuation difference and the actual difference of the present invention;

[0045] Figure 3 It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION

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

[0047] Example 1, please refer to Figure 1 As shown, the present application provides an alarm log noise reduction processing method based on multi-source threat intelligence, including: step S1, data collection based on multi-source logs, and obtaining multiple alarm information based on the collection results; establishing an information processing model, and using the information processing model to automatically parse multiple alarm information to obtain enriched standard data for each alarm type.

[0048] Step S1 includes the following sub-steps: Step S101, collect data from multi-source logs, obtain multiple alarm information in the multi-source logs, and record them as alarm information 1 to alarm information N respectively; establish an information processing model, and use the information processing model to analyze the alarm information.

[0049] The information processing model includes an alarm analysis sub-method, which includes:

[0050] The alarm types corresponding to all alarm information are recorded as alarm types LX1 to LXα, respectively. For any alarm information N1 among alarm information 1 to alarm information N, the alarm type of alarm information N1 is recorded as LXα1, and the number of alarm information of alarm type LXα1 in all alarm information is recorded as L; the alarm time of alarm information N1 is recorded as T, and the number of alarm information of alarm time T in all alarm information is recorded as R. The same-area ratio algorithm is used to obtain the same-area ratio of alarm information N1. The same-area ratio algorithm is: , where F1 is the same-zone ratio, R1 is the number of alarm information with alarm time T and alarm type LXα1, and when obtaining the alarm time, only the hour and minute of the alarm time are obtained.

[0051] In the specific implementation process, for example, in a data analysis, the total number of alarm information is 100, the alarm type of alarm information N1 is α-type device alarm, the number of alarm information of α-type device alarm in all alarm information is 10, the alarm time of alarm device N1 is 15:00, the number of alarm information of 15:00 in all alarm information is 15, and the number of alarm information of α-type device alarm with alarm time of 15:00 is 5. Then, the same-area ratio of alarm information N1 can be calculated by the same-area ratio algorithm as follows: ;

[0052] Based on the analysis method of alarm information N1, all alarm information of alarm type LXα1 is analyzed, and all obtained same-area ratios are recorded as same-area ratio QB1 to same-area ratio QBL in sequence. The time fluctuation value of the alarm information of alarm type LXα1 is obtained using the proportion fluctuation algorithm. The proportion fluctuation algorithm is: , where F2 is the time fluctuation value, fi is the i-th same-area ratio from the same-area ratio QB1 to the same-area ratio QBL, It is the average value of the same area proportion QB1 to the same area proportion QBL.

[0053] In the specific implementation process, for example, in a data analysis process, the alarm information of the alarm type α device alarm is obtained, and the ratios of all the same areas are 5, 3, 8, 6, 23 and 3 respectively. Then, it can be calculated that the time fluctuation value of the alarm information of the alarm type α device alarm is 48;

[0054] Step S102, obtaining an information parsing method based on the analysis result.

[0055] Step S102 includes: obtaining time fluctuation values ​​of all alarm types based on the alarm analysis sub-method, and establishing an information analysis method based on the time fluctuation values, the information analysis method including:

[0056] For any alarm information β, the alarm time of alarm information β is obtained, recorded as Tβ, and the alarm information whose alarm time is closest to Tβ and not equal to Tβ among alarm information 1 to alarm information N is obtained based on the information processing model, recorded as alarm information β1; the time fluctuation value of the alarm type of alarm information β1 is recorded as the reference fluctuation value;

[0057] Obtain the source of the alarm information β, recorded as source β; obtain the alarm time and reference fluctuation value of all alarm information except the alarm information β issued by the source β; establish a plane rectangular coordinate system, recorded as the source analysis coordinate system, wherein the unit of the X-axis of the source analysis coordinate system is time, and the unit of the Y-axis of the source analysis coordinate system is the reference fluctuation value;

[0058] In the specific implementation process, when an alarm information sent by the source β is obtained and is not in the alarm information 1 to the alarm information N, the alarm information can be inserted into the alarm information 1 to the alarm information N, and then the reference fluctuation value of the alarm information is obtained based on the alarm information 1 to the alarm information N+1;

[0059] The alarm time and reference fluctuation value of all alarm information except the alarm information β issued by the source β are punctuated in the source analysis coordinate system and recorded as the source reference point; the maximum value of the difference between the vertical coordinates of all source reference points is recorded as the maximum fluctuation difference.

[0060] In the specific implementation process, please refer to Figure 2 As shown, the point corresponding to ○ is the source reference point. Figure 2 Analysis shows that the difference between the ordinates of point KK1 and point KK2 is the maximum fluctuation difference;

[0061] Step S102 also includes: marking the alarm time and reference fluctuation value of the alarm information β in the source analysis coordinate system, recorded as point β; obtaining the source reference point whose horizontal coordinate is the smallest different from point β, recorded as the difference reference point, obtaining the difference between the vertical coordinate of the difference reference point and the vertical coordinate of point β, recorded as the actual difference, when the actual difference is greater than the maximum fluctuation difference, recording the alarm information β as new alarm information; when the actual difference is less than or equal to the maximum fluctuation difference, recording the alarm information β as old alarm information.

[0062] In the specific implementation process, please refer to Figure 2 As shown, the point corresponding to △ is point β, through Figure 2 From the analysis, it can be obtained that point KK1 is the difference reference point, the difference between the ordinates of point KK1 and point KK3 is the actual difference, and the actual difference is less than the maximum fluctuation difference, so the alarm information β can be recorded as the old alarm information; when the alarm information is classified as the old alarm information, it means that the characteristics of the alarm time of the alarm information are less different from those of other alarm information, so in the subsequent analysis, the processing flow of other alarm information can be used as the alarm feature of the alarm information and further analyzed; and when the alarm information is classified as the new alarm information, it means that the characteristics of the alarm time of the alarm information are different from those of other alarm information. The difference between the two types of information is large. Therefore, in the subsequent analysis, the alarm text should be used as the alarm feature of the alarm information and then the alarm information should be analyzed from the perspective of the alarm text. The alarm text is the text information that records the specific content of the alarm information. For example, when the alarm information is "abnormal login", the alarm text is "the user's login IP address is inconsistent with the previous one" or "the user logs in from a new device or location". The above "abnormal login" corresponds to the alarm information, and "the user's login IP address is inconsistent with the previous one" or "the user logs in from a new device or location" corresponds to the specific content of the alarm text;

[0063] When the alarm information β is new alarm information, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β;

[0064] When the alarm information β is an old alarm information, the alarm text of the alarm information β is checked for duplication with the alarm texts of all alarm information sent by the source β except the alarm information β. When the repetition rate of the alarm text of the alarm information β and the alarm text of any alarm information γ sent by the source β except the alarm information β is greater than the standard repetition rate, the processing flow of the alarm information γ is recorded as the alarm feature of the alarm information β; when the repetition rate of the alarm text of the alarm information β and the alarm texts of all alarm information sent by the source β except the alarm information β is less than or equal to the standard repetition rate, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β.

[0065] In the specific implementation process, the standard repetition rate can be set according to the repetition difference standard between the alarm texts during actual analysis. In this embodiment, the standard repetition rate is set to 70%;

[0066] Step S103: store the information analysis method into the information processing model, analyze the alarm information based on the information analysis method, and obtain the alarm characteristics.

[0067] Step S104, based on the alarm characteristics of all alarm information, obtain the enriched standard data of each alarm information. Step S104 includes: recording alarm information 1 to alarm information N as alarm information to be processed, analyzing alarm information 1 to alarm information N based on the information parsing method and obtaining the alarm characteristics of all alarm information; the alarm information to be processed specifically refers to the alarm information to be processed by the staff. When an alarm message appears, for example, the alarm message is a security alarm event, and the alarm text is an abnormal situation such as an attack on an asset by a malicious IP or an asset being invaded; the alarm message is a data collection alarm, and the alarm text is an abnormality of parameters such as real-time monitoring of temperature, pressure, vibration, and gas concentration; the staff's pending work is the need to perform system security upgrades or production equipment parameter checks;

[0068] For any alarm type LXα1 from alarm type LX1 to alarm type LXα, when the number of alarm features of all alarm information corresponding to alarm type LXα1 that are processing flows is greater than the number of alarm features that are alarm texts, the enriched standard data of alarm type LXα1 is set to connect the processing flows with the alarm logs by field;

[0069] In the specific implementation process, when the number of alarm features of the alarm information of the same alarm type that are processing flows is relatively large, it means that the alarm features of the alarm information of the alarm type are more inclined to the processing flow, so the processing flow can be used as a basis for obtaining enriched standard data;

[0070] When the number of alarm features of processing flow in the alarm features of all alarm information corresponding to the alarm type LXα1 is less than the number of alarm features of alarm text, the enriched standard data of the alarm type LXα1 is set to connect the alarm text with the alarm log by field;

[0071] Get the settings for enriched standard data for all alarm types.

[0072] Step S2, establishing a credible evaluation standard based on the enriched standard data of the alarm type; Step S2 includes: for any alarm type LXα1, recording the enriched standard data of the alarm information of the alarm type LXα1 in the alarm information 1 to the alarm information N as enriched data SJ1 to enriched data SJV in sequence, wherein V is the number of alarm information of the alarm type LXα1 in all the alarm information;

[0073] For any enriched data SJV1 from the enriched data SJ1 to the enriched data SJV, the number of fields connected when the fields are connected in the enriched data SJV1 is obtained, which is recorded as the number of connection features; the interval [Pmin, Pmax] formed by the number of connection features of all enriched data is recorded as the judgment standard interval, wherein Pmin is the minimum number of connection features of all enriched data, and Pmax is the maximum number of connection features of all enriched data;

[0074] The trustworthiness judgment standard of alarm type LXα1 is set to that the number of connected fields is within the judgment standard range when the fields are connected;

[0075] In the specific implementation process, when the number of fields connected in the field connection of the alarm log of alarm type LXα1 is within the judgment standard range of alarm type LXα1, it means that the alarm log similar to the alarm log has been processed, so it can be processed by the existing processing method; and when the number of fields connected in the field connection of the alarm log of alarm type LXα1 is outside the judgment standard range of alarm type LXα1, it means that the alarm log is a relatively new alarm log and the existing alarm log lacks a processing method similar to the alarm log, so it needs to be reported to the staff for further processing;

[0076] Based on the analysis method of alarm type LXα1, the credible judgment criteria of all alarm types are obtained.

[0077] Step S3, performing noise reduction processing on the alarm log based on the credible judgment standard; Step S3 includes: when the alarm log Ω to be denoised is obtained, the alarm type of the alarm log Ω is recorded as the alarm type LXΩ, and the enriched standard data of the alarm log Ω is obtained based on the setting method of the enriched standard data of the alarm type LXΩ; the number of connection features of the enriched standard data of the alarm log Ω is recorded as sumΩ, and when sumΩ is within the judgment standard interval of the alarm type LXΩ, the alarm log Ω is processed based on the processing method of the alarm information of the alarm type LXΩ in the alarm information 1 to the alarm information N;

[0078] When sumΩ is outside the judgment standard range of the alarm type LXΩ, the alarm log Ω is sent to the staff for further processing.

[0079] Embodiment 2, the difference between this embodiment and embodiment 1 is that step S104 further includes: when the number of alarm features of processing flow in the alarm features of all alarm information corresponding to the alarm type LXα1 is equal to the number of alarm features of alarm text, the first-level enrichment standard data of the alarm type LXα1 is set to connect the alarm text with the alarm log by field, and the second-level incubation standard data of the alarm type LXα1 is set to connect the processing flow with the alarm log by field;

[0080] The field names for field connection in the first-level enriched standard data are recorded as first-level connection name 1 to first-level connection name E1; the field names for field connection in the second-level enriched standard data are recorded as second-level connection name 1 to second-level connection name E2; the names that are the same in the first-level connection name and the second-level connection name are recorded as common names, and the data corresponding to the common names in the first-level enriched standard data and the data corresponding to the common names in the second-level enriched standard data are recorded as enriched standard data of alarm type LXα1.

[0081] In the specific implementation process, for example, in a data processing process, among the alarm features of all alarm information corresponding to alarm type LXα1, the number of alarm features for processing flow and the number of alarm features for alarm text are both 10; then through analysis, the first-level enriched standard data and the second-level enriched standard data are obtained, and the first-level connection name 1 to the first-level connection name E1 are respectively the product name, sales volume, purchase date and shelf life; the second-level connection name 1 to the second-level connection name E2 are respectively the company name, place of origin, purchase date and shipment date; then the common name is purchase date, and the data corresponding to the purchase date in the first-level enriched standard data and the data corresponding to the purchase date in the second-level enriched standard data are recorded as the enriched standard data of alarm type LXα1.

[0082] Example 3, please refer to Figure 3 As shown, the present application provides an electronic device 40, including a processor 401 and a memory 402, the memory 402 stores computer-readable instructions, and when the computer-readable instructions are executed by the processor 401, the steps in the above method are executed. Through the above technical solution, the processor 401 and the memory 402 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanisms (not shown), and the memory 402 stores a computer program executable by the processor 401. When the electronic device 40 is running, the processor 401 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: first, data collection is performed based on multi-source logs, and multiple alarm information is obtained based on the collection results; an information processing model is established, and the information processing model is used to automatically parse multiple alarm information to obtain enriched standard data for each alarm type; then a trusted evaluation standard is established based on the enriched standard data of the alarm type; finally, the alarm log is subjected to noise reduction processing based on the trusted evaluation standard.

[0083] Embodiment 4, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are executed. Through the above technical solution, when the computer program is executed by the processor, the method in any optional implementation of the above embodiment is executed to achieve the following functions: first, data collection is performed based on multi-source logs, and multiple alarm information is obtained based on the collection results; an information processing model is established, and the information processing model is used to automatically parse multiple alarm information to obtain enriched standard data for each alarm type; then a trusted judgment standard is established based on the enriched standard data of the alarm type; finally, the alarm log is subjected to noise reduction processing based on the trusted judgment standard.

[0084] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0085] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0086] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.< / sid>

Claims

1. A method for denoising an alarm log based on multi-source threat intelligence, characterized in that: include: Collect data based on multi-source logs and obtain multiple alarm information based on the collection results; Establish an information processing model and use it to automatically analyze multiple alarm information to obtain enriched standard data for each alarm type; Establish credible evaluation criteria based on enriched standard data of alarm types; Perform noise reduction on alarm logs based on trustworthy judgment criteria; Data collection is performed based on multi-source logs, and multiple alarm information is obtained based on the collection results; an information processing model is established, and the information processing model is used to automatically analyze multiple alarm information to obtain enriched standard data for each alarm type, including the following sub-steps: Collect data from multi-source logs, obtain multiple alarm information from the multi-source logs, and record them as alarm information 1 to alarm information N respectively; establish an information processing model, and use the information processing model to analyze the alarm information; Obtain information analysis methods based on analysis results; The information analysis method is stored in the information processing model, and the alarm information is analyzed based on the information analysis method to obtain the alarm characteristics; Obtaining enriched standard data for each type of alarm information based on the alarm characteristics of all alarm information; The information processing model includes an alarm analysis sub-method, and the alarm analysis sub-method includes: The alarm types corresponding to all alarm information are recorded as alarm types LX1 to LXα, respectively. For any alarm information N1 among alarm information 1 to alarm information N, the alarm type of alarm information N1 is recorded as LXα1, and the number of alarm information of alarm type LXα1 in all alarm information is recorded as L; the alarm time of alarm information N1 is recorded as T, and the number of alarm information of alarm time T in all alarm information is recorded as R. The same-area ratio algorithm is used to obtain the same-area ratio of alarm information N1. The same-area ratio algorithm is: , where F1 is the same area ratio, R1 is the number of alarm information with alarm time T and alarm type LXα1, where only the hour and minute of the alarm time are obtained when obtaining the alarm time; The alarm analysis sub-method also includes: Based on the analysis method of alarm information N1, all alarm information of alarm type LXα1 is analyzed, and all obtained same-area ratios are recorded as same-area ratio QB1 to same-area ratio QBL in sequence. The time fluctuation value of the alarm information of alarm type LXα1 is obtained using the proportion fluctuation algorithm. The proportion fluctuation algorithm is: , where F2 is the time fluctuation value, fi is the i-th same-area ratio from the same-area ratio QB1 to the same-area ratio QBL, It is the average value of the same area proportion QB1 to the same area proportion QBL; The information analysis methods based on the analysis results include: Based on the alarm analysis sub-method, the time fluctuation values ​​of all alarm types are obtained, and an information analysis method is established based on the time fluctuation values. The information analysis method includes: For any alarm information β, the alarm time of alarm information β is obtained, recorded as Tβ, and the alarm information whose alarm time is closest to Tβ and not equal to Tβ among alarm information 1 to alarm information N is obtained based on the information processing model, recorded as alarm information β1; the time fluctuation value of the alarm type of alarm information β1 is recorded as the reference fluctuation value; Obtain the source of the alarm information β, recorded as source β; obtain the alarm time and reference fluctuation value of all alarm information except the alarm information β issued by the source β; establish a plane rectangular coordinate system, recorded as the source analysis coordinate system, wherein the unit of the X-axis of the source analysis coordinate system is time, and the unit of the Y-axis of the source analysis coordinate system is the reference fluctuation value; Based on the alarm time and reference fluctuation value of all alarm information except alarm information β issued by source β, points are marked in the source analysis coordinate system and recorded as source reference points; the maximum value of the difference of the ordinates of all source reference points is recorded as the maximum fluctuation difference; The information analysis method based on the analysis results also includes: Based on the alarm time and reference fluctuation value of the alarm information β, a point is marked in the source analysis coordinate system, which is recorded as point β; the source reference point whose horizontal coordinate is the smallest different from point β is obtained, which is recorded as the difference reference point; the difference between the vertical coordinate of the difference reference point and the vertical coordinate of point β is obtained, which is recorded as the actual difference; when the actual difference is greater than the maximum fluctuation difference, the alarm information β is recorded as the new alarm information; when the actual difference is less than or equal to the maximum fluctuation difference, the alarm information β is recorded as the old alarm information; The information analysis method based on the analysis results also includes: When the alarm information β is new alarm information, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β; When the alarm information β is an old alarm information, the alarm text of the alarm information β is checked for duplication and compared with the alarm texts of all the alarm information β issued by the source β except the alarm information β. When the repetition rate of the alarm text of the alarm information β and the alarm text of any alarm information γ issued by the source β except the alarm information β is greater than the standard repetition rate, the processing flow of the alarm information γ is recorded as the alarm feature of the alarm information β; when the repetition rate of the alarm text of the alarm information β and the alarm texts of all the alarm information β issued by the source β except the alarm information β is less than or equal to the standard repetition rate, the alarm text of the alarm information β is recorded as the alarm feature of the alarm information β; Based on the alarm characteristics of all alarm information, the enriched standard data of each alarm information is obtained, including: Record alarm information 1 to alarm information N as alarm information to be processed, analyze alarm information 1 to alarm information N based on the information parsing method and obtain alarm features of all alarm information; For any alarm type LXα1 from alarm type LX1 to alarm type LXα, when the number of alarm features of all alarm information corresponding to alarm type LXα1 that are processing flows is greater than the number of alarm features that are alarm texts, the enriched standard data of alarm type LXα1 is set to connect the processing flows with the alarm logs by field; When the number of alarm features of processing flow in the alarm features of all alarm information corresponding to the alarm type LXα1 is less than the number of alarm features of alarm text, the enriched standard data of the alarm type LXα1 is set to connect the alarm text with the alarm log by field; Get the setting method of enriched standard data of all alarm types; The trustworthy evaluation criteria established based on the enriched standard data of alarm types include: For any alarm type LXα1, the enriched standard data of the alarm information of the alarm type LXα1 in the alarm information 1 to the alarm information N are recorded as enriched data SJ1 to enriched data SJV in sequence, where V is the number of alarm information of the alarm type LXα1 in all the alarm information; For any enriched data SJV1 from the enriched data SJ1 to the enriched data SJV, the number of fields connected when the fields are connected in the enriched data SJV1 is obtained, which is recorded as the number of connection features; the interval [Pmin, Pmax] formed by the number of connection features of all enriched data is recorded as the judgment standard interval, wherein Pmin is the minimum number of connection features of all enriched data, and Pmax is the maximum number of connection features of all enriched data; The trustworthiness judgment standard of alarm type LXα1 is set to that the number of connected fields is within the judgment standard range when the fields are connected; Based on the analysis method of alarm type LXα1, the credible judgment criteria of all alarm types are obtained.

2. According to claim 1, a method for denoising an alarm log based on multi-source threat intelligence is characterized in that: The noise reduction process of the alarm log based on the trustworthy judgment criteria includes: When the alarm log Ω to be denoised is obtained, the alarm type of the alarm log Ω is recorded as the alarm type LXΩ, and the enriched standard data of the alarm log Ω is obtained based on the setting method of the enriched standard data of the alarm type LXΩ; the number of connection features of the enriched standard data of the alarm log Ω is recorded as sumΩ, and when sumΩ is within the judgment standard range of the alarm type LXΩ, the alarm log Ω is processed based on the processing method of the alarm information whose alarm type is the alarm type LXΩ in the alarm information 1 to the alarm information N; When sumΩ is outside the judgment standard range of the alarm type LXΩ, the alarm log Ω is sent to the staff for further processing.