Vulnerability repair method, device and electronic equipment for security management system

By obtaining vulnerability characteristics and patch mapping relationships during vulnerability detection, hierarchically repairing vulnerability levels, simulating repairs and comparing data, the problem of low vulnerability repair efficiency in the existing technology is solved, and efficient and accurate vulnerability repair is achieved.

CN118133291BActive Publication Date: 2024-09-10GUOTAI JUNAN SECURITIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410312249.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2024-09-10
Estimated Expiration
2044-03-19

AI Technical Summary

Technical Problem

When detecting vulnerabilities, the existing technology generates patches with low efficiency and accuracy, resulting in insufficient vulnerability repair efficiency and convenience. The effectiveness of patches cannot be verified in a timely manner, which increases repair pressure and losses.

Method used

By obtaining the scanning task, determine the vulnerability characteristics of the target vulnerability, obtain the first patch according to the vulnerability patch mapping relationship, and when the repair fails, calculate the security loss by analyzing the repair data, classify the vulnerability level, generate the second patch, simulate the repair and compare the repairs Data to ensure patch effectiveness and improve vulnerability repair efficiency and success rate.

Benefits of technology

It improves the efficiency and convenience of vulnerability repair, enhances the probability of successful repair, avoids invalid repairs, and ensures the effectiveness and security of patches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133291B
    Figure CN118133291B
Patent Text Reader

Abstract

The present application provides a vulnerability repair method, device and electronic device for a security management system. The method includes: obtaining a scanning task, obtaining a target vulnerability in an integrated security framework according to the scanning task, and determining a first patch mapped to the target vulnerability according to a vulnerability patch mapping relationship, using the first patch to repair the target vulnerability in the integrated security framework, and analyzing the first patch and the target vulnerability at the same time and generating a first repair data, and when it is determined that the first patch repair fails, calculating the security loss of the target vulnerability according to the first repair data, determining the vulnerability level according to the security loss, determining a secondary repair according to the vulnerability level and generating a second patch, and running the second patch in a real-time simulation integrated security framework and determining that the target vulnerability is successfully repaired, determining the second patch as the target patch and repairing the target vulnerability in the integrated security framework. The method of the present application increases the efficiency and success rate of vulnerability repair, and improves the convenience of repairing vulnerabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to vulnerability detection and analysis technology, and in particular to a vulnerability repair method, device and electronic device for a security management system. Background Art

[0002] As modern enterprises become increasingly digitalized, they need to build a secure network architecture to defend against attacks. However, a reasonable and secure network architecture may also have loopholes, which may be exploited by hackers and cause heavy losses to the enterprise.

[0003] The prior art detects vulnerabilities in a security framework through an integrated security framework vulnerability analysis system, and outputs corresponding suggestions for each vulnerability, so that relevant personnel can generate corresponding patches according to the suggestions for each vulnerability and use the patches to repair the corresponding vulnerabilities.

[0004] However, there are many types of vulnerabilities. When the integrated security framework vulnerability analysis system of the prior art performs vulnerability detection, the efficiency and accuracy of generating patches for each vulnerability are low. Summary of the invention

[0005] The present application provides a vulnerability repair method, device and electronic device for a security management system, which are used to improve the efficiency and convenience of vulnerability repair and enhance the effectiveness of vulnerability repair.

[0006] In a first aspect, the present application provides a vulnerability repair method for a security management system, wherein the security management system includes an integrated security framework, including:

[0007] Obtain a scan task, and obtain target vulnerabilities in the integrated security framework according to the scan task;

[0008] Determine the vulnerability feature of the target vulnerability according to the target vulnerability, determine whether there is a first patch corresponding to the vulnerability feature according to the vulnerability-patch mapping relationship; and repair the target vulnerability according to the first patch if the first patch exists;

[0009] Analyze the repair status of the target vulnerability according to the first patch to generate first repair data of the target vulnerability;

[0010] When the first patch fails to repair the target vulnerability, the vulnerability level corresponding to the target vulnerability is determined according to the first repair data; the second patch is determined according to the vulnerability level, the target patch is determined according to the second patch and the first repair data, and the target patch is used to repair the target vulnerability.

[0011] Optionally, when the first patch fails to repair the target vulnerability, determining the vulnerability level corresponding to the target vulnerability according to the first repair data specifically includes:

[0012] When it is determined according to the first repair data of the target vulnerability that the first patch fails to repair the target vulnerability, the security loss of the target vulnerability is calculated according to the first repair data and the scanning task;

[0013] The vulnerability level corresponding to the target vulnerability is determined according to the security loss; wherein the first repair data is the relevant data of the target vulnerability before and after being repaired by the first patch.

[0014] Optionally, determining a second patch according to the vulnerability level, determining a target patch according to the second patch and the first repair data, and using the target patch to repair the target vulnerability specifically includes:

[0015] Determine whether to perform a second repair on the target vulnerability according to the vulnerability level;

[0016] and when it is determined to perform a second repair, generating a second patch according to the target vulnerability, the first patch and the first repair data;

[0017] Simulating and repairing a target vulnerability in the real-time simulated integrated security framework according to the second patch, and analyzing the target vulnerability according to the second patch to generate second repair data for the target vulnerability; wherein the second repair data is relevant data of the target vulnerability after the second repair;

[0018] The second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

[0019] Optionally, when it is determined according to the vulnerability-patch mapping relationship that a patch corresponding to the vulnerability feature of the target vulnerability does not exist, the target vulnerability is analyzed to generate abnormal data of the target vulnerability;

[0020] Determine the vulnerability level corresponding to the target vulnerability based on the abnormal data;

[0021] Determine the target patch based on the vulnerability level, and use the target patch to repair the target vulnerability.

[0022] Optionally, a simulated integrated security framework is generated according to the integrated security framework in the initial state, wherein the integrated security framework in the initial state is the integrated security framework before the execution of the scanning task is started;

[0023] and when it is determined to perform a second repair, generating and outputting a re-repair instruction;

[0024] The target vulnerability is run in the simulated integrated security framework according to the re-repair instruction to obtain an updated real-time simulated integrated security framework.

[0025] Optionally, when it is determined according to the first repair data of the target vulnerability that the first patch successfully repairs the target vulnerability, the first patch that successfully repairs the target vulnerability is determined as the target patch;

[0026] Record based on target patches and target vulnerabilities.

[0027] Optionally, before determining whether there is a first patch corresponding to the vulnerability feature according to the vulnerability-patch mapping relationship, establishing a vulnerability-patch mapping relationship;

[0028] Specifically include:

[0029] Obtain detailed data of each vulnerability and the patch corresponding to each vulnerability, establish a mapping relationship between each vulnerability and the corresponding patch to fix each vulnerability, and obtain a vulnerability-patch mapping relationship;

[0030] And the patches mapped to each vulnerability are stored in the patch library;

[0031] Accordingly, determine the target patch corresponding to repairing each vulnerability;

[0032] According to the target patch, the patches mapped to the corresponding vulnerabilities in the patch library are updated respectively; the mapping between the vulnerability and the corresponding target patch is obtained, and the vulnerability-patch mapping relationship is updated.

[0033] In a second aspect, the present application provides a vulnerability repair device for a security management system, comprising:

[0034] Acquire the module, acquire the scanning task, and acquire the target vulnerability in the integrated security framework according to the scanning task;

[0035] A processing module is used to determine the vulnerability feature of the target vulnerability according to the target vulnerability, determine whether there is a first patch corresponding to the vulnerability feature according to the vulnerability-patch mapping relationship; and if the first patch exists, repair the target vulnerability according to the first patch;

[0036] An analysis module, configured to analyze a repair status of a target vulnerability according to the first patch and generate first repair data of the target vulnerability;

[0037] The analysis module is also used to determine the vulnerability level corresponding to the target vulnerability according to the first repair data when the first patch fails to repair the target vulnerability; determine the second patch according to the vulnerability level, determine the target patch according to the second patch and the first repair data, and use the target patch to repair the target vulnerability.

[0038] Optionally, the analysis module is further configured to calculate the security loss of the target vulnerability according to the first repair data of the target vulnerability and the scanning task when determining that the first patch fails to repair the target vulnerability according to the first repair data of the target vulnerability;

[0039] The vulnerability level corresponding to the target vulnerability is determined according to the security loss; wherein the first repair data is the relevant data of the target vulnerability before and after being repaired by the first patch.

[0040] Optionally, the analysis module is further used to determine whether to perform a second repair on the target vulnerability according to the vulnerability level;

[0041] and when it is determined to perform a second repair, generating a second patch according to the target vulnerability, the first patch and the first repair data;

[0042] Simulating and repairing a target vulnerability in the real-time simulated integrated security framework according to the second patch, and analyzing the target vulnerability according to the second patch to generate second repair data for the target vulnerability; wherein the second repair data is relevant data of the target vulnerability after the second repair;

[0043] The second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

[0044] Optionally, the analysis module is further configured to analyze the target vulnerability and generate abnormal data of the target vulnerability when it is determined that there is no patch corresponding to the vulnerability feature of the target vulnerability according to the vulnerability-patch mapping relationship;

[0045] Determine the vulnerability level corresponding to the target vulnerability based on the abnormal data;

[0046] Determine the target patch based on the vulnerability level, and use the target patch to repair the target vulnerability.

[0047] Optionally, the processing module is further configured to generate a simulated integrated security framework according to the integrated security framework in the initial state, wherein the integrated security framework in the initial state is the integrated security framework before the execution of the scanning task is started;

[0048] and when it is determined to perform a second repair, generating and outputting a re-repair instruction;

[0049] The target vulnerability is run in the simulated integrated security framework according to the re-repair instruction to obtain an updated real-time simulated integrated security framework.

[0050] Optionally, the processing module is further configured to determine, when determining that the first patch successfully repairs the target vulnerability according to the first repair data of the target vulnerability, that the first patch that successfully repairs the target vulnerability is the target patch;

[0051] Record based on target patches and target vulnerabilities.

[0052] Optionally, the processing module is further used to establish a vulnerability patch mapping relationship;

[0053] Specifically include:

[0054] Obtain detailed data of each vulnerability and the patch corresponding to each vulnerability, establish a mapping relationship between each vulnerability and the corresponding patch to fix each vulnerability, and obtain a vulnerability-patch mapping relationship;

[0055] And the patches mapped to each vulnerability are stored in the patch library;

[0056] Accordingly, determine the target patch corresponding to repairing each vulnerability;

[0057] According to the target patch, the patches mapped to the corresponding vulnerabilities in the patch library are updated respectively; the mapping between the vulnerability and the corresponding target patch is obtained, and the vulnerability-patch mapping relationship is updated.

[0058] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0059] Memory stores computer-executable instructions;

[0060] The processor executes the computer-executable instructions stored in the memory to implement the method involved in the first aspect as described above.

[0061] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method involved in the first aspect as above.

[0062] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the method involved in the first aspect above.

[0063] The vulnerability repair method, device and electronic device of the security management system provided by the present application obtain a scanning task, and obtain a target vulnerability in an integrated security framework according to the scanning task, determine the first patch mapped to the target vulnerability according to the vulnerability-patch mapping relationship, run the first patch in the integrated security framework to repair the target vulnerability when the first patch exists, and obtain the first repair data by analyzing the target vulnerability, the first patch and the scanning task, and when it is determined according to the first repair data that the first patch has not been successfully repaired, calculate the security loss of the target vulnerability according to the first repair data, and determine the corresponding vulnerability level according to the specific value of the security loss, determine whether to perform a re-repair according to the vulnerability level, and when it is determined to perform a re-repair, update the simulated integrated security framework to obtain the integrated security framework, generate a second patch according to the first patch and the target vulnerability, run the second patch in the integrated security framework to repair the target vulnerability, and when the repair is successful, determine the second patch as the target patch for repairing the target vulnerability in the integrated security framework, and assign corresponding levels to each vulnerability, so as to quickly determine the processing plan for the corresponding vulnerability according to the level, thereby improving the efficiency and convenience of vulnerability repair and enhancing the probability of successful vulnerability repair. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0065] Figure 1 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application;

[0066] Figure 2 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application;

[0067] Figure 3 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application;

[0068] Figure 4 A schematic diagram of the structure of a vulnerability repair device for a security management system provided in an embodiment of the present application;

[0069] Figure 5 A schematic diagram of the structure of a vulnerability repair device for a security management system provided in an embodiment of the present application;

[0070] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0071] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0073] It should be noted that the user data (including but not limited to user device data, user personal data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all data and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0074] The systems of terminal devices such as computers have great security risks, so modern enterprises defend themselves by building secure network architecture systems. However, even in the system's defense, loopholes may appear again, which can be easily exploited by other people without permission and cause heavy losses. Therefore, enterprises need to detect loopholes in their own secure network architecture systems to protect the information security of enterprises and individuals.

[0075] Currently, a security framework vulnerability detection and analysis system is usually used to detect vulnerabilities in the security network architecture system. After analyzing each detected vulnerability, the corresponding repair suggestions for the vulnerability are output, so that the staff can repair the vulnerability according to the corresponding repair suggestions.

[0076] However, with the long-term use of computers, the types of vulnerabilities are increasing and the number is gradually increasing. Among the large number of vulnerabilities, some vulnerabilities that do not need to be processed need to be analyzed and processed one by one, which increases the time cost of repairing the vulnerabilities and delays the timely repair of some vulnerabilities that need to be dealt with urgently. For invalid or loss-increasing treatment solutions, the patches generated according to the treatment solutions not only fail to repair the corresponding vulnerabilities, but also increase the factors that threaten the security of the system, thereby increasing the repair pressure and further reducing the efficiency and quality of vulnerability repair.

[0077] In addition, the correctness or effectiveness of the suggestions generated for each vulnerability analysis cannot be verified in a timely manner. When the solution cannot fix the corresponding vulnerability, the solution cannot be revised in a timely manner, reducing the efficiency and convenience of vulnerability repair.

[0078] After obtaining a scanning task, the present application scans the integrated security framework in the terminal device according to the instructions of the scanning task, and when a target vulnerability is scanned, determines the first patch corresponding to the target vulnerability according to the vulnerability patch mapping relationship, and uses the first patch to repair the target vulnerability. At the same time, the first patch and the detailed data of the target vulnerability are analyzed to generate first repair data for the target vulnerability. When it is determined according to the first repair data that the repair of the first patch fails, the security loss caused by the target vulnerability to the integrated security framework is calculated according to the first repair data, and the security loss is graded, so as to determine whether to deal with the target vulnerability in a timely manner according to the level. When it is determined that timely processing is required, the target vulnerability is updated in the simulated integrated security framework to form a real-time simulated integrated security framework. At the same time, a second patch is generated based on the target vulnerability and the first patch, and the second patch is run in the real-time simulated integrated security framework. The second repair data is obtained by analysis. After comparing the two repair data, it is determined that the patch that is successfully repaired or has a large repair range is run in the integrated security framework to repair the target vulnerability, thereby providing a specific patch repair plan for each vulnerability, and specifically analyzing the vulnerability level and allocating the corresponding patch repair plan according to the level, thereby improving processing efficiency and repair probability, enhancing convenience, and avoiding invalid repairs and improving repair probability through real-time detection and analysis of the effectiveness of the patch.

[0079] The vulnerability repair method of the security management system provided in this application is intended to solve the above technical problems of the prior art.

[0080] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0081] The vulnerability repair method of the security management system of the present application can be used in a terminal device, wherein the terminal device includes a security management system, and the security management system includes an integrated security framework. This embodiment involves a specific process of obtaining vulnerabilities in the security management system by scanning the vulnerabilities of the integrated security framework in the terminal device and repairing the vulnerabilities.

[0082] Figure 1 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application, such as Figure 1 As shown, the specific steps include:

[0083] S101. Obtain a scanning task, and obtain target vulnerabilities in the integrated security framework according to the scanning task.

[0084] More specifically, the terminal device obtains a scanning task, and scans the integrated security framework in the security management system according to the target instructions in the scanning task, and obtains the scanned target vulnerabilities.

[0085] Optionally, the scanning task is the information of the internal process task call configured by relevant personnel according to actual needs before scanning, wherein the scanning task includes at least one of the following items: scanning start node, scanning frequency, scanning end node, etc.

[0086] In a possible embodiment, the scanning task is started and created based on the scanning start node in the scanning task, and the vulnerabilities existing in the integrated security framework are periodically scanned according to the scanning frequency in the scanning task, and the scanning task is ended based on the scanning end node in the scanning task when the terminal device reaches the designated end node.

[0087] Optionally, the integrated security framework is scanned according to threat objects, wherein the threat objects include at least one of the following: authentication and authorization issues, lack of security controls, insecure configurations, cross-site scripting attacks, and SQL (database) injection attacks.

[0088] S102: Determine whether there is a first patch corresponding to the target vulnerability according to the vulnerability-patch mapping relationship, and if the first patch exists, repair the target vulnerability according to the first patch.

[0089] More specifically, the vulnerability feature of the target vulnerability is determined according to the target vulnerability, and whether there is a first patch corresponding to the vulnerability feature mapping according to the vulnerability-patch mapping relationship. The vulnerability feature is the main feature that distinguishes the target vulnerability from other vulnerabilities and has itself, such as the asset objects that the vulnerability mainly affects, the frequency of occurrence, and the intensity of impact.

[0090] Optionally, when it is determined that the first patch exists according to the vulnerability-patch mapping relationship, the first patch is obtained from the patch library, and the first patch is run in the integrated security framework so that the first patch repairs the target vulnerability. The patch library stores the patches that generate mapping relationships for the various vulnerabilities.

[0091] Optionally, during the process of the first patch repairing the target vulnerability, a standard repair time is configured so that the first patch repairs the target vulnerability within the standard repair time to prevent problems from occurring during the repair process and the inability to terminate the repair in time, thereby occupying system clients and affecting the efficiency of repairing other vulnerabilities.

[0092] S103: Analyze the repair status of the target vulnerability according to the first patch, and generate first repair data for the target vulnerability.

[0093] More specifically, the repair status of the target vulnerability is analyzed together according to the first patch obtained, the target vulnerability, and the threat object scanned when executing the scanning task, and the first repair data of the target vulnerability is generated after the analysis is completed. The first repair data is the relevant data of the target vulnerability before and after the first patch is repaired.

[0094] In a possible embodiment, the relevant data of the target vulnerability before and after the first patch is repaired may include: the impact of the target vulnerability on the value data of each asset object before the target vulnerability is repaired, the actual repair time of the target vulnerability, the repair operation status, the number of repaired vulnerabilities obtained by scanning after the standard repair time, the impact scope of the repaired vulnerabilities and the intensity of the repaired vulnerabilities.

[0095] S104: When the first patch fails to repair the target vulnerability, determine the vulnerability level corresponding to the target vulnerability according to the first repair data, determine the second patch according to the vulnerability level, and determine the target patch together with the first repair data to repair the target vulnerability.

[0096] More specifically, it is determined based on the first repair data whether the first patch has successfully repaired the target vulnerability, and when it is determined that the first patch has failed to repair the target vulnerability, the vulnerability level corresponding to the target vulnerability is determined based on the first repair data, and a second patch for repairing the target vulnerability is determined based on the vulnerability level corresponding to the target vulnerability, a final target patch is determined based on the second patch and the first repair data, and the target patch is used to repair the target vulnerability.

[0097] Optionally, it is determined whether the first patch completes the repair of the target vulnerability according to the actual repair time and the standard repair time for repairing the target vulnerability in the first repair data.

[0098] For example: based on the actual repair time for repairing the target vulnerability being within the standard repair time, it is determined that the first patch completes the repair of the target vulnerability, and based on the number of vulnerabilities after repair being greater than 0, it is determined that the first patch fails to repair the target vulnerability.

[0099] Optionally, when it is determined according to the first repair data of the target vulnerability that the first patch fails to repair the target vulnerability, the security loss of the target vulnerability is calculated according to the first repair data and the scanning task, and the vulnerability level corresponding to the target vulnerability is determined according to the security loss.

[0100] In a possible embodiment, when it is determined that the first patch fails to repair the target vulnerability according to the first repair data of the target vulnerability, the appearance time and end time of the target vulnerability are obtained by executing a scanning task, and the value data of the target vulnerability on each asset object before repair and the value data of the target vulnerability on each asset object after repair are obtained according to the first repair data, so as to obtain the value data of each asset object affected by the target vulnerability during the entire existence process from the appearance to the end. The security loss of the target vulnerability is calculated according to the appearance time and end time of the target vulnerability, the impact of the target vulnerability on the value data of each asset object during the entire existence process from the appearance to the end, and the value data of each asset object before the appearance of the target vulnerability.

[0101] For example, based on the appearance time and end time of the target vulnerability, the value data of all asset objects before the appearance of the target vulnerability, and the value data of each asset object affected during the entire process from the appearance of the target vulnerability to the end, the security loss S of each asset object affected by the appearance of the target vulnerability is calculated as follows:

[0102]

[0103] Among them, S is the loss caused to the affected asset objects when the target vulnerability appears, H is the percentage of the impact of the asset loss on the value of all assets during the entire process from the appearance of the target vulnerability to the end, and H is obtained based on the value data of each asset object affected during the entire existence process from the appearance of the target vulnerability to the end. N is the income of all asset objects two days before the appearance of the target vulnerability, and W is the income of all asset objects one day before the appearance of the target vulnerability, and N and W are obtained from the value data of all asset objects before the appearance of the target vulnerability. a is the appearance time of the target vulnerability, X b The end time of the target vulnerability. Among them, the impacted asset loss is the loss of value data generated by the asset objects affected by the target vulnerability, the income is the value data generated by each asset object under the security protection in different time periods, and the security loss is the value data that each asset object could have generated due to the existence of the target vulnerability.

[0104] Optionally, the vulnerability level corresponding to the target vulnerability is determined according to the numerical value of the security loss of the target vulnerability and / or the specific scope of impact.

[0105] Optionally, a level list is configured, including multiple vulnerability levels, and relevant data corresponding to the target vulnerability is recorded under the vulnerability level in the level list according to the vulnerability level of the target vulnerability, and all vulnerability-related data corresponding to each level in the level list are displayed to relevant personnel in real time.

[0106] For example, vulnerability levels include first level, second level, third level, etc., where the first level corresponds to vulnerabilities that need to be repaired urgently, the second level corresponds to vulnerabilities that can be repaired, and the third level corresponds to vulnerabilities that are not repaired yet.

[0107] Optionally, whether to perform a second repair on the target vulnerability is determined according to the vulnerability level.

[0108] In a possible embodiment, the vulnerability level of the target vulnerability is determined according to the level list, and whether to perform a second repair on the target vulnerability is determined in real time according to the criticality indicated by the vulnerability level and the current actual situation.

[0109] In a possible embodiment, according to the vulnerabilities at various vulnerability levels displayed in the level list, all vulnerabilities at the vulnerability level are selected for repair according to the indication information of the vulnerability level.

[0110] In a possible embodiment, the vulnerability level that does not need to be processed is determined according to the level list, and the vulnerability-related data at this level is periodically deleted.

[0111] In a possible embodiment, the vulnerabilities repaired with the same patch are recorded under the same vulnerability level in the level list, and the patch to be repaired can be quickly determined for all the vulnerabilities under the level, thereby improving the convenience of repairing the vulnerabilities.

[0112] Optionally, when it is determined to perform a second repair, a second patch is generated according to the target vulnerability, the first patch and the first repair data, the target vulnerability in the real-time simulated integrated security framework is repaired according to the second patch, and the target vulnerability is analyzed according to the second patch to generate second repair data for the target vulnerability. The second repair data is the relevant data of the target vulnerability after the second patch repairs it.

[0113] In a possible embodiment, when determining to perform a second repair, the content in the first patch is modified or rewritten based on the detailed data of the target vulnerability and the detailed data of the first patch and the related information of the failure of the first patch to repair in the first repair data to obtain the second patch, and the second patch is run in a real-time simulation integrated security framework to simulate the repair of the target vulnerability in the real-time simulation integrated security framework, and after the repair process is completed, the second patch and the target vulnerability are analyzed to generate second repair data for the target vulnerability, and when the real-time repair time of the second patch in the second repair data is within the standard repair time and the number of repaired vulnerabilities is determined to be 0, it is determined that the second patch has successfully repaired the target vulnerability.

[0114] Optionally, the second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

[0115] Optionally, the repair status of the second patch in the second repair data is compared with the repair status of the first patch in the first repair data, and a comparison result is obtained, wherein the comparison result includes at least one of the following: the first patch repair is successful and the second patch repair fails, or the first patch repair fails and the second patch repair is successful.

[0116] In a possible embodiment, when it is determined that the first patch repair fails and the second patch repairs successfully, the second patch is used as a target patch, and the second patch is re-run in the integrated security framework to repair the target vulnerability.

[0117] In the vulnerability repair method of the security management system provided in the embodiment of the present application, by determining the first patch mapped to the target vulnerability, and after the first patch repairs the target vulnerability, analyzing the repair status of the first patch on the target vulnerability, obtaining the first repair data and determining that the first patch has not repaired successfully, the security loss corresponding to the target vulnerability is calculated according to the first repair data and the vulnerability level of the target vulnerability is determined according to the security loss value, so that the relevant data records of the target vulnerability are displayed under the corresponding vulnerability level in the level list, so that the relevant personnel can trigger re-repair until the repair is successful, thereby enhancing the probability of vulnerability repair, and more intuitively and quickly determining the handling method of the relevant vulnerability through the corresponding vulnerability level, thereby improving the efficiency of vulnerability handling.

[0118] Optionally, before determining whether there is a first patch corresponding to the vulnerability feature of the target vulnerability according to the vulnerability-patch mapping relationship, a vulnerability-patch mapping relationship is established.

[0119] Optionally, obtain detailed data of each vulnerability and the patch corresponding to each vulnerability, establish a mapping relationship between each vulnerability and the corresponding patch to fix each vulnerability, obtain a vulnerability-patch mapping relationship, and store the patches mapped to each vulnerability in a patch library.

[0120] In a possible embodiment, a target patch corresponding to each vulnerability is determined, and the target patch corresponding to each vulnerability is respectively updated with the first patch in the patch library originally mapped to the vulnerability, so as to obtain a mapping between each vulnerability and the updated target patch, that is, a real-time update of the vulnerability-patch mapping relationship, thereby increasing the probability that the first patch can directly repair each vulnerability, and further improving the vulnerability processing efficiency.

[0121] Optionally, Figure 2 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application, such as Figure 2 As shown, the specific steps include:

[0122] S201. Generate a simulated integrated security framework according to the integrated security framework in an initial state.

[0123] More specifically, a simulated integrated security framework identical to the integrated security framework in the initial state is generated according to the integrated security framework in the initial state, wherein the integrated security framework in the initial state is the integrated security framework before the execution of the scanning task is started.

[0124] S202: When it is determined to perform a second repair, generate and output a re-repair instruction.

[0125] More specifically, when it is determined to perform the second repair according to the vulnerability level of the target vulnerability, a re-repair instruction is generated and output, wherein the re-repair instruction is used to trigger the second repair process of the target vulnerability.

[0126] S203. Obtain an updated real-time simulation integrated security framework according to the re-repair instruction.

[0127] More specifically, the target vulnerability is run in a simulated integrated security framework according to the re-repair instruction to obtain an updated real-time simulated integrated security framework.

[0128] In one possible embodiment, the target vulnerability is run in a simulated integrated security framework to obtain an integrated security framework before the first patch is repaired, and then the first patch is run in the integrated security framework running the target vulnerability to obtain a real-time simulated integrated security framework that is the same as the integrated security framework that failed to be repaired by the current first patch.

[0129] In the vulnerability repair method of the security management system provided in the embodiment of the present application, a simulated integrated security framework that is identical to the integrated security framework in the initial state is generated, and the target vulnerability and the first patch are run into the simulated integrated security framework after outputting a re-repair instruction, thereby achieving real-time update of the simulated integrated security framework, thereby enhancing the credibility and accuracy of the repair result of the second patch under the real-time simulated integrated security framework and further improving the repair probability.

[0130] Optionally, in step S104, when the number of repaired vulnerabilities is 0, it is determined that the first patch successfully repairs the target vulnerability. At this time, the first patch that successfully repairs the target vulnerability is determined as the target patch, and the target patch and the target vulnerability are recorded and displayed.

[0131] Optionally, an analysis is performed based on the target patch and the target vulnerability to obtain first repair data for the target vulnerability, and the vulnerability level of the target vulnerability is calculated based on the first repair data.

[0132] Optionally, when recording the target patch and the target vulnerability, the number of occurrences of the target vulnerability is recorded, and the time of occurrence and end of the target vulnerability is recorded, and all relevant record information of the target vulnerability is added to the level list corresponding to the vulnerability level. By recording the basic information of the target vulnerability this time and storing it in the corresponding level list according to the corresponding vulnerability level, the convenience of viewing and management by relevant personnel is improved, and the efficiency of vulnerability repair is further improved.

[0133] Optionally, Figure 3 A flowchart of a vulnerability repair method for a security management system provided in an embodiment of the present application, such as Figure 3 As shown, when it is determined in step S102 according to the vulnerability-patch mapping relationship that there is no patch corresponding to the vulnerability feature of the target vulnerability, the following steps are specifically included:

[0134] S301, analyzing the target vulnerability and generating abnormal data of the target vulnerability.

[0135] More specifically, the target vulnerability is analyzed to generate abnormal data of the target vulnerability, wherein the abnormal data is detailed data describing the vulnerability characteristics of the target vulnerability.

[0136] S302: Determine the vulnerability level corresponding to the target vulnerability according to the abnormal data.

[0137] More specifically, the first security loss of the target vulnerability is calculated by obtaining the percentage of impact of asset losses on the value of all assets during the entire process from the occurrence of the target vulnerability to the end, the occurrence time and end time of the target vulnerability, and the value data of each asset object before the occurrence of the target vulnerability from the abnormal data of the target vulnerability, and determining the corresponding vulnerability level based on the specific value of the first security loss.

[0138] Optionally, the specific method of determining the vulnerability level corresponding to the target vulnerability according to the abnormal data is similar to the method of determining the vulnerability level corresponding to the target vulnerability according to the first repair data in step S104, and will not be described in detail in this embodiment.

[0139] S303: Determine a target patch according to the vulnerability level, and use the target patch to repair the target vulnerability.

[0140] More specifically, whether the target vulnerability needs to be repaired in a timely manner is determined based on the vulnerability level. When it is determined that it needs to be repaired in a timely manner, a first patch is generated based on the detailed data of the target vulnerability. The first patch is run in a real-time simulation integrated security framework where the target vulnerability is installed, and a real-time scan is performed to determine whether the target vulnerability has been repaired within the standard repair time.

[0141] Optionally, if the repair is completed within the standard repair time and the scan determines that the number of target vulnerabilities is 0, the first patch is determined to be the target patch, and the target patch is re-run in the integrated security framework to repair the target vulnerability.

[0142] Optionally, if the repair is not completed within the standard repair time, that is, the repair times out, or if the repair is completed within the standard repair time but scanning determines that the number of target vulnerabilities exceeds 0, first repair data is generated based on the first patch and the target vulnerability, and a second patch is generated based on the first repair data, the first patch and the target vulnerability, and the second patch is run in a real-time simulation integrated security framework in which the target vulnerability and the first patch are installed to repair the target vulnerability therein, and second repair data is obtained by analyzing the second patch and the target vulnerability, and when it is determined based on the second repair data that the second patch is completed within the standard repair time and scanning determines that the number of target vulnerabilities is 0, the second patch is determined to be the target patch, and the target patch is re-run in the integrated security framework to repair the target vulnerability.

[0143] Optionally, when the second patch is run in a real-time simulation integrated security framework in which the target vulnerability and the first patch are installed to repair the target vulnerability, when it is determined by real-time scanning of the real-time simulation integrated security framework that the second patch has been repaired within the standard repair time and the scan determines that the number of target vulnerabilities is 0 or there are no target vulnerabilities, the second patch is determined to be the target patch, and the target patch is re-run in the integrated security framework to repair the target vulnerability.

[0144] In the vulnerability repair method of the security management system provided in the embodiment of the present application, when there is no mapping patch for the target vulnerability in the vulnerability-patch mapping relationship, the vulnerability level can still be determined by analyzing the target vulnerability, and the target vulnerability is repaired according to the vulnerability level. A patch is generated according to the target vulnerability, and after the repair is successfully tested in a real-time simulated integrated security framework, the patch is run as a target patch in the integrated security framework, thereby enhancing the probability of repairing the target vulnerability, avoiding missing vulnerabilities with higher vulnerability levels, and enhancing security.

[0145] Optionally, the security management system includes an integrated security framework and is integrated in the terminal device.

[0146] Optionally, the vulnerability repair device of the security management system is used to scan and repair the vulnerabilities of the integrated security framework, wherein the integrated security framework is a framework that integrates and encapsulates various security maintenance tools.

[0147] Optionally, the integrated security framework generates and stores the names of the asset objects in the terminal device as elements in the data table. During the scanning process of the integrated security framework, for each vulnerability scanned, the value impact of each asset object in the entire process after the vulnerability appears is detected, and the value impact data of each asset object is recorded in the data table under the name of each asset object. Among them, the assets are the system resources and information resources of the computer.

[0148] In a possible embodiment, the integrated security framework generates a data table for each asset object in the terminal device, and classifies and stores the names of each asset object into three categories: fixed assets, current assets, and other assets, thereby improving the convenience of detecting and recording the value impact of each asset object.

[0149] Optionally, during the scanning process of the integrated security framework, the status of asset objects related to the computer's system resources and information resources is detected in real time, and the value impact of each vulnerability on each asset object is determined based on the real-time status of each asset object, providing a basis for the subsequent calculation of the security loss and vulnerability level of the vulnerability, so as to carry out targeted vulnerability repairs according to the impact degree and / or vulnerability level of the asset object, fully resist the impact on computer asset objects, and thus protect computer security.

[0150] Optionally, the vulnerability repair device of the security management system is installed in the computer terminal device where the security management system is located. After the computer terminal device is turned on, the vulnerability repair device of the security management system is in a standby state. When the vulnerability repair device of the security management system determines that the scanning time and / or conditions have been reached according to the scanning task, the vulnerability repair device of the security management system is started to scan and repair the vulnerabilities.

[0151] Alternatively, if Figure 4 As shown, the vulnerability repair device of the security management system includes an acquisition module 501, a processing module 502 and an analysis module 503. The acquisition module includes a scanning unit 101, the processing module includes a master control unit 201, a patch unit 202, a simulation unit 204 and a record display unit 203, and the analysis module includes an audit unit 301, a classification unit 302 and a determination unit 303.

[0152] Optionally, the scanning unit obtains a scanning task, and scans and detects the integrated security framework according to the scanning task. When a vulnerability is scanned, the detailed data of the vulnerability is transmitted to the main control unit, and the detailed data of the vulnerability is sent to the patch unit through the main control unit, so that the patch unit determines the first patch corresponding to the detailed data of the vulnerability from the patch library according to the patch mapping relationship, and feeds back the first patch to the main control unit, so that the main control unit runs the first patch in the integrated security framework to repair the corresponding vulnerability.

[0153] Optionally, the main control unit transmits the detailed data of the vulnerability, the first patch, the scanning task and each threat item scanned to the audit unit, so that the audit unit analyzes the vulnerability according to the above data, generates first repair data, and feeds back the first repair data to the main control unit. When it is determined according to the first repair data that the first patch has failed to repair, the information of the repair failure is fed back to the audit unit, so that the audit unit transmits the first repair data, the detailed data of the vulnerability and the first patch to the grading unit according to the information of the first patch failure to repair, calculates the vulnerability level corresponding to the vulnerability according to the first repair data, transmits the vulnerability level, the detailed data of the vulnerability and the first patch to the determination unit, so that the determination unit determines whether to repair the vulnerability according to the vulnerability level, and generates a re-repair instruction when it is determined to repair the vulnerability and sends it to the record display unit.

[0154] Optionally, the record display unit transmits the re-repair instruction, the vulnerability and the first patch to the simulation unit, so that the simulation unit runs the vulnerability and the first patch in the simulated integrated security framework in sequence according to the re-repair instruction to obtain a real-time simulated integrated security framework. The simulation unit includes a simulated integrated security framework or a real-time simulated integrated security framework, and the simulated integrated security framework is generated according to the integrated security framework in the initial state.

[0155] Optionally, after scanning for vulnerabilities, the scanning unit also sends the information to the simulation unit, so that the simulation unit updates the simulation integrated security framework according to the vulnerabilities.

[0156] Optionally, the record display unit includes a level list, in which a plurality of different vulnerability levels and detailed data of a plurality of vulnerabilities corresponding to each vulnerability level are stored.

[0157] In a possible embodiment, the recording and display unit records and stores the time and number of times the vulnerability occurs, and displays the patch, vulnerability, time and number of times the vulnerability occurs output by the patch unit to relevant personnel, and marks the target patch of the vulnerability with a green background.

[0158] Optionally, the patch unit transmits the detailed data of the vulnerability and the detailed data of the first patch to the record display unit, generates a second patch for the detailed data of the first patch according to the re-repair instruction, and records and displays the position related to the vulnerability under the corresponding vulnerability level in the level list.

[0159] In a possible embodiment, the determination unit generates a second patch according to the first patch and detailed data of the vulnerability, and transmits the second patch to a location related to the vulnerability at a corresponding vulnerability level in the record display unit level list.

[0160] Optionally, the record display unit transmits the second patch to the patch unit, and transmits the second patch to the main control unit through the patch unit, so that the main control unit transmits the second patch and the vulnerability to the audit unit for analysis to obtain second repair data, and when it is determined that the second patch successfully repairs the vulnerability based on the second repair data, the main control unit runs the second patch in the integrated security framework to repair the vulnerability.

[0161] Optionally, the recording and display unit runs the second patch in a real-time simulated integrated security framework, obtains the running result of the second patch through the main control unit, and when it is determined that the running is completed and the repair is successful, obtains the second patch and runs the second patch in the integrated security framework to repair the corresponding vulnerability.

[0162] Optionally, the main control unit determines that the second patch is the target patch based on the successful repair of the second patch, and outputs a control instruction to be transmitted to the record display unit through the patch unit, so that the record display unit updates the background color of the first patch of the vulnerability at the corresponding vulnerability level to a red background color mark according to the control instruction, and marks the second patch as the target patch with a green background color mark.

[0163] In a possible embodiment, the second patch in the record display unit can be edited and modified.

[0164] In a possible embodiment, the determination unit includes at least a terminal device of a relevant staff member, the vulnerability level of the target vulnerability is obtained through the terminal device of the relevant staff member, and a re-repair instruction is input into the terminal device according to the vulnerability level, and the subsequent procedure is indicated by the re-repair instruction. The recording and display unit includes at least a computer display interface, and the vulnerability level of the target vulnerability, the target vulnerability and the detailed data of each patch and the repair result corresponding to each patch are displayed through the computer display interface, and any patch is modified or a new patch is directly generated according to the displayed relevant information, and the modified patch or the new patch is used in the subsequent repair process.

[0165] A schematic diagram of a structure of a vulnerability repair device for a security management system provided in an embodiment of the present application is shown in FIG. Figure 5 The structural diagram of the device is shown in Figure 5As shown, the device 500 includes:

[0166] An acquisition module 501 is used to acquire a scanning task, and acquire a target vulnerability in the integrated security framework according to the scanning task;

[0167] Processing module 502, used to determine the vulnerability feature of the target vulnerability according to the target vulnerability, determine whether there is a first patch corresponding to the vulnerability feature according to the vulnerability-patch mapping relationship; and if the first patch exists, repair the target vulnerability according to the first patch;

[0168] An analysis module 503, configured to analyze a repair status of a target vulnerability according to the first patch, and generate first repair data of the target vulnerability;

[0169] The analysis module 503 is also used to determine the vulnerability level corresponding to the target vulnerability according to the first repair data when the first patch fails to repair the target vulnerability; determine the second patch according to the vulnerability level, determine the target patch according to the second patch and the first repair data, and use the target patch to repair the target vulnerability.

[0170] Optionally, the analysis module 503 is further configured to calculate the security loss of the target vulnerability according to the first repair data of the target vulnerability and the scanning task when determining that the first patch fails to repair the target vulnerability according to the first repair data of the target vulnerability;

[0171] The vulnerability level corresponding to the target vulnerability is determined according to the security loss; wherein the first repair data is the relevant data of the target vulnerability before and after being repaired by the first patch.

[0172] Optionally, the analysis module 503 is further used to determine whether to perform a second repair on the target vulnerability according to the vulnerability level;

[0173] and when it is determined to perform a second repair, generating a second patch according to the target vulnerability, the first patch and the first repair data;

[0174] Simulating and repairing a target vulnerability in the real-time simulated integrated security framework according to the second patch, and analyzing the target vulnerability according to the second patch to generate second repair data for the target vulnerability; wherein the second repair data is relevant data of the target vulnerability after the second repair;

[0175] The second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

[0176] Optionally, the analysis module 503 is further configured to analyze the target vulnerability and generate abnormal data of the target vulnerability when it is determined according to the vulnerability-patch mapping relationship that there is no patch corresponding to the vulnerability feature of the target vulnerability;

[0177] Determine the vulnerability level corresponding to the target vulnerability based on the abnormal data;

[0178] Determine the target patch based on the vulnerability level, and use the target patch to repair the target vulnerability.

[0179] Optionally, the processing module 502 is further configured to generate a simulated integrated security framework according to the integrated security framework in the initial state, wherein the integrated security framework in the initial state is the integrated security framework before the execution of the scanning task is started;

[0180] and when it is determined to perform a second repair, generating and outputting a re-repair instruction;

[0181] The target vulnerability is run in the simulated integrated security framework according to the re-repair instruction to obtain an updated real-time simulated integrated security framework.

[0182] Optionally, the processing module 502 is further configured to determine, when determining according to the first repair data of the target vulnerability that the first patch successfully repairs the target vulnerability, the first patch that successfully repairs the target vulnerability as the target patch;

[0183] Record based on target patches and target vulnerabilities.

[0184] Optionally, the processing module 502 is further used to establish a vulnerability patch mapping relationship;

[0185] Specifically include:

[0186] Obtain detailed data of each vulnerability and the patch corresponding to each vulnerability, establish a mapping relationship between each vulnerability and the corresponding patch to fix each vulnerability, and obtain a vulnerability-patch mapping relationship;

[0187] And the patches mapped to each vulnerability are stored in the patch library;

[0188] Accordingly, determine the target patch corresponding to repairing each vulnerability;

[0189] According to the target patch, the patches mapped to the corresponding vulnerabilities in the patch library are updated respectively; the mapping between the vulnerability and the corresponding target patch is obtained, and the vulnerability-patch mapping relationship is updated.

[0190] like Figure 6 As shown, an embodiment of the present application provides an electronic device 600 , which includes a memory 601 and a processor 602 .

[0191] The memory 601 is used to store computer instructions executable by the processor;

[0192] The processor 602 implements each step of the method in the above embodiment when executing the computer instruction. For details, please refer to the relevant description in the above method embodiment.

[0193] Optionally, the memory 601 can be independent or integrated with the processor 602. When the memory 601 is independently provided, the electronic device further includes a bus for connecting the memory 601 and the processor 602.

[0194] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When a processor executes the computer instructions, each step of the method in the above embodiment is implemented.

[0195] The embodiment of the present application also provides a computer program product, including computer instructions, which implement the various steps of the method in the above embodiment when executed by a processor.

[0196] It should be noted that the above-mentioned terminal equipment can be a wireless terminal or a wired terminal. A wireless terminal can be a device that provides voice and / or other business data connectivity to a user, a handheld device with a wireless connection function, or other processing equipment connected to a wireless modem. A wireless terminal can communicate with one or more core network devices via a radio access network (Radio Access Network, referred to as RAN). A wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with a radio access network. For another example, a wireless terminal can also be a personal communication service (Personal Communication Service, referred to as PCS) phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, referred to as SIP) phone, a wireless local loop (Wireless Local Loop, referred to as WLL) station, a personal digital assistant (Personal Digital Assistant, referred to as PDA) and other devices. A wireless terminal may also be referred to as a system, a subscriber unit (Subscriber Unit), a subscriber station (Subscriber Station), a mobile station (Mobile Station), a mobile station (Mobile), a remote station (Remote Station), a remote terminal (Remote Terminal), an access terminal (Access Terminal), a user terminal (User Terminal), a user agent (User Agent), a user device (User Device or User Equipment), without limitation herein.

[0197] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0198] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for repairing a vulnerability in a security management system, characterized in that: The security management system includes an integrated security framework, and the method includes: Obtaining a scanning task, and obtaining a target vulnerability in the integrated security framework according to the scanning task; Determine a vulnerability feature of the target vulnerability according to the target vulnerability, determine whether there is a first patch corresponding to the vulnerability feature according to a vulnerability-patch mapping relationship; and if the first patch exists, repair the target vulnerability according to the first patch; Analyze the repair status of the target vulnerability according to the first patch to generate first repair data for the target vulnerability; When the first patch fails to repair the target vulnerability, determining the vulnerability level corresponding to the target vulnerability according to the first repair data; determining a second patch according to the vulnerability level, determining a target patch according to the second patch and the first repair data, and using the target patch to repair the target vulnerability; When the first patch fails to repair the target vulnerability, determining the vulnerability level corresponding to the target vulnerability according to the first repair data specifically includes: When it is determined according to the first repair data of the target vulnerability that the first patch fails to repair the target vulnerability, the security loss of the target vulnerability is calculated according to the first repair data and the scanning task; Determine the vulnerability level corresponding to the target vulnerability according to the security loss; wherein the first repair data is the relevant data of the target vulnerability before and after being repaired by the first patch; Determining a second patch according to the vulnerability level, determining a target patch according to the second patch and the first repair data, and using the target patch to repair the target vulnerability specifically includes: Determining whether to perform a second repair on the target vulnerability according to the vulnerability level; and when determining to perform a second repair, generating a second patch according to the target vulnerability, the first patch and the first repair data; Simulating and repairing a target vulnerability in the real-time simulated integrated security framework according to the second patch, and analyzing the target vulnerability according to the second patch to generate second repair data for the target vulnerability; wherein the second repair data is relevant data of the target vulnerability after the second repair; The second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

2. The method according to claim 1, characterized in that: include: When it is determined according to the vulnerability-patch mapping relationship that a patch corresponding to the vulnerability feature of the target vulnerability does not exist, the target vulnerability is analyzed to generate abnormal data of the target vulnerability; Determine the vulnerability level corresponding to the target vulnerability according to the abnormal data; A target patch is determined according to the vulnerability level, and the target patch is used to repair the target vulnerability.

3. The method according to claim 1 or 2, characterized in that: include: Generating a simulated integrated security framework according to the integrated security framework in the initial state, wherein the integrated security framework in the initial state is the integrated security framework before the execution of the scanning task is started; and when it is determined to perform a second repair, generating and outputting a re-repair instruction; The target vulnerability is run in the simulated integrated security framework according to the re-repair instruction to obtain an updated real-time simulated integrated security framework.

4. The method according to claim 1, characterized in that: include: When it is determined according to the first repair data of the target vulnerability that the first patch successfully repairs the target vulnerability, the first patch that successfully repairs the target vulnerability is determined as the target patch; Recording is performed according to the target patch and the target vulnerability.

5. The method according to claim 1, characterized in that Before determining whether there is a first patch corresponding to the vulnerability feature according to the vulnerability-patch mapping relationship, establishing a vulnerability-patch mapping relationship; Specifically include: Obtain detailed data of each vulnerability and the patch corresponding to each vulnerability, establish a mapping relationship between each vulnerability and the corresponding patch to fix each vulnerability, and obtain a vulnerability-patch mapping relationship; And the patches mapped to each vulnerability are stored in the patch library; Accordingly, determine the target patch corresponding to repairing each vulnerability; The patches mapped to the corresponding vulnerabilities in the patch library are updated respectively according to the target patches; the mapping between the vulnerabilities and the corresponding target patches is obtained, and the vulnerability-patch mapping relationship is updated.

6. A vulnerability repair device for a security management system, characterized in that: The security management system includes an integrated security framework, and the device includes: An acquisition module is used to acquire a scanning task, and acquire a target vulnerability in the integrated security framework according to the scanning task; A processing module, configured to determine a vulnerability feature of the target vulnerability according to the target vulnerability, determine whether there is a first patch corresponding to the vulnerability feature according to a vulnerability-patch mapping relationship; and repair the target vulnerability according to the first patch if the first patch exists; an analysis module, configured to analyze a repair status of the target vulnerability according to the first patch, and generate first repair data for the target vulnerability; The analysis module is further configured to determine, when the first patch fails to repair the target vulnerability, a vulnerability level corresponding to the target vulnerability according to the first repair data; determine a second patch according to the vulnerability level, determine a target patch according to the second patch and the first repair data, and use the target patch to repair the target vulnerability; When the first patch fails to repair the target vulnerability, determining the vulnerability level corresponding to the target vulnerability according to the first repair data specifically includes: When it is determined according to the first repair data of the target vulnerability that the first patch fails to repair the target vulnerability, the security loss of the target vulnerability is calculated according to the first repair data and the scanning task; Determine the vulnerability level corresponding to the target vulnerability according to the security loss; wherein the first repair data is the relevant data of the target vulnerability before and after being repaired by the first patch; Determining a second patch according to the vulnerability level, determining a target patch according to the second patch and the first repair data, and using the target patch to repair the target vulnerability specifically includes: Determining whether to perform a second repair on the target vulnerability according to the vulnerability level; and when determining to perform a second repair, generating a second patch according to the target vulnerability, the first patch and the first repair data; Simulating and repairing a target vulnerability in the real-time simulated integrated security framework according to the second patch, and analyzing the target vulnerability according to the second patch to generate second repair data for the target vulnerability; wherein the second repair data is relevant data of the target vulnerability after the second repair; The second repair data and the first repair data are repaired and compared to obtain a comparison result, a target patch is determined according to the comparison result, and the target vulnerability is repaired according to the target patch.

7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.