Network security protection method and system based on virtual cloud

By obtaining the network environment information of the user's network terminal, calculating network security characteristic values, building VPN tunnels and network attack maps, generating defense policies, and deploying honeypots, it solves the low security problems caused by malicious attacks in the virtual cloud and improves network security sex.

CN118631592BActive Publication Date: 2024-11-12SHIJIAZHUANG UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411098486.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-12
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

In the prior art, the user's network terminals have malicious attacks when accessing the virtual cloud, resulting in low security of the virtual cloud and insufficient network security protection efficiency.

Method used

By obtaining the network environment information of the user network terminal, calculating network security characteristic values, determining whether the authorized access conditions are met, building a VPN tunnel, obtaining transmission records, building forward and reverse indexing modes, generating network attack maps, formulating defense strategies, and deploying Honeypot for increased safety.

Benefits of technology

It improves the access security of user network terminals, quickly builds network attack maps, generates defense maps, formulates honeypot deployment strategies, and further improves the network security of virtual clouds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631592B_ABST
    Figure CN118631592B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of network security protection technology, and in particular to a network security protection method and system based on a virtual cloud. The method comprises: obtaining an access task request sent by a user's network terminal, obtaining network environment information corresponding to the user's network terminal based on the access task request, and obtaining a user network security feature value based on the network environment information corresponding to the user's network terminal; judging whether the conditions for authorizing the user's access task request are met based on the user's network security feature value, and if so, determining a working virtual machine and building a VPN tunnel based on the access task request; building a network attack graph; generating a defense graph based on the network attack graph, and obtaining a honeypot deployment strategy based on the defense graph. The present invention quickly constructs a network attack graph based on transmission records, generates a defense graph based on the network attack graph, and obtains a honeypot deployment strategy based on the defense graph, thereby further improving network security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network security protection, and in particular to a network security protection method and system based on a virtual cloud. Background Art

[0002] With the rapid development of cloud computing technology, virtual cloud environment has become an important infrastructure for modern enterprise and personal data storage, processing and business operations. Virtualization technology has greatly improved the utilization and flexibility of computing resources through resource encapsulation, isolation and dynamic allocation, providing users with an efficient and scalable computing environment. However, this highly flexible and shared computing model also brings new network security challenges.

[0003] In the prior art, when a user's network terminal accesses a virtual cloud, there are often some malicious users who launch network attacks on the virtual cloud and steal data, resulting in low security of the virtual cloud. However, the prior art is not efficient enough in protecting the network security of the virtual cloud.

[0004] Therefore, there is an urgent need for a network security protection method and system based on virtual cloud to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to provide a network security protection method and system based on a virtual cloud: to solve the technical problem in the existing solution that when the user's network terminal accesses the virtual cloud, there are some malicious users who launch network attacks on the virtual cloud, resulting in low security of the virtual cloud and low network security protection efficiency.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] On the one hand, a network security protection method based on a virtual cloud includes:

[0008] Obtaining an access task request sent by a user's network terminal, obtaining network environment information corresponding to the user's network terminal based on the access task request, and obtaining a user network security feature value based on the network environment information corresponding to the user's network terminal;

[0009] Based on the user's network security feature value, determine whether the conditions for authorizing the user to access the task request are met. If so, determine the working virtual machine and build a VPN tunnel based on the access task request;

[0010] Obtain the transmission record of the current working virtual machine based on the VPN tunnel, obtain the vulnerability index corresponding to the access task request based on the transmission record, and build a forward index mode and a reverse index mode based on the vulnerability index. Index all the vulnerabilities corresponding to the access task request based on the two index modes, and build a network attack graph based on the vulnerabilities.

[0011] A defense graph is generated based on the network attack graph, and a honeypot deployment strategy is obtained based on the defense graph.

[0012] Furthermore, obtaining the user network security feature value based on the network environment information corresponding to the user's network terminal specifically includes the following process:

[0013] The network environment information includes the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information;

[0014] Determine whether the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information are abnormal. If not, the security verification parameter If it is 1, then the security verification parameter is 0;

[0015] The network environment information includes the sending operation time T0 of the access task request and the time T1 when the virtual cloud server receives the access task request, and calculates the time period T from time T0 to time T1;

[0016] Network environment information includes the user's network terminal transmission rate and the load rate of the virtual cloud server ;

[0017] Network environment information includes the frequency with which the user's network terminal sends access task requests ;

[0018] The time period T and the user's network terminal transmission rate , load rate of virtual cloud server The frequency with which the user's network terminal sends access task requests Substitute the calculation formula of user network security characteristic value LMS to obtain the user network security characteristic value LMS, which is as follows:

[0019] ;

[0020] in, is a constant coefficient, set by the virtual cloud server. The size of the task file corresponding to the access task request.

[0021] Furthermore, judging whether the condition for authorizing the user to access the task request is met based on the user network security feature value specifically includes the following process:

[0022] Loading a user network security feature value threshold, wherein the user network security feature value threshold is stored in the virtual cloud server;

[0023] Compare the user's network security characteristic value with the network security characteristic value threshold. If the user's network security characteristic value exceeds the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is met. If the user's network security characteristic value does not exceed the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is not met.

[0024] Furthermore, obtaining the vulnerability index corresponding to the access task request based on the transmission record and constructing the forward index mode and the reverse index mode based on the vulnerability index specifically includes the following processes:

[0025] Based on the vulnerability record database CVE, the transmission record is recorded for vulnerability. By using the hash algorithm as a forward index, the vulnerability record corresponding to each running application and each running service is used as a key value, and the key value is used as a forward index value;

[0026] Create reverse index pre and reverse index post based on the attack conditions and post-attack status corresponding to the vulnerability records:

[0027] Discretize any vulnerability to get the expression vnt of the vulnerability:

[0028] ;in, For loopholes The quantitative value of the attack conditions. For loopholes The corresponding status value after the attack, and The value of OK, different vulnerabilities n corresponds to different Value and value;

[0029] Create reverse index pre and reverse index post:

[0030] ;

[0031] ;

[0032] in, The reverse index of the vulnerability is pre. The reverse index of the vulnerability is post. , are different values.

[0033] Furthermore, constructing a network attack graph based on vulnerabilities specifically includes the following processes:

[0034] Based on the state after adding attacks to the vulnerability, several attack points are formed. At the beginning of each loop, a node is taken out from the last part of the attack node stack. The node taken out is the attack node that enters the attack graph newly calculated and inferred in the previous loop. When this round of calculation is completed, all the next nodes pointed to by the calculated attack node are put into the stack and the next round of loop is performed until the stack is empty, and the loop ends. The stack is the data structure of the attack node.

[0035] Based on the depth-first search algorithm, the stack is used as the starting point to search for the post-attack state of the current attack node and its adjacent reachable attack nodes. The attack conditions of the current attack node and its adjacent reachable attack nodes are compared to determine whether an attack edge exists between the two nodes. If the attack edge exists, the attack edge and subsequent attack nodes are added to the attack graph, and the subsequent attack nodes and the post-attack state that can be achieved according to the attack conditions are placed in the stack structure.

[0036] Furthermore, generating a defense graph based on the network attack graph specifically includes the following processes:

[0037] Risk assessment: For each attack path, the Common Vulnerability Scoring System (CVSS) is used to perform a risk assessment and calculate the immediate return that an attacker may receive after a successful intrusion.

[0038] Defense strategy formulation: Develop targeted defense strategies based on risk assessment results. Defense strategies include:

[0039] Vulnerability patching: timely repair vulnerabilities in the network environment and eliminate potential intrusion points; access control: strengthen network access control and limit access rights to key resources; security reinforcement: perform security reinforcement on key hosts or services to improve their anti-attack capabilities; intrusion detection and response: deploy intrusion detection systems (IDS) and intrusion prevention systems (IPS) to detect and prevent attacks in a timely manner;

[0040] Defense map drawing: present the formulated defense strategy in the form of a graphic to form a defense map.

[0041] Furthermore, the honeypot deployment strategy based on the defense graph specifically includes the following processes:

[0042] Step 1: Analyze the defense map:

[0043] Identify key nodes: In the defense map, identify key nodes whose attacks will have a significant impact on the overall security of the network;

[0044] Evaluate potential threats: Evaluate the potential threats faced by different nodes based on the attack paths and risk assessment results shown in the defense map;

[0045] Step 2: Determine the honeypot deployment target:

[0046] Induced attack: Deploy the honeypot on the path that the attacker is expected to take in the defense graph to induce the attacker to attack the honeypot, thereby reducing the threat to the real system;

[0047] Intelligence collection: Use honeypots to collect attackers’ behavior data, attack tools, and methods, and provide intelligence support for subsequent defense strategy adjustments;

[0048] Step 3: Develop a honeypot deployment strategy:

[0049] High-interaction honeypot: provides services similar to real systems and simulates complex attack scenarios;

[0050] Low-interaction honeypot: simulates some services or vulnerabilities;

[0051] Physical honeypot: a real physical device running a real operating system and services;

[0052] Virtual honeypot: A honeypot simulated in a virtual machine or container, which has good flexibility and scalability;

[0053] Determine the deployment location and deploy honeypots at the network boundary to monitor and prevent external attacks; deploy honeypots in key paths and sensitive areas of the intranet to monitor and defend against internal attacks and lateral movement;

[0054] Configure honeypot parameters: set the honeypot's IP address, port number, and service type parameters to simulate a real system or service;

[0055] Configure the honeypot's logging and alerting functions to collect attack information and respond in a timely manner.

[0056] On the other hand, a network security protection system based on a virtual cloud includes a user network security characteristic value calculation module, a judgment module, a network attack graph construction module and a protection module;

[0057] The user network security feature value calculation module is used to obtain the access task request sent by the user's network terminal, obtain the network environment information corresponding to the user's network terminal based on the access task request, and obtain the user network security feature value based on the network environment information corresponding to the user's network terminal;

[0058] The judgment module is used to judge whether the conditions for authorizing the user to access the task request are met based on the user's network security feature value. If so, the working virtual machine is determined based on the access task request and a VPN tunnel is constructed;

[0059] The network attack graph construction module obtains the transmission record of the current working virtual machine based on the VPN tunnel, obtains the vulnerability index corresponding to the access task request based on the transmission record, and constructs a forward index mode and a reverse index mode based on the vulnerability index. It indexes all the vulnerabilities corresponding to the access task request based on the two index modes, and constructs a network attack graph based on the vulnerabilities.

[0060] The protection module is used to generate a defense map based on the network attack map and obtain a honeypot deployment strategy based on the defense map.

[0061] Compared with the existing solutions, the present invention achieves the following beneficial effects:

[0062] The present invention obtains an access task request sent by a user's network terminal, obtains network environment information corresponding to the user's network terminal based on the access task request, and obtains a user network security feature value based on the network environment information corresponding to the user's network terminal; determines whether the conditional requirements for authorizing the user's access task request are met based on the user's network security feature value, and if so, determines a working virtual machine and builds a VPN tunnel based on the access task request; obtains a transmission record of the current working virtual machine based on the VPN tunnel, obtains a vulnerability index corresponding to the access task request based on the transmission record, and builds a forward index mode and a reverse index mode based on the vulnerability index, indexes all vulnerabilities corresponding to the access task request based on the two index modes, and builds a network attack graph based on the vulnerabilities; generates a defense graph based on the network attack graph, and obtains a honeypot deployment strategy based on the defense graph.

[0063] The present invention can obtain the user network security characteristic value based on the network environment information corresponding to the user's network terminal, first determine whether the network environment information corresponding to the user's network terminal meets the security access conditions, and improve access security.

[0064] On the other hand, a network attack graph is quickly constructed based on the transmission records, a defense graph is generated based on the network attack graph, and a honeypot deployment strategy is obtained based on the defense graph to further improve network security. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0066] Figure 1 It is a workflow diagram of a network security protection method based on a virtual cloud according to an embodiment of the present invention;

[0067] Figure 2 It is a system block diagram of a network security protection system based on a virtual cloud according to an embodiment of the present invention. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, well-known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0070] This embodiment provides a network security protection method based on a virtual cloud. Figure 1 is a workflow diagram of a network security protection method based on a virtual cloud according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0071] Step S101: obtaining an access task request sent by a user's network terminal, and obtaining network environment information corresponding to the user's network terminal based on the access task request;

[0072] Step S102: obtaining a user network security feature value based on the network environment information corresponding to the user's network terminal;

[0073] Step S103: judging whether the condition requirement for authorizing the user to access the task request is met based on the user network security feature value, if so, proceeding to step S104, if not, proceeding to step S107;

[0074] Step S104: determining a working virtual machine based on the access task request and building a VPN tunnel;

[0075] Step S105: obtaining the transmission record of the current working virtual machine based on the VPN tunnel, obtaining the vulnerability index corresponding to the access task request based on the transmission record, and constructing a forward index mode and a reverse index mode based on the vulnerability index, indexing all the vulnerabilities corresponding to the access task request based on the two index modes, and constructing a network attack graph based on the vulnerabilities;

[0076] Step S106: Generate a defense graph based on the network attack graph, and obtain a honeypot deployment strategy based on the defense graph.

[0077] Step S107: Deny the user's network terminal from accessing the virtual machine.

[0078] In summary, the present invention obtains the access task request sent by the user's network terminal, obtains the network environment information corresponding to the user's network terminal based on the access task request, and obtains the user's network security feature value based on the network environment information corresponding to the user's network terminal; determines whether the conditions for authorizing the user's access task request are met based on the user's network security feature value, and if so, determines the working virtual machine and builds a VPN tunnel based on the access task request; obtains the transmission record of the current working virtual machine based on the VPN tunnel, obtains the vulnerability index corresponding to the access task request based on the transmission record, and builds a forward index mode and a reverse index mode based on the vulnerability index, indexes all the vulnerabilities corresponding to the access task request based on the two index modes, and builds a network attack graph based on the vulnerability; generates a defense graph based on the network attack graph, and obtains a honeypot deployment strategy based on the defense graph. The present invention can obtain the user's network security feature value based on the network environment information corresponding to the user's network terminal, first determines whether the network environment information corresponding to the user's network terminal meets the security access conditions, and improves access security. Quickly build a network attack graph based on the transmission record, generate a defense graph based on the network attack graph, and obtain a honeypot deployment strategy based on the defense graph, further improving network security.

[0079] In some embodiments, in step S102, obtaining the user network security feature value based on the network environment information corresponding to the user's network terminal includes:

[0080] The network environment information includes the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information;

[0081] Determine whether the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information are abnormal. If not, the security verification parameter If it is 1, then the security verification parameter is 0; wherein, judging whether the IP address information of the user's network terminal, the node coding information of the user's network terminal and the geographical location information of the user's network terminal are abnormal may include the following process: comparing the IP address information of the user's network terminal with the historical IP address information of the user's network terminal to judge whether the two are consistent. If so, the IP address information of the user's network terminal is normal, otherwise, the IP address information of the user's network terminal is abnormal; comparing the node coding information of the user's network terminal with the registered node coding information to judge whether the node coding information of the user's network terminal is included in the registered node coding information. If so, the node coding information of the user's network terminal is normal, otherwise, it is abnormal; comparing the geographical location information of the user's network terminal with the geographical location information registered by the user's network terminal to judge whether the two are consistent. If so, the geographical location information of the user's network terminal is normal, otherwise, it is abnormal. When the IP address information of the user's network terminal, the node coding information of the user's network terminal and the geographical location information of the user's network terminal are all normal, the security verification parameter If the security verification parameter is 1, at least one of the IP address information of the user's network terminal, the node code information of the user's network terminal, and the geographical location information of the user's network terminal is abnormal, then is 0.

[0082] The network environment information includes the sending operation time T0 of the access task request and the time T1 when the virtual cloud server receives the access task request, and calculates the time period T from time T0 to time T1;

[0083] Network environment information includes the user's network terminal transmission rate and the load rate of the virtual cloud server ;

[0084] Network environment information includes the frequency with which the user's network terminal sends access task requests ;

[0085] The time period T and the user's network terminal transmission rate , load rate of virtual cloud server The frequency with which the user's network terminal sends access task requests Substitute the calculation formula of user network security characteristic value LMS to obtain the user network security characteristic value LMS, which is as follows:

[0086] ;

[0087] in, is a constant coefficient, set by the virtual cloud server. The size of the task file corresponding to the access task request.

[0088] In some embodiments, judging whether the condition requirement for authorizing the user to access the task request is met based on the user network security feature value includes:

[0089] Loading a user network security feature value threshold, wherein the user network security feature value threshold is stored in the virtual cloud server;

[0090] Compare the user's network security characteristic value with the network security characteristic value threshold. If the user's network security characteristic value exceeds the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is met. If the user's network security characteristic value does not exceed the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is not met.

[0091] In some embodiments, in step S104, a working virtual machine is determined based on the access task request and a VPN tunnel is constructed:

[0092] 1. Determine the working virtual machine

[0093] Task Analysis:

[0094] First, you need to analyze the specific requirements of the access task, including the required operating system, software environment, resource requirements (such as CPU, memory, storage), etc.

[0095] Depending on the task requirements, select an appropriate VM template or configure a VM from scratch.

[0096] Resource Allocation:

[0097] Allocate necessary resources to virtual machines on virtualization platforms (such as VMware, Hyper-V, KVM, etc.).

[0098] Ensure that the virtual machine has sufficient resources to support task execution while avoiding resource waste.

[0099] Environment configuration:

[0100] Install and configure the operating system, necessary software, and services in the virtual machine based on task requirements.

[0101] Ensure the security and stability of the virtual machine environment, including installing antivirus software, firewalls, etc.

[0102] Startup and testing:

[0103] Start the virtual machine and perform basic system and functional tests.

[0104] Ensure that the virtual machine can run normally and meet task requirements.

[0105] 2. Build a VPN tunnel

[0106] Choose VPN protocol:

[0107] Select the appropriate VPN protocol (such as IPsec, OpenVPN, L2TP / IPsec, etc.) according to task requirements and network environment.

[0108] Each protocol has its advantages and disadvantages. For example, the IPsec protocol provides higher security and encryption performance, but the configuration is relatively complex; OpenVPN provides better flexibility and ease of use.

[0109] Configure VPN Server:

[0110] Install and configure the VPN server software on a virtual machine (or dedicated server).

[0111] Set the server's IP address, port number, encryption algorithm, authentication method and other parameters.

[0112] Make sure the server has sufficient bandwidth and stability to support multiple concurrent connections.

[0113] Configure VPN Client:

[0114] Install and configure the VPN client software on devices that need to access the intranet (such as laptops, mobile phones, etc.).

[0115] Enter the VPN server's IP address, port number, username, and password (if required).

[0116] Configure the client's encryption algorithm, authentication method and other parameters to match those of the server.

[0117] Test VPN connection:

[0118] Launch the VPN client and try to connect to the VPN server.

[0119] Use the ping command or other network tools to test the stability and speed of your VPN connection.

[0120] Ensure that the VPN connection can be successfully established and that intranet resources can be accessed normally.

[0121] Optimization and maintenance:

[0122] Optimize VPN connections based on actual usage, such as adjusting encryption algorithms, optimizing network configurations, etc.

[0123] Regular maintenance and updates are performed to ensure the security and reliability of your VPN connection.

[0124] In some embodiments, obtaining a vulnerability index corresponding to an access task request based on a transmission record, and constructing a forward index mode and a reverse index mode based on the vulnerability index specifically include the following processes:

[0125] Vulnerabilities are recorded in transmission records based on the vulnerability record database CVE (Common Vulnerabilities and Exposures). By using a hash algorithm as a forward index, the vulnerability record corresponding to each running application and each running service is used as a key value, and the key value is used as a forward index value;

[0126] Create reverse index pre and reverse index post based on the attack conditions and post-attack status corresponding to the vulnerability records:

[0127] Discretize any vulnerability to get the expression vnt of the vulnerability:

[0128] ;in, For loopholes The quantitative value of the attack conditions. For loopholes The corresponding status value after the attack, and The value of OK, different vulnerabilities n corresponds to different Value and value;

[0129] Create reverse index pre and reverse index post:

[0130] ;

[0131] ;

[0132] in, The reverse index of the vulnerability is pre. The reverse index of the vulnerability is post. , are different values.

[0133] In some embodiments, constructing a network attack graph based on vulnerabilities specifically includes the following process:

[0134] Based on the state after adding the attack to the vulnerability, several attack points are formed. At the beginning of each loop, a node is taken out from the end of the attack node stack, where the node taken out is the attack node that enters the attack graph newly calculated and inferred in the previous loop. When this round of calculation is completed, all the calculated next nodes pointed to by the attack node are put into the stack and the next round of loop is performed until the stack is empty, then the loop ends. The stack is the data structure of the attack node.

[0135] It is worth noting that, as a data structure, the stack is not directly used as an attack method in the context of the attack node, but its characteristics can be used in the design of the attack process or the simulation of the attack behavior. The basic characteristics of the stack: First In, Last Out (FILO), the data elements in the stack follow the principle of "First In, Last Out", that is, the last element to enter the stack will be the first to be removed. This feature may be used to simulate certain order-dependent attack steps in the attack scenario.

[0136] Limited operation position: The stack only allows insertion (push / pull) and deletion (pop / pop) operations at the top of the stack. This restriction may be used in attack design to simulate that the attacker can only access or modify specific parts of data or system resources.

[0137] Based on the depth-first search algorithm, the stack is used as the starting point to search for the post-attack state of the current attack node and its adjacent reachable attack nodes. The attack conditions of the current attack node and its adjacent reachable attack nodes are compared to determine whether an attack edge exists between the two nodes. If the attack edge exists, the attack edge and subsequent attack nodes are added to the attack graph, and the subsequent attack nodes and the post-attack state that can be achieved according to the attack conditions are placed in the stack structure.

[0138] It is worth mentioning that Depth-First Search (DFS) is an algorithm for traversing or searching a tree or graph. In the field of network security, DFS can be used to explore a network attack graph or similar data structures to find all possible states that can be reached from the initial state (or starting point), including the state after the attack and possible subsequent attack paths.

[0139] In some embodiments, generating a defense graph based on a network attack graph specifically includes the following process:

[0140] Risk assessment: For each attack path, the Common Vulnerability Scoring System (CVSS) is used to conduct a risk assessment and calculate the immediate rewards that an attacker may obtain after a successful intrusion.

[0141] Defense strategy formulation: Develop targeted defense strategies based on risk assessment results. Defense strategies include:

[0142] Vulnerability patching: timely repair vulnerabilities in the network environment and eliminate potential intrusion points; access control: strengthen network access control and limit access rights to key resources; security reinforcement: perform security reinforcement on key hosts or services to improve their anti-attack capabilities; intrusion detection and response: deploy intrusion detection system IDS (Intrusion Detection System) and intrusion prevention system IPS (Intrusion Prevention System) to detect and prevent attacks in a timely manner;

[0143] Defense map drawing: present the formulated defense strategy in the form of a graphic to form a defense map.

[0144] Furthermore, the honeypot deployment strategy based on the defense graph specifically includes the following processes:

[0145] Step 1: Analyze the defense map:

[0146] Identify key nodes: In the defense map, identify key nodes whose attacks will have a significant impact on the overall security of the network;

[0147] Evaluate potential threats: Evaluate the potential threats faced by different nodes based on the attack paths and risk assessment results shown in the defense map;

[0148] Step 2: Determine the honeypot deployment target:

[0149] Induced attack: Deploy the honeypot on the path that the attacker is expected to take in the defense graph to induce the attacker to attack the honeypot, thereby reducing the threat to the real system;

[0150] Intelligence collection: Use honeypots to collect attackers’ behavior data, attack tools, and methods, and provide intelligence support for subsequent defense strategy adjustments;

[0151] Step 3: Develop a honeypot deployment strategy:

[0152] High-interaction honeypot: provides services similar to real systems and simulates complex attack scenarios;

[0153] Low-interaction honeypot: simulates some services or vulnerabilities;

[0154] Physical honeypot: a real physical device running a real operating system and services;

[0155] Virtual honeypot: A honeypot simulated in a virtual machine or container, which has good flexibility and scalability;

[0156] Determine the deployment location and deploy honeypots at the network boundary to monitor and prevent external attacks; deploy honeypots in key paths and sensitive areas of the intranet to monitor and defend against internal attacks and lateral movement;

[0157] Configure honeypot parameters: set the honeypot's IP address, port number, and service type parameters to simulate a real system or service;

[0158] Configure the honeypot's logging and alerting functions to collect attack information and respond in a timely manner.

[0159] The present invention also provides a network security protection system based on virtual cloud. Figure 2 is a system block diagram of a network security protection system based on a virtual cloud according to an embodiment of the present invention, such as Figure 2 As shown, the system includes a user network security characteristic value calculation module, a judgment module, a network attack graph construction module and a protection module;

[0160] The user network security feature value calculation module is used to obtain the access task request sent by the user's network terminal, obtain the network environment information corresponding to the user's network terminal based on the access task request, and obtain the user network security feature value based on the network environment information corresponding to the user's network terminal;

[0161] The judgment module is used to judge whether the conditions for authorizing the user to access the task request are met based on the user's network security feature value. If so, the working virtual machine is determined based on the access task request and a VPN tunnel is constructed;

[0162] The network attack graph construction module obtains the transmission record of the current working virtual machine based on the VPN tunnel, obtains the vulnerability index corresponding to the access task request based on the transmission record, and constructs a forward index mode and a reverse index mode based on the vulnerability index. It indexes all the vulnerabilities corresponding to the access task request based on the two index modes, and constructs a network attack graph based on the vulnerabilities.

[0163] The protection module is used to generate a defense map based on the network attack map and obtain a honeypot deployment strategy based on the defense map.

[0164] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0165] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0167] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only some logical function divisions. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. Network security protection method based on virtual cloud, It is characterized in that Methods include: Obtain an access task request sent by the user's network terminal, obtain network environment information corresponding to the user's network terminal based on the access task request, and obtain the user's network security feature value based on the network environment information corresponding to the user's network terminal: The network environment information includes the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information; Determine whether the user's network terminal IP address information, the user's network terminal node code information and the user's network terminal geographical location information are abnormal. If not, the security verification parameter If it is 1, then the security verification parameter is 0; The network environment information includes the sending operation time T0 of the access task request and the time T1 when the virtual cloud server receives the access task request, and calculates the time period T from time T0 to time T1; Network environment information includes the user's network terminal transmission rate and the load rate of the virtual cloud server ; Network environment information includes the frequency with which the user's network terminal sends access task requests ; The time period T and the user's network terminal transmission rate , load rate of virtual cloud server The frequency with which the user's network terminal sends access task requests Substitute the calculation formula of user network security characteristic value LMS to obtain the user network security characteristic value LMS, which is as follows: ; in, is a constant coefficient, set by the virtual cloud server. The size of the task file corresponding to the access task request; Based on the user's network security feature value, determine whether the conditions for authorizing the user to access the task request are met. If so, determine the working virtual machine and build a VPN tunnel based on the access task request; Obtain the transmission record of the current working virtual machine based on the VPN tunnel, obtain the vulnerability index corresponding to the access task request based on the transmission record, and build a forward index mode and a reverse index mode based on the vulnerability index. Index all the vulnerabilities corresponding to the access task request based on the two index modes, and build a network attack graph based on the vulnerabilities. A defense graph is generated based on the network attack graph, and a honeypot deployment strategy is obtained based on the defense graph.

2. The network security protection method based on virtual cloud according to claim 1, It is characterized in that Judging whether the conditions for authorizing a user to access a task request are met based on the user's network security feature value specifically includes the following process: Loading a user network security feature value threshold, wherein the user network security feature value threshold is stored in the virtual cloud server; Compare the user's network security characteristic value with the network security characteristic value threshold. If the user's network security characteristic value exceeds the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is met. If the user's network security characteristic value does not exceed the network security characteristic value threshold, the condition requirement for authorizing the user to access the task request is not met.

3. The network security protection method based on virtual cloud according to claim 1, It is characterized in that Obtaining the vulnerability index corresponding to the access task request based on the transmission record, and building the forward index mode and reverse index mode based on the vulnerability index specifically includes the following processes: Based on the vulnerability record database CVE, the transmission record is recorded for vulnerability. By using the hash algorithm as a forward index, the vulnerability record corresponding to each running application and each running service is used as a key value, and the key value is used as a forward index value; Create reverse index pre and reverse index post based on the attack conditions and post-attack status corresponding to the vulnerability records: Discretize any vulnerability to get the expression vnt of the vulnerability: ;in, For loopholes The quantitative value of the attack conditions. For loopholes The corresponding status value after the attack, and The value of OK, different vulnerabilities n corresponds to different Value and value; Create reverse index pre and reverse index post: ; ; in, The reverse index of the vulnerability is pre. The reverse index of the vulnerability is post. , are different values.

4. The network security protection method based on virtual cloud according to claim 3, It is characterized in that Building a network attack graph based on vulnerabilities specifically includes the following processes: Based on the state after adding attacks to the vulnerability, several attack points are formed. At the beginning of each loop, a node is taken out from the last part of the attack node stack. The node taken out is the attack node that enters the attack graph newly calculated and inferred in the previous loop. When this round of calculation is completed, all the next nodes pointed to by the calculated attack node are put into the stack and the next round of loop is performed until the stack is empty, and the loop ends. The stack is the data structure of the attack node. Based on the depth-first search algorithm, the stack is used as the starting point to search for the post-attack state of the current attack node and its adjacent reachable attack nodes. The attack conditions of the current attack node and its adjacent reachable attack nodes are compared to determine whether an attack edge exists between the two nodes. If the attack edge exists, the attack edge and subsequent attack nodes are added to the attack graph, and the subsequent attack nodes and the post-attack state that can be achieved according to the attack conditions are placed in the stack structure.

5. The network security protection method based on virtual cloud according to claim 1, It is characterized in that Generating a defense graph based on a network attack graph specifically includes the following processes: Risk assessment: For each attack path, the Common Vulnerability Scoring System (CVSS) is used to perform a risk assessment and calculate the immediate return that an attacker may receive after a successful intrusion. Defense strategy formulation: Develop targeted defense strategies based on risk assessment results. Defense strategies include: Vulnerability patching: timely repair of vulnerabilities in the network environment and elimination of potential intrusion points; Access control: strengthen network access control and limit access rights to key resources; security reinforcement: perform security reinforcement on key hosts or services to improve their anti-attack capabilities; intrusion detection and response: deploy intrusion detection systems (IDS) and intrusion prevention systems (IPS) to promptly detect and prevent attacks; Defense map drawing: present the formulated defense strategy in the form of a graphic to form a defense map.

6. The network security protection method based on virtual cloud according to claim 1, It is characterized in that The honeypot deployment strategy based on the defense graph includes the following steps: Step 1: Analyze the defense map: Identify key nodes: In the defense map, identify key nodes whose attacks will have a significant impact on the overall security of the network; Evaluate potential threats: Evaluate the potential threats faced by different nodes based on the attack paths and risk assessment results shown in the defense map; Step 2: Determine the honeypot deployment target: Induced attack: Deploy the honeypot on the path that the attacker is expected to take in the defense graph to induce the attacker to attack the honeypot, thereby reducing the threat to the real system; Intelligence collection: Use honeypots to collect attackers’ behavior data, attack tools, and methods, and provide intelligence support for subsequent defense strategy adjustments; Step 3: Develop a honeypot deployment strategy: High-interaction honeypot: provides services similar to real systems and simulates complex attack scenarios; Low-interaction honeypot: simulates some services or vulnerabilities; Physical honeypot: a real physical device running a real operating system and services; Virtual honeypot: a honeypot simulated in a virtual machine or container; Determine the deployment location and deploy honeypots at the network boundary to monitor and prevent external attacks; deploy honeypots in key paths and sensitive areas of the intranet to monitor and defend against internal attacks and lateral movement; Configure honeypot parameters: set the honeypot's IP address, port number, and service type parameters to simulate a real system or service; Configure the honeypot's logging and alerting functions to collect attack information and respond in a timely manner.

7. Network security protection system based on virtual cloud, It is characterized in that A virtual cloud-based network security protection method applicable to any one of claims 1 to 6, the system comprising a user network security characteristic value calculation module, a judgment module, a network attack graph construction module and a protection module; The user network security feature value calculation module is used to obtain the access task request sent by the user's network terminal, obtain the network environment information corresponding to the user's network terminal based on the access task request, and obtain the user network security feature value based on the network environment information corresponding to the user's network terminal; The judgment module is used to judge whether the conditions for authorizing the user to access the task request are met based on the user's network security feature value. If so, the working virtual machine is determined based on the access task request and a VPN tunnel is constructed; The network attack graph construction module obtains the transmission record of the current working virtual machine based on the VPN tunnel, obtains the vulnerability index corresponding to the access task request based on the transmission record, and constructs a forward index mode and a reverse index mode based on the vulnerability index. It indexes all the vulnerabilities corresponding to the access task request based on the two index modes, and constructs a network attack graph based on the vulnerabilities. The protection module is used to generate a defense map based on the network attack map and obtain a honeypot deployment strategy based on the defense map.