A method and device for generating security verification use cases based on multiple scenarios
By obtaining and analyzing the multi-scene historical operation and maintenance data of the enterprise security protection system, determining the weight of verification indicators, and generating security verification use cases, the problem of poor security protection effect in the existing technology is solved, and the effectiveness of enterprise security protection system is achieved Verification and performance improvements.
Patent Information
- Application Number
- CN202410255435.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-03-06
AI Technical Summary
The lack of effective security verification methods in the existing technology has led to poor security protection effects of enterprise network security protection systems.
By obtaining multi-scenario historical operation and maintenance data of the enterprise security protection system, using preset analysis methods and hierarchical analysis methods to determine the weight of the verification indicators, and generating security verification use cases, including domain name information completeness, domain name information accuracy, high-risk service exposure, Indicators such as vulnerability exposure risk can thus improve security protection performance.
Effectively verify the enterprise security protection system, improve its performance, and ensure safety protection effect.
Smart Images

Figure CN118138309B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security protection technology, and in particular to a method, device, equipment and storage medium for generating security verification use cases based on multiple scenarios. Background Art
[0002] At present, in order to ensure the network security of enterprises, corresponding security protection systems are often established to ensure that enterprises can obtain effective security protection when facing various internal and external attacks.
[0003] However, there is currently a lack of effective security verification methods for the security protection system, which results in poor security protection effects due to defects in the security protection system. Summary of the invention
[0004] The present invention provides a method, device, equipment and storage medium for generating security verification use cases based on multiple scenarios, which can effectively verify the enterprise security protection system and improve the security protection performance.
[0005] In a first aspect, an embodiment of the present invention provides a method for generating a security verification case based on multiple scenarios, the method comprising:
[0006] Obtain multi-scenario historical operation and maintenance data of enterprise security protection systems;
[0007] Analyze historical operation and maintenance data of multiple scenarios according to preset analysis methods to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators;
[0008] The verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage;
[0009] The validation indicators are analyzed according to the hierarchical analysis method to obtain the weights of the validation indicators;
[0010] Generate security verification use cases for the enterprise security protection system based on preset methods and weights of verification indicators.
[0011] Optionally, the historical operation and maintenance data of multiple scenarios are analyzed according to a preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators, including:
[0012] Analyze historical operation and maintenance data in multiple scenarios to determine the verification objectives and scope of the enterprise security protection system;
[0013] Design verification indicators based on verification objectives and scope combined with system protection data in multi-scenario historical operation and maintenance data;
[0014] The verification indicators are scored according to the preset scoring algorithm.
[0015] Optionally, the verification indicators are scored according to a preset scoring algorithm, including:
[0016] Obtaining first scoring data of the verification indicators by multiple groups of experts;
[0017] Design a scoring calculation formula according to the influencing factors corresponding to the verification indicator to determine the second scoring data of the verification indicator;
[0018] The first scoring data and the second scoring data are verified according to the historical operation and maintenance data of multiple scenarios to determine the scores corresponding to the verification indicators.
[0019] Optionally, the verification indicators are analyzed according to the hierarchical analysis method to obtain the weights of the verification indicators, including:
[0020] Determine the level of verification indicators and draw a hierarchy diagram;
[0021] Construct a judgment matrix based on the hierarchical structure diagram;
[0022] The weights of the verification indicators are calculated based on the judgment matrix.
[0023] Optionally, analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators also includes:
[0024] Calculate the consistency of the judgment matrix according to the preset formula;
[0025] If the consistency does not meet the preset conditions, the judgment matrix is adjusted until the consistency judgment of the judgment matrix passes;
[0026] The preset formula is as follows:
[0027]
[0028]
[0029] In the formula, RI is the random consistency index, λ max is the maximum eigenvalue of the judgment matrix, n is the order of the judgment matrix, and CR is the value corresponding to the consistency of the judgment matrix.
[0030] Optionally, a security verification use case for the enterprise security protection system is generated according to a preset method and a weight of a verification indicator, including:
[0031] The score of the verification scheme is calculated according to the following formula:
[0032]
[0033] Where S is the verification solution score, wi is the weight of the verification indicator, x i Score the verification indicators in the verification scheme, n is the number of verification indicators in the verification scheme;
[0034] The verification scheme with the highest score will be used as the security verification use case for the enterprise security protection system.
[0035] Optionally, the method further comprises:
[0036] Build an enterprise security protection knowledge graph based on historical operation and maintenance data in multiple scenarios;
[0037] Verification indicators are updated according to the enterprise security protection knowledge graph, and the iterative update of security verification use cases is achieved through the update of verification indicators.
[0038] In a second aspect, an embodiment of the present invention provides a security verification case generation device based on multiple scenarios, the security verification case generation device comprising:
[0039] The acquisition module is used to obtain multi-scenario historical operation and maintenance data of the enterprise security protection system;
[0040] The analysis module is used to analyze the historical operation and maintenance data of multiple scenarios according to the preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators;
[0041] The verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage;
[0042] The analysis module is further used to analyze the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators;
[0043] A generation module is used to generate security verification use cases for the enterprise security protection system based on preset methods and weights of verification indicators.
[0044] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the program, the method described in any implementation manner in the first aspect is implemented.
[0045] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any implementation manner in the first aspect.
[0046] The present invention provides a method, device, equipment and storage medium for generating a security verification case based on multiple scenarios. The method is as follows: obtaining the multi-scenario historical operation and maintenance data of the enterprise security protection system; analyzing the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification index of the enterprise security protection system and evaluating the verification index; the verification index includes one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, equipment interception capability or IP ban coverage; analyzing the verification index according to the hierarchical analysis method to obtain the weight of the verification index; generating a security verification case for the enterprise security protection system according to the preset method and the weight of the verification index. The present invention can effectively verify the enterprise security protection system and improve the security performance.
[0047] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements.
[0049] Figure 1 A flowchart of a method for generating a security verification use case based on multiple scenarios according to an embodiment of the present invention;
[0050] Figure 2 A schematic diagram of the structure of a device for generating a security verification case based on multiple scenarios according to an embodiment of the present invention;
[0051] Figure 3 The figure is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0053] It should be noted that the description of the embodiments of the present invention is only for more clearly illustrating the technical solutions of the embodiments of the present invention, and does not constitute a limitation on the technical solutions provided by the embodiments of the present invention.
[0054] Figure 1 FIG. 1 is a flow chart of a method for generating a security verification case based on multiple scenarios according to an embodiment of the present invention. Figure 1 As shown, including:
[0055] S101. Obtain multi-scenario historical operation and maintenance data of the enterprise security protection system.
[0056] Optionally, daily operation and maintenance data of the enterprise security protection system is obtained, mainly including system operation logs, internal protection behavior data, and external protection behavior data.
[0057] Optionally, the protection scope, protection type, and system information of the enterprise security protection system may also be obtained.
[0058] S102. Analyze the historical operation and maintenance data of multiple scenarios according to the preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators.
[0059] Among them, the verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage.
[0060] Optionally, the historical operation and maintenance data of multiple scenarios are analyzed according to a preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators, including:
[0061] Analyze historical operation and maintenance data in multiple scenarios to determine the verification objectives and scope of the enterprise security protection system;
[0062] Design verification indicators based on verification objectives and scope combined with system protection data in multi-scenario historical operation and maintenance data;
[0063] The verification indicators are scored according to the preset scoring algorithm.
[0064] For example, based on the enterprise's interception and early warning capabilities in the face of various external attack behaviors, various types of hacker attacks can be simulated to form an evaluation use case library, and the ability of protective equipment to accurately respond can be used as an evaluation indicator.
[0065] For example, based on the internal control capabilities and response capabilities that can prevent malicious behavior by insiders, various types of illegal operations by employees can be simulated to form an evaluation case library, and the situations in which the protective equipment can accurately respond can be used as evaluation.
[0066] Optionally, the verification indicators are scored according to a preset scoring algorithm, including:
[0067] Obtaining first scoring data of the verification indicators by multiple groups of experts;
[0068] Design a scoring calculation formula according to the influencing factors corresponding to the verification indicator to determine the second scoring data of the verification indicator;
[0069] The first scoring data and the second scoring data are verified according to the historical operation and maintenance data of multiple scenarios to determine the scores corresponding to the verification indicators.
[0070] Exemplarily, obtaining first scoring data of the verification indicators by multiple groups of experts includes:
[0071] Determine the verification indicators to be evaluated, and then select a group of experts, including scholars, practitioners, consultants, etc., covering different viewpoints and experiences in the field; then prepare a questionnaire or a list of questions, including open-ended questions and closed questions, as well as background information and reference materials related to the questions; then conduct a first round of investigation, send the questionnaire or list of questions to the experts, and ask them to answer the questions independently and provide relevant explanations and reasons. The survey results will be counted and analyzed to form a preliminary consensus of the expert group; finally, based on the results of the first round of investigation, prepare a second round of questionnaires or a list of questions, summarize the experts' opinions and reasons, and provide them to the experts for re-evaluation; after multiple evaluations and summaries, the final first score data is obtained.
[0072] Exemplarily, the early warning capability evaluation of the NTA device can be calculated using: total number of normal early warning use cases / total number of execution verification use cases*100%.
[0073] Exemplarily, the early warning capability evaluation of the DLP device can be calculated as follows: the total number of normal response use cases / the total number of use cases of illegally sending out confidential data*100%.
[0074] S103. Analyze the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators.
[0075] Optionally, the verification indicators are analyzed according to the hierarchical analysis method to obtain the weights of the verification indicators, including:
[0076] Determine the level of verification indicators and draw a hierarchy diagram;
[0077] Construct a judgment matrix based on the hierarchical structure diagram;
[0078] The weights of the verification indicators are calculated based on the judgment matrix.
[0079] Specifically, the constructed judgment matrix is as follows:
[0080]
[0081] Optionally, matrix A is a judgment matrix obtained by comparing the hierarchical factors in the hierarchical structure diagram, where n is the matrix dimension, a ij The scale is obtained by comparing the importance of the factors at this level two by two according to Table 1.
[0082] Optionally, Table 1 is the judgment matrix scale and its meaning, as follows:
[0083] Table 1
[0084]
[0085] Optionally, analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators also includes:
[0086] Calculate the consistency of the judgment matrix according to the preset formula;
[0087] If the consistency does not meet the preset conditions, the judgment matrix is adjusted until the consistency judgment of the judgment matrix passes;
[0088] The preset formula is as follows:
[0089]
[0090]
[0091] In the formula, RI is the random consistency index, λ max is the maximum eigenvalue of the judgment matrix, n is the order of the judgment matrix, and CR is the value corresponding to the consistency of the judgment matrix.
[0092] For example, the RI random consistency index may be as shown in Table 2 below:
[0093] Table 2
[0094]
[0095] Exemplarily, when CR<0.1, it is considered that the judgment matrix passes the consistency judgment; when CR>0.1, the judgment matrix does not pass the consistency judgment.
[0096] Optionally, the weight of the verification indicator is calculated according to the judgment matrix, including:
[0097] Normalize each column vector of the judgment matrix;
[0098] The normalized judgment matrix is summed row by row and normalized again to obtain the eigenvector;
[0099] Among them, the eigenvector is the weight of the corresponding element in each column of the judgment matrix.
[0100] For example, firstly, the matrix A=(a ij ) nxm Normalization of each column vector of is:
[0101] Then Sum by row:
[0102] Then Normalized, we have: Then we get the eigenvector:
[0103] S104. Generate a security verification use case for the enterprise security protection system according to the preset method and the weight of the verification indicator.
[0104] Optionally, a security verification use case for the enterprise security protection system is generated according to a preset method and a weight of a verification indicator, including:
[0105] The score of the verification scheme is calculated according to the following formula:
[0106]
[0107] Where S is the verification solution score, w i is the weight of the verification indicator, x i Score the verification indicators in the verification scheme, n is the number of verification indicators in the verification scheme;
[0108] The verification scheme with the highest score will be used as the security verification use case for the enterprise security protection system.
[0109] It should be noted that the evaluation of the verification scheme is not limited to the technical scheme in this example, and other algorithms may also be used for evaluation, for example: a comprehensive evaluation method based on set pair analysis.
[0110] Optionally, in addition to using the scheme in steps S102-S103 of the present application to generate the verification index and the corresponding weight, other schemes may also be used to design the verification index and the corresponding weight, for example:
[0111] For the "Vulnerability Exposure Risk" verification indicator, the implementation frequency can be manually pre-set to once a month based on the analysis of historical data. The evaluation object is all institutions in the industry, and the corresponding indicator weight is 15%;
[0112] Among them, this verification indicator is used to make each organization pay attention to the vulnerabilities exposed to the Internet and ensure that all vulnerabilities are repaired before the Internet business is opened; reduce the risk of vulnerability exposure and external exploitation.
[0113] Optionally, the specific measurement tool may be a vulnerability scanning tool; the measurement method may be based on the domain name list of each organization in the database, scanning the vulnerabilities exposed in the domain name; the evaluation method may subtract the number of levels, based on the specific vulnerabilities that can be reported, and deduct points according to the different levels of vulnerabilities.
[0114] Exemplarily, the scoring formula is: 100-number of high-risk vulnerabilities*30-number of medium-risk vulnerabilities*15-low-risk vulnerabilities*5.
[0115] Optionally, the specific verification steps may be as follows:
[0116] Establish a verification framework, including technical platform, workflow, personnel organization responsibilities, etc.;
[0117] Determine the phased verification goals and scope, with the ultimate goal of covering the entire enterprise security protection system, and dismantle the phased goals and scope;
[0118] Generate a verification plan according to the plan in steps S101-S104, the verification plan including: actions to be taken for verification and evaluations corresponding to the verification actions, etc.;
[0119] Based on the verification scheme, the verification actions are transformed into various verification cases, forming executable technical programs or scripts;
[0120] Initiate verification use cases for the entire security protection system and obtain verification results.
[0121] Optionally, the multi-scenario based security verification case generation method further includes:
[0122] Build an enterprise security protection knowledge graph based on historical operation and maintenance data in multiple scenarios;
[0123] Verification indicators are updated according to the enterprise security protection knowledge graph, and the iterative update of security verification use cases is achieved through the update of verification indicators.
[0124] Optionally, the construction of the enterprise security protection knowledge graph includes:
[0125] Obtain historical operation and maintenance data of the enterprise security protection system;
[0126] Extract entities, relationships, and entity attributes from historical operation and maintenance data;
[0127] Build an enterprise security protection knowledge graph based on entities, relationships and entity attributes and determine the update mechanism of the knowledge graph.
[0128] Specifically, we choose to use a top-down knowledge modeling approach to build a knowledge graph. First, we determine the data model of the knowledge graph, and then, based on the agreed framework of the data model, we supplement the data to complete the construction of the knowledge graph.
[0129] Optionally, one method of constructing a data model is to find a basic reference model, slowly form a basic data model, and then improve the data model based on the actual data collected; another construction method is to extract from the public knowledge graph data model, extract the relevant data model from the public knowledge graph data model, and then improve it in combination with industry knowledge.
[0130] Optionally, entity extraction refers to the automatic identification of named entities from text data sets; relationship extraction is to obtain semantic information, extract the association relationship between entities from relevant corpus, connect entities through relationships, and form a network knowledge structure; the goal of attribute extraction is to collect attribute information of specific entities from different information sources. Data mining methods can be used to directly mine the relationship pattern between entity attributes and attribute values from the text, thereby locating the attribute name and attribute value in the text.
[0131] Optionally, the multi-scenario based security verification case generation method further includes:
[0132] The verification results of the enterprise security protection system are presented to the user in the form of a chart to realize the visualization of the verification results; wherein the chart may include one or more of the following: column chart, bar chart, line chart, curve chart, histogram, normal distribution chart, scatter chart, pie chart, stacked column chart, stacked area chart or waterfall chart.
[0133] Optionally, optimization or upgrade plans for the enterprise security protection system corresponding to the user may also be pushed based on the verification results.
[0134] The embodiment of the present invention provides a method for generating a security verification case based on multiple scenarios, which is as follows: obtaining the multi-scenario historical operation and maintenance data of the enterprise security protection system; analyzing the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification index of the enterprise security protection system and evaluating the verification index; the verification index includes one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage; analyzing the verification index according to the hierarchical analysis method to obtain the weight of the verification index; generating a security verification case for the enterprise security protection system according to the preset method and the weight of the verification index. The present invention can effectively verify the enterprise security protection system and improve the security performance.
[0135] The following combination Figure 2 The device provided by the embodiment of the present invention that can execute the above-mentioned multi-scenario based security verification case generation method is described in detail.
[0136] For example, Figure 2 FIG. 1 is a schematic diagram of a structure of a device for generating a security verification case based on multiple scenarios according to an embodiment of the present invention; Figure 2 As shown, the security verification case generation device 20 includes:
[0137] An acquisition module 201 is used to acquire multi-scenario historical operation and maintenance data of an enterprise security protection system;
[0138] Analysis module 202, used to analyze the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators;
[0139] The verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage;
[0140] The analysis module 202 is also used to analyze the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators;
[0141] The generation module 203 is used to generate a security verification use case for the enterprise security protection system according to a preset method and the weight of the verification indicator.
[0142] Optionally, the analysis module 202 is also used to analyze multi-scenario historical operation and maintenance data to determine the verification objectives and scope of the enterprise security protection system; design verification indicators based on the verification objectives and scope combined with the system protection data in the multi-scenario historical operation and maintenance data; and score the verification indicators according to a preset scoring algorithm.
[0143] Optionally, the analysis module 202 is also used to obtain first scoring data of the verification indicators by multiple groups of experts; design a scoring calculation formula according to the influencing factors corresponding to the verification indicators to determine second scoring data of the verification indicators; verify the first scoring data and the second scoring data according to historical operation and maintenance data of multiple scenarios to determine the scores corresponding to the verification indicators.
[0144] Optionally, the analysis module 202 is further used to determine the hierarchy of the verification indicators and draw a hierarchy diagram; construct a judgment matrix according to the hierarchy diagram; and calculate the weight of the verification indicators according to the judgment matrix.
[0145] Optionally, the analysis module 202 is further configured to calculate the consistency of the judgment matrix according to a preset formula; if the consistency does not meet a preset condition, the judgment matrix is adjusted until the consistency judgment of the judgment matrix passes;
[0146] The preset formula is as follows:
[0147]
[0148]
[0149] In the formula, RI is the random consistency index, λ max is the maximum eigenvalue of the judgment matrix, n is the order of the judgment matrix, and CR is the value corresponding to the consistency of the judgment matrix.
[0150] Optionally, the generating module 203 is further configured to calculate the score of the verification scheme according to the following formula:
[0151]
[0152] Where S is the verification solution score, w i is the weight of the verification indicator, x i Score the verification indicators in the verification scheme, n is the number of verification indicators in the verification scheme;
[0153] The verification scheme with the highest score will be used as the security verification use case for the enterprise security protection system.
[0154] Optionally, the security verification use case generation device 20 also includes: an update module, which is used to construct an enterprise security protection knowledge graph based on historical operation and maintenance data of multiple scenarios; update the verification indicators according to the enterprise security protection knowledge graph, and realize iterative update of the security verification use case through the update of the verification indicators.
[0155] An embodiment of the present invention further provides a computer electronic device, Figure 3 FIG. 1 shows a schematic diagram of the structure of an electronic device to which an embodiment of the present invention can be applied. Figure 3 As shown, the computer electronic device includes a central processing module (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0156] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
[0157] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] The modules or modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules or modules described may also be set in a processor, for example, they may be described as: a processor includes an acquisition module 201, an analysis module 202, and a generation module 203, wherein the names of these modules do not constitute a limitation on the module itself in some cases, for example, the acquisition module 201 may also be described as "an acquisition module 201 for acquiring multi-scenario historical operation and maintenance data of an enterprise security protection system".
[0159] As another aspect, the present invention further provides a computer-readable storage medium, which may be a computer-readable storage medium included in a multi-scenario security verification case generation device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into an electronic device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute a multi-scenario security verification case generation method described in the present invention.
[0160] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) to form a technical solution.
Claims
1. A method for generating security verification cases based on multiple scenarios, characterized in that: The security verification case generation method includes: Obtain multi-scenario historical operation and maintenance data of enterprise security protection systems; Analyze the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators; the verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage; Analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators; Generate a security verification case for the enterprise security protection system according to a preset method and the weight of the verification indicator; The step of analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators includes: Determine the level of verification indicators and draw a hierarchy diagram; Constructing a judgment matrix according to the hierarchical structure diagram; The judgment matrix is as follows: Matrix A is the judgment matrix obtained by comparing the hierarchical factors in the hierarchical structure diagram. In the formula, n is the matrix dimension, a ij The scale is obtained by comparing the importance of the factors at this level. Calculating the weight of the verification indicator according to the judgment matrix; The calculating the weight of the verification indicator according to the judgment matrix includes: For the judgment matrix A=(a ij ) nxm Normalize each column vector of to get: The normalized judgment matrix Sum by row, we get and will Perform normalization and get: Get the feature vector Among them, the eigenvector is the weight of the corresponding element in each column of the judgment matrix; The step of analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators also includes: Calculating the consistency of the judgment matrix according to a preset formula; If the consistency does not meet the preset condition, adjusting the judgment matrix until the consistency judgment of the judgment matrix passes; The preset formula is as follows: In the formula, RI is the random consistency index, λ max is the maximum eigenvalue of the judgment matrix, n is the order of the judgment matrix, and CR is the value corresponding to the consistency of the judgment matrix; The generating of a security verification use case for the enterprise security protection system according to a preset method and the weight of the verification indicator includes: The score of the verification scheme is calculated according to the following formula: Where S is the verification solution score, w i is the weight of the verification indicator, x i Score the verification indicators in the verification scheme, n is the number of verification indicators in the verification scheme; The verification scheme with the highest score is used as a security verification case for the enterprise security protection system.
2. The method for generating a multi-scenario security verification case according to claim 1, characterized in that: The analyzing the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification index of the enterprise security protection system and evaluating the verification index includes: Analyze the multi-scenario historical operation and maintenance data to determine the verification objectives and scope of the enterprise security protection system; Design verification indicators based on the verification objectives and scope combined with the system protection data in the multi-scenario historical operation and maintenance data; The verification indicator is scored according to a preset scoring algorithm.
3. The method for generating a security verification case based on multiple scenarios according to claim 2 is characterized in that: Scoring the verification indicator according to a preset scoring algorithm includes: Obtaining first scoring data of the verification indicators by multiple groups of experts; Designing a scoring calculation formula according to the influencing factors corresponding to the verification indicator to determine second scoring data of the verification indicator; The first scoring data and the second scoring data are verified according to the multi-scenario historical operation and maintenance data to determine the scores corresponding to the verification indicators.
4. The method for generating a multi-scenario security verification case according to any one of claims 1 to 3, characterized in that: The method further includes: Constructing an enterprise security protection knowledge graph based on the multi-scenario historical operation and maintenance data; The verification indicators are updated according to the enterprise security protection knowledge graph, and the iterative update of the security verification use case is achieved through the update of the verification indicators.
5. A multi-scenario based security verification case generation device, characterized in that: The safety verification case generation device comprises: The acquisition module is used to obtain multi-scenario historical operation and maintenance data of the enterprise security protection system; An analysis module is used to analyze the multi-scenario historical operation and maintenance data according to a preset analysis method to determine the verification indicators of the enterprise security protection system and evaluate the verification indicators; the verification indicators include one or more of the following: domain name information completeness rate, domain name information accuracy rate, number of high-risk service exposures, vulnerability exposure risk, Internet attack warning, network attack warning, monitoring point coverage, device interception capability or IP ban coverage; The analysis module is further used to analyze the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators; A generation module, used to generate a security verification case for the enterprise security protection system according to a preset method and the weight of the verification indicator; The step of analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators includes: Determine the level of verification indicators and draw a hierarchy diagram; Constructing a judgment matrix according to the hierarchical structure diagram; The judgment matrix is as follows: Matrix A is the judgment matrix obtained by comparing the hierarchical factors in the hierarchical structure diagram. In the formula, n is the matrix dimension, a ij The scale is obtained by comparing the importance of the factors at this level. Calculating the weight of the verification indicator according to the judgment matrix; The calculating the weight of the verification indicator according to the judgment matrix includes: For the judgment matrix A=(a ij ) nxm Normalize each column vector of to get: The normalized judgment matrix Sum by row, we get and will Perform normalization and get: Get the feature vector Among them, the eigenvector is the weight of the corresponding element in each column of the judgment matrix; The step of analyzing the verification indicators according to the hierarchical analysis method to obtain the weights of the verification indicators also includes: Calculating the consistency of the judgment matrix according to a preset formula; If the consistency does not meet the preset condition, adjusting the judgment matrix until the consistency judgment of the judgment matrix passes; The preset formula is as follows: In the formula, RI is the random consistency index, λ max is the maximum eigenvalue of the judgment matrix, n is the order of the judgment matrix, and CR is the value corresponding to the consistency of the judgment matrix; The generating of a security verification use case for the enterprise security protection system according to a preset method and the weight of the verification indicator includes: The score of the verification scheme is calculated according to the following formula: Where S is the verification solution score, w i is the weight of the verification indicator, x i Score the verification indicators in the verification scheme, n is the number of verification indicators in the verification scheme; The verification scheme with the highest score is used as a security verification case for the enterprise security protection system.
6. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
