Vulnerability information processing method and device, equipment and readable storage medium

By acquiring vulnerability information from network target ranges, calculating the goodness-of-fit value, and generating an exploitation graph, the problem of eliminating unexploitable vulnerabilities in simulated vulnerability attack paths in existing technologies is solved, thereby improving the accuracy and efficiency of simulated vulnerability attack paths.

CN117254920BActive Publication Date: 2026-11-24CHINA MOBILE COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210648662.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-09
Publication Date
2026-11-24
Estimated Expiration
2042-06-09

AI Technical Summary

Technical Problem

Existing technologies cannot effectively exclude vulnerabilities that cannot be triggered when simulating vulnerability attack paths, resulting in simulation results that do not meet actual needs and wasting time and resources.

Method used

By acquiring field information of vulnerabilities in the network target range, calculating the goodness-of-fit value of the vulnerability, and comparing it with the preset goodness-of-fit value, the exploitability of the vulnerability is determined, and an exploitation relationship graph is generated to eliminate unexploitable vulnerabilities, thereby improving the accuracy of simulating vulnerability attack paths.

Benefits of technology

It improves the accuracy of simulated vulnerability attack paths, avoids considering unexploitable vulnerabilities, and improves the efficiency and accuracy of the simulation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117254920B_ABST
    Figure CN117254920B_ABST
Patent Text Reader

Abstract

This application discloses a vulnerability information processing method, apparatus, device, and readable storage medium. The method includes the steps of: acquiring field information of vulnerabilities in a network testing range; determining the exploitability of the vulnerability based on the field information; and if the vulnerability is exploitable, generating an exploitation relationship graph of the vulnerability based on the field information, so that users can practice attack paths of the vulnerability based on the exploitation relationship graph. This application avoids considering unexploitable vulnerabilities when simulating vulnerability attack paths, which could lead to unexploitable simulated vulnerability attack paths, thereby improving the accuracy of simulated vulnerability attack paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and in particular to a vulnerability information processing method, apparatus, device, and readable storage medium. Background Technology

[0002] With the rapid development of computer technology, vulnerabilities in internet systems are also increasing. How to quickly and effectively process a large amount of vulnerability information has become an urgent problem to be solved.

[0003] Currently, after processing vulnerability information, users simulate attack paths for the vulnerabilities (for example, if there is a vulnerability set {A,B,C}, then there may be multiple attack paths including A->B->C, A->C->B, B->C>A, etc.). However, since some vulnerabilities are not triggered in actual use, some attack paths do not exist in actual use. Yet, technical personnel still waste time and energy studying these non-existent attack paths. Summary of the Invention

[0004] The main objective of this application is to provide a vulnerability information processing method, apparatus, device, and readable storage medium. This application determines the exploitability of a vulnerability by calculating the goodness-of-fit value of the vulnerability and comparing it with a preset goodness-of-fit value, and excludes unexploitable vulnerabilities when simulating vulnerability attack paths. It aims to solve the problem of how to more efficiently determine whether a vulnerability can be triggered, so as to improve the accuracy of simulating vulnerability attack paths.

[0005] To achieve the above objectives, this application provides a vulnerability information processing method, the method comprising:

[0006] Obtain field information of vulnerabilities in the network testing range;

[0007] Based on the field information, the exploitability of the vulnerability is determined;

[0008] If the vulnerability is exploitable, an exploitation graph is generated based on the field information, so that users can practice the attack path of the vulnerability based on the exploitation graph.

[0009] For example, determining the exploitability of the vulnerability based on the field information includes:

[0010] Based on the field information, calculate the goodness-of-fit value of the vulnerability;

[0011] If the goodness-of-fit value is greater than or equal to the preset goodness-of-fit value, then the vulnerability has the exploitability.

[0012] For example, calculating the fit value of the vulnerability based on the field information includes:

[0013] Generate a first preset number of first verification payloads, wherein the first verification payloads are vulnerability exploitation conditions that meet the vulnerability exploitation prerequisites in the field information;

[0014] Each of the first verification payloads is obfuscated, and the number of obfuscations is recorded;

[0015] Assign a preset value to the verification value corresponding to each of the first verification loads, determine the second verification load from the first verification loads, and record the number of loads of the second verification load;

[0016] The fit value is calculated based on the first preset quantity, the number of confusions, the preset value, and the number of payloads.

[0017] For example, the step of assigning a preset value to the verification value corresponding to each of the first verification loads, determining the second verification load from the first verification loads, and recording the number of loads of the second verification load includes:

[0018] Iterate through each of the first verification payloads;

[0019] The first verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability;

[0020] If the actual utilization result is consistent with the expected utilization effect in the field information, the verification value corresponding to the first verification load that has been traversed is assigned a preset value, and the first verification load that has been traversed is determined as the second verification load, and the load quantity of the second verification load is recorded.

[0021] For example, before calculating the goodness-of-fit value of the vulnerability based on the field information, the process includes:

[0022] Generate a second preset number of third verification payloads, wherein the third verification payloads are vulnerability exploitation conditions that do not meet the vulnerability exploitation prerequisites in the field information;

[0023] Traverse the third verification load;

[0024] The third verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability;

[0025] If the actual result matches the expected result in the field information, an error message is output so that the user can modify the field information.

[0026] For example, generating the exploitation graph of the vulnerability based on the field information includes:

[0027] Obtain the input and output information of the vulnerability from the field information;

[0028] If the input information is the same as the output information, then the vulnerability is used as a node in the relationship graph, and the relationship graph nodes are connected to generate an exploitation relationship graph of the vulnerability.

[0029] For example, obtaining field information about vulnerabilities in a network testing range includes:

[0030] Obtain the characteristic data of the vulnerability;

[0031] The feature data is classified to obtain the field information.

[0032] For example, to achieve the above objectives, this application also provides a vulnerability information processing apparatus, the apparatus comprising:

[0033] The first acquisition module is used to acquire field information of vulnerabilities in the network test range;

[0034] A determination module is used to determine the exploitability of the vulnerability based on the field information;

[0035] The first generation module is used to generate an exploitation relationship graph of the vulnerability based on the field information if the vulnerability is exploitable, so that users can practice the attack path of the vulnerability based on the exploitation relationship graph.

[0036] For example, to achieve the above objectives, this application also provides a vulnerability information processing device, the device comprising: a memory, a processor, and a vulnerability information processing program stored in the memory and executable on the processor, wherein the vulnerability information processing program, when executed by the processor, implements the steps of the vulnerability information processing method as described above.

[0037] For example, to achieve the above objectives, this application also provides a computer-readable storage medium storing a vulnerability information processing program, which, when executed by a processor, implements the steps of the vulnerability information processing method described above.

[0038] Compared to existing technologies that fail to exclude untriggerable vulnerabilities when simulating vulnerability attack paths, resulting in simulated attack paths that do not meet actual needs, this application improves the accuracy of simulated vulnerability paths by acquiring field information of vulnerabilities in a network testing environment; determining the exploitability of the vulnerability based on the field information; and generating an exploitation graph based on the field information if the vulnerability is exploitable. This allows users to practice attack paths based on the exploitation graph. This avoids including untriggerable vulnerabilities in the simulated attack paths. Instead, it calculates the goodness-of-fit value of the vulnerability and compares it with a preset goodness-of-fit value. If the goodness-of-fit value is less than the preset value, the vulnerability is determined to be unexploitable, thus excluding unexploitable vulnerabilities during the simulation. Exploitation graphs are then generated from exploitable vulnerabilities for users to practice attack paths. Therefore, this application avoids considering unexploitable vulnerabilities during the simulation, preventing unexploitable attacks and improving the accuracy of simulated attack paths. Attached Figure Description

[0039] Figure 1 This is a flowchart illustrating the first embodiment of the vulnerability information processing method of this application;

[0040] Figure 2 This is a schematic diagram of an apparatus for a preferred embodiment of the vulnerability information processing method of this application;

[0041] Figure 3 This is a schematic diagram of vulnerability relationships in a preferred embodiment of the vulnerability information processing method of this application;

[0042] Figure 4 This is a vulnerability relationship network node diagram of a preferred embodiment of the vulnerability information processing method of this application;

[0043] Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0046] This application provides a vulnerability information processing method, referring to... Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the first embodiment of the vulnerability information processing method of this application. Figure 2This is a schematic diagram of the model training process in the vulnerability information processing method of this application.

[0047] This application provides an embodiment of a vulnerability information processing method. It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here. The vulnerability information processing method includes:

[0048] Step S110: Obtain field information of vulnerabilities in the network target range.

[0049] A vulnerability is a weakness or flaw in a system, its sensitivity to specific threats or dangerous events, or the potential for an attack. Vulnerabilities may stem from design flaws or coding errors in application software or operating systems, or from design flaws or logical inconsistencies in business interaction processes. These flaws, errors, or inconsistencies can be exploited intentionally or unintentionally, adversely affecting an organization's assets or operations, such as information systems being attacked or controlled, important data being stolen, user data being tampered with, or the system being used as a springboard for intrusion into other host systems. Currently discovered vulnerabilities far outnumber those in application software, especially in web (World Wide Web) application systems, which account for the vast majority of information system vulnerabilities.

[0050] Field information describes specific details of a vulnerability, including but not limited to the vulnerability's name, software version information, exploitation conditions, expected exploitation effect, actual exploitation result, and actual exploitation result. Field information is a standardized machine language information, possessing universality and applicable to different types of network testbeds. The acquisition of field information can be achieved by inputting pre-collected vulnerability feature data into a computer model for automatic generation after processing; alternatively, it can be obtained by directly accepting user-input field information. This embodiment does not limit the specific acquisition method.

[0051] For example, obtaining field information about vulnerabilities in a network testing range includes:

[0052] Obtain the characteristic data of the vulnerability.

[0053] The feature data is classified to obtain the field information.

[0054] Feature data refers to the initial information about a vulnerability. This initial information is usually described in natural language, describing the relevant characteristics of the vulnerability, and is not universal. Vulnerability feature data generally comes from vulnerability databases, which can be CVE (Common Vulnerabilities & Exposures) or CNVD (China National Vulnerability Database).

[0055] Field information is generated by inputting collected vulnerability feature information into a pre-trained computer model, which then converts the natural language feature information into machine language and performs classification processing.

[0056] Data processing comprises two methods: data cleaning and data classification. Data cleaning primarily uses natural language processing to obtain natural text information, while data classification further categorizes and processes this natural text information to extract field information. For example, data cleaning first filters out vulnerabilities that are unusable due to missing key information. Then, data classification performs aggregation, deduplication, compression, and sorting operations on the data to obtain the vulnerability's field information.

[0057] It's understandable that after collecting all the characteristic information of vulnerabilities from the vulnerability database, this information is input into a pre-trained computer model. The model first cleanses the characteristic data, then classifies it to obtain the vulnerability's field information. The main purpose of data cleaning is to filter out vulnerabilities lacking key information, while the purpose of classification is to categorize the characteristic information and generate flowing field information based on the relationships between the categorized data.

[0058] Step S120: Determine the exploitability of the vulnerability based on the field information.

[0059] After a vulnerability is identified, it may become unexploitable for various reasons. For example, changes in the operating environment may prevent the vulnerability from being triggered, or the prerequisites for exploiting the vulnerability may have already been technically overcome in practical applications. Therefore, it is necessary to remove unexploitable vulnerabilities from practical applications.

[0060] For example, determining the exploitability of the vulnerability based on the field information includes:

[0061] Based on the field information, the goodness-of-fit value of the vulnerability is calculated.

[0062] If the goodness-of-fit value is greater than or equal to the preset goodness-of-fit value, then the vulnerability has the exploitability.

[0063] The goodness-of-fit value is used to indicate whether a vulnerability is exploitable. When the goodness-of-fit value is greater than or equal to the preset goodness-of-fit value, it means that the vulnerability is exploitable; when the goodness-of-fit value is less than the preset goodness-of-fit value, it means that the vulnerability is not exploitable.

[0064] The preset fit value is obtained by calculating and analyzing a large amount of data generated from the availability of vulnerabilities in the network target range. The value can be 1 or 2. The specific data is not limited in this embodiment.

[0065] Understandably, previously there was no quantitative standard for judging the exploitability of vulnerabilities in specific applications. Therefore, this application uses computer algorithms to transform the field information of the vulnerability into a definite goodness-of-fit value and compares it with a preset goodness-of-fit value, thereby accurately determining whether the vulnerability is exploitable and providing a quantitative standard for judging the exploitability of vulnerabilities.

[0066] For example, calculating the fit value of the vulnerability based on the field information includes:

[0067] Generate a first preset number of first verification payloads, wherein the first verification payloads are vulnerability exploitation conditions that meet the vulnerability exploitation prerequisites in the field information.

[0068] The first preset quantity can be 10 or 20, and this implementation does not impose a specific limit.

[0069] The pre-implementation of vulnerability exploitation describes the specific implementation conditions required for vulnerability exploitation. It is a concrete description of the pre-conditions for vulnerability exploitation. For example, if the pre-condition for vulnerability exploitation is privilege escalation, then the pre-implementation of vulnerability exploitation is obtaining administrator privileges.

[0070] The first verification payload is the actual triggering condition of the vulnerability, used to verify whether the actual exploitation result of the vulnerability is consistent with the expected exploitation effect.

[0071] Each of the first verification payloads is obfuscated, and the number of obfuscations is recorded.

[0072] Assign a preset value to the verification value corresponding to each of the first verification loads, determine the second verification load from the first verification loads, and record the number of loads of the second verification load.

[0073] For example, the step of assigning a preset value to the verification value corresponding to each of the first verification loads, determining the second verification load from the first verification loads, and recording the number of loads of the second verification load includes:

[0074] Iterate through each of the first verification loads.

[0075] The first verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability.

[0076] If the actual utilization result is consistent with the expected utilization effect in the field information, the verification value corresponding to the first verification load that has been traversed is assigned a preset value, and the first verification load that has been traversed is determined as the second verification load, and the load quantity of the second verification load is recorded.

[0077] The validation value corresponding to the first validation load is used to calculate the goodness-of-fit value of the vulnerability. Typically, when the actual exploitation result produced by the first validation load matches the expected exploitation result, the validation value is assigned a value of 1; when the actual exploitation result does not match the expected exploitation result, the validation value is assigned a value of -1.

[0078] The preset value can be 1 or -1, and this embodiment does not impose a specific limitation.

[0079] The second verification payload is a part of the first verification payload. When the actual exploitation effect produced by the first verification payload on the vulnerability is consistent with the expected exploitation effect, the first verification payload is marked as the second verification payload. The first verification payload that meets the condition is selected as the second verification payload, and the number of the second verification payload is recorded.

[0080] The process involves inputting multiple generated first verification payloads into the vulnerability database one by one, recording the actual exploitation effect of each payload, comparing these effects with the corresponding expected effects, selecting the first verification payload whose actual and expected effects match, marking it as a second verification payload, and recording the number of payloads corresponding to the second verification payload. Simultaneously, the verification value of the first verification payload that meets the condition is assigned as 1, and the verification value of the first verification payload that does not meet the condition is assigned as -1.

[0081] The fit value is calculated based on the first preset quantity, the number of confusions, the preset value, and the number of payloads.

[0082] The goodness-of-fit value is calculated by multiplying the number of obfuscations by the number of payloads, summing the results, and then multiplying the sum by the ratio of the number of payloads to a first preset number. This goodness-of-fit value is then compared with a preset goodness-of-fit value to determine whether a vulnerability is exploitable. This application quantifies vulnerability exploitability into a numerical comparison, thus standardizing the criteria for determining vulnerability exploitability and enabling precise determination of whether a vulnerability is exploitable.

[0083] Step S130: If the vulnerability is exploitable, an exploitation relationship diagram of the vulnerability is generated based on the field information, so that users can practice the attack path of the vulnerability based on the exploitation relationship diagram.

[0084] For example, generating the exploitation graph of the vulnerability based on the field information includes:

[0085] The input and output information of the vulnerability are obtained from the field information.

[0086] If the input information is the same as the output information, then the vulnerability is used as a node in the relationship graph, and the relationship graph nodes are connected to generate an exploitation relationship graph of the vulnerability.

[0087] The input information for a vulnerability can be either a prerequisite for exploiting the vulnerability or a prerequisite for exploiting the vulnerability. This embodiment does not impose any specific limitations.

[0088] The output information of a vulnerability can be the expected exploitation effect of the vulnerability or the expected exploitation result of the vulnerability.

[0089] The expected exploit effect of a vulnerability is the anticipated outcome that might occur given the preconditions for exploitation; therefore, the expected exploit effect corresponds to the preconditions for exploitation. The expected exploit result of a vulnerability is the anticipated outcome that will occur given the implementation of the preconditions for exploitation; therefore, the expected exploit effect corresponds to the implementation of the preconditions for exploitation. For example, if the precondition for exploitation is privilege escalation, then the implementation of exploitation is obtaining administrator privileges; if the expected exploit effect of privilege escalation is information disclosure, then the expected exploit result of obtaining administrator privileges is the disclosure of the administrator's information. In other words, the preconditions for exploitation and the expected exploit effect of a vulnerability encompass a broad range, but the implementation of exploitation and the expected exploit result are specific conditions and outcomes within a particular scenario.

[0090] It is understandable that if the expected exploitation effect of vulnerability 1 is the same as the preconditions for exploiting vulnerability 2, then vulnerability 1 can serve as a trigger condition for vulnerability 2, and there is a correlation between vulnerability 1 and vulnerability 2. Therefore, based on this correlation, vulnerability 1 and vulnerability 2 are treated as nodes in a network, and connected. By extending this method to all vulnerabilities, it is possible to draw a diagram of the expected exploitation effect of the vulnerability.

[0091] Similarly, if the expected exploit result of vulnerability 1 is the same as the prerequisite implementation for exploiting vulnerability 2, it also means that vulnerability 1 can serve as the trigger condition for vulnerability 2, and there is a correlation between vulnerability 1 and vulnerability 2. Therefore, based on this correlation, vulnerability 1 and vulnerability 2 are treated as nodes in a network, and connected. By extending this method to all vulnerabilities, it is possible to draw a diagram of the expected exploit results of the vulnerabilities.

[0092] Based on the above diagrams of expected exploitation effects and expected exploitation results, users can simulate the attack paths of vulnerabilities in a network range in order to conduct targeted research and remediation of the attack paths.

[0093] For example, before calculating the goodness-of-fit value of the vulnerability based on the field information, the process includes:

[0094] Generate a second preset number of third verification payloads, wherein the third verification payloads do not meet the vulnerability exploitation conditions implemented before the vulnerability exploitation in the field information.

[0095] The second preset quantity can be 5 or 10, and the specific value is not limited in this embodiment.

[0096] The third verification payload is the actual triggering condition of the vulnerability, used to verify whether there are errors in the field information of the vulnerability.

[0097] Traverse the third verification load.

[0098] The third verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability.

[0099] If the actual result matches the expected result in the field information, an error message is output so that the user can modify the field information.

[0100] It is understandable that the field information is generated by a computer model and may contain errors. Therefore, before calculating the goodness-of-fit value based on the field information, it is necessary to verify the field information to determine whether the generated field information is correct.

[0101] The generated third-party verification payload, which does not conform to the pre-exploitation implementation, is input into the vulnerability. The actual exploit result is compared with the expected exploit result. If the actual exploit result matches the expected exploit result, it indicates that there is an error in the field information. Because the third-party verification payload does not conform to the pre-exploitation implementation, the actual exploit result generated by the third-party verification payload should also be different from the expected exploit result. Therefore, if the actual exploit result matches the expected exploit result, it indicates that there is an error in the field information, and an error message needs to be output to remind the user to modify the field information.

[0102] Compared to existing technologies that fail to exclude untriggerable vulnerabilities when simulating vulnerability attack paths, resulting in simulated attack paths that do not meet actual needs, this application improves the accuracy of simulated vulnerability paths by acquiring field information of vulnerabilities in a network testing environment; determining the exploitability of the vulnerability based on the field information; and generating an exploitation graph based on the field information if the vulnerability is exploitable. This allows users to practice attack paths based on the exploitation graph. This avoids including untriggerable vulnerabilities in the simulated attack paths. Instead, it calculates the goodness-of-fit value of the vulnerability and compares it with a preset goodness-of-fit value. If the goodness-of-fit value is less than the preset value, the vulnerability is determined to be unexploitable, thus excluding unexploitable vulnerabilities during the simulation. Exploitation graphs are then generated from exploitable vulnerabilities for users to practice attack paths. Therefore, this application avoids considering unexploitable vulnerabilities during the simulation, preventing unexploitable attacks and improving the accuracy of simulated attack paths.

[0103] The following description, in conjunction with a preferred embodiment, illustrates the content involved in the above embodiments.

[0104] This application proposes a vulnerability information processing method, which includes:

[0105] Step a: Collect all data information about the vulnerability and generate a vulnerability injection description file based on all the data information.

[0106] Reference Figure 2 , Figure 2 This is a schematic diagram of a preferred embodiment of the vulnerability information processing method of this application. This application provides a method and apparatus for generating vulnerability implantation description files, mainly applicable to network testbeds. The apparatus is divided into a vulnerability information collection unit, a vulnerability information processing unit, a vulnerability information verification unit, a vulnerability relationship generation unit, and a vulnerability integration unit.

[0107] Because vulnerability information is collected from multiple sources, a single vulnerability may come from multiple vulnerability databases. Vulnerability information from different sources is represented in different ways. Vulnerability information collected from media websites, personal / organizational blogs, social media platforms (Facebook, Twitter, WeChat groups, Moments), etc., is generally in unstructured language, mainly designed for human reading and understanding. It lacks key information for vulnerability reproduction and cannot be directly used to verify the exploitability of the vulnerability. There may even be contradictory vulnerability information for the same vulnerability, making it impossible to accurately determine whether the vulnerability can be successfully exploited in a specific scenario.

[0108] This application proposes a standardized, structured, machine-processable method for defining and generating VISF (Vulnerability Integration Specification File). This method is universal and can be extended to different types of cyber ranges to collect and process key information about vulnerabilities in targets and generate standardized files. The definition of VISF is as follows:

[0109] 1. Common Vulnerabilities Number (CVN): This describes the vulnerability's identifier in a mainstream vulnerability database. The database can be CVE (Common Vulnerabilities & Exposures), which is similar to a dictionary that gives a public name to widely recognized information security vulnerabilities or exposed weaknesses; or CNVD (China National Vulnerability Database).

[0110] 2. Vulnerability Description Number (VDN): This is used to describe the vulnerability's number in this application. The numbering rule is scene number, target number, and vulnerability number, for example, scene1target11(scene, scene; target, target).

[0111] 3. Vulnerability Type (VT): This describes the type of vulnerability and focuses on the effects it causes, such as information disclosure vulnerabilities or weak password vulnerabilities.

[0112] 4. Vulnerability Exploitability Score (VES): This score describes the difficulty of exploiting a vulnerability and quantifies it quantitatively. The scoring criteria refer to the vulnerability exploitability score in CVSS (Common Vulnerability Scoring System).

[0113] 5. Vulnerability Dependency Software Name (VSN): This describes the name of the software on which the vulnerability exists.

[0114] 6. Vulnerability Dependency Software Version (VSV): This describes the detailed version number of the software on which the vulnerability exists.

[0115] 7. Operating system information of the underlying software on which the vulnerability depends (Vulnerability Dependency Software Operating System, VSOS), which describes the operating system information on which the vulnerability depends during exploitation.

[0116] 8. Vulnerability Internal Connectivity (VIC) describes the exploit dependency relationship between this vulnerability and other vulnerabilities in the same target.

[0117] 9. Vulnerability External Connectivity (VEC) describes the exploit dependency between this vulnerability and vulnerabilities on other targets in the network.

[0118] 10. Exploit Dependency Precondition (EDP) describes the necessary conditions beyond the basic configuration that must be met for a vulnerability to be exploited, such as the need for privilege escalation.

[0119] 11. Exploit Dependency Implementation (EDI) describes the specific implementation conditions beyond the basic configuration required for exploiting a vulnerability. It is a concrete description of the preconditions for exploiting a vulnerability, such as obtaining administrator privileges.

[0120] 12. Exploit (EXP): An attack method or technique that exploits a specific vulnerability. For example, SQL (Structured Query Language) injection vulnerability exploitation based on error message injection.

[0121] 13. Expected Effect of Exploit (EEE): This describes the expected effect of exploiting a vulnerability, such as information leakage.

[0122] 14. Expected Result of Exploit (ERE): This describes the expected outcome of exploiting a vulnerability. It is a concrete description of the exploit's effect, such as the leakage of an administrator's account key under information disclosure.

[0123] In VISF, key fields include: internal connectivity, external connectivity, preconditions for exploitation, implementation of preconditions for exploitation, expected effects of exploitation, and expected results of exploitation. Preconditions for exploitation and expected effects of exploitation are oriented towards the impact of the vulnerability in the target range, defined according to mainstream vulnerability classification methods, and are abstract summaries of the vulnerability's impact, such as information disclosure. Implementation of preconditions for exploitation and expected results of exploitation are concretizations of the preconditions and expected effects of the vulnerability, and are abstract summaries of the vulnerability's impact, such as the disclosure of administrator account keys in information disclosure.

[0124] The vulnerability internal connectivity and vulnerability external connectivity fields in the Vulnerability Implantation Description File (VISF) are determined by the specific design of the network testbed and are used to describe the interdependencies between different vulnerabilities in the same scenario. It's important to note that dependencies exist between vulnerabilities. From the perspective of vulnerability effects, analysis of a large amount of common vulnerability data from network testbeds reveals that the expected exploit result is the same as the type of vulnerability's pre-exploitation implementation, and the expected exploit effect is the same as the type of vulnerability's pre-exploitation conditions. This provides a basis for classifying vulnerabilities according to their implementation effects. This classification method can be used to categorize common vulnerability effects in network testbeds. Even though the exploitation methods and implementation methods differ in different types of testbeds, all vulnerabilities in the network testbed can still be classified according to their implementation effects. This classification can be used as a standard to extend to all network testbeds; see the classification of some common vulnerability effects. This classification method can discover the potential interrelationships between different vulnerabilities in the same scenario within a network testbed. For example, if vulnerabilities A and B exist in the same scenario, and A and B have a dependency relationship, it is described using the symbol A→B. It should be noted that the descriptive symbols are directional, pointing from the expected exploitation effect of this vulnerability to the preconditions for exploiting other vulnerabilities, or from the expected exploitation result of this vulnerability to the preconditions for exploiting other vulnerabilities.

[0125] Internal connectivity of a vulnerability means that the vulnerability has an exploit dependency relationship with other vulnerabilities in the same target. For example, if there are vulnerabilities 1 and 2 in the same target, the expected effect of exploiting vulnerability 1 is information disclosure, and the prerequisite for exploiting vulnerability 2 is information disclosure, then it can be marked as 1→2, that is, there is a dependency relationship between vulnerabilities 1 and 2 when they are exploited.

[0126] External connectivity of a vulnerability means that the vulnerability has an exploitation dependency relationship with vulnerabilities on other targets in the network. For example, if the expected exploitation effect of vulnerability 1 in target A is information disclosure, and the exploitation prerequisite of vulnerability 2 in target B in the same scenario is information disclosure, then it can be marked as A_1→B_2, that is, there is a dependency relationship between vulnerability 1 in target A and vulnerability 2 in target B when exploiting them.

[0127] The vulnerability information collection unit uses web crawling technology to sequentially collect all possible vulnerability information contained in specific software versions within a given target environment scenario, based on the names and versions of all underlying software involved. The collection process focuses on key information regarding vulnerability reproduction in the network target environment and before and after exploitation, utilizing mainstream vulnerability databases such as CVE and CNVD. Based on the provided software names and versions, it collects information related to one or more target vulnerabilities. This includes obtaining official vulnerability information from the official maintenance communities and open-source repositories of the underlying software, such as officially maintained Git (GitHub, an open-source distributed version control system) repositories and information published on official websites. Finally, it supplements the vulnerability information by searching the internet for technical sharing articles and personal technical blogs related to the target vulnerabilities. The information collected from both parts will be sent to the vulnerability information processing unit. It should be clarified that this application focuses on the network test environment and does not consider destructive vulnerabilities such as DDoS (Distributed Denial of Service, an attack where multiple attackers in different locations simultaneously launch attacks against one or more targets, or where one attacker controls multiple machines in different locations and uses these machines to simultaneously attack a victim. Because the attack originates from different places, this type of attack is called a distributed denial-of-service attack, and there can be multiple attackers).

[0128] The vulnerability information processing unit processes and classifies the massive amounts of data collected by the vulnerability information collection unit. The processing method consists of two parts: data cleaning and data classification. Data cleaning primarily uses natural language processing to obtain natural text information, which is then further processed. For example, Regular Expressions (REs) are used to filter out irregular characters and separate Chinese and English characters. Data preprocessing filters out vulnerabilities that are unusable due to missing key information. Subsequently, data aggregation, deduplication, compression, and sorting operations are performed, and the processed data is input into the data classification module. Regular expressions, also known as regulated expressions, are a concept in computer science. They are commonly used to search for and replace text that conforms to a certain rule. For example, a regular expression describes a string matching pattern, which can be used to check if a string contains a certain substring, replace matching substrings, or extract substrings that meet certain conditions from a string.

[0129] The data classification module categorizes the input data, primarily using computer models. It defines key fields of vulnerability information and generates rules using mathematical operators and Boolean relational operators. These rules match the defined key fields with corresponding text information. The resulting data is input into a trained rule-matching model to obtain all fields of the target vulnerability's VISF (excluding VIC and VEC). The obtained data is then converted into a file in a specified format and sent to the vulnerability information verification unit for verification. The specified format can be yml (YAML is not a markup language; it typically uses .yml as a suffix) or json (JavaScript Object Notation).

[0130] The method for training the rule-based matching model involves using word segmentation tools such as NLTK (Natural Language Toolkit) to segment and tag the text with parts of speech. By understanding the relationships between words and context, and between context and words, words are effectively mapped into low-dimensional, dense vectors. Then, a computer-learning matching model is provided, which is built based on the fields defined in the vulnerability implantation description file. This model is pre-trained on a large amount of labeled (i.e., pre-classified) Chinese or English words or text data and its parameters are continuously adjusted to obtain more accurate matching.

[0131] Step b: Use the vulnerability description file to verify the exploitability of the vulnerability.

[0132] The vulnerability information verification unit verifies the information processed by the vulnerability information processing unit. This application is aimed at network test ranges, and the vulnerabilities focus on those common in attack and defense exercise scenarios. It is necessary to ensure that the vulnerabilities actually exist and can be reproduced in the network test range environment.

[0133] This unit employs a dynamic vulnerability verification method. By combining vulnerability type, it uses the GOF (Goodness of Fit) score (GOF) of the actual and expected results under multiple verification loads as a criterion to verify the exploitability of the vulnerability. For example, SQL injection vulnerabilities require access to sensitive data in the database; CSRF (Cross-site request forgery) vulnerabilities require modification of specific user information; XSS (Cross-Site Scripting) vulnerabilities require the return of specific user cookies (data (usually encrypted) stored on the user's local terminal by the website for user identification and session tracking, temporarily or permanently stored by the user's client computer); arbitrary file upload vulnerabilities require uploading a file with a specific name to a specified folder; arbitrary file download vulnerabilities require downloading files from a specified folder; arbitrary file read vulnerabilities require reading the contents of files in a specified folder; and arbitrary file inclusion vulnerabilities require creating a file with a specific name in a specified folder.

[0134] This unit consists of a basic verification payload self-generation module, a monitoring module, and a calculation module. The input values ​​for this unit are the pre-implementation of EXP and EDI vulnerabilities in VISF, and the expected results of ERE vulnerabilities. The core of this unit is the basic verification payload self-generation module. This module provides a set of default templates for verification payloads for different types of vulnerabilities. The default template consists of a core payload and variable payloads. The core payload is provided by EXP, and the variable payload is affected by EDI. Under the constraint of EDI, other variable characters are randomly obfuscated to generate the basic verification payload. The default template has one character obfuscation attempt. The complexity of the verification payload increases with the number of obfuscation attempts, and the complexity can be adjusted by setting the number of obfuscation attempts.

[0135] The monitoring module acts as the administrator of the testing range. Leveraging the unique characteristics of the range, it deploys vulnerability exploitation detection tools and uses built-in monitoring agents within the targets to monitor the results of vulnerabilities under verification payloads. Unlike the attacker's perspective, the monitoring module can more accurately detect the effects of vulnerabilities and output the results to the computation module.

[0136] The calculation module performs calculations on the information output by the monitoring module and verifies the exploitability of vulnerabilities through quantification. For calculation accuracy, two types of verification payloads are generated: verification payloads that conform to EDI and those that do not. Correspondingly, the actual vulnerability exploitation results are also divided into two types: actual exploitation results that conform to ERE and actual exploitation results that do not conform to ERE.

[0137] 1. If the actual exploit results generated by the vulnerability under the verification payload that conforms to EDI are in line with ERE, it will be a bonus item in GOF (goodness of fit); if the actual exploit results generated by the vulnerability under the verification payload that conforms to EDI are not in line with ERE, it will be a deduction item in GOF.

[0138] 2. If the actual exploit result generated by the vulnerability under the verification payload that does not conform to EDI conforms to ERE, it indicates that the information in VISF is incorrect. The module will handle the error and prompt the user to go back to the previous steps to reprocess the information or introduce manual verification to modify VISF. If the actual exploit result generated by the vulnerability under the verification payload that does not conform to EDI conforms to ERE, no points will be added or deducted for this item in GOF.

[0139] The specific operation is as follows: the basic verification payload self-generation module generates N verification payloads that do not conform to EDI. If the actual exploit result generated by the vulnerability under a certain verification payload conforms to ERE, an error message is displayed prompting the user to modify the VISF. If all tests pass, the next step, GOF calculation, is performed. This step is to check the accuracy of the VISF information for subsequent GOF calculations.

[0140] After the detection is completed, the basic verification payload self-generation module generates N verification payloads that conform to EDI to verify the vulnerability, and calculates the GOF value according to the following formula.

[0141] GOF=(S / N)×Σ(C n ×X n )

[0142] Where N represents the number of verification payloads that conform to EDI, and S represents that S out of the N verification payloads achieve the expected effect. The expected effect refers to the actual exploitation result of the vulnerability generated under the action of the verification payloads conforming to ERE, X n C represents the number of times the nth verification payload is obfuscated. n This indicates whether each verification of the nth verification payload conforms to the ERE; if it does, then C... n =1, if not satisfied, then C n =-1.

[0143] As can be seen from the formula, the larger S is, the larger C is. n X corresponding to =1 n The larger C isn The smaller the Xn corresponding to -1, the larger the GOF calculated by the formula.

[0144] After analyzing a large amount of data on vulnerability availability in the test range, a threshold GOFt is calculated. The calculated value is compared with the threshold; if it is greater than or equal to the threshold, the vulnerability is considered exploitable in a specific scenario; otherwise, it is considered unexploitable. Once the target vulnerability is verified, the results are processed and fed back to the vulnerability information storage unit. Vulnerabilities that fail verification are marked as unverified, and their results are also input into the vulnerability information storage unit.

[0145] The vulnerability information storage unit stores the output of the vulnerability information processing unit. This unit is designed to adapt to network testbeds, and the stored vulnerability information serves the network testbeds. This unit categorizes and stores vulnerability information according to the testbed scenario and the vulnerabilities present in specific software. For example, if testbed A involves three targets: D1, D2, and D3, and D1 contains vulnerabilities D1v1 and D1v2, D2 contains vulnerability D2v1, and D3 contains vulnerability D3v1, then the storage unit stores the vulnerability information according to ScenA = {D1[D1v1,D1v2],D2[D2v1],D3[D3v1]}. If a user needs to query the information, inputting scenario A will return all vulnerability information related to D1, D2, and D3; inputting target D1 will return vulnerability information for D1v1 and D1v2.

[0146] Step c: When the vulnerability is exploitable, generate a vulnerability exploitation graph.

[0147] The vulnerability relationship generation unit is based on the data stored in the vulnerability information storage unit. Inputting ScenA = {D1[D1v1,D1v2],D2[D2v1],D3[D3v1]} into the vulnerability relationship generation unit, and processing it, yields the core field information of the vulnerability: internal connectivity and external connectivity. In other words, as in the example above, all relevant vulnerability information from the vulnerability storage unit must be input into the vulnerability relationship generation unit, which then generates the data information on the internal and external connectivity of the vulnerability.

[0148] Internal connectivity of a vulnerability refers to its exploit dependency relationship with other vulnerabilities within the same target; external connectivity refers to its exploit dependency relationship with vulnerabilities on other targets in the network, and this external connectivity is also affected by the connectivity between targets. This core field information is used to describe all possible associations between this vulnerability and other different vulnerabilities in the scenario.

[0149] The vulnerability integration unit is based on the vulnerability relationship generation unit. The vulnerability relationship generation unit inputs all vulnerability implantation description files involved in the scenario into the vulnerability integration unit, generating two different types of vulnerability exploitation relationship graphs guided by the expected effect of exploitation (EEE) and the expected result of exploitation (ERE): the expected effect of exploitation relationship graph and the expected result of exploitation relationship graph. The key elements of the generated graphs are: vulnerability exploitation prerequisites (EDP), vulnerability exploitation implementation (EDI), vulnerability exploitation (Exp), expected effect of exploitation (EEE), and expected result of exploitation (ERE).

[0150] Vulnerability Expected Exploitation Effect Relationship Graph: With the vulnerability as the node, the vulnerability exploitation prerequisites (EDP) and the vulnerability exploitation expected effect (EEE) are the input and output edges of the node; Vulnerability Expected Exploitation Result Relationship Graph: With the vulnerability as the node, the vulnerability exploitation implementation (EDI) and the vulnerability exploitation expected result (ERE) are the input and output edges of the node.

[0151] The expected exploit effect diagram is a macroscopic representation of the exercise plan in the network range, while the expected exploit result diagram is a specific implementation representation of the exercise plan in the network range. The expected exploit result relationship diagram is based on the expected exploit effect relationship diagram, and multiple different expected exploit result relationship diagrams can be generated from the same expected exploit effect relationship diagram.

[0152] Vulnerability connectivity evaluation, the core content of this section, determines the exploitability of different vulnerabilities. All vulnerabilities involved in the same scenario within the network test range are processed sequentially according to node numbering. Each node is operated on by connecting its output edge to the same type of input edge of other nodes using dashed lines. By evaluating vulnerability connectivity, the logical relationships between vulnerabilities are transformed into quantifiable metrics. (E) n Let E represent internal connectivity (VIC) and external connectivity (VEC). If connectivity is possible, then E represents the internal connectivity of the vulnerability. n =1, if not connected then E n =0, check the connections between nodes, and delete E. n After connecting the dashed lines with a value of 0, mark all remaining dashed lines as solid lines. Perform operations on all nodes in the order of vulnerability numbers to complete the vulnerability integration for the scenario.

[0153] Based on this, a vulnerability expected exploitation effect relationship diagram and a vulnerability expected exploitation result relationship diagram are generated. The vulnerability expected exploitation effect diagram can serve as a blueprint for the exercise plan in the network range, and the vulnerability expected exploitation result diagram can serve as a guide for the specific implementation of the exercise plan in the network range. The generated diagrams can be used to mark all possible attack paths in the scenario and eliminate the impact of unexpected attack paths on the exercise.

[0154] Here is an example:

[0155] In scenario 1 of the network testing range, the underlying software of target A is bludit, version 3.12.0. The vulnerability information collection unit uses bludit 3.12.0 as key information and collects all vulnerability key information of the underlying software from different data sources using web crawling technology, such as:

[0156] 1. Personal / Organizational Blogs

[0157] (1) Bludit is an open-source, lightweight blog content management system (CMS). Bludit version 3.12.0 contains a path traversal vulnerability (path traversal refers to an application receiving unvalidated user parameters for file reading and viewing operations, where these parameters contain special characters (such as ".." and " / "). Using these special characters can bypass protection restrictions, allowing unauthorized access to protected files, directories, or overwriting sensitive data). In a vulnerability reproduction environment set up on Ubuntu 18.04, attackers can exploit this vulnerability in the backup / plugin.php file to download arbitrary files. (Source: Security Guest)

[0158] (2) Blu-ray version 3.12.0 contains an RCE vulnerability. Attackers need to operate with administrator privileges. (Source: CSDN)

[0159] (3) Bludit is an open-source, lightweight blog content management system (CMS). Bludit version 3.12.0 contains an XSS vulnerability, requiring ordinary user privileges for attackers. (Source: Baidu Tieba)

[0160] 2. CVE Information

[0161] Description: Bludit 3.12.0allows admins to use a / pluginbackupdownload? file=.. / directory traversal approach for arbitrary file download via backup / plugin.php.

[0162] Vector: CVSS:3.1 / AV:N / AC:L / PR:H / UI:N / S:U / C:H / I:N / A:N.

[0163] CWE: CWE22, Incorrect restriction of pathname to restricted directories (path traversal).

[0164] 3. Blu-ray official maintenance repository

[0165] Fix information: Hi, thanks for the report. I have made a pull request[#1215](https: / / github.com / bludit / bludit / pull / 1215).

[0166] Through the vulnerability information collection unit, three vulnerabilities were found in Bludit 3.12.0.

[0167] The information processing unit processes the above information to generate three vulnerability information entries, which are then labeled as number 1, 2, and 3 in sequence. For vulnerability 1, the generated content is as follows:

[0168] Common Vulnerability Number (CVN): CVE202015026

[0169] Vulnerability Description Number (VDN): scene1_targetM_1

[0170] Vulnerability Type (VT): Information Disclosure

[0171] Exploitation Difficulty Score (VES): 3.0

[0172] The vulnerability relies on the following underlying software name (VSN): bludit

[0173] The vulnerability relies on the base software version (VSV), 3.12.0.

[0174] Operating system information (VSOS) on which the vulnerability relies: ubuntu18.04

[0175] Prerequisites for exploitation (EDP): Privilege escalation required.

[0176] Exploitation Pre-implementation (EDI): Requires administrator privileges.

[0177] Exploitation (EXP): Path traversal vulnerability exploitation involving unfiltered characters

[0178] Expected Effect of Vulnerability Exploitation (EEE): Information Disclosure

[0179] Expected Outcome (ERE) of Vulnerability Exploitation: Acquisition of sensitive information from the server.

[0180] After the vulnerability information verification unit calculates that the GOF of the vulnerability is greater than GOFt, it is determined that the vulnerability is exploitable, and the information of the verified vulnerability 1 is sent to the vulnerability information storage unit.

[0181] Reference Figure 3 , Figure 3This is a schematic diagram of vulnerability relationships in a preferred embodiment of the vulnerability information processing method of this application. After processing all vulnerability information in scenario 1 sequentially, the vulnerability information storage unit inputs the relevant data into the vulnerability relationship generation unit, and summarizes all vulnerability information involved in scenario 1. In target M, there are verified vulnerabilities 1, 2, and 3, and the precondition for exploiting vulnerabilities 2 and 3 is information disclosure. In the same scenario, in target N, there is a vulnerability 1 whose precondition for exploiting vulnerabilities is information disclosure, and the relationship is as follows: Figure 2 As shown.

[0182] The information from these multiple sources is input into the vulnerability information processing unit for processing, resulting in the injection description information file for target vulnerability 1, with the following content:

[0183] Common Vulnerability Number (CVN): CVE202015026

[0184] Vulnerability Description Number (VDN): scene1_targetM_1

[0185] Vulnerability Type (VT): Information Disclosure

[0186] Exploitation Difficulty Score (VES): 3.0

[0187] The vulnerability relies on the following underlying software name (VSN): bludit

[0188] The vulnerability relies on the base software version (VSV), 3.12.0.

[0189] Operating system information (VSOS) on which the vulnerability relies: ubuntu18.04

[0190] Internal connectivity (VIC): VIC_M_1→VIC_M_2, VIC_M_1→VIC_M_3

[0191] Vulnerability External Connectivity (VEC): VEC_targetM_1 → VEC_targetN_1

[0192] Prerequisites for exploitation (EDP): Privilege escalation required

[0193] Exploitation Pre-implementation (EDI): Requires administrator privileges.

[0194] Exploitation (EXP): Path traversal vulnerability exploitation using unfiltered characters

[0195] Expected Effect of Vulnerability Exploitation (EEE): Information Disclosure

[0196] Expected Outcome (ERE) of Vulnerability Exploitation: Obtaining sensitive information from the server.

[0197] All vulnerabilities in Scenario 1 generated by the vulnerability relationship generation unit are input to the vulnerability integration unit. It is now stipulated that there is only one target in this scenario, and the target contains three vulnerabilities A, B, and C. The vulnerability injection description files for A, B, and C are input to the vulnerability integration unit. Based on preconditions and expected vulnerability effects, vulnerabilities are categorized into four types: 1, 2, 3, and 4. The process of obtaining the vulnerability expected exploitation effect relationship diagram is as follows: Figure 3 As shown.

[0198] Reference Figure 4 , Figure 4 This is a vulnerability relationship network node diagram of a preferred embodiment of the vulnerability information processing method of this application. Based on the diagram, the following attack path can be obtained:

[0199] 1→A→2、2→B→3、2→B→1、1→C→4、2→C→4;

[0200] 1→A→2→B→3, 1→A→2→C→4, 1→A→2→B→1→C→4 and 2→B→1→C→4.

[0201] The same vulnerability exploitation expected effect relationship diagram can generate multiple different vulnerability expected result relationship diagrams. For example, if there are vulnerabilities A and B, the expected exploitation effect of vulnerability A is denoted as A1, and the expected exploitation result of vulnerability A is denoted as a1; the expected exploitation effect of vulnerability B is denoted as B1, and the expected exploitation result of vulnerability B is denoted as b1, where a1 is an instance of A1 and b1 is an instance of B1.

[0202] If the preconditions for exploiting vulnerability B are met by the expected exploitation effect A1 of vulnerability A, then the exploitation effect A1 of vulnerability A may lead to the successful exploitation effect B1 of vulnerability B. The success rate is denoted as ES_A1B1.

[0203] If the preconditions for exploiting vulnerability B are met by the expected exploitation effect A1 of vulnerability A, then the exploitation effect A1 of vulnerability A may lead to the successful exploitation result b1 of vulnerability B. The success rate is denoted as ES_A1b1, and ES_A1B1>ES_A1b1.

[0204] If the prerequisite for exploiting vulnerability B is satisfied by the expected exploit result a1 of vulnerability A, then the result a1 of exploiting vulnerability A may lead to the successful exploit result b1 of vulnerability B. The success rate is denoted as ES_a1b1, and ES_A1B1>ES_A1b1>ES_a1b1.

[0205] If the prerequisite for exploiting vulnerability B is satisfied by the expected exploit result a1 of vulnerability A, then the result a1 of exploiting vulnerability A may lead to the successful exploitation of vulnerability B1. The success rate is denoted as ES_a1B1, and ES_A1B1>ES_a1B1>ES_a1b1.

[0206] If the preconditions for exploiting vulnerability B cannot be met by the expected effect A1 of exploiting vulnerability A, then the expected effect A1 of exploiting vulnerability A cannot lead to the successful exploitation effect B1 of vulnerability B.

[0207] If the prerequisites for exploiting vulnerability B cannot be met by the expected effect A1 of exploiting vulnerability A, then the expected effect A1 of exploiting vulnerability A cannot lead to the successful exploitation result b1 of vulnerability B.

[0208] If the preconditions for exploiting vulnerability B cannot be met by the expected result a1 of exploiting vulnerability A, then the expected result a1 of exploiting vulnerability A cannot lead to the successful exploitation of vulnerability B1.

[0209] If the prerequisites for exploiting vulnerability B cannot be satisfied by the expected result a1 of exploiting vulnerability A, then the expected result a1 of exploiting vulnerability A cannot lead to the successful exploitation result b1 of vulnerability B.

[0210] In other words, if a vulnerability in a scenario can satisfy the expected result relationship diagram, it will definitely satisfy the expected effect relationship diagram of vulnerability exploitation. However, if a vulnerability in a scenario can satisfy the expected effect relationship diagram of vulnerability exploitation, it may not necessarily satisfy the expected result relationship diagram of vulnerability exploitation. The expected effect diagram of vulnerability exploitation can serve as a blueprint for the exercise plan in the network range, while the expected result diagram of vulnerability exploitation can serve as a guide for the specific implementation of the exercise plan in the network range.

[0211] Some vulnerability effects are categorized as follows:

[0212] Information leakage: SQL injection, XSS, directory traversal, weak passwords, etc. can all lead to the leakage of sensitive information, and attackers can obtain information through vulnerabilities.

[0213] Backdoor vulnerabilities: Backdoors generally refer to program methods that bypass security controls to gain access to programs or systems.

[0214] Weak passwords are passwords composed of common numbers, letters, characters, etc., which are easy for others to guess using simple and common sense. By using weak passwords in combination with vulnerabilities in computer systems, it is possible to achieve twice the result with half the effort in intrusion.

[0215] File inclusion: When including a file, the filename is user-controllable. However, if the filename is not properly validated or the validation is bypassed, it can manipulate an unexpected file, potentially leading to accidental file leaks or even malicious code injection. When a server uses PHP's (Hypertext Preprocessor) features (functions) to include arbitrary files, the source filtering of the included file may be inadequate, allowing the inclusion of a malicious file. We can then construct this malicious file to achieve malicious purposes.

[0216] SSRF (Server-Side Request Forgery): A security vulnerability where an attacker constructs a request that is then initiated by the server. Typically, the target is an internal system inaccessible from the external network. SSRF attacks often occur because the server provides functionality to retrieve data from other server applications without filtering or restricting the target address. Examples include retrieving webpage text content from a specified URL (Uniform Resource Locator), loading images from a specified address, downloading content, etc.

[0217] Unauthorized access: Vulnerabilities exist in addresses or authorized pages that require security configuration or authorization, allowing other users to access them directly. This could lead to the manipulation of important permissions and the leakage of sensitive information such as databases and website directories.

[0218] Privilege escalation: Exploiting security vulnerabilities in the system or other methods to break through the original restrictions, enabling unauthorized access to the target directory or even gaining control of the entire system like an administrator; this is also known as privilege escalation.

[0219] Access bypass: Attackers bypass authentication to gain unauthorized access to sensitive content or functions.

[0220] Injection vulnerability: Injection vulnerabilities are caused by lax character filtering, which can lead to the acquisition of administrator account passwords and other related information.

[0221] Physical path disclosure: Path disclosure is a low-risk vulnerability. Its harm is generally described as "attackers can use the information obtained by this vulnerability to carry out further attacks on the system". Servers that provide public services such as Web, FTP (File Transfer Protocol), and SMIP (Simple Mail Transfer Protocol) may be susceptible to physical path disclosure.

[0222] Directory traversal: This is a security vulnerability caused by insufficient security validation of filenames entered by users in web servers or web applications. Attackers can bypass server security restrictions by exploiting special characters to access arbitrary files (even those outside the web root directory) and even execute system commands. The program implementation does not adequately filter directory jump characters such as ".. / ", allowing malicious users to traverse any file on the server by submitting directory jumps.

[0223] Design flaws: Potential vulnerabilities in a product's use due to incomplete initial design.

[0224] Logic vulnerabilities: Logic errors refer to situations where some logical branches cannot be processed properly or are processed incorrectly due to flawed or overly complex program logic. These vulnerabilities typically occur in cases of arbitrary password changes (without verification of the old password), unauthorized access, password recovery, and transaction payment.

[0225] Configuration error: Missing or incorrect security configuration is a defect in the information system. If exploited by attackers, it can compromise the system's availability, integrity, and confidentiality.

[0226] Session prediction vulnerability: Attackers can infer or guess session credentials, hijack user sessions, or impersonate users to gain unauthorized access. For example, when sending cookies (encrypted data stored on a user's local terminal by some websites for user identification and session tracking, temporarily or permanently stored by the user's client computer), the user may be able to guess the session ID (Identity document). If this vulnerability is successfully exploited, a malicious user can obtain cookie-based authentication from other legitimate users and then use that user's privileges to carry out malicious activities.

[0227] Session management vulnerability: Web applications allow the reuse of session credentials or session IDs, allowing attackers to impersonate other users.

[0228] Insecure direct object references (IDRs) occur when an authorized user gains unauthorized access to an object by changing a parameter in the access statement. Applications often use the exact name or key-value pair of an object when generating web pages. However, applications frequently fail to check user permissions for that target object. This vulnerability arises from an IDR vulnerability.

[0229] Unverified redirects and forwards: Web applications receive untrusted data to determine the target webpage when redirecting to other webpages and websites. Attackers can redirect users to phishing or malicious websites or to access unauthorized webpages.

[0230] Denial-of-service (DoS) vulnerabilities: Attackers attempt to prevent a target machine from providing services or accessing resources, a common attack method used by hackers. These resources include disk space, memory, processes, and even network bandwidth, thereby preventing access from legitimate users. Typical DoS attacks take two forms: resource exhaustion and resource overload. Most DoS attacks are caused by misconfigurations or software weaknesses.

[0231] Component vulnerabilities: These refer to vulnerabilities in components used by developers, which can be discovered and exploited by automated tools. Attackers can then customize attack code and carry out attacks as needed.

[0232] XML (Extensible Markup Language) injection vulnerabilities: Similar to HTML (HyperText Markup Language) script injection, XML is vulnerable where attacker-supplied data is included in the output. The three most common XML injection attacks are: XML data injection, XSLT (Extensible Stylesheet Language Transformation) injection, and XPath (XML Path Language) or XQuery (XML Query Language) injection.

[0233] Brute-force attack: Because the authentication strength is lower than the business security requirements or the login page does not use a CAPTCHA verification mechanism, attackers can automatically guess the user's login identity credentials, session credentials, and unpublished directories and file names through brute-force methods.

[0234] Automated form submission: Malicious behavior in which attackers use form submission tools to automatically submit information to forms such as login and registration services.

[0235] Insecure password recovery mechanism: The website uses an insecure password recovery mechanism. Attackers can bypass the password recovery mechanism through brute-force attacks, security question guessing, or other means, thereby illegally obtaining, changing, or recovering other people's passwords.

[0236] Unauthorized access vulnerability: Simply put, it means that unauthorized access to the backend page is possible. Specifically, it is caused by unreasonable user account design or the lack of permission verification on the server side. The web application fails to effectively perform authorization checks, and attackers can violate security policies to perform functions or data or functions beyond their authorized permissions.

[0237] Inappropriate error handling: Web applications based on backend databases often output excessive information when errors occur, such as the error type, the absolute path of the script that caused the error, the absolute path of the webpage's main directory, the SQL statement and parameters that caused the error, the software version, and system configuration information. While information leakage itself isn't particularly significant, it can greatly increase the efficiency of attacks and intrusions when combined with other vulnerabilities.

[0238] URL guessing: Attackers achieve unauthorized access by guessing URLs that are not part of the normal website directory tree.

[0239] Sensitive information leakage: Attackers collect application information before launching an attack, including web server software type and version, web application programming language, database version, file path, and other information.

[0240] Directory traversal attack vulnerability: The server outputs the web server path directly to a hidden form on the page or other places. Attackers can manipulate the input parameters to make the application system execute or reveal arbitrary file content, or perform read, write, delete, or other operations on arbitrary files and directories on the server.

[0241] Vulnerability due to missing security auditing functionality: The lack of effective security auditing functionality makes it impossible to audit critical security events in the application.

[0242] For example, this application also provides a vulnerability information processing device, which includes:

[0243] The first acquisition module is used to acquire field information of vulnerabilities in the network test range;

[0244] A determination module is used to determine the exploitability of the vulnerability based on the field information;

[0245] The first generation module is used to generate an exploitation relationship graph of the vulnerability based on the field information if the vulnerability is exploitable, so that users can practice the attack path of the vulnerability based on the exploitation relationship graph.

[0246] For example, the vulnerability information processing device further includes:

[0247] The first calculation module is used to calculate the fit value of the vulnerability based on the field information;

[0248] The judgment module is configured to determine whether the vulnerability has the exploitability if the fit value is greater than or equal to the preset fit value.

[0249] For example, the vulnerability information processing device further includes:

[0250] The second generation module is used to generate a first preset number of first verification payloads, wherein the first verification payloads are vulnerability exploitation conditions that meet the vulnerability exploitation prerequisites in the field information.

[0251] The obfuscation module is used to obfuscate each of the first verification payloads and record the number of obfuscations.

[0252] The first assignment module is used to assign a preset value to the verification value corresponding to each of the first verification loads, determine the second verification load from the first verification loads, and record the load quantity of the second verification load.

[0253] The second calculation module is used to calculate the fit value based on the first preset quantity, the number of confusions, the preset value, and the number of loads.

[0254] For example, the vulnerability information processing device further includes:

[0255] The first traversal module is used to traverse each of the first verification payloads;

[0256] The first input module is used to input the first verification payload encountered during the traversal into the vulnerability to obtain the actual exploitation result of the vulnerability;

[0257] The second assignment module is used to assign a preset value to the verification value corresponding to the first verification load that has been traversed if the actual utilization result is consistent with the expected utilization effect in the field information, and at the same time determine the first verification load that has been traversed as the second verification load and record the load quantity of the second verification load.

[0258] For example, the vulnerability information processing device further includes:

[0259] The third generation module generates a second preset number of third verification payloads, wherein the third verification payloads do not meet the vulnerability exploitation conditions implemented before the vulnerability exploitation in the field information.

[0260] The second traversal module is used to traverse the third verification payload;

[0261] The second input module is used to input the traversed third verification payload into the vulnerability to obtain the actual exploitation result of the vulnerability;

[0262] The output module is used to output an error message if the actual result is consistent with the expected utilization result in the field information, so that the user can modify the field information.

[0263] For example, the vulnerability information processing device further includes:

[0264] The second acquisition module is used to acquire the input and output information of the vulnerability from the field information;

[0265] The fourth generation module is used to, if the input information is the same as the output information, treat the vulnerability as a node in the relationship graph, connect the relationship graph nodes, and generate an exploitation relationship graph of the vulnerability.

[0266] For example, the vulnerability information processing device further includes:

[0267] The third acquisition module is used to acquire the feature data of the vulnerability;

[0268] The classification module is used to classify the feature data to obtain the field information.

[0269] The specific implementation of the vulnerability information processing device in this application is basically the same as the embodiments of the vulnerability information processing method described above, and will not be repeated here.

[0270] In addition, this application also provides a vulnerability information processing device. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0271] For example, Figure 5 This can be a schematic diagram of the hardware operating environment of the vulnerability information processing device.

[0272] like Figure 5 As shown, the vulnerability information processing device may include a processor 501, a communication interface 502, a memory 503, and a communication bus 504. The processor 501, the communication interface 502, and the memory 503 communicate with each other through the communication bus 504. The memory 503 is used to store computer programs. When the processor 501 executes the program stored in the memory 503, it implements the steps of the vulnerability information processing method.

[0273] The communication bus 504 mentioned in the aforementioned vulnerability information processing device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus 504 can be divided into an address bus, a data bus, and a control bus, etc. For ease of illustration, it is represented by only one thick line in the figure, but this does not indicate that there is only one bus or one type of bus.

[0274] Communication interface 502 is used for communication between the aforementioned vulnerability information processing device and other devices.

[0275] The memory 503 may include random access memory (RMD) or non-volatile memory (NM), such as at least one disk storage device. Optionally, the memory 503 may also be at least one storage device located remotely from the aforementioned processor 501.

[0276] The processor 501 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0277] The specific implementation of the vulnerability information processing device in this application is basically the same as the embodiments of the vulnerability information processing method described above, and will not be repeated here.

[0278] Furthermore, embodiments of this application also propose a computer-readable storage medium storing a vulnerability information processing program, which, when executed by a processor, implements the steps of the vulnerability information processing method described above.

[0279] The specific implementation of the computer-readable storage medium in this application is basically the same as the embodiments of the vulnerability information processing method described above, and will not be repeated here.

[0280] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0281] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0282] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, device, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0283] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A vulnerability information processing method, characterized in that, The method includes: Obtain field information of vulnerabilities in the network testing range; Based on the field information, calculate the goodness-of-fit value of the vulnerability; If the goodness-of-fit value is greater than or equal to the preset goodness-of-fit value, then the vulnerability is exploitable; If the vulnerability is exploitable, an exploitation relationship diagram of the vulnerability is generated based on the field information, so that users can practice the attack path of the vulnerability based on the exploitation relationship diagram; The step of calculating the fit value of the vulnerability based on the field information includes: Generate a first preset number of first verification payloads, wherein the first verification payloads are vulnerability exploitation conditions that meet the vulnerability exploitation prerequisites in the field information; Each of the first verification payloads is obfuscated, and the number of obfuscations is recorded; Assign a preset value to the verification value corresponding to each of the first verification payloads, and determine the second verification payload from the first verification payloads whose actual exploitation result of the vulnerability is consistent with the expected exploitation effect in the field information, and record the number of the second verification payloads. The fit value is calculated based on the first preset quantity, the number of confusions, the preset value, and the number of payloads.

2. The method as described in claim 1, characterized in that, The step of assigning a preset value to the verification value corresponding to each of the first verification loads, determining the second verification load from the first verification loads, and recording the load quantity of the second verification load includes: Iterate through each of the first verification payloads; The first verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability; If the actual utilization result is consistent with the expected utilization effect in the field information, the verification value corresponding to the first verification load that has been traversed is assigned a preset value, and the first verification load that has been traversed is determined as the second verification load, and the load quantity of the second verification load is recorded.

3. The method as described in claim 1, characterized in that, Before calculating the fit value of the vulnerability based on the field information, the process includes: Generate a second preset number of third verification payloads, wherein the third verification payloads are vulnerability exploitation conditions that do not meet the vulnerability exploitation prerequisites in the field information; Traverse the third verification load; The third verification payload encountered during the traversal is input into the vulnerability to obtain the actual exploitation result of the vulnerability; If the actual utilization result is consistent with the expected utilization result in the field information, an error message is output so that the user can modify the field information.

4. The method as described in claim 1, characterized in that, The step of generating the exploitation graph of the vulnerability based on the field information includes: Obtain the input and output information of the vulnerability from the field information; If the input information is the same as the output information, then the vulnerability is used as a node in the relationship graph, and the relationship graph nodes are connected to generate an exploitation relationship graph of the vulnerability.

5. The method as described in claim 1, characterized in that, The process of obtaining field information about vulnerabilities in the network testing range includes: Obtain the characteristic data of the vulnerability; The feature data is classified to obtain the field information.

6. An apparatus for processing vulnerability information, characterized in that, The device includes: The first acquisition module is used to acquire field information of vulnerabilities in the network test range; The first calculation module is used to calculate the fit value of the vulnerability based on the field information; The judgment module is used to determine whether the vulnerability is exploitable if the goodness-of-fit value is greater than or equal to a preset goodness-of-fit value. The first generation module is used to generate an exploitation relationship diagram of the vulnerability based on the field information if the vulnerability is exploitable, so that users can practice the attack path of the vulnerability based on the exploitation relationship diagram. The vulnerability information processing device also includes: The second generation module is used to generate a first preset number of first verification payloads, wherein the first verification payloads are vulnerability exploitation conditions that meet the vulnerability exploitation prerequisites in the field information. The obfuscation module is used to obfuscate each of the first verification payloads and record the number of obfuscations. The first assignment module is used to assign a preset value to the verification value corresponding to each of the first verification payloads, and to determine the second verification payload from the first verification payloads whose actual exploitation result of the vulnerability is consistent with the expected exploitation effect in the field information, and to record the number of the second verification payloads. The second calculation module is used to calculate the fit value based on the first preset quantity, the number of confusions, the preset value, and the number of loads.

7. A device for processing vulnerability information, characterized in that, The device includes: a memory, a processor, and a vulnerability information processing program stored in the memory and executable on the processor, wherein the vulnerability information processing program, when executed by the processor, performs the vulnerability information processing steps as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a vulnerability information processing program, which, when executed by a processor, performs the vulnerability information processing steps as described in any one of claims 1 to 5.