Web security vulnerability attack chain automatic identification method based on multiple discovery association rules

By loading pre-configured attack chain rule templates and evidence mutual exclusion constraint mechanisms, the attack chain of web security vulnerabilities is automatically identified, solving the problem that existing technologies cannot identify attack chains across discovery combinations and business logic, and achieving efficient attack chain graph generation and accurate security assessment.

CN123184977APending Publication Date: 2026-11-27SHENZHEN IBOX INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611596170.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot automatically identify cross-discovery attack chain combinations or business logic attack chains, and there is a risk of misidentification in single discoveries. This makes it difficult for security teams to distinguish between high-risk attack chains and low-risk discoveries, increasing operational costs.

Method used

A multi-discovery association rule-based approach is adopted, which loads pre-configured attack chain rule templates and automatically identifies the relationships between multiple security discovery data through trigger matching and evidence mutual exclusion constraint mechanisms to generate an attack chain graph, including a business logic chain template to identify non-CVE business logic attack chains.

Benefits of technology

It enables automatic upscaling and identification of discrete security discovery data into high-risk attack chain graphs, improving the processing efficiency of security analysts, filling the gap in business logic attack chain identification, and ensuring the accuracy and coverage of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184977A_ABST
    Figure CN123184977A_ABST
Patent Text Reader

Abstract

The application provides a Web security vulnerability attack chain automatic identification method and device based on multiple discovery association rules, an electronic device and a storage medium. The method comprises the following steps: loading a plurality of pre-configured attack chain rule templates, each template containing at least two triggers; receiving a plurality of security discovery data, and matching the triggers with the attribute information of the data one by one; if any trigger matches successfully, identifying the data and updating it to a used identification set, so that subsequent matching skips the identification; when all triggers match successfully, activating the rule template and generating a security evaluation result. The application realizes evidence mutual exclusion constraint by introducing the used identification set, forces different triggers to be satisfied by independent discovery, effectively eliminates single discovery self-loop misjudgment. At the same time, it supports non-CVE rule matching based on business semantic keywords, fills the gap of business logic attack chain identification, and improves the cross-discovery automatic association capability and security evaluation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of network security and data processing technology, and specifically to a method, apparatus, electronic device, and storage medium for automatic identification of Web security vulnerability attack chains based on multi-discovery association rules. Background Technology

[0002] In automated web security assessment scenarios, vulnerability scanners typically detect each injection point independently, outputting a discrete list of "security discovery data." Each security discovery data entry includes attribute information such as vulnerability type, severity level, URL (Uniform Resource Locator), parameter name, and evidence summary. Existing mainstream security analysis tools and standards (such as the CVSS general vulnerability scoring system) primarily focus on performing independent hazard assessments and severity level labeling for individual vulnerabilities.

[0003] However, in real-world cyberattacks, attackers often don't exploit single vulnerabilities in isolation. Instead, they combine multiple low- or medium-risk vulnerabilities to create high-risk attack paths (e.g., first forging server requests to access internal services and then reading cloud metadata to obtain credentials). Therefore, existing technologies have the following significant drawbacks: 1. Lack of automatic cross-discovery correlation capabilities: Existing tools treat each security discovery as an independent entity and cannot automatically identify patterns where "two or more independent discoveries combine to form a higher-risk attack path." This makes it difficult for security teams to distinguish between high-risk attack chains that need immediate remediation and isolated low-risk discoveries that can be dealt with later when faced with hundreds or thousands of discrete discoveries, leading to inaccurate prioritization.

[0004] 2. Gaps in Business Logic Attack Chain Coverage: Traditional correlation methods often rely on CVEs (Common Vulnerability Disclosure Numbers) or specific technical vulnerability names, which cannot effectively identify business logic attack chains that do not involve traditional CVEs but have extremely high business risks. Such vulnerability combinations are often overlooked because the scores of individual vulnerabilities are not high.

[0005] 3. High risk of false identification: Some methods based on simple keyword matching or graph query lack strict constraint mechanisms, which can easily lead to a single security discovery containing multiple features being mistakenly identified as a complete attack chain, resulting in false high-risk events and increased operation and maintenance costs.

[0006] Therefore, there is an urgent need for a technical solution that can automatically upgrade discrete security discovery data into attack chain graphs based on declarative rules and effectively eliminate false positives from single discovery. Summary of the Invention

[0007] In view of the aforementioned problems, this application is proposed to provide a method, apparatus, electronic device, and storage medium for automatic identification of Web security vulnerability attack chains based on multi-discovery association rules, which overcomes or at least partially solves the aforementioned problems, including: An automatic identification method for web security vulnerability attack chains based on multi-discovery association rules includes: Load multiple pre-configured attack chain rule templates, where each attack chain rule template includes at least two triggers; Receive multiple security discovery data to be identified, and match each trigger with the attribute information of each security discovery data one by one; If any trigger is successfully matched, the security discovery data matched by that trigger is identified, and the identification is updated to the set of used identifications so that subsequent matching processes skip the identifications in the set of used identifications. When all triggers in any attack chain rule template match successfully, the attack chain rule template is activated, and the corresponding security assessment result is generated based on the activated attack chain rule template.

[0008] Furthermore, the step of matching each trigger with the attribute information of each security discovery data entry one by one includes: For each trigger, perform the following comparison operations in sequence: Perform pattern matching between the vulnerability types in the attribute information and the vulnerability type patterns defined in the triggers; Compare the severity level in the attribute information with the lowest severity level threshold defined in the trigger; Perform a regular expression search on the concatenated text of a specified field in the attribute information and the keywords defined in the trigger.

[0009] Furthermore, the pattern matching between the vulnerability types in the attribute information and the vulnerability type patterns defined in the trigger includes: The pattern is analyzed by parsing multiple candidate vulnerability types separated by pipe symbols. When a vulnerability type matches any one of the multiple candidate vulnerability types, the pattern is considered to have passed the matching test.

[0010] Further, the threshold comparison between the severity level in the attribute information and the lowest severity level threshold defined in the trigger includes: The severity level and the lowest severity level threshold are respectively mapped to their corresponding level ordinal numbers; When the severity level ordinal number is greater than or equal to the ordinal number of the lowest severity level threshold, the threshold comparison is deemed successful.

[0011] Furthermore, the step of performing a regular expression search on the concatenated text of the specified fields in the attribute information and the keywords defined in the trigger includes: The vulnerability type field, the Uniform Resource Locator field, and the parameter name field in the attribute information are concatenated to obtain the specified field concatenation text; Perform a regular expression search for the keyword in a case-insensitive manner within the concatenated text of the specified field; If the regular expression search yields a match, then the comparison at that level is considered successful.

[0012] Furthermore, the attribute information for each security discovery data includes: vulnerability type, severity level, Uniform Resource Locator, parameter name, and evidence summary.

[0013] Furthermore, the multiple attack chain rule templates include business logic chain templates; the triggers in the business logic chain templates do not contain general vulnerability disclosure numbers, but rather keywords based on business semantics, which are used to match attribute information involving business logic operations in the multiple security discovery data.

[0014] An automatic identification device for web security vulnerability attack chains based on multi-discovery association rules, comprising: The loading module is used to load multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; The matching module is used to receive multiple security discovery data to be identified and match each trigger with the attribute information of each security discovery data one by one; The identification module is used to identify the security discovery data matched by any trigger if the trigger is successfully matched, and update the identification to the set of used identifications so that subsequent matching processes skip the identifications in the set of used identifications. The activation module is used to activate an attack chain rule template when all triggers in any attack chain rule template match successfully, and to generate a corresponding security assessment result based on the activated attack chain rule template.

[0015] A computer electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the steps of the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules as described above.

[0016] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method for automatic identification of Web security vulnerability attack chains based on multi-discovery association rules as described above.

[0017] This application has the following advantages: In the embodiments of this application, addressing the problems of "inability to automatically identify cross-discovery attack chain combinations, missed detection of business logic attack chains, and misidentification of single-discovery self-loops" in the prior art, this application provides a solution, specifically: "Loading multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; receiving multiple security discovery data to be identified, and matching each trigger with the attribute information of each security discovery data one by one; if any trigger matches successfully, then marking the security discovery data matched by that trigger, and updating the mark to the used mark set, so that subsequent matching processes skip the marks in the used mark set; when all triggers in any attack chain rule template match successfully, activating the attack chain rule template, and generating the corresponding security assessment result based on the activated attack chain rule template." This application, by loading attack chain rule templates containing at least two triggers and performing multi-level condition matching on each security discovery data, combined with the evidence mutual exclusion constraint mechanism implemented by the used mark set, forces that different triggers of the same attack chain must be satisfied by different independent security discoveries. This solution addresses the limitations of existing technologies in automatically associating discrete discoveries and identifying self-looping vulnerabilities in single discoveries. It automatically elevates discrete low-risk / medium-risk discoveries into high-risk attack chain graphs, significantly improving the efficiency of security analysts. Furthermore, by introducing business logic chain templates containing business semantic keywords but lacking generic vulnerability disclosure numbers, it fills the gap in existing technologies for identifying non-CVE-type business logic attack chains, achieving fully automated coverage of business security risks related to the integrity of financial operations and data traceability. Attached Figure Description

[0018] To more clearly illustrate the technical solution of this application, the drawings used in the description of this application 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.

[0019] Figure 1 This is a flowchart illustrating the steps of an automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules, provided in an embodiment of this application. Figure 2 This is a structural block diagram of an automatic identification device for Web security vulnerability attack chains based on multi-discovery association rules provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a computer electronic device provided in an embodiment of the present invention; 1. A computer electronic device; 2. An external device; 3. A processing unit; 4. A bus; 5. A network adapter; 6. An I / O interface; 7. A display; 8. Memory; 9. Random access memory; 10. A cache memory; 11. A storage system; 12. A program / utility; 13. A program module. Detailed Implementation

[0020] To make the 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. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0021] The automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules provided in this application can be run in the analysis and processing stage of an automated Web security assessment system. A typical operating environment for this method is as follows: after the upstream vulnerability scanner completes independent detection of each injection point in the target system, it outputs a discrete list of security discovery data; this method receives this security discovery data list as input, performs chain-like reasoning based on declarative association rules, and outputs the activated attack chains and their upgraded security assessment results for security analysts to prioritize.

[0022] It should be noted that, for ease of understanding of the technical solution of this application, the following explanations are provided for the key terms involved in the embodiments of this application: Trigger: A conditional unit in an attack chain rule template used to match a single security discovery data point. It consists of three matching conditions: vulnerability type pattern, minimum severity threshold, and optional keywords. An attack chain rule template must contain at least two triggers to represent multiple stages in the attack path.

[0023] Evidence exclusion constraint: This refers to a constraint rule that different triggers of the same attack chain rule template must be satisfied by different security discovery data. This constraint is implemented through a used set of identifiers—once a piece of security discovery data successfully satisfies a trigger, its identifier is added to the used set of identifiers. The matching process of subsequent triggers automatically skips the identifiers in this set, thereby preventing a single piece of security discovery data from simultaneously satisfying multiple trigger conditions of the same attack chain and causing self-loop false identification.

[0024] Business logic chain template: A type of attack chain rule template whose triggers do not use general vulnerability disclosure numbers or traditional technical vulnerability type names as matching conditions, but are defined using business semantic keywords (such as "idempotent", "refund", "payment", "audit", "version", "tenant", etc.) to identify attack chains involving business security domains such as business operation integrity, data traceability and tenant isolation.

[0025] Severity ordinal number: An integer value obtained by mapping severity levels from low to high, used to compare the size of severity levels. In one specific implementation, the severity levels from low to high are INFO, LOW, MEDIUM, HIGH, and CRITICAL, which are mapped to severity ordinal numbers 0, 1, 2, 3, and 4, respectively.

[0026] Vulnerability Type Pattern: A pattern expression defined in the trigger used to match vulnerability types in security discovery data. It supports separating multiple candidate vulnerability types with the pipe symbol "|". When a vulnerability type in the security discovery data matches any of the candidate types, the pattern is considered a successful match.

[0027] Reference Figure 1 This application illustrates an embodiment of an automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules, specifically including: S101. Load multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; S102. Receive multiple security discovery data to be identified, and match each trigger with the attribute information of each security discovery data one by one; S103. If any trigger is successfully matched, the security discovery data matched by the trigger is marked, and the mark is updated to the set of used marks so that the subsequent matching process skips the marks in the set of used marks. S104. When all triggers in any attack chain rule template are successfully matched, activate the attack chain rule template and generate the corresponding security assessment result based on the activated attack chain rule template.

[0028] In the embodiments of this application, the above steps work together to achieve automatic dimensionality upgrade identification from discrete security discovery data to attack chain graphs. Step S101 loads the attack chain template, establishing the rule basis for constraining and guiding the subsequent matching process; Step S102 performs step-by-step, condition-by-condition screening and comparison of each security discovery data according to the multi-level conditions defined for each trigger, establishing conditional associations between the originally isolated discovery data and the stage links in the attack chain template; Step S103 dynamically maintains the set of used identifiers during the matching process, ensuring that each trigger link of the same attack chain must be supported by mutually independent discovery data through evidence mutual exclusion constraints; Step S104 activates the template and outputs a security assessment result containing the upgraded severity level when all triggers of a certain template are supported by independent discovery data. The progressive execution of the above four steps from premise to constraint to activation output upgrades the originally scattered and independently graded discovery list into an attack chain graph with combined upgrade semantics, enabling the security team to directly determine the priority of handling at the "attack chain" granularity without manually connecting related discoveries one by one.

[0029] Taking a specific application scenario as an example, the execution process of the above steps is illustrated through a demonstrative deduction. After an automated vulnerability scanner completes the detection of the target web system, it outputs 6 security discovery data, including: one discovery data with SSRF (Server Request Forgery) vulnerability type and MEDIUM severity level, associated with the / api / webhook endpoint; one discovery data with disclosure vulnerability type and MEDIUM severity level, whose response content exposes cloud credential information such as AccessKey and SecretKey; one discovery data with IDOR (Insecure Direct Object Reference) vulnerability type and MEDIUM severity level, associated with the / api / refund / endpoint; one discovery data with payment vulnerability type and LOW severity level, associated with the amount parameter of the / api / refund / endpoint; one discovery data with idempotency vulnerability type and MEDIUM severity level; and one discovery data with missing logs vulnerability type and LOW severity level. In step S101, the system loads a pre-configured set of attack chain rule templates. Each template carries metadata such as chain name, trigger list, upgraded severity level, and chain description. In step S102, the system iterates through each trigger of each template, comparing the matching conditions of each trigger with the attribute information of the six security discovery data points mentioned above. In step S103, whenever a security discovery data point successfully satisfies a trigger of a template, the unique identifier of that discovery data is recorded in the used identifier set. Subsequent triggers will automatically skip the discovery data corresponding to that identifier when searching for matching discoveries. In step S104, when all triggers of the "SSRF → Cloud Credential Leakage" chain template (one matching the SSRF type and one matching the disclosure type containing keywords such as metadata / AccessKey) are satisfied by different discovery data points, the template is activated and outputs the upgraded severity level CRITICAL. Simultaneously, the two related discovery data points are listed as evidence of the chain. Through this process, the six discovery data points that were originally scattered according to severity level were automatically identified as multiple high-risk attack chains, and security analysts can directly prioritize the endpoints pointed to by these chains.

[0030] This application's embodiments load an attack chain rule template containing at least two triggers and perform multi-level condition matching on each security discovery data. Combined with an evidence mutual exclusion constraint mechanism implemented using an identifier set, it mandates that different triggers of the same attack chain must be satisfied by different independent security discoveries. This solution solves the problems of existing technologies failing to automatically associate discrete discoveries and misidentifying single-discovery self-loops. It achieves the effect of automatically upgrading discrete low-risk / medium-risk discoveries into high-risk attack chain graphs, significantly improving the processing efficiency of security analysts. Furthermore, by introducing a business logic chain template containing business semantic keywords but without generic vulnerability disclosure numbers, it fills the gap in existing technologies for identifying non-CVE-type business logic attack chains, achieving fully automatic coverage of business security risks such as financial operation integrity and data traceability.

[0031] The following will further explain the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules in this exemplary embodiment.

[0032] In one embodiment of the present invention, the specific process of "receiving multiple security discovery data to be identified and matching each trigger with the attribute information of each security discovery data one by one" in step S102 can be further described in conjunction with the following description.

[0033] As described in the following steps, for each trigger, the following comparison operations are performed sequentially: pattern matching is performed between the vulnerability type in the attribute information and the vulnerability type pattern defined in the trigger; threshold comparison is performed between the severity level in the attribute information and the minimum severity level threshold defined in the trigger; and regular expression search is performed between the concatenated text of the specified field in the attribute information and the keywords defined in the trigger.

[0034] In this embodiment, the three-level comparison operation is executed sequentially in the order of "type pattern matching → severity threshold comparison → keyword regular expression search," forming a funnel-shaped matching mechanism with progressive filtering. The first level, vulnerability type pattern matching, coarsely defines the candidate discovery range of triggers, mapping the vulnerability families of interest (such as injection, unauthorized access, and information disclosure) to the discovered data. The second level, severity threshold comparison, eliminates discovered data with insufficient severity within the candidate range, ensuring that each link in the attack chain meets the minimum harm level required by the triggering conditions. The third level, keyword regular expression search, performs regular expression matching on specific text concatenated from the candidate discovered data of the first two levels, targeting the vulnerability type field, URL field, and parameter name field, further filtering out discovered data precisely related to the business context or attack characteristics. This three-level progressive filtering structure ensures that the matching of each trigger has both broad coverage at the type level and precise location accuracy at the evidence level. In one specific implementation, each security discovery data output by the upstream vulnerability scanner includes four fields for matching: vuln_class, severity, URL, and parameter. The three-level comparison operation directly uses these four fields as the data source, without relying on additional information extraction or external knowledge base calls, thus enabling the matching process to be completed in milliseconds. Furthermore, compared to searching directly with a single keyword, the above three-level filtering structure can significantly reduce the probability of false matches and improve the accuracy and interpretability of attack chain identification.

[0035] In one embodiment of the present invention, the specific process of the above step "pattern matching between the vulnerability type in the attribute information and the vulnerability type pattern defined in the trigger" can be further explained in conjunction with the following description.

[0036] As described in the following steps, parse multiple candidate vulnerability types separated by pipe symbols in the vulnerability type pattern. When the vulnerability type matches any one of the multiple candidate vulnerability types, the pattern is determined to be a successful match.

[0037] In this embodiment, the vulnerability type pattern uses the pipe symbol "|" as a separator to organize multiple candidate vulnerability types into a declarative expression. During matching execution, the system first parses the vulnerability type pattern, breaking it down into the candidate vulnerability types on both sides of the pipe symbol. Then, it compares each vulnerability type in the security discovery data with the candidate vulnerability types one by one. A match is considered successful if any candidate type is matched. This matching method, which uses the pipe symbol to express a logical "OR" relationship, allows the same trigger to cover multiple vulnerability types of the same family without adding extra logical branches, significantly reducing the redundancy of the rule template. In one specific implementation, the vulnerability type pattern defined by a trigger in the attack chain rule template can be sqli|xss|ssrf, whose semantics are: when the vulnerability type in the security discovery data is any one of SQL injection, cross-site scripting, or server request forgery, this level of comparison passes. As a specific implementation method, this matching method is also effective when dealing with cases where different scanners output different names for the same vulnerability family. Template declarers can include multiple candidate names for the same vulnerability family in the same vulnerability type pattern by using pipes, thereby avoiding missed matches due to naming differences.

[0038] In one embodiment of the present invention, the specific process of the above step "comparing the severity level in the attribute information with the lowest severity level threshold defined in the trigger" can be further explained in conjunction with the following description.

[0039] As described in the following steps, the severity level and the lowest severity level threshold are mapped to their corresponding level ordinal numbers; when the level ordinal number of the severity level is greater than or equal to the level ordinal number of the lowest severity level threshold, the threshold comparison is deemed to have passed.

[0040] In this embodiment, the severity level comparison is not based on the literal size of the strings, but on the numerical comparison after mapping the severity labels to ordered integers. In one specific implementation, the severity levels are mapped from low to high to level ordinal numbers: INFO=0, LOW=1, MEDIUM=2, HIGH=3, CRITICAL=4. If the lowest severity level threshold defined by a trigger is MEDIUM (level ordinal number 2), a security discovery data with a severity level of LOW (level ordinal number 1) will fail the comparison at that level because 1 < 2, while a security discovery data with a severity level of HIGH (level ordinal number 3) will pass the comparison at that level because 3 ≥ 2. Using the level ordinal mapping method for threshold comparison allows the severity level comparison operation to be incorporated into a unified numerical comparison logic, avoiding potential errors caused by inconsistencies between the habitual sorting of severity labels and the sorting of severity levels in string comparison, while keeping the threshold expression in the rule template concise and intuitive.

[0041] In one embodiment of the present invention, the specific process of the above step "concatenating the text of the specified field in the attribute information with the keywords defined in the trigger using regular expressions" can be further explained in conjunction with the following description.

[0042] As described in the following steps, the vulnerability type field, the Uniform Resource Locator field, and the parameter name field in the attribute information are concatenated to obtain the specified field concatenated text; in the specified field concatenated text, a regular expression search for the keyword is performed in a case-insensitive manner; if the regular expression search has a match result, the comparison at this level is determined to be successful.

[0043] In this embodiment, the search scope of the third-level comparison operation is not all attributes of the security discovery data, but is specifically limited to the text obtained by concatenating the vulnerability type field, the URL field, and the parameter name field. The reason for choosing this concatenation of three fields instead of the evidence digest field is that the vulnerability type, URL, and parameter name can relatively stably reflect the injection point characteristics and attack surface semantics pointed to by the security discovery data, while the text length and format of the evidence digest fluctuate greatly depending on the scanner. Directly performing a regular expression search on the entire digest can easily introduce cross-domain false hits. Furthermore, the case-insensitive matching method can improve robustness to differences in capitalization in the original data while maintaining the matching semantics. As a specific implementation, when the keyword of a trigger is defined as metadata|AccessKey|SecretAccessKey, as long as the regular expression search in the concatenated text hits any one of these fields, the comparison at this level is considered successful. This approach, which uses concatenated text as the search medium and limits the scope of the search with a clear set of keywords, achieves precise targeting of business context or technical features while avoiding the risk of introducing false associations by including noisy text in the evidence summary for matching.

[0044] In one embodiment of the present invention, the attribute information of each security discovery data includes: vulnerability type, severity level, Uniform Resource Locator, parameter name, and evidence summary.

[0045] In this embodiment, the vulnerability type, severity level, Uniform Resource Locator (URL), and parameter name provide direct field sources for the three-level comparison operation in step S102; the evidence digest serves as auxiliary information for the security discovery data, providing necessary contextual basis for manual review by security analysts after the attack chain is activated. By explicitly defining the attribute information of each security discovery data piece as the above five fields, this method establishes a clear and stable interface constraint on the output format of the upstream vulnerability scanner. Thus, when dealing with scanners from different vendors and models, only a lightweight field mapping is needed for the scanner output to integrate the data into the processing flow of this method.

[0046] In one embodiment of the present invention, the above-mentioned multiple attack chain rule templates include a business logic chain template; the triggers in the business logic chain template do not contain a general vulnerability disclosure number, but contain keywords based on business semantics, which are used to match the attribute information of business logic operations involved in the multiple security discovery data.

[0047] In this embodiment, the introduction of the business logic chain template extends the coverage of attack chain identification from the traditional technical vulnerability domain to the business logic integrity domain. Traditional attack chain association methods typically use CVE numbers or known technical vulnerability type names as anchor points for association. However, attack paths such as "the combination of payment amount tampering and missing audit logs forming untraceable fund theft" do not naturally correspond to a specific CVE entry or technical vulnerability type label. Therefore, under traditional methods, they can only be examined separately as independent discoveries and cannot form an upgraded attack chain conclusion. The triggers of the business logic chain template use business semantic keywords as matching criteria and directly act on the attribute information involving business logic operations in the security discovery data, without the need for CVE mapping or technical vulnerability normalization processing. In one specific implementation, the business logic chain templates may include: a "idempotency bypass + financial operation → double payment" chain template, where the first trigger matches discovery data containing keywords such as idempotency or race, and the second trigger matches discovery data containing keywords such as refund, charge, payment, or transfer; a "permission overreach + financial operation → unauthorized refund" chain template, where one trigger condition matches discovery data containing idor or overreach semantics, and the other trigger condition matches discovery data containing financial operation semantics such as refund or payment; and a "metadata tampering + no audit log → untraceable data tampering" chain template, where the trigger conditions match discovery data containing tamper or tampering semantics and audit_trail missing semantics, respectively. In one specific implementation, the above business logic chain templates cover at least two of the three major business security domains: financial operation integrity, data traceability, and tenant isolation. By incorporating business logic chain templates into a unified template loading and matching process, this application embodiment achieves automated identification of business logic attack chains, filling the gap in existing scanners and correlation methods in this direction, enabling security teams to discover high-risk combinations involving financial, auditing, and isolation violations without relying on the personal business experience of analysts.

[0048] As can be seen from the above embodiments, the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules provided in this application achieves automatic association and dimensionality enhancement of discrete security discovery data through the effective combination of declarative attack chain rule templates, multi-level trigger matching, and evidence mutual exclusion constraints. Compared with manual review, the solution of this application reduces the analysis efficiency of vulnerability discovery from purely manual to automated millisecond-level. In one specific implementation, the number of attack chain rule templates does not exceed 20 (denoted as C), the number of triggers in each template does not exceed 3 (denoted as T), the number of security discovery data to be identified does not exceed 100 (denoted as F), and the total time complexity of all matching and mutual exclusion checks is O(C×T×F), that is, a single linear traversal can complete the identification of all chains. Compared to traditional correlation methods, the solution in this application incorporates business logic attack chains (such as idempotency bypass + financial operation → double payment, privilege overreach + financial operation → unauthorized refund, etc.) into the scope of automated identification for the first time through the declarative definition of business logic chain templates; and ensures that each activated attack chain involves at least two independent security discovery data through the enforcement of evidence mutual exclusion constraints, thereby eliminating high-risk false alarms caused by "single discovery self-loop".

[0049] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0050] Reference Figure 2 This illustration shows an embodiment of an automatic identification device 200 for Web security vulnerability attack chains based on multi-discovery association rules, used to implement the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules provided in this embodiment. The device specifically includes: Loading module 201 is used to load multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; The matching module 202 is used to receive multiple security discovery data to be identified and match each trigger with the attribute information of each security discovery data one by one; The identification module 203 is used to identify the security discovery data matched by any trigger if the trigger is successfully matched, and update the identification to the used identification set so that the subsequent matching process skips the identifications in the used identification set. The activation module 204 is used to activate the attack chain rule template when all triggers in any attack chain rule template are successfully matched, and to generate the corresponding security assessment result based on the activated attack chain rule template.

[0051] In one embodiment of the present invention, the matching module 202 is further configured to: For each trigger, perform the following comparison operations in sequence: Perform pattern matching between the vulnerability types in the attribute information and the vulnerability type patterns defined in the triggers; Compare the severity level in the attribute information with the lowest severity level threshold defined in the trigger; Perform a regular expression search on the concatenated text of a specified field in the attribute information and the keywords defined in the trigger.

[0052] In one embodiment of the present invention, the matching module 202 is further configured to: The pattern is analyzed by parsing multiple candidate vulnerability types separated by pipe symbols. When a vulnerability type matches any one of the multiple candidate vulnerability types, the pattern is considered to have passed the matching test.

[0053] In one embodiment of the present invention, the matching module 202 is further configured to: The severity level and the lowest severity level threshold are respectively mapped to their corresponding level ordinal numbers; When the severity level ordinal number is greater than or equal to the ordinal number of the lowest severity level threshold, the threshold comparison is deemed successful.

[0054] In one embodiment of the present invention, the matching module 202 is further configured to: The vulnerability type field, the Uniform Resource Locator field, and the parameter name field in the attribute information are concatenated to obtain the specified field concatenation text; Perform a regular expression search for the keyword in a case-insensitive manner within the concatenated text of the specified field; If the regular expression search yields a match, then the comparison at that level is considered successful.

[0055] In one embodiment of the present invention, the attribute information of each security discovery data includes: vulnerability type, severity level, Uniform Resource Locator, parameter name, and evidence digest.

[0056] In one embodiment of the present invention, the plurality of attack chain rule templates include a business logic chain template; the triggers in the business logic chain template do not contain a general vulnerability disclosure number, but contain keywords based on business semantics, which are used to match attribute information involving business logic operations in the plurality of security discovery data.

[0057] Reference Figure 3 The illustration shows a computer electronic device 1 for implementing the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules of the present invention, which may specifically include: The computer electronic device 1 is manifested in the form of a general computing device, including: one or more processors or processing units 3, memory 8, and a bus 4 connecting different system components (including memory 8 and processing unit 3).

[0058] Bus 4 represents one or more of several bus architectures, including memory buses or memory controllers, peripheral buses, graphics acceleration ports, processors, or local buses using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Audio / Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0059] Computer electronic device 1 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer electronic device 1, including volatile and non-volatile media, removable and non-removable media.

[0060] Memory 8 may include computer system readable media in the form of volatile memory, such as random access memory 9 and / or cache memory 10. A computer electronic device 1 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 11 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as a "hard disk drive"). Although Figure 3 As not shown, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 4 via one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 13 configured to perform the functions of the embodiments of this application.

[0061] A program / utility 12 having a set (at least one) of program modules 13 may be stored, for example, in memory. Such program modules 13 include—but are not limited to—an operating system, one or more application programs, other program modules 13, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 13 typically perform the functions and / or methods described in the embodiments of this application.

[0062] The computer electronic device 1 can also communicate with one or more external devices 2 (e.g., keyboard, pointing device, display 7, camera, etc.), and with one or more devices that enable an operator to interact with the computer electronic device 1, and / or with any device that enables the computer electronic device 1 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through the I / O interface 6. Furthermore, the computer electronic device 1 can also communicate with one or more networks (e.g., local area network (LAN)), wide area network (WAN), and / or public networks (e.g., the Internet) through the network adapter 5. Figure 3 As shown, network adapter 5 communicates with other modules of computer electronic device 1 via bus 4. It should be understood that, although... Figure 3 Not shown, it may be combined with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing unit 3, external disk drive array, RAID system, tape drive and data backup storage system 11, etc.

[0063] The processing unit 3 executes various functional applications and data processing by running programs stored in memory 8, such as implementing the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules provided in the embodiments of this application.

[0064] That is, when the processing unit 3 executes the above program, it performs the following: loading multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; receiving multiple security discovery data to be identified, and matching each trigger with the attribute information of each security discovery data one by one; if any trigger is successfully matched, the security discovery data matched by the trigger is marked, and the mark is updated to the used mark set so that the subsequent matching process skips the marks in the used mark set; when all triggers in any attack chain rule template are successfully matched, the attack chain rule template is activated, and the corresponding security assessment result is generated according to the activated attack chain rule template.

[0065] In this application embodiment, the application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules as provided in all embodiments of the application.

[0066] In other words, when the program is executed by the processor, it implements the following: loading multiple pre-configured attack chain rule templates, where each attack chain rule template includes at least two triggers; receiving multiple security discovery data to be identified, and matching each trigger with the attribute information of each security discovery data one by one; if any trigger matches successfully, the security discovery data matched by that trigger is identified, and the identified data is updated to the set of used identifiers so that subsequent matching processes skip the identifiers in the set of used identifiers; when all triggers in any attack chain rule template match successfully, the attack chain rule template is activated, and the corresponding security assessment result is generated based on the activated attack chain rule template.

[0067] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.

[0068] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0069] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof. These programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the operator's computer, partially on the operator's computer, as a standalone software package, partially on the operator's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the operator's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider). The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably.

[0070] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0071] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0072] The above provides a detailed description of the automatic identification method, apparatus, electronic device, and storage medium for Web security vulnerability attack chains based on multi-discovery association rules provided in this application. Specific examples have been used 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 method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for automatically identifying Web security vulnerability attack chains based on multi-discovery association rules, characterized in that, include: Load multiple pre-configured attack chain rule templates, where each attack chain rule template includes at least two triggers; Receive multiple security discovery data to be identified, and match each trigger with the attribute information of each security discovery data one by one; If any trigger is successfully matched, the security discovery data matched by that trigger is identified, and the identification is updated to the set of used identifications so that subsequent matching processes skip the identifications in the set of used identifications. When all triggers in any attack chain rule template match successfully, the attack chain rule template is activated, and the corresponding security assessment result is generated based on the activated attack chain rule template.

2. The method according to claim 1, characterized in that, The process of matching each trigger with the attribute information of each security discovery data entry one by one includes: For each trigger, perform the following comparison operations in sequence: Perform pattern matching between the vulnerability types in the attribute information and the vulnerability type patterns defined in the triggers; Compare the severity level in the attribute information with the lowest severity level threshold defined in the trigger; Perform a regular expression search on the concatenated text of a specified field in the attribute information and the keywords defined in the trigger.

3. The method according to claim 2, characterized in that, The pattern matching between the vulnerability types in the attribute information and the vulnerability type patterns defined in the triggers includes: The pattern is analyzed by parsing multiple candidate vulnerability types separated by pipe symbols. When a vulnerability type matches any one of the multiple candidate vulnerability types, the pattern is considered to have passed the matching test.

4. The method according to claim 2, characterized in that, The threshold comparison between the severity level in the attribute information and the lowest severity level threshold defined in the trigger includes: The severity level and the lowest severity level threshold are respectively mapped to their corresponding level ordinal numbers; When the severity level ordinal number is greater than or equal to the ordinal number of the lowest severity level threshold, the threshold comparison is deemed successful.

5. The method according to claim 2, characterized in that, The step of performing a regular expression search on the concatenated text of specified fields in the attribute information and the keywords defined in the trigger includes: The vulnerability type field, the Uniform Resource Locator field, and the parameter name field in the attribute information are concatenated to obtain the specified field concatenation text; Perform a regular expression search for the keyword in a case-insensitive manner within the concatenated text of the specified field; If the regular expression search yields a match, then the comparison at that level is considered successful.

6. The method according to claim 1, characterized in that, The attribute information for each security discovery data includes: vulnerability type, severity level, Uniform Resource Locator, parameter name, and evidence summary.

7. The method according to any one of claims 1 to 6, characterized in that, The multiple attack chain rule templates include business logic chain templates; the triggers in the business logic chain templates do not contain general vulnerability disclosure numbers, but rather keywords based on business semantics, which are used to match attribute information involving business logic operations in the multiple security discovery data.

8. An automatic identification device for Web security vulnerability attack chains based on multi-discovery association rules, characterized in that, include: The loading module is used to load multiple pre-configured attack chain rule templates, wherein each attack chain rule template includes at least two triggers; The matching module is used to receive multiple security discovery data to be identified and match each trigger with the attribute information of each security discovery data one by one; The identification module is used to identify the security discovery data matched by any trigger if the trigger is successfully matched, and update the identification to the set of used identifications so that subsequent matching processes skip the identifications in the set of used identifications. The activation module is used to activate an attack chain rule template when all triggers in any attack chain rule template match successfully, and to generate a corresponding security assessment result based on the activated attack chain rule template.

9. A computer electronic device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When executed by the processor, the computer program implements the steps of the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the automatic identification method for Web security vulnerability attack chains based on multi-discovery association rules as described in any one of claims 1 to 7.