Cloud environment vulnerability scanning method based on model detection

By building an abstract model in the cloud environment and using the Markov decision process for automated vulnerability scanning, the data insecurity problem caused by complex vulnerabilities in the cloud environment is solved, efficient vulnerability identification and repair are achieved, and the security of the cloud environment is significantly improved. performance and reliability.

CN118606953APending Publication Date: 2024-09-06HANGZHOU DIANZI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410718829.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Complex and diverse vulnerabilities in the cloud environment lead to data insecurity. Existing technologies fail to systematically solve this problem, affecting the confidentiality and integrity of data.

Method used

Combining model detection and vulnerability scanning technology, we build an abstract model suitable for cloud environments, conduct automated vulnerability scanning through the Markov decision-making process, identify and repair high-risk vulnerabilities, and establish a continuous monitoring mechanism to optimize the security of the cloud environment.

Benefits of technology

It significantly improves the data security and reliability of the cloud environment, reduces reliance on manual review, improves the efficiency and accuracy of vulnerability identification, discovers and repairs vulnerabilities in a timely manner, and reduces security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606953A
    Figure CN118606953A
Patent Text Reader

Abstract

The invention discloses a cloud environment vulnerability scanning method based on model detection, and the method comprises the steps: constructing a cloud environment abstract resource model and an expected attack target according to the specific topology and security requirements of a cloud environment; according to the established cloud environment model and a set attack target, designing a traversal function to execute automatic model testing and vulnerability identification, and outputting a reachable attack path as a potential vulnerability point of the cloud environment; and finally, potential vulnerabilities are analyzed, verified and repaired, and a continuous monitoring and optimization mechanism is implemented subsequently. According to the method, systematic review of cloud environment vulnerabilities is realized, and the problems of state space explosion and the like caused by low artificial vulnerability review efficiency and cloud environment complexity are solved, so that the requirements of identifying, verifying and repairing massive vulnerabilities in the cloud environment are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of cloud environment information security, relates to model detection and vulnerability review technology, and specifically relates to a cloud environment vulnerability scanning method based on model detection. Background Art

[0002] In the current digital age, cloud environments have gradually become the core of information technology. They provide elastic and reliable computing resources and are of great significance to data storage. Therefore, data security in cloud environments is extremely important. Strict encryption, access control and other measures must be implemented to ensure the confidentiality and integrity of data and prevent unauthorized access and tampering. At present, the data security of cloud environments is deeply affected by cloud resource and cloud service vulnerabilities, which can easily lead to serious consequences such as privileged user abuse and data leakage. Model checking technology is commonly used in a variety of fields including computer network security, financial risk control, and industrial production. It uses mathematical modeling and computer algorithms to check whether the finite state model of the system meets the given specifications. At present, there is no public literature that systematically solves the data insecurity caused by complex and diverse vulnerabilities in cloud environments. Summary of the invention

[0003] The purpose of the present invention is to provide a cloud environment vulnerability scanning method based on model detection. The present invention combines model detection and vulnerability scanning technology to detect a large number of vulnerabilities in resource services in the cloud environment, and can systematically review security issues in the cloud environment, provide solutions for massive vulnerability scanning in the cloud environment, and significantly improve data security and the reliability of the cloud environment.

[0004] The method of the present invention constructs an applicable model testing method based on the architectural characteristics of the cloud environment and typical cloud vulnerability types to achieve automated vulnerability scanning and identification. Finally, the exploitable vulnerability information is output, and subsequent vulnerability repair, system monitoring and optimization are carried out based on it. The specific steps include:

[0005] Step 1. Cloud environment security requirements analysis: Based on the unique architectural features of the cloud environment and the characteristics of the cloud environment of different types of platforms, identify and evaluate key assets in the cloud environment, including sensitive data and computing resources. Determine the security goals of cloud services through analysis of key assets. Specifically, identify potential security risks based on the characteristics of the cloud environment. Then, set corresponding security goals based on the value and sensitivity of key assets. Based on the above security goals, set the attack goal attackGoal that can destroy the security goal as the parameter input of step 5;

[0006] Step 2. Cloud environment modeling: Based on the topological information of the cloud environment and its interactive behavior, an abstract model of the cloud environment is constructed, including resources such as computing, storage, network, and user assets on the cloud. After clarifying the entities and relationships represented by nodes and edges in the model, weights are introduced to increase the priority of key resources. The present invention uses a Markov decision process to model the cloud environment, and encapsulates the modeling results into a model as a parameter input for step 5;

[0007] Step 3. Cloud vulnerability library construction: Based on the common cloud environment vulnerability database, analyze the characteristics and impacts of various vulnerabilities. Based on the node attributes and edge weights of the cloud environment abstract model constructed in step 2, evaluate the severity and impact of the vulnerabilities, and focus on marking high-risk vulnerabilities that may cause data leakage, service interruption, or unauthorized access.

[0008] Step 4. Build a model test environment: For security and ethical reasons, create an independent isolated sandbox test environment on the cloud platforms provided by several cloud providers and configure the parameters for test execution;

[0009] Step 5. Model test case design and execution: Generate test cases based on the attack targets determined in step 1 and the cloud environment model built in step 2. At the same time, a traversal function named attackModelTraversal(model, attackGoal) is designed and implemented to perform automated vulnerability scanning on the cloud environment;

[0010] Step 6. Automatic vulnerability identification: Analyze the test results and automatically identify the exploitable security vulnerabilities. If the return result of the method attackModelTraversal(model, attackGoal) indicates that the attack target is reachable, go to step 7; if the return result of the method attackModelTraversal(model, attackGoal) indicates that the attack target is unreachable, go back to step 2 and optimize and update the model of the cloud environment;

[0011] Step 7. Vulnerability repair and verification: Develop a repair plan based on the vulnerability scan results, giving priority to the high-risk vulnerabilities marked in step 3. After the high-risk vulnerabilities are repaired, other unmarked vulnerabilities are dealt with. After the repair measures for each vulnerability are implemented, rescan the cloud environment to confirm whether the vulnerability has been repaired, and conduct penetration testing to simulate attacker behavior to verify the effectiveness of the repair measures to ensure that the repair measures do not affect the normal functions of the cloud service. In addition, check the system logs and monitoring tools to confirm that there are no new abnormal activities or security events to ensure that the security of the cloud environment is improved;

[0012] Step 8. Continuous monitoring and optimization: Establish a continuous monitoring mechanism, use the present invention to regularly perform vulnerability scanning, monitor the cloud environment for new vulnerabilities, and conduct security assessments on the cloud environment. At the same time, based on the test results and feedback of the present invention, the test process and method are iteratively improved, the above steps are repeatedly performed, and the cloud environment model and scanning scheme are updated in a timely manner based on the dynamic cloud environment to respond to new threats and vulnerabilities.

[0013] The cloud service resource weights described in step 2 are determined based on factors such as the importance, sensitivity, and risk of key resources. The specific weight formula is:

[0014] W resource =α·I+β·R+γ·B+δ·D

[0015] Among them, W resource is the weight of the resource, I is the importance weight of the resource, R is the risk weight of the resource, B is the business demand weight of the resource, and D is the interaction weight of the resource; α, β, γ, δ are importance, risk, business demand and weight coefficient respectively, which are used to adjust the relative importance of each weight.

[0016] The abstract modeling process for cloud environment based on Markov decision process described in step 2 includes five parts: defining state, defining action, defining state transition probability, defining reward function and defining discount factor. Through these five parts, the state space explosion problem caused by the complexity of cloud environment can be effectively dealt with, cloud environment can be abstracted into a Markov decision process, and the model with the highest priority can be selected according to the weight.

[0017] The traversal function attackModelTraversal(model, attackGoal) described in step 5 includes three main parts: initializing the attack path, traversing the model, and determining whether the attack target is reachable.

[0018] Initializing the attack path means creating an empty path collection to initialize the attack path, providing a basic data structure for subsequent path generation and judgment. The path collection will be used to store all possible attack paths generated during the test, ensuring that all generated paths can be recorded and managed.

[0019] Traversing the model means traversing every state and every action in the cloud environment model and generating new paths. Specifically, traverse every state and action of the cloud environment model according to the parameter model, and generate new attack paths by combining them. The core of this step is to use the state and action information in the model to simulate the steps and strategies that an attacker may take. The generated new paths represent different paths that an attacker may take under different conditions. Each path records a series of operations from the initial state to the current state, ensuring that all possible attack paths are fully evaluated.

[0020] Determining whether the attack target is reachable means evaluating the reachability of the attack target by determining whether these generated paths meet the attack target. Each generated path is checked to determine whether it can reach the predetermined attack target. If a path meets the conditions of the attack target, it is marked as a potential vulnerability attack vector and recorded in the path set. The reachability of the attack target is determined by checking whether the path set is empty. If the path set is empty, it indicates that the attack target is unreachable; if the path set is not empty, it indicates that the attack target is reachable, and these paths are marked as potential vulnerability attack vectors for subsequent vulnerability verification, analysis, and repair.

[0021] Beneficial effects of the present invention:

[0022] Through the model-based detection method, the present invention can systematically review the vulnerabilities in the cloud environment, reducing the dependence on manual review. The automation of the invention greatly improves the efficiency of the review, saves human resources, and reduces possible human errors.

[0023] The present invention combines model testing and vulnerability scanning technology to make vulnerability identification more comprehensive and accurate. By establishing an abstract resource model of the cloud environment and setting the expected attack target, the security requirements of the cloud environment are better understood, and on this basis, the state space explosion problem is avoided, making vulnerability identification more efficient and reliable.

[0024] The present invention not only systematically reviews the vulnerabilities of the cloud environment, but also analyzes, verifies and repairs potential vulnerabilities, and proposes a continuous monitoring and optimization mechanism, which can not only complete vulnerability mining, but also take timely measures to repair them, and continuously monitor and optimize the security of the cloud environment during subsequent operations, thereby ensuring the security and reliability of data.

[0025] Specifically:

[0026] 1. Discovery of attack paths and vulnerability mining in cloud environments: Through model testing and vulnerability scanning, a large number of possible attack paths and vulnerability points can be discovered. For complex cloud environments, the present invention has discovered more than 200 attack paths, of which more than 30 vulnerability points can be exploited. The vulnerability points involve a large number of different types of security issues in the cloud environment, including incorrect permission configuration, sensitive information leakage, system crash or performance degradation, etc.

[0027] 2. Improve the efficiency of cloud environment vulnerability repair: By outputting accessible attack paths, the present invention helps system administrators locate and repair potential vulnerabilities more quickly. The analysis of attack paths helps to determine the source of the vulnerability and the possible scope of impact, so that repairs can be carried out more targetedly, improving repair efficiency and accuracy.

[0028] 3. Strengthen continuous monitoring and optimization of cloud environment: Through the continuous monitoring mechanism, the present invention can timely discover new vulnerabilities and conduct security assessments. As time goes by, the test process and methods are continuously optimized, and the models and scanning schemes are updated in a timely manner, which can maintain the sensitivity and effectiveness of the security status of the cloud environment and improve the stability and reliability of the system.

[0029] 4. Improve the data security and reliability of the cloud environment: Through the implementation of the above measures, the data security and reliability of the cloud environment can be significantly improved. Timely discovery and repair of vulnerabilities, strengthening continuous monitoring and optimization, help reduce potential security risks and threats, and improve the overall security level of the cloud environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A scanning framework diagram of a cloud environment vulnerability method based on model testing of the present invention;

[0031] Figure 2 This is a flow chart of the cloud environment vulnerability scanning method based on model testing of the present invention;

[0032] Figure 3 The present invention provides a modeling flow chart for cloud environments based on a Markov decision process. DETAILED DESCRIPTION

[0033] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments and all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The present invention provides a cloud environment vulnerability scanning method based on model detection. Figure 1 This is a scanning framework diagram of the cloud environment vulnerability method based on model testing of the present invention. Figure 1As shown, the method of the present invention constructs an abstract resource model of the cloud environment and the expected attack targets according to the specific topology and security requirements of the cloud environment; based on the established cloud environment model and the set attack targets, it performs automated model testing and vulnerability identification, and outputs accessible attack paths as potential vulnerability points of the cloud environment; finally, it analyzes, verifies and repairs the potential vulnerabilities and implements a continuous monitoring and optimization mechanism in the subsequent process.

[0035] The specific steps involved in the method of the present invention are as follows Figure 2 As shown, Figure 2 The present invention provides a method for scanning cloud environment vulnerabilities, which includes the following steps:

[0036] Step 101. Cloud environment security requirements analysis. Based on the unique architectural features of the cloud environment and the characteristics of the cloud environment of different types of platforms, identify and evaluate key assets in the cloud environment, including sensitive data and computing resources. Determine the security goals of cloud services through analysis of key assets. Specifically, identify potential security risks based on the characteristics of the cloud environment, such as the multi-tenant architecture of the public cloud, the internal resource management of the private cloud, and the cross-environment integration of the hybrid cloud. Then, set corresponding security goals based on the value and sensitivity of key assets, such as protecting the confidentiality of sensitive data, ensuring the high availability of computing resources, and ensuring the integrity of network components. Based on the above security goals, set the attack goal attackGoal that can destroy the security goal as the parameter input of step 5.

[0037] Step 102. Cloud environment modeling. Based on the topological information of the cloud environment and its interactive behavior, an abstract model of the cloud environment is constructed, including resources such as computing, storage, network, and user assets on the cloud. After clarifying the entities and relationships represented by the nodes and edges in the model, weights are introduced to increase the priority of key resources. The present invention finds that due to the complexity of the cloud environment, there will be a state space explosion problem. To solve this problem, the present invention uses a Markov decision process to model the cloud environment. The specific Markov decision process implementation method can refer to steps 201 to 205. Finally, the modeling result obtained by the Markov decision process is encapsulated as a model as a parameter input for step 105.

[0038] The weight of key cloud service resources is determined based on factors such as the importance, sensitivity, and risk of key resources. The specific weight formula is:

[0039] W resource =α·I+β·R+γ·B+δ·D

[0040] Among them, W resourceis the weight of the resource, I is the importance weight of the resource, R is the risk weight of the resource, B is the business demand weight of the resource, and D is the interactive relationship weight of the resource; a, β, γ, δ are importance, risk, business demand and weight coefficient respectively, which are used to adjust the relative importance of each weight. Due to the dynamic and complex nature of the cloud environment, each weight is determined based on the real-time status of a specific cloud environment.

[0041] Step 103. Cloud vulnerability library construction. Based on the widely used cloud environment vulnerability database, the present invention analyzes the characteristics and potential impacts of various vulnerabilities. With the help of the information of node attributes and edge weights in the cloud environment model, we evaluate the severity and impact range of the vulnerabilities and mark the risks of different vulnerabilities. For high-risk vulnerabilities, we will focus on them in subsequent verification, testing and repair.

[0042] Step 104. Build a model test environment. For security and ethical reasons, we create independent isolated sandbox test environments on Google GKE, Amazon EKS, Azure AKS, and Alibaba Cloud ACK, and configure test execution parameters, such as the number of concurrent users on the cloud and the frequency of user requests. The complete parameter configuration needs to be updated and determined according to the specific situation during the test.

[0043] Step 105. Model test case design and execution. Generate test cases based on the cloud service model and cloud vulnerability library, and clearly define the expected attack goals. At the same time, the present invention designs and implements a traversal function named attackModelTraversal(model, attackGoal) for automated vulnerability scanning of the cloud environment.

[0044] Step 106. Automatic vulnerability identification. Analyze the test results and automatically identify the exploitable security vulnerabilities. The identification is completed based on the function attackModelTraversa. If the return result of the method attackModelTraversal indicates that the attack target is reachable, go to step 107; if the return result of the method attackModelTraversal indicates that the attack target is unreachable, go back to step 102 and optimize and update the model of the cloud environment.

[0045] Step 107: Vulnerability repair and verification. A repair plan is developed based on the scan results, with high-risk vulnerabilities marked in step 103 being prioritized. The present invention implements repair measures for the identified vulnerabilities and performs verification tests on the repaired cloud environment to confirm whether the vulnerabilities have been repaired.

[0046] Step 108. Continuous monitoring and optimization. Continuous monitoring and optimization: Establish a continuous monitoring mechanism, use the present invention to regularly perform vulnerability scanning, monitor the cloud environment for new vulnerabilities, and conduct security assessments on the cloud environment. At the same time, based on the test results and feedback of the present invention, continuously optimize the test process and method, and timely update the model and scanning scheme based on the dynamic cloud environment to respond to new threats and vulnerabilities.

[0047] The present invention further provides specific examples for implementing each step and method in the above method.

[0048] refer to Figure 3 , which provides a modeling flow chart for cloud environment based on Markov decision process for step 102 of the present invention. The algorithm includes:

[0049] Step 201. Define State: In a cloud environment, each cloud service, cloud resource, or cloud application can be regarded as a state. A state is a variable that describes a specific entity or attribute in the cloud environment. For example, a virtual machine, a container, a database, etc. can all be a state.

[0050] The present invention first initializes the state space:

[0051] state=[].

[0052] After analyzing the security requirements of the cloud environment, the states existing in the cloud environment are continuously added to the state space, such as 'VM', 'container', 'database', etc.

[0053] Step 202. Define actions: Action a is an event that may occur in the cloud environment. At the same time, a is also an action that can be taken under a given state s, such as starting or shutting down a cloud server, deploying or deleting an application, modifying a configuration file, etc.

[0054] The present invention first initializes the state space:

[0055] state=[].

[0056] After analyzing the security requirements of the cloud environment, possible actions are continuously added to the action space, such as 'start', 'stop', etc.

[0057] Step 203. Define the state transition probability: The state transition probability is the probability that the system will transition to the next state given the current state and action. The state transition probability can be expressed as P(s ′ |s,a), where s ′represents the next state, s represents the current state, and a represents the action taken. For example, in a cloud environment, if the action of shutting down a cloud server is executed, the probability that the cloud server moves from the running state to the shutting down state is 1.

[0058] In this step, the state transition probability is defined as transition_probabilities = {}; it is randomly initialized in a nested dictionary and then adjusted according to the actual possible probability of state transition in the cloud environment. For example, the state transition probability is defined as:

[0059]

[0060]

[0061] Taking 'VM' as an example, if the current state is 'VM', the probability of transferring to the states 'VM', 'Container', and 'Database' after taking the action 'Start' is 1, 0, and 0 respectively; the probability of transferring to the states 'VM', 'Container', and 'Database' after taking the action 'Stop' is 0, 0, and 0 respectively. The same applies to the other state transition probabilities.

[0062] Step 204. Define the reward function: The reward function refers to the immediate reward obtained when transferring from the current state to the next state through a certain action. The reward function can be expressed as a conditional probability distribution R(s,a,s′), which represents the immediate reward obtained when transferring from the current state s to the next state s′ after taking action a. This reward can be a scalar value, which can be positive, negative, or zero. For example, in a cloud environment, if our goal is to minimize resource usage, shutting down an unneeded cloud server may receive a positive reward, while starting up an unneeded cloud server may receive a negative reward.

[0063] In this step, the reward function is defined as def reward_function(state, action, next_state), where state represents the current state, next_state represents the next state after taking action actio, and the function will return -1, 0, and 1 to indicate that an action has received negative feedback, no effect, and positive feedback, respectively.

[0064] Step 205. Define the Discount Factor: The discount factor can be expressed as γ, which is a value between 0 and 1, and is used to balance the importance of future rewards and immediate rewards. The closer the discount factor is to 1, the higher the importance of future rewards; the closer the discount factor is to 0, the higher the importance of immediate rewards. According to experimental analysis and comparison, the discount factor γ of the present invention is finally selected as 0.8.

[0065] Implementing the Markov decision process can effectively solve the state space explosion problem brought by the complexity of the cloud environment to model testing. Finally, the model output after completing the Markov decision process is used as the parameter of step 105. By encapsulating different abstract models into a class, the entire Markov decision process can be simplified to the steps of creating objects, performing value iteration, and obtaining the optimal strategy, which can make the management and testing of abstract models in the cloud environment more concise and efficient, and also lay the foundation for subsequent model testing and vulnerability mining.

[0066] The model test implementation of the present invention is implemented based on the function attackModelTraversal(model, attackGoal).

[0067] attackModelTraversal(model,attackGoal) includes three parts: initializing the attack path, traversing the model, and determining whether the attack target is reachable.

[0068] (1) Initializing the attack path will create an empty path set:

[0069] path = [];

[0070] (2) Traversing the model will traverse every state in the model and every action in different states, and generate a new path:

[0071] #Traverse each state in the model

[0072] for state in model.states:

[0073] #Traverse each action in the state

[0074] for action in state.actions:

[0075] # Generate a new path

[0076] path=generatePath(state,action)

[0077] Among them, generatePath(state, action) will generate a new path based on the state and action, and the specific implementation of the function will be adjusted according to the specific model and requirements.

[0078] (3) To determine whether the model satisfies the reachability of the attack target, the path is used as input and the isAttackGoalReached function is called to determine:

[0079] #If the path meets the attack target, add it to the path collection

[0080] if isAttackGoalReached(path,attackGoal):

[0081] paths.append(path)

[0082] Among them, path is the attack path that needs to be judged, isAttackGoalReached(path,attackGoal) will determine whether the path meets the attack goal. Its specific implementation is adjusted according to the specific model and requirements.

[0083] (4) If the return result of isAttackGoalReached(path,attackGoal) is true, then implement:

[0084] paths.append(path);

[0085] Among them, paths is the final attack path set, and path is the attack path that needs to be judged.

[0086] Determining whether the attack target is reachable means evaluating the reachability of the attack target by determining whether these generated paths meet the attack target. Each generated path is checked to determine whether it can reach the predetermined attack target. If a path meets the conditions of the attack target, it is marked as a potential vulnerability attack vector and recorded in the path collection. This step can filter out those paths that can truly threaten the security of the cloud environment and ensure that the identification of vulnerabilities is based on actual attack possibilities. The reachability of the attack target is determined by checking whether the path collection is empty. If the path collection is empty, it indicates that the attack target is unreachable; if the path collection is not empty, it indicates that the attack target is reachable, and these paths are marked as potential vulnerability attack vectors for subsequent vulnerability verification, analysis, and repair.

[0087] (5) Finally, determine whether the path set paths is empty. If it is empty, it indicates that the attack target is unreachable, and the process returns to step 102 to further model and analyze the cloud environment. Otherwise, it indicates that the attack target is reachable, and the process goes to step 107, and marks the path set as a potential vulnerability attack vector for the next step of vulnerability verification, analysis, and repair.

[0088] The cloud environment vulnerability scanning method based on model detection implemented by the present invention performs systematic, comprehensive and efficient vulnerability detection for the cloud environment. Compared with the inefficient manual vulnerability review, the automation of the present invention effectively solves the vulnerability scanning problem caused by the complexity of the cloud environment, and significantly improves the data security and reliability of the cloud environment. Through model testing and vulnerability scanning, the present invention discovers a large number of possible attack paths and vulnerability points. For complex cloud environments, the present invention has mined more than 200 attack paths, of which more than 30 vulnerability points can be exploited. The vulnerability points involve a large number of different types of security issues in the cloud environment, including permission configuration errors, sensitive information leakage, system crashes or performance degradation, etc.

[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A cloud environment vulnerability scanning method based on model detection, characterized in that: The following steps are involved: Step 1. Based on the cloud environment architecture characteristics and the cloud environment characteristics of different types of platforms, determine the security goals of the cloud service through analysis, and set the attack goal attackGoal that destroys the security goal; Step 2: Based on the topological information of the cloud environment and its interaction behavior, construct an abstract model of the cloud environment; Step 3. Analyze the characteristics and impact of each vulnerability based on the cloud environment vulnerability database; Step 4. Create an independent isolated sandbox test environment on the cloud platform and configure the test execution parameters; Step 5. Generate test cases based on the attack target and cloud environment model, and design the traversal function attackModelTraversal(model, attackGoal) to perform automated vulnerability scanning; Step 6. If the return result of the traversal function is that the attack target is reachable, proceed to step 7; if the return result of the traversal function is that the attack target is unreachable, return to step 2 to optimize and update the cloud environment model; Step 7. Develop a repair plan based on the vulnerability scan results to improve the security of the cloud environment; Step 8. Perform vulnerability scans regularly to monitor the cloud environment for new vulnerabilities and conduct security assessments on the cloud environment, and update the cloud environment model and scanning solutions in a timely manner based on the dynamic cloud environment.

2. The cloud environment vulnerability scanning method based on model detection according to claim 1 is characterized in that: The security goals of cloud services determined through analysis are as follows: based on the cloud environment architecture characteristics and the cloud environment characteristics of different types of platforms, key assets in the cloud environment, including sensitive data and computing resources, are identified and evaluated; and security goals are then set based on the value and sensitivity of key assets.

3. The cloud environment vulnerability scanning method based on model detection according to claim 1 is characterized in that: The abstract model of the cloud environment is constructed, including computing, storage, network and user asset resources on the cloud; after clarifying the entities and relationships represented by nodes and edges in the model, weights are introduced to increase the priority of key resources; And the Markov decision process is used to model the cloud environment.

4. The cloud environment vulnerability scanning method based on model detection according to claim 3 is characterized in that: The specific weight formula of the cloud service resource weight is: W resource =α·I+β·R+γ·B+δ·D Among them, W resource is the weight of the resource, I is the importance weight of the resource, R is the risk weight of the resource, B is the business demand weight of the resource, and D is the interaction weight of the resource; α, β, γ, δ are importance, risk, business demand and weight coefficient respectively, which are used to adjust the relative importance of each weight; The modeling process of the cloud environment based on the Markov decision process includes five parts: defining states, defining actions, defining state transition probabilities, defining reward functions, and defining discount factors. The cloud environment is abstracted into a Markov decision process, and the model with the highest priority is selected according to the weight.

5. The cloud environment vulnerability scanning method based on model detection according to claim 1 is characterized in that: The step 3 also includes evaluating the severity and impact scope of the vulnerabilities based on the node attributes and edge weights of the cloud environment abstract model, and focusing on marking high-risk vulnerabilities that may lead to data leakage, service interruption, or unauthorized access.

6. The cloud environment vulnerability scanning method based on model detection according to claim 1 is characterized in that: The traversal function attackModelTraversal(model, attackGoal) includes three parts: initializing the attack path, traversing the model, and determining whether the attack target is reachable; Initializing the attack path means creating an empty path set to initialize the attack path, providing a basic data structure for path generation and judgment; The path collection is used to store all possible attack paths generated during the test. All generated paths can be recorded and managed; Traversing the model means traversing each state and action in the cloud environment model and generating new paths: traversing each state and action in the cloud environment model, generating new attack paths by combining them. The generated new paths represent different paths taken by the attacker under different conditions. Each path records a series of operations from the initial state to the current state. Judging whether the attack target is reachable refers to evaluating the reachability of the attack target by judging whether the generated path meets the attack target; Each generated path is checked to determine whether it can reach the predetermined attack target; if a path meets the conditions of the attack target, it is marked as a potential vulnerability attack vector and recorded in the path set; the reachability of the attack target is determined by checking whether the path set is empty. If the path set is empty, it indicates that the attack target is unreachable; if the path set is not empty, it indicates that the attack target is reachable, and these paths are marked as potential vulnerability attack vectors.

7. The cloud environment vulnerability scanning method based on model detection according to any one of claims 1 to 6, characterized in that: The repair plan is as follows: prioritize the marked high-risk vulnerabilities, and after the high-risk vulnerabilities are repaired, other unmarked vulnerabilities will be processed; After implementing the remediation measures for each vulnerability, rescan the cloud environment to confirm whether the vulnerability has been fixed, and perform penetration testing to simulate attacker behavior to verify the effectiveness of the remediation measures, ensure that the remediation measures do not affect the normal functions of the cloud service, and check system logs and monitoring tools to confirm that there are no new abnormal activities or security incidents.

Citation Information

Cited By

  • Cloud platform network line communication security assessment method and system, and storage medium

    CN118869364A

  • Cloud environment change management method and device based on large model, equipment and medium

    CN119561838A