An alarm research and judgment method and device based on rule matching and alarm reproduction agents, equipment, medium and product
By combining rule matching and alarm reproduction agents, the problem of insufficient verifiability and confidence assessment in alarm analysis in existing technologies is solved, achieving efficient and accurate alarm processing and reducing computational costs and reliance on manual intervention.
Patent Information
- Application Number
- CN202611490294.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-23
- Publication Date
- 2026-11-27
AI Technical Summary
Existing alarm analysis solutions based on large language models lack verifiability and have incomplete confidence assessment. Furthermore, rule-based analysis and intelligent analysis lack effective coordination, resulting in low processing efficiency, high computational costs, and a high risk of misjudgment in security operations.
By combining rule matching and alarm reproduction intelligence, alarm events are processed in a standardized manner. Preliminary matching is performed using preset judgment rules. If the rule coverage is successful, the result is output directly. Otherwise, the alarm reproduction intelligence is transferred to classify, generate hypotheses, develop reproduction plans, and analyze evidence to ensure that the conclusions are verifiable.
It improves the efficiency and accuracy of alarm analysis, reduces unnecessary computational costs, enhances the verifiability of conclusions and the independent support of confidence assessment, and reduces reliance on human experts.
Smart Images

Figure CN123184952A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of cybersecurity and artificial intelligence, and in particular to an alarm analysis method, device, equipment, medium and product based on the combination of rule matching and alarm reproduction intelligent agent. Background Technology
[0002] As enterprises continue their digital transformation, their business systems and network assets are constantly increasing, leading to a continuously expanding network attack surface. Security operations centers need to connect to various security devices, including firewalls, intrusion detection systems, and endpoint security systems, resulting in a large number of security alerts. In actual security operations, the number of alerts is enormous, including many false positives, duplicate alerts, low-value alerts, and alerts with insufficient contextual information. Security operations personnel need to identify the real threats from this massive volume of alerts, resulting in a high workload and a high risk of misjudgment or delayed response.
[0003] Traditional alert analysis methods mainly fall into two categories: rule engine analysis and human expert analysis. Rule engine analysis typically uses predefined rules, signature features, or field matching conditions to automatically assess alert events. It boasts advantages such as high processing efficiency and stable results, making it suitable for known alert types with clear characteristics and fixed patterns. However, this method heavily relies on manual maintenance of the rule base, resulting in limited rule coverage and difficulty in adapting to new attacks, variant attacks, zero-day vulnerabilities, and complex business scenarios. Human expert analysis, on the other hand, relies on security analysts to comprehensively assess alert information, asset information, vulnerability intelligence, and the status of business systems. While capable of handling complex alerts, it suffers from high labor costs, low processing efficiency, and strong reliance on experience, making it difficult to meet the demands for real-time analysis and rapid response in large-scale alert scenarios.
[0004] In recent years, large language models, such as GPT and LLaMA, have demonstrated strong capabilities in natural language understanding, knowledge reasoning, and text generation, and have been gradually applied to automated analysis of network security alerts. Existing alert analysis solutions based on large language models typically convert alert information, raw logs, or contextual information into text before inputting it into the large language model. The model then utilizes its semantic understanding and security knowledge reasoning capabilities to generate alert analysis conclusions. Some solutions further incorporate retrieval-enhanced generation techniques, strengthening the model's input context by searching historical alert case databases, vulnerability knowledge bases, or threat intelligence databases. Other solutions employ multi-agent collaborative frameworks, improving the consistency and credibility of analysis results through collaborative analysis by multiple specialized agents.
[0005] However, existing alarm analysis solutions based on large language models still have the following technical defects, which limit their application effectiveness in secure operation and production environments.
[0006] First, the analytical conclusions lack verifiability. The analytical conclusions generated by large language models mainly rely on the model's probabilistic reasoning about the input text, historical knowledge, and contextual information, which carries the risk of inconsistency between the generated content and the real environment. Even if the model can output a seemingly reasonable analysis process and analytical conclusions, it cannot prove that the current alarm event actually occurs in the target environment. Existing solutions lack a mechanism for objectively verifying the analytical conclusions.
[0007] Second, the confidence assessment mechanism is inadequate. While some existing solutions introduce confidence metrics, these metrics are typically derived from the model's own output and text similarity, lacking independent external validation results. Due to the uncertainty of large language model outputs, a high confidence score does not necessarily indicate a valid alarm, and a low confidence score does not necessarily indicate an invalid alarm. Therefore, existing confidence metrics are insufficient to accurately reflect whether alarm events have been actually verified or successfully reproduced.
[0008] Third, there is a lack of effective collaboration between rule-based analysis and intelligent analysis. Existing solutions typically employ rule matching, manual analysis, and large language model analysis separately for alarm analysis, lacking a hierarchical analysis mechanism tailored to different alarm types and varying degrees of certainty. For alarms clearly covered by rules, relying solely on large language models for processing may increase unnecessary computational costs and uncertainty; for alarms not covered by rules or that cannot be confirmed, relying solely on large language models for textual reasoning makes it difficult to obtain verifiable analysis results.
[0009] In summary, existing technologies still lack an alarm analysis solution that can combine rapid rule analysis with intelligent reproduction verification. Summary of the Invention
[0010] The purpose of this application is to provide an alarm analysis method, device, equipment, medium and product based on the combination of rule matching and alarm reproduction intelligence, which can efficiently process alarm events within the rule coverage area, and can automatically reproduce and verify alarm events through alarm reproduction intelligence when the rule cannot be matched.
[0011] To achieve the above objectives, this application provides the following solution: Firstly, this application provides an alarm analysis method based on a combination of rule matching and alarm reproduction intelligence, including: Obtain the original alarm events and perform standardized processing to obtain standardized alarm events; The standardized alarm events are matched with the judgment rules in the preset judgment rule base; If a match is successful, a rule judgment result is generated based on the matched target judgment rule; if the rule judgment result is a real attack or a false alarm, the rule judgment result is output as the final judgment result; if the rule judgment result is a suspected attack or requires manual review, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent. If the matching fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent; The alarm reproduction agent sequentially performs alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution, and evidence analysis on the alarm event to be reproduced, and obtains reproduction analysis conclusion. The final judgment result is determined and output based on the reproduction analysis conclusion.
[0012] Secondly, this application provides an alarm analysis device based on a combination of rule matching and alarm reproduction intelligence. The device is used to execute the aforementioned alarm analysis method based on a combination of rule matching and alarm reproduction intelligence. The device includes: The standardization processing module is used to acquire the original alarm events and perform standardization processing to obtain standardized alarm events; The matching module is used to match the standardized alarm events with the judgment rules in the preset judgment rule base; if the match is successful, a rule judgment result is generated according to the matched target judgment rule; if the rule judgment result is a real attack or a false alarm, the rule judgment result is output as the final judgment result; if the rule judgment result is a suspected attack or requires manual review, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent; if the match fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent. The alarm reproduction module is used to perform alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution and evidence analysis on the alarm event to be reproduced through the alarm reproduction intelligent agent, and obtain the reproduction analysis conclusion. The result confirmation and output module is used to determine the final judgment result based on the reproduction judgment conclusion and output it.
[0013] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agent.
[0014] Fourthly, this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-mentioned alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agent.
[0015] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-mentioned alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agents.
[0016] According to the specific embodiments provided in this application, this application has the following technical effects: This application combines rule matching and alarm reproduction intelligence in a hierarchical manner. When rule matching is successful and the rule analysis result is a real attack or a false alarm, the final analysis result is directly output. When the rule analysis result is a suspected attack, requires manual verification, or rule matching fails, the process is transferred to the alarm reproduction intelligence. The alarm reproduction intelligence sequentially performs alarm classification, generates a set of verifiable hypotheses, generates a reproduction plan, executes alarm reproduction tasks, and conducts evidence analysis. This reduces unnecessary intelligent analysis computation overhead and model uncertainty for alarms that are clearly covered by the rules. For alarms not covered by the rules, the analysis scope is expanded through automated reproduction verification. The analysis conclusions are based on evidence obtained from actual execution rather than simple model reasoning, which improves the problem of lack of independent external verification support for confidence. At the same time, it reduces the reliance on manual expert analysis and improves the efficiency of alarm analysis. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating an alarm analysis method based on a combination of rule matching and alarm reproduction intelligence, provided as an embodiment of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] In one exemplary embodiment, such as Figure 1 As shown, an alarm analysis method based on the combination of rule matching and alarm reproduction intelligence is provided. The method is executed by a computer device, specifically by a terminal or server alone, or by both the terminal and the server. In this embodiment, the method is described using a server as an example, including the following steps S1 to S6.
[0022] S1: Obtain the original alarm events and perform standardized processing to obtain standardized alarm events.
[0023] S2: Match the standardized alarm events with the judgment rules in the preset judgment rule base.
[0024] S3: If the match is successful, generate a rule judgment result based on the matched target judgment rule; if the rule judgment result is a real attack or a false alarm, output the rule judgment result as the final judgment result; if the rule judgment result is a suspected attack or requires manual review, input the original alarm event and the standardized alarm event as alarm events to be reproduced into the alarm reproduction agent.
[0025] S4: If the matching fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent.
[0026] S5: The alarm reproduction agent sequentially performs alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution, and evidence analysis on the alarm event to be reproduced, and obtains the reproduction analysis conclusion.
[0027] S6: Determine the final judgment result based on the reproduction judgment conclusion and output it.
[0028] Implementing steps S1 to S6 above enables hierarchical collaboration between rapid rule analysis and alarm reproduction verification by intelligent agents, expands the analysis capability for alarms not covered by rules, provides verifiable evidence for analysis conclusions, improves external verification support for confidence assessment, and reduces reliance on manual analysis.
[0029] Furthermore, step S1 specifically includes: The system receives raw alarm events and performs standardized processing. Based on the raw alarm events, it extracts features such as alarm type, source address, destination address, source port, destination port, protocol, alarm time, and severity to obtain standardized alarm events.
[0030] The original alarm events originate from the security operations platform and are in the format of unstructured or semi-structured text.
[0031] The standardization process refers to converting raw alarm events into structured text, i.e., standardizing field names and alarm event formats. A field alias mapping mechanism is employed, defining a field alias table where each standard field name corresponds to a set of aliases. The raw alarm dictionary is traversed, and for each standard field, the first non-empty value is sequentially searched from its alias list as the normalized value for that field. The standard field refers to the field name in the standardized alarm event, and the alias refers to the field name in the raw alarm event. The mapping relationship for some fields is shown in Table 1. Table 1
[0032] The standardized alert events include basic event fields, entity fields, behavior fields, and context fields. The basic event fields include alert identifier (alert_id), alert name (alert_name), alert source (alert_source), alert time (occur_time), severity (severity), and alert category (category). The entity fields include one or more of the following: source address (src_ip), destination address (dst_ip), source port (src_port), destination port (dst_port), protocol (protocol), username (user_name), hostname (host), process name (process_name), file path (file_path), domain name (domain), URL (url), and file hash (hash). The behavior fields include one or more of the following: login, access, download, execution, connection, scanning, privilege escalation, writing to a file, modifying the registry, and calling an interface. The context fields include asset context fields, user context fields, time context fields, historical behavior context fields, and threat intelligence context fields.
[0033] Furthermore, step S2 specifically includes: S21: Calculate the rule matching score based on the matching conditions of the standardized alarm events and the judgment rules.
[0034] Specifically, the analysis rule base includes multiple analysis rules, and each analysis rule includes at least a rule identifier, applicable alarm type, matching conditions, analysis logic, risk level, and handling suggestions.
[0035] The matching criteria are used to determine whether a standardized alarm event falls within the scope of the judgment rule, including alarm type matching criteria, entity matching criteria, behavior matching criteria, and context matching criteria. The judgment logic is used to determine the authenticity, risk, or attack stage of the alarm event after a successful match. The handling suggestions indicate the response actions or processing strategies to be performed on alarm events that match the judgment rule.
[0036] Based on the matching conditions of the standardized events and judgment rules, alarm type matching value, entity matching value, behavior matching value, and context matching value are calculated, and the rule matching score is determined according to the above matching values. .
[0037] Rule matching score Calculate as follows: in, Indicates the alarm type matching value. Indicates the entity matching value. Indicates the behavior matching value. Indicates the context matching value; to For the corresponding weights, and satisfying: In a preferred embodiment, the weights are set as follows: , , , .
[0038] The above weighting is based on the following: alarm type determines the scope of rule application; entity field identifies the attack target and attacker; behavior field determines whether the alarm matches attack action characteristics; and context field determines whether the event scenario is risky. Therefore, alarm type and behavior field have higher weightings in rule matching.
[0039] The alarm type matching value setting standard is as follows: If the alarm type of the standardized alarm event is completely consistent with the applicable alarm type of the judgment rule, then... If both belong to the same higher-level category, such as both being authentication alarms, then If the two do not belong to the same higher-level category, but the matching conditions of the judgment rule indicate that the behavior represented by the alarm type of the standardized alarm event may occur before or after the behavior represented by the alarm type used by the judgment rule, and the alarm type itself is insufficient to prove that the alarm behavior targeted by the judgment rule has occurred, then it is determined that the two only have a weak correlation. If there is no relevant relationship, then For example, the alarm type for a standardized event is scanning and probing, while the alarm type applicable to the judgment rule is exploitation. Scanning and probing may occur before exploitation, but this cannot be used to determine whether exploitation has been carried out. Therefore, the two are weakly correlated.
[0040] Entity matching value The proportion of entity fields that meet the rule requirements is determined by: in, This indicates the number of entity fields that exist in the standardized alarm event and meet the rule requirements. This indicates the total number of entity fields required by the judgment rule. For example, if a rule requires the simultaneous existence of username, source address, and destination host, and the current alarm event only has username and source address, then... .
[0041] Behavior matching value This is used to indicate the degree of consistency between the behavior in the standardized alarm event and the attack behavior pattern defined in the judgment rules. If the behavior meets the behavior matching condition in the judgment rules and is consistent with the attack behavior pattern, then... If the stated action and the stated attack pattern represent the same type of attack, differing only in the frequency of occurrence, parameters, or specific operation, then they are considered similar actions. If the action itself does not indicate that the attack pattern has occurred, but only indicates a behavior that may occur before or after the attack pattern, then it is determined to be a weak correlation. If the aforementioned relationship does not exist between the stated action and the attack behavior pattern, then For example, if the attack behavior pattern defined in the assessment rules is vulnerability exploitation, and a standardized alert event indicates that vulnerability exploitation behavior consistent with the assessment rules has been implemented, then... The value is 1; if the same vulnerability exploitation is performed, but the specific request parameters or operation methods differ from the judgment rules, it is judged as similar behavior and the value is 0.7; if the standardized alarm event only indicates that the target system has been scanned and probed, but does not indicate that the vulnerability exploitation has been performed, it is judged as weakly related and the value is 0.3; if the behavior in the standardized alarm event does not have the above relationship with the vulnerability exploitation, the value is 0.
[0042] Context matching value This is used to determine whether the environment in which an alarm event occurs meets the context rule matching conditions. The context rule matching conditions include at least one of the following: asset context, user context, time context, historical behavior context, and threat intelligence context. For example, the rule can limit the target asset to an internet-exposed asset, a high-value asset, a core business system, or an asset with exploitable vulnerabilities; it can also limit the initiating entity to a high-privilege account, an abnormal login account, or an account with recent abnormal behavior; and it can further limit the event to occur outside of working hours, multiple occurrences of the same event within a short period, a source address matching threat intelligence, or multiple similar alarms recently occurring from the same entity. When the current alarm event meets any of the above context rule matching conditions, the corresponding context matching value increases.
[0043] S22: Compare the rule matching score with the preset matching threshold. If the rule matching score is greater than or equal to the preset matching threshold, the matching is determined to be successful; otherwise, the matching is determined to be unsuccessful.
[0044] Specifically, the rule matching score Matching threshold Compare and determine the rule matching score Is it greater than or equal to the preset matching threshold? . The threshold can be set to 0.75, 0.80, or 0.85 depending on the business environment. In production environments with mature rule coverage, a higher threshold can be set to reduce false matches; in initial deployment environments with insufficient rule coverage, a lower threshold can be set to improve rule recall. < When the standardized alarm event does not match the judgment rule, it is considered a rule matching failure. ≥ This indicates that the standardized alarm event can match the judgment rules.
[0045] If multiple judgment rules have matching scores greater than or equal to the preset matching threshold, the judgment rule with the highest matching score is selected as the target judgment rule; if two or more judgment rules have the same highest matching score, the historical accuracy rate of the rules is calculated and compared, and the judgment rule with the highest historical accuracy rate is selected as the target judgment rule.
[0046] The system determines whether the number of candidate rules (i.e., matched rules) is one. If there is only one candidate rule, it is selected as the target rule. If multiple candidate rules meet the matching threshold, the rule with the highest matching score is selected. The system then checks if there are two or more rules with the same highest matching score. If so, the system calculates and compares the historical accuracy rates of these rules. The rule with the higher historical accuracy rate is selected as the target rule.
[0047] The historical accuracy of the rules The calculation method is as follows: in, This indicates the number of times the assessment rule has been confirmed as a real security incident in history. This indicates the number of times the judgment rule has been identified as a false alarm in history. and This is a smoothing parameter used to avoid drastic fluctuations in accuracy when the number of historical samples is small. In one implementation, =1, =1.
[0048] Furthermore, step S3 specifically includes: After the standardized alarm event is matched with the corresponding judgment rule, rule judgment is performed according to the judgment logic in the target judgment rule. The rule judgment generates a structured judgment result based on rule evidence, contextual information, and historical feedback information.
[0049] The rule analysis result generation process includes: extracting the key evidence fields required for the target analysis rule from the standardized alarm event; verifying each key evidence field; calculating the rule confidence score based on the key evidence fields that pass the verification; and determining the rule analysis result based on the rule confidence score.
[0050] Specifically, for each key evidence field required by the target judgment rule, each field is assessed to determine whether it has a corresponding field value, whether the field value conforms to the unified field format used in standardized alarm events, whether the time corresponding to the field value meets the time requirement specified in the matching conditions of the target judgment rule, and whether the field can be obtained from the original alarm through field alias mapping. Key evidence fields that meet all the above conditions are determined as valid evidence fields, and the number of valid evidence fields is counted. The sufficiency of evidence is calculated based on the number of valid evidence fields and the number of evidence fields required by the target judgment rule. The rule condition satisfaction level is calculated based on the satisfaction of the mandatory and optional conditions in the target judgment rule. The historical accuracy rate of the target judgment rule is obtained, and the context risk level is calculated based on the context risk factor. The rule confidence level is calculated based on the rule condition satisfaction level, the sufficiency of evidence, the historical accuracy rate of the rule, and the context risk level.
[0051] Rule confidence It can be calculated as follows: in, Indicates the degree to which the rule conditions are met. Indicates the sufficiency of the evidence. Indicates the historical accuracy of the rule. Indicates the level of risk in the context; to Let the weights be and satisfy: In a preferred embodiment, the following can be configured: , , , .
[0052] The theoretical basis for the above settings is as follows: the degree to which the rule conditions are met directly reflects whether the current alarm conforms to a known attack pattern, and therefore has the highest weight; the sufficiency of the evidence determines whether the judgment conclusion can be supported by the logs; the credibility of the rule history reflects the actual effectiveness of the rule in this environment; and the contextual risk level is used to correct for the risk differences of the same attack behavior in different asset and user environments.
[0053] Among them, the degree of satisfaction of rule conditions Determined based on whether the mandatory and optional conditions in the rules are met: in, This indicates the proportion of mandatory conditions that are met. This indicates the proportion of optional conditions that are met.
[0054] Sufficientness of evidence The number of evidence fields obtained can be determined based on the ratio of the number of evidence fields required by the rules: in, This indicates the number of valid evidence fields present in the alarm event. This indicates the number of evidence fields required by the rule. Valid evidence refers to evidence that is not empty, has a correct format, is consistent in time, and has a credible source. Not empty means that the key evidence field has a corresponding field value; correct format means that the field value conforms to the unified field format used in standardized alarm events; consistent time means that the time corresponding to the field value meets the time requirements specified in the matching conditions of the target judgment rule; credible source means that the key evidence field originates from the original alarm event received by the security operations platform and can be obtained from the original alarm event through field alias mapping.
[0055] Contextual risk level The calculation is based on the aforementioned contextual risk factors, including asset importance. User permission levels Threat intelligence hit rate and historical anomalies The calculation method is as follows: in, , , and All are normalized to the interval between 0 and 1.
[0056] Rule confidence based on the above calculation The analysis results are determined, including whether the attack is real, suspected, requires manual verification, or is a false alarm.
[0057] In one implementation, the judgment conclusion can be determined according to the following threshold: ≥0.85: Determined as a real attack; 0.65≤ <0.85: This is considered a suspected attack; 0.45≤ <0.65: Determined to require manual review; <0.45: This is considered a false alarm.
[0058] After the rule analysis is completed, an analysis result is generated. The analysis result includes the analysis conclusion, the hit rule, the rule confidence level, the risk level, key evidence, and the handling recommendations. Among them, the risk level includes severe, high risk, medium risk, low risk, or warning; the key evidence is used to record the main alarm fields or other supplementary evidence that support the analysis conclusion.
[0059] If the rule matching scores of the standardized alarm events are all below the preset matching threshold, or if the assessment conclusion is a suspected attack or requires manual review, it indicates that the standardized alarm events belong to events not covered by the assessment rules. In this case, the standardized alarm events and their corresponding original alarm events are input into the alarm reproduction agent.
[0060] Furthermore, step S5 specifically includes: S51: Perform alarm classification on the alarm event to be reproduced to obtain the alarm type of the alarm event to be reproduced. Specifically, this includes: using the alarm name, alarm type, and severity of the standardized alarm event as priority feature text, and using the original alarm event and the standardized alarm event as complete feature text; calculating the rule score of each candidate alarm type based on the priority feature text and the complete feature text; selecting the candidate alarm type with the highest rule score as the alarm type of the alarm event to be reproduced, calculating the classification confidence, and outputting the alarm type and classification confidence of the alarm event to be reproduced.
[0061] The alarm type of the alarm event to be reproduced refers to the alarm type specified in the alarm reproduction agent. The alarm types in non-standard alarm events include authentication, sensitive information leakage, injection, scanning and detection, vulnerability exploitation, malicious file, data transmission and privilege escalation.
[0062] When classifying alarms, the alarm name, alarm type, and severity of the standardized alarm event are used as the priority feature text, while the original alarm event and the standardized alarm event are used as the complete feature text.
[0063] Alarm classification is performed using a deterministic feature rule classifier. The deterministic feature rule classifier pre-configures feature rule sets for different alarm types. Each feature rule set contains multiple feature rules, and each feature rule includes a feature expression and a rule weight.
[0064] The feature expression is used to describe the semantic features, behavioral features, or field features of the corresponding alarm type, and can be a keyword expression, regular expression, field matching expression, or a combination of the above. The feature expression is used to match the priority feature text and the complete feature text respectively; if the feature expression matches the priority feature text, the rule score is calculated according to the corresponding rule weight and priority coefficient; if the feature expression matches the complete feature text, the rule score is calculated according to the corresponding rule weight.
[0065] The rule score for each candidate alarm type is calculated based on the priority feature text and the original feature text.
[0066] Let the rule score be the i-th candidate alarm type. for: in, Indicates whether the j-th rule of the i-th class hits the priority feature text. Indicates whether the complete feature text was matched. This indicates the weight of the rule. In this embodiment, the weighting coefficients are the priority feature weighting coefficients. Take 1.5.
[0067] Based on rule scores, the candidate alarm type with the highest rule score is selected as the primary category, and the classification confidence is calculated. Specifically, let the highest rule score be... The second highest rule score is Then the classification confidence level Calculate as follows: When the rule scores for all candidate alarm types are 0, the alarm is classified into the read-only general detection strategy, and the classification confidence is set to a low value, such as 0.25.
[0068] S52: Generate a set of verifiable hypotheses based on the standardized alarm event and the alarm type of the alarm event to be reproduced. Specifically, this includes: selecting a preset hypothesis template based on the alarm type of the alarm event to be reproduced; filling the preset hypothesis template with information from the standardized alarm event to generate a set of verifiable hypotheses.
[0069] Each hypothesis in the verifiable hypothesis set includes a hypothesis identifier, hypothesis source, associated alarm type, associated target system, hypothesis statement, supporting evidence, rebuttal evidence, and recommendation tool capability.
[0070] The hypotheses are based on two sources: alarm events and alarm types of alarm events to be reproduced.
[0071] The preset hypothesis template is configured according to the alarm type of the alarm event to be reproduced.
[0072] For example, when the alarm type is authentication, at least one authentication event authenticity hypothesis is generated based on the standardized alarm event. The authentication event authenticity hypothesis is used to verify whether the authentication behavior recorded in the original alarm event actually occurred.
[0073] For example, the assumptions for authentication events are shown in Table 2: Table 2
[0074] When a standardized alert event contains a login success field, an HTTP 200 status code, a session flag, an account field, or an authentication result field, a further authentication success hypothesis is generated.
[0075] The assumptions for successful authentication are shown in Table 3: Table 3
[0076] S53: Generate a reproduction plan based on the standardized alarm event, the alarm type of the alarm event to be reproduced, and the set of verifiable hypotheses. Specifically, this includes: generating candidate reproduction plans using a structured model plan generator based on the standardized alarm event, the alarm type of the alarm event to be reproduced, and the set of verifiable hypotheses; performing multi-level verification on the candidate reproduction plans using a deterministic plan validator; and converting the candidate reproduction plans that pass the multi-level verification into a reproduction plan.
[0077] In this embodiment, the above steps are implemented using a structured model plan generator and a deterministic plan validator. The structured model plan generator is used to generate candidate reproduction plans based on standardized alarm events, alarm types of alarm events to be reproduced, and a set of verifiable hypotheses. The deterministic plan validator is used to perform structured field validation, hypothesis coverage validation, key fact coverage validation, expected evidence validation, tool capability whitelist validation, target authorization scope pre-validation, action category and risk level consistency validation, approval requirement validation, and plaintext / secret checks on the candidate reproduction plans.
[0078] The structured model plan generator receives at least the following inputs: standardized alarm events, alarm types of alarm events to be reproduced (hereinafter referred to as alarm types), classification confidence levels, risk levels, target system information, a set of verifiable hypotheses, and a list of available tool capabilities.
[0079] The target system information includes at least one of the following: destination domain name, destination address, destination port, request path, and protocol. The list of available tool capabilities refers to the set of tool capabilities that the alarm reproduction agent can invoke in the current operating environment. These tool capabilities describe the types of capabilities required for the reproduction steps, rather than limiting specific tool implementations. The list of available tool capabilities includes at least one of the following: alarm parsing capability, network request capability, browser automation capability, page scraping capability, DNS query capability, port detection capability, sensitive field detection capability, file hash analysis capability, traffic analysis capability, and log query capability.
[0080] The structured model plan generator is implemented using a large language model. The structured model plan generator receives standardized alarm events, alarm types, classification confidence levels, risk levels, target system information, a set of verifiable hypotheses, and a list of available tool capabilities, and then limits the large language model to output candidate reproduction plans according to preset structured fields.
[0081] The structured model plan generator determines the reproduction strategy based on the alarm type, the set of verifiable hypotheses, and the supporting evidence type corresponding to each hypothesis; determines the reproduction target based on the destination domain name, destination address, destination port, request path, protocol in the standardized alarm event, and the associated target in the verifiable hypothesis; and generates one or more reproduction steps based on the supporting evidence and rebuttal evidence in the set of verifiable hypotheses.
[0082] When generating the reproduction steps, the corresponding tool capabilities are determined based on the recommended tool capabilities in the verifiable hypothesis and the list of available tool capabilities. The reproduction steps are then filled with the step identifier, step purpose, tool capability, step parameters, action category, expected evidence, associated hypothesis identifier, whether it is a necessary step, whether approval is required, and step status. The step parameters include at least one of the following: destination domain name, destination address, destination port, request path, and protocol corresponding to the reproduction target.
[0083] Each of the reproduction steps must include the contents shown in Table 4: Table 4
[0084] For example, if the alert type is authentication, the structured model plan generator must generate at least one browser verification step. The tool capability of this browser verification step is `web.browser`, the action category is `authentication`, the expected evidence includes at least `authentication_signal` and `post_auth_screenshot`, and this step must be set to require approval. Prior to the browser verification step, a login page check step or a DOM snapshot step can also be generated to identify the actual login page, input fields, and submit button.
[0085] The structured model plan generator outputs the reproduction strategy, reproduction target, and set of reproduction steps in the form of structured data to obtain candidate reproduction plans.
[0086] After the candidate reproduction plan is generated, it is not executed directly, but submitted to the deterministic plan validator. The deterministic plan validator performs the following checks: structured field validation, assumption coverage validation, key fact coverage validation, expected evidence validation, tool capability whitelist validation, target authorization scope pre-validation, action category and risk level consistency validation, approval requirement validation, and plaintext / secret checks.
[0087] The deterministic plan validator checks each field and the correspondence between fields in the candidate reproduction plan according to the predetermined verification requirements, and outputs a verification result of pass or fail for each verification.
[0088] For structured field validation, verify whether the candidate reproduction plan includes a reproduction strategy, reproduction target, and set of reproduction steps, and whether each reproduction step includes a step identifier, step purpose, tool capabilities, step parameters, action category, expected evidence, associated hypothesis identifier, whether it is a necessary step, whether approval is required, and step status. For hypothesis coverage validation, verify whether the associated hypothesis identifiers in the reproduction steps correspond to hypotheses in the verifiable hypothesis set, and whether verifiable hypotheses are covered by the reproduction steps. For key fact coverage validation, verify whether the reproduction plan includes key alarm features in standardized alarm events. For expected evidence validation, verify whether each reproduction step declares expected evidence. For tool capability whitelist validation, verify whether the tool capabilities in the reproduction steps belong to the list of available tool capabilities. For target authorization scope pre-validation, verify whether the reproduction target exceeds the target authorization scope. For action category and risk level consistency validation, verify whether the action category and risk level of the reproduction steps are consistent. For approval requirement validation, verify whether approval requirements are set for reproduction steps that require approval. For plaintext secret checks, verify whether the candidate reproduction plan includes plaintext passwords, tokens, cookies, and APIs. Key or sensitive response text.
[0089] If any verification result is "fail", the candidate reproduction plan is determined to have failed the verification; if all verification results are "pass", the candidate reproduction plan is determined to have passed the verification and is converted into a reproduction plan.
[0090] If the candidate reproduction plan fails the verification, at least one of the following processes shall be performed: ① Record the reasons for the failure of candidate plan verification; ② The structured model is required to regenerate candidate plans; ③ Mark the task as blocked.
[0091] If the candidate reproduction plan passes the verification, it is converted into an internal reproduction plan object. During the conversion process, each reproduction step is supplemented with a step execution identifier, expected result, failure rollback action, maximum number of retries, and timeout.
[0092] The step execution identifier is used to identify the historical execution status of the same reproduction step after task recovery, repeated scheduling, or abnormal interruption. When the same reproduction step is detected to have been successfully executed, the historical execution result is reused; when a non-read-only reproduction step is detected to be in an uncertain execution status, automatic replay is stopped and the manual confirmation process begins.
[0093] The failure rollback action includes the rollback action name, rollback tool capabilities, rollback parameters, and rollback reason. When a candidate reproduction step fails, a rollback action is executed or an evidence gap is recorded; a successful reproduction conclusion must not be fabricated due to the failure of a candidate step.
[0094] The maximum number of retries refers to the maximum number of times that a reproduction step is allowed to be retried after it fails.
[0095] The timeout period refers to the maximum time allowed for a single execution of a reproduction step.
[0096] The reproduction plan includes: version, reproduction strategy, reproduction goal, and set of reproduction steps.
[0097] By combining the structured model generation capability with the deterministic verification mechanism in the above manner, the reproduction plan is not only intelligently generated, but also constrained by tool capabilities, security strategies, hypothesis coverage, and evidence rules.
[0098] S54: Execute the alarm reproduction task according to the reproduction plan to obtain a set of structured execution results. Specifically, this includes: calling the corresponding tools to execute the alarm reproduction task according to the reproduction steps in the reproduction plan, generating structured execution results; and summarizing the structured execution results of each reproduction step to obtain a set of structured execution results.
[0099] Each reproduction step is executed sequentially according to the reproduction plan. Each reproduction step has a step status, which includes at least: pending execution, executing, successful execution, failed execution, and skipped. When the tool call begins, the corresponding step is marked as executing; when the tool returns normally and meets the basic structural requirements, the corresponding step is marked as successful execution; when the tool call times out, returns an exception, the tool is unavailable, or the target is unresponsive, the corresponding step is marked as failed execution.
[0100] After the tool completes execution, a structured execution result is generated. This structured execution result includes at least the step identifier, tool capabilities, tool name, execution status, start time, end time, input digest, output digest, output content, attachment references, error category, error message, expected evidence identifier, and associated hypothesis identifier. The input and output digests are anonymized and do not contain plaintext passwords, tokens, cookies, API keys, or sensitive response plaintext.
[0101] For example, if the reproduction step is the successful authentication reproduction step, then an automated browser tool is invoked to open the target system's login page, fill in the account and password fields, click the login button, and wait for the login result. After the tool completes execution, the login result, page redirection address, session flag, page elements after login, and page screenshot are collected. If the tool output includes a successful login field, a valid session flag, or a screenshot of the page after login, then the tool output serves as supporting evidence for the successful authentication reproduction hypothesis; if the tool output includes a login failure message, a verification code requirement, an account lockout message, or no session flag, then the tool output serves as rebuttal evidence or a reason for insufficient evidence.
[0102] After all reproduction steps are completed, the structured execution results of each step are summarized to obtain a set of structured execution results.
[0103] S55: Based on the aforementioned structured execution result set, conduct evidence analysis to obtain a reproducibility analysis conclusion. Specifically, this includes: S551: Perform evidence extraction and evidence encapsulation processing on each structured execution result in the set of structured execution results to generate evidence items.
[0104] Each piece of evidence includes at least the collection time, evidence identifier, evidence type, evidence source, associated tool, associated step, evidence content, associated hypothesis identifier, and erroneous evidence item. The evidence extraction and encapsulation process includes: determining the type of evidence to be generated based on the expected evidence identifier in the structured execution result; determining the evidence source, associated tool, and associated step based on the tool capabilities, tool name, and step identifier in the structured execution result; generating evidence content based on the output summary, output content, and attachment references in the structured execution result; establishing the association between the evidence item and verifiable hypothesis based on the associated hypothesis identifier in the structured execution result; and generating erroneous evidence items based on the error category and error information in the structured execution result.
[0105] S552: Calculate the reproducibility confidence based on the completeness of evidence, the reliability of tool execution, and the feature matching degree.
[0106] Reproducibility confidence is used to assist in generating the final judgment. Let the feature matching degree be... The completeness of the evidence is The tool's execution reliability is Then the reproduction confidence level It can be calculated as follows: Among them, the completeness of evidence is used to characterize whether the supporting evidence proposed in the hypothesis is satisfied; the reliability of tool execution is used to characterize whether the reproduction steps are completed stably and whether they rely on a large number of retries or rollbacks; and the feature matching degree is used to characterize whether there is a positive business signal or explicit counter-evidence corresponding to the alarm type.
[0107] Evidence items are matched with features of alarm types to obtain positive feature scores and negative feature scores. The positive feature score is calculated based on positive features and their weights, and the negative feature score is calculated based on negative features and their weights. The positive features are used to indicate that the collected evidence supports the corresponding feature, and the negative features are used to indicate that the collected evidence refutes the corresponding feature.
[0108] Feature matching degree is calculated as follows: in, For positive feature scores, The maximum score for positive features. Scoring for reverse features, The maximum value of the reverse feature score. Used to limit the calculation result to between 0 and 1.
[0109] The completeness of evidence is calculated based on the proportion of supporting evidence that satisfies the condition. Let G be the number of supporting evidences for the verifiable hypothesis corresponding to the alarm event, and M be the number of satisfied evidences. Then: The reliability of tool execution is calculated based on the proportion of successful steps, the number of retries, and the number of rollbacks. Let the total number of reproducible steps be N, the number of successful steps be S, the number of retries be R, and the number of rollbacks be B, then: S553: Determine the reproduction judgment conclusion based on the evidence items, the completeness of the evidence, the reliability of the tool execution, the feature matching degree, and the reproduction confidence.
[0110] If there is specific supporting evidence in the evidence item that matches the supporting evidence in the verifiable hypothesis set, and the completeness of the evidence is not lower than the completeness threshold (0.80), and the reliability of the tool execution is not lower than the first reliability threshold (0.80), and the confidence of reproduction is not lower than the preset confidence threshold (0.80), then the reproduction judgment conclusion is confirmed.
[0111] If there is explicit rebuttal evidence in the evidence item that matches the rebuttal evidence in the verifiable hypothesis set, and the tool's execution reliability is not lower than the second reliability threshold (0.90), then the reproduction judgment conclusion is determined to be a false alarm. The first reliability threshold is less than the second reliability threshold.
[0112] If neither the confirmation condition nor the false alarm condition is met, the judgment conclusion is determined to be unconfirmed.
[0113] The conditions for not meeting the confirmation criteria include: the absence of the specific supporting evidence, or the completeness of the evidence being less than 0.80, or the reliability of the tool execution being less than 0.80, or the confidence level of the reproduction being less than 0.80; the conditions for not meeting the false alarm criteria include: the absence of the explicit rebuttal evidence, or the reliability of the tool execution being less than 0.90.
[0114] Finally, the analysis results are output, including the analysis conclusion, the confidence level of reproducibility, the risk level, supporting evidence, rebuttal evidence, and missing evidence.
[0115] Furthermore, step S6 specifically includes: If the reproduction analysis conclusion is confirmed or false alarm, the reproduction analysis conclusion is output as the final analysis result; if the reproduction analysis conclusion is not confirmed, manual analysis is performed, the manual analysis result is obtained and output as the final analysis result.
[0116] After manual analysis is completed, the results are associated with and stored along with the original alarm events and standardized alarm events to form a complete analysis record. This complete analysis record can be used for subsequent optimization of similar alarm rules and updates to hypothesis templates.
[0117] In this embodiment, the analysis result is output according to the actual flow path of the alarm in the analysis process. For the same alarm event, the rule-based analysis method is preferred; when the alarm event can match the preset rule, the rule-based analysis result is directly output, and the alarm reproduction agent analysis or manual analysis is no longer triggered.
[0118] If an alarm event does not match a preset rule, the alarm reproduction agent will proceed to the analysis process. The alarm reproduction agent generates the reproduction analysis result based on alarm classification, hypothesis generation, reproduction plan, tool execution, and evidence analysis.
[0119] In this embodiment, the final judgment result of the same alarm originates from one of the following: rule-based judgment, alarm reproduction agent judgment, or manual judgment. When outputting the judgment result, the source of the conclusion is also output, which includes rule-based judgment, alarm reproduction agent judgment, and manual judgment, to identify whether the current alarm's final conclusion was obtained through rule-based judgment, alarm reproduction agent judgment, or manual judgment.
[0120] Compared with existing intelligent alarm analysis technologies, this application has at least the following advantages: (1) This application combines rule matching and judgment with alarm reproduction intelligence. For alarm events that can be covered by preset judgment rules, the judgment result is generated directly through rule matching without entering a complex intelligent analysis process, thereby reducing unnecessary computation and improving the processing efficiency of known alarms and fixed pattern alarms.
[0121] (2) Existing alarm analysis schemes based on large language models usually output natural language analysis conclusions, which lack objective verification of whether the current alarm event is true. This application reproduces alarm events in the target environment through an alarm reproduction agent and generates reproduction evidence, so that the analysis results have a traceable, reviewable and verifiable evidentiary basis.
[0122] (3) The reproducibility confidence of this application does not come solely from the output of the large language model itself, text similarity, or historical case matching, but is calculated based on alarm features, hypotheses to be verified, and reproducibility evidence. Therefore, the obtained confidence can more accurately reflect whether the alarm event has been actually verified or successfully reproduced, thus improving the credibility of the judgment conclusion.
[0123] (4) This application adopts a hierarchical judgment mechanism that combines rule matching, intelligent reproduction and manual judgment, and uses different processing paths for alarms with different degrees of certainty. Alarms with clear rules are quickly confirmed, alarms that cannot be covered by rules are verified by reproduction to form evidence, and alarms with insufficient confidence are handed over to manual judgment, thereby reducing the risk of false alarms and false alarms caused by single rule judgment or single large model judgment.
[0124] Based on the same inventive concept, this application also provides an apparatus for implementing the alarm analysis method based on the combination of rule matching and alarm reproduction intelligence as described above. The solution provided by this system is similar to the implementation scheme described in the above method. Therefore, the specific limitations of one or more embodiments of the alarm analysis apparatus based on the combination of rule matching and alarm reproduction intelligence provided below can be found in the limitations of the alarm analysis method based on the combination of rule matching and alarm reproduction intelligence described above, and will not be repeated here.
[0125] In one exemplary embodiment, an alarm analysis device based on the combination of rule matching and alarm reproduction intelligence is provided, including the following modules.
[0126] The standardization processing module is used to acquire the original alarm events and perform standardization processing to obtain standardized alarm events.
[0127] The matching module is used to match the standardized alarm events with the judgment rules in the preset judgment rule base; if the match is successful, a rule judgment result is generated according to the matched target judgment rule; if the rule judgment result is a real attack or a false alarm, the rule judgment result is output as the final judgment result; if the rule judgment result is a suspected attack or requires manual review, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent; if the match fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent.
[0128] The alarm reproduction module is used to perform alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution and evidence analysis on the alarm event to be reproduced through the alarm reproduction intelligent agent, so as to obtain the reproduction analysis conclusion.
[0129] The result confirmation and output module is used to determine the final judgment result based on the reproduction judgment conclusion and output it.
[0130] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments. The computer device can be a server or a terminal. The computer device includes a processor, a memory, an input / output interface (I / O), and a communication interface. The processor, memory, and I / O interface are connected via a system bus, and the communication interface is connected to the system bus via the I / O interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device stores data to be processed. The I / O interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with an external terminal via a network connection. When the computer program is executed by the processor, it implements the steps in the above-described method embodiments.
[0131] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0132] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0133] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0134] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0135] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0136] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0137] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An alarm analysis method based on rule matching and alarm reproduction intelligence, characterized in that, include: Obtain the original alarm events and perform standardized processing to obtain standardized alarm events; The standardized alarm events are matched with the judgment rules in the preset judgment rule base; If a match is successful, a rule analysis result is generated based on the matched target analysis rule; If the rule analysis result is a real attack or a false alarm, then the rule analysis result is output as the final analysis result. If the rule analysis result indicates a suspected attack or requires manual review, then the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent. If the matching fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent; The alarm reproduction agent sequentially performs alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution, and evidence analysis on the alarm event to be reproduced, and obtains reproduction analysis conclusion. The final judgment result is determined and output based on the reproduction analysis conclusion.
2. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 1, characterized in that, Matching the standardized alarm events with the judgment rules in the preset judgment rule base specifically includes: Based on the matching conditions of the standardized alarm events and the judgment rules, the rule matching score is calculated; The rule matching score is compared with a preset matching threshold. If the rule matching score is greater than or equal to the preset matching threshold, the match is determined to be successful; otherwise, the match is determined to be unsuccessful.
3. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 2, characterized in that, If multiple judgment rules have matching scores greater than or equal to the preset matching threshold, the judgment rule with the highest matching score is selected as the target judgment rule; if two or more judgment rules have the same highest matching score, the historical accuracy rate of the rules is calculated and compared, and the judgment rule with the highest historical accuracy rate is selected as the target judgment rule.
4. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 1, characterized in that, Based on the matched target judgment rules, rule judgment results are generated, specifically including: Extract the key evidence fields required for the target assessment rules from the standardized alarm events; The key evidence fields were verified item by item to obtain the verification results; Calculate the rule confidence level based on the verification results; The rule analysis result is determined based on the rule confidence level.
5. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 1, characterized in that, The alarm reproduction agent sequentially performs alarm classification, verifiable hypothesis generation, reproduction plan generation, alarm reproduction task execution, and evidence analysis on the alarm events to be reproduced, thereby obtaining a reproduction analysis conclusion, specifically including: The alarm events to be reproduced are classified into alarm types to obtain the alarm types of the alarm events to be reproduced; A set of verifiable hypotheses is generated based on the standardized alarm events and the alarm types of the alarm events to be reproduced; A reproduction plan is generated based on the standardized alarm events, the alarm types of the alarm events to be reproduced, and the set of verifiable hypotheses. The alarm reproduction task is executed according to the reproduction plan to obtain a set of structured execution results; Based on the structured execution result set, evidence analysis is performed to obtain a reproducibility analysis conclusion.
6. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 5, characterized in that, The alarm events to be reproduced are classified into alarm types to obtain the alarm types of the alarm events to be reproduced, specifically including: The alarm name, alarm type, and severity of the standardized alarm event are used as the priority feature text, and the original alarm event and the standardized alarm event are used as the complete feature text. Calculate the rule score for each candidate alarm type based on the priority feature text and the complete feature text; Select the candidate alarm type with the highest rule score as the alarm type of the alarm event to be reproduced, calculate the classification confidence score, and output the alarm type and classification confidence score of the alarm event to be reproduced.
7. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 5, characterized in that, Based on the standardized alarm events and the alarm types of the alarm events to be reproduced, a set of verifiable hypotheses is generated, specifically including: Select a preset assumption template based on the alarm type of the alarm event to be reproduced; The information from the standardized alarm events is filled into the preset hypothesis template to generate a set of verifiable hypotheses.
8. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 5, characterized in that, Based on the standardized alarm events, the alarm types of the alarm events to be reproduced, and the set of verifiable hypotheses, a reproduction plan is generated, specifically including: The structured model plan generator generates candidate reproduction plans based on the standardized alarm events, the alarm types of the alarm events to be reproduced, and the set of verifiable hypotheses. The candidate reproduction plan is validated at multiple levels using a deterministic plan validator. The candidate reproduction plan that has passed multi-level verification is converted into a reproduction plan.
9. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 5, characterized in that, The alarm reproduction task is executed according to the reproduction plan, resulting in a set of structured execution results, specifically including: According to the reproduction steps in the reproduction plan, call the corresponding tools to execute the alarm reproduction task and generate structured execution results; The structured execution results of each reproduction step are summarized to obtain a set of structured execution results.
10. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 5, characterized in that, Based on the structured execution result set, evidence analysis is performed to obtain a reproducibility analysis conclusion, specifically including: For each structured execution result in the structured execution result set, evidence extraction and evidence encapsulation processes are performed to generate evidence items; The confidence level for reproducibility is calculated based on the completeness of evidence, the reliability of tool execution, and the degree of feature matching. The reproduction judgment conclusion is determined based on the evidence items, the completeness of the evidence, the reliability of the tool execution, the feature matching degree, and the reproduction confidence.
11. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 10, characterized in that, The reproduction judgment conclusion is determined based on the evidence items, the evidence completeness, the tool execution reliability, the feature matching degree, and the reproduction confidence, specifically including: If there is specific supporting evidence in the evidence item that matches the supporting evidence in the verifiable hypothesis set, and the completeness of the evidence is not lower than the completeness threshold, the reliability of the tool execution is not lower than the first reliability threshold, and the confidence of reproduction is not lower than the preset confidence threshold, then the reproduction judgment conclusion is confirmed. If there is explicit rebuttal evidence in the evidence item that matches the rebuttal evidence in the verifiable hypothesis set, and the reliability of the tool execution is not lower than the second reliability threshold, then the reproducibility judgment conclusion is determined to be a false alarm; the first reliability threshold is less than the second reliability threshold. If neither the confirmation condition nor the false alarm condition is met, the judgment conclusion is determined to be unconfirmed.
12. The alarm analysis method based on rule matching and alarm reproduction agent as described in claim 11, characterized in that, Based on the aforementioned reproduction analysis conclusions, the final analysis result is determined and output, specifically including: If the reproducibility analysis conclusion is confirmed or false alarm, then the reproducibility analysis conclusion is output as the final analysis result; If the conclusion of the reproduction analysis is not confirmed, then a manual analysis is performed to obtain the manual analysis result and output it as the final analysis result.
13. An alarm analysis device based on a combination of rule matching and alarm reproduction intelligent agents, characterized in that, The apparatus is used to execute the alarm analysis method based on rule matching and alarm reproduction agent as described in any one of claims 1-12, the apparatus comprising: The standardization processing module is used to acquire the original alarm events and perform standardization processing to obtain standardized alarm events; The matching module is used to match the standardized alarm events with the judgment rules in the preset judgment rule base; if the match is successful, a rule judgment result is generated according to the matched target judgment rule; if the rule judgment result is a real attack or a false alarm, the rule judgment result is output as the final judgment result; if the rule judgment result is a suspected attack or requires manual review, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent; if the match fails, the original alarm event and the standardized alarm event are input as alarm events to be reproduced into the alarm reproduction agent. The alarm reproduction module is used to perform alarm classification, verifiable hypothesis set generation, reproduction plan generation, alarm reproduction task execution and evidence analysis on the alarm event to be reproduced through the alarm reproduction intelligent agent, and obtain the reproduction analysis conclusion. The result confirmation and output module is used to determine the final judgment result based on the reproduction judgment conclusion and output it.
14. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agent as described in any one of claims 1-12.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agent as described in any one of claims 1-12.
16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the alarm analysis method based on the combination of rule matching and alarm reproduction intelligent agent as described in any one of claims 1-12.
