A method and device for dynamically controlling access control policies in a zero-trust environment

Dynamic adjustment of access control policies through genetic algorithms solves the time-consuming and error-prone problems of manual configuration in existing technologies, realizes the intelligence and adaptability of access control in a zero-trust environment, and improves network security and system efficiency.

CN118337493BActive Publication Date: 2024-10-25BEIJING CHANGYANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410577623.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-10-25
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

Existing access control policies based on zero-trust architecture are usually configured manually. Maintaining access control policies is time-consuming and error-prone, especially in large and complex networks, affecting network security and system efficiency.

Method used

Genetic algorithm is used to determine the access control strategy based on the evaluation score. By obtaining the results of historical access requests and user, device, and network information, the risk score, compliance and multi-factor authentication results are evaluated, and the evaluation score is calculated to dynamically adjust the access control strategy. .

Benefits of technology

It realizes the intelligence and adaptability of access control policies, improves network security and system efficiency in zero-trust environments, and adapts to changing network threats and business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118337493B_ABST
    Figure CN118337493B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for dynamically controlling access control policies for a zero-trust environment, the method comprising: obtaining access results obtained by using access control policies for historical access requests; evaluating the access control policies according to the access results and historical access requests to obtain evaluation scores; receiving access requests from users to be accessed; and determining the target access control policies for the access requests based on genetic algorithms and evaluation scores. The method provided by the scheme realizes the intelligence and adaptability of access control policies, and improves the network security and system efficiency of the zero-trust environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a method and device for dynamically controlling access control policies in a zero-trust environment. Background Art

[0002] With the continuous rise of emerging technologies such as cloud computing, big data, and the Internet of Things, enterprise IT architecture is changing from "bounded" to "borderless", and traditional security boundaries are gradually disintegrating. With the continuous advancement of new infrastructure represented by 5G and industrial Internet, the evolution of "borderless" will be further accelerated. At the same time, zero-trust security has gradually entered people's field of vision and become a new concept and new architecture for solving network security problems in the new era.

[0003] Zero-trust architecture strictly verifies all network access requests, and continuously monitors and evaluates user, device, and network behaviors to ensure secure access. However, existing access control policies based on zero-trust architecture are usually configured manually, and maintaining access control policies is not only time-consuming but also prone to errors, which is even more serious in large and complex networks, thus affecting network security and system efficiency. Summary of the invention

[0004] The present invention provides a method and device for dynamically controlling access control policies in a zero-trust environment, which realizes the intelligence and adaptability of access control policies and improves the network security and system efficiency of the zero-trust environment.

[0005] In a first aspect, the present invention provides a method for dynamically controlling access control policies in a zero-trust environment, comprising:

[0006] Obtain the access results obtained by using the access control policy for historical access requests;

[0007] Evaluate the access control policy according to the access result and the historical access request to obtain an evaluation score;

[0008] Receive access requests from users to be accessed;

[0009] Determining a target access control policy for the access request based on a genetic algorithm and the evaluation score. Optionally, evaluating the access control policy according to the access result and the historical access request to obtain the evaluation score includes:

[0010] Obtain the user identity, device identity, request event, geographic location, network session information, and login information included in the historical access request;

[0011] Evaluate the user identity and the device identity based on a preset risk scoring rule to obtain a risk score;

[0012] Performing an assessment based on the device identity, the network session information, and the login information to obtain a compliance check result;

[0013] Based on the access control policy, determining a multi-factor authentication result;

[0014] Determine, based on the access result, the access success rate, access delay rate, and user satisfaction of the request event when the access control policy is adopted;

[0015] The evaluation score is calculated based on the risk score, the compliance check result, the multi-factor authentication result, the access success rate, the access delay rate and the user satisfaction.

[0016] Optionally, the evaluation score is calculated using the following formula:

[0017] f=α(1-a1)+βa2+γa3+δb1-εb2+ζb3

[0018] Among them, f is used to characterize the evaluation score; a1 is used to characterize the risk score; a2 is used to characterize the compliance check result; a3 is used to characterize the multi-factor authentication result; b1 is used to characterize the access success rate; b2 is used to characterize the access delay rate; b3 is used to characterize the user satisfaction; α, β, γ, δ, ε, and ζ are all used to characterize weight coefficients.

[0019] Optionally, after receiving the access request of the user to be accessed and before determining the target access control policy of the access request based on the genetic algorithm and the evaluation score, the method further includes:

[0020] Determine the user identity, target device identity, target request event, geographic location, network session information, and login information of the user to be accessed according to the access request;

[0021] Evaluate the user identity of the user to be accessed and the target device identity based on a preset risk scoring rule to obtain a target risk score;

[0022] An assessment is performed based on the device identity, the network session information, and the login information to obtain a target compliance check result.

[0023] Optionally, the determining the access control policy of the access request based on the genetic algorithm and the evaluation score includes:

[0024] S1: Based on the access request, determine the access control strategy and the preset number of iterations included in the initial particle swarm;

[0025] S2: Calculate the evaluation score of each access control strategy in the current particle swarm;

[0026] S3: Determine whether the evaluation score or the current number of iterations meets the preset termination condition, if so, execute step S4; otherwise, execute step S5;

[0027] S4: sorting all the evaluation scores greater than the preset score from high to low, and determining the access control policy corresponding to the highest evaluation score as the target access control policy;

[0028] S5: sorting the evaluation scores from high to low, and determining the access control policy corresponding to the evaluation score ranked first as the optimal solution;

[0029] S6: Perform crossover and mutation on the optimal solution to obtain an optimized access control strategy, determine the optimized access control strategy as the current particle swarm, and return to step S2.

[0030] In a second aspect, the present invention provides an access control policy dynamic control device for a zero-trust environment, comprising:

[0031] An acquisition module is used to obtain access results obtained by using access control policies for historical access requests;

[0032] An evaluation module, used to evaluate the access control policy according to the access result and the historical access request to obtain an evaluation score;

[0033] A receiving module, used for receiving an access request from a user to be accessed;

[0034] A policy determination module is used to determine a target access control policy for the access request based on a genetic algorithm and the evaluation score.

[0035] Optionally, the evaluation module is further configured to perform the following operations:

[0036] Obtain the user identity, device identity, request event, geographic location, network session information, and login information included in the historical access request;

[0037] Evaluate the user identity and the device identity based on a preset risk scoring rule to obtain a risk score;

[0038] Performing an assessment based on the device identity, the network session information, and the login information to obtain a compliance check result;

[0039] Based on the access control policy, determining a multi-factor authentication result;

[0040] Determine, based on the access result, the access success rate, access delay rate, and user satisfaction of the request event when the access control policy is adopted;

[0041] The evaluation score is calculated based on the risk score, the compliance check result, the multi-factor authentication result, the access success rate, the access delay rate and the user satisfaction.

[0042] In a third aspect, an embodiment of the present invention further provides a computing device, comprising a memory and a target processor, wherein the memory stores a computer program, and when the target processor executes the computer program, the method described in any first aspect of this specification is implemented.

[0043] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any first aspect of this specification.

[0044] In a fifth aspect, an embodiment of the present invention further provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in any first aspect of this specification.

[0045] The present invention provides a method and device for dynamically controlling access control policies in a zero-trust environment. The method is applied in a zero-trust environment. First, the access results obtained by using any access control policy for a historical access request are obtained. Then, the access control policy used is evaluated for the historical access request to obtain a corresponding evaluation score. Then, the target access control policy for the access request of the user to be accessed is determined by a genetic algorithm and each access control policy including the evaluation score. In this way, the intelligence and adaptability of the access control policy in the zero-trust environment are realized through a genetic algorithm, and the adaptability of the zero-trust environment system to the ever-changing network threats and business needs is improved, thereby providing more comprehensive and powerful protection for network security in a zero-trust environment and providing important support for the security operation of the organization. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 It is a flow chart of a method for dynamic control of access control policies for a zero-trust environment provided by an embodiment of the present invention;

[0048] Figure 2 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;

[0049] Figure 3 It is a schematic diagram of the structure of a dynamic control device for access control policy provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0051] like Figure 1 As shown, an embodiment of the present invention provides a method for dynamically controlling access control policies in a zero-trust environment, the method comprising:

[0052] Step 100, obtaining access results obtained by using access control policies for historical access requests;

[0053] Step 102, evaluating the access control policy according to the access result and the historical access request to obtain an evaluation score;

[0054] Step 104, receiving an access request from a user to be accessed;

[0055] Step 106: Determine a target access control policy for the access request based on the genetic algorithm and the evaluation score.

[0056] In the present invention, in a zero-trust environment, firstly, the access result obtained by using any access control policy for a historical access request is obtained, and then the access control policy used for the historical access request is evaluated to obtain a corresponding evaluation score; then the target access control policy for the access request of the user to be accessed is determined by the genetic algorithm and each access control policy including the evaluation score. In this way, the intelligence and adaptability of the access control policy in the zero-trust environment are realized through the genetic algorithm, and the adaptability of the zero-trust environment system to the ever-changing network threats and business needs is improved, thereby providing more comprehensive and powerful protection for network security in the zero-trust environment, and providing important support for the security operation of the organization.

[0057] It should be noted that zero trust is a security model that continuously verifies and dynamically authorizes all users based on as many trust factors as possible, such as the identity of the access subject, the network environment, and the terminal status. Zero trust is very different from the traditional security model. The traditional security model assesses entity risks through the "one-time verification + static authorization" method, while zero trust builds the security cornerstone of the enterprise based on the "continuous verification + dynamic authorization" model.

[0058] With respect to step 100, in a zero-trust environment, there may be multiple access control policies for the same access request, and the access results may be different when different access control policies are adopted, for example, the access results may be access success, access failure, and access delay time.

[0059] With respect to step 102, the access control policy is evaluated according to the access result and the historical access request to obtain an evaluation score, including:

[0060] Obtain historical access requests including user identity, device identity, request event, geographic location, network session information, and login information;

[0061] Evaluate user identity and device identity based on preset risk scoring rules to obtain risk scores;

[0062] Evaluate based on device identity, network session information, and login information to obtain compliance check results;

[0063] Determine the multi-factor authentication result based on the access control policy;

[0064] According to the access results, determine the access success rate, access delay rate and user satisfaction when the access control strategy is adopted for the request event;

[0065] The assessment score is calculated based on the risk score, compliance check results, multi-factor authentication results, access success rate, access delay rate and user satisfaction.

[0066] It should be noted that user identity includes user name and role; device identity includes device type and operating system; behavioral events include login and file access; geographic location includes IP address and geographic coordinates; network session information includes session duration, traffic packet size, etc.

[0067] In the present invention, risk scores, compliance check results and multi-factor authentication results all belong to security assessments, and access success rates, access delay rates and user satisfaction all belong to business efficiency assessments. In this way, security and business efficiency are comprehensively considered when calculating the evaluation scores of access control policies, which further ensures the accuracy and scientific nature of the evaluation scores, thereby ensuring the high precision of the target access control policies recommended based on genetic algorithms.

[0068] In a preferred embodiment, the evaluation score is calculated by the following formula:

[0069] f=α(1-a1)+βa2+γa3+δb1-εb2+ζb3

[0070] Among them, f is used to represent the evaluation score; a1 is used to represent the risk score; a2 is used to represent the compliance check result; a3 is used to represent the multi-factor authentication result; b1 is used to represent the access success rate; b2 is used to represent the access delay rate; b3 is used to represent user satisfaction; α, β, γ, δ, ε, and ζ are all used to represent weight coefficients.

[0071] It should be noted that the higher the evaluation score, the higher the adaptability of the corresponding access control policy. The weight coefficient is flexibly set by the user according to the security policy requirements, the relative importance of security and business efficiency, α+β+γ+δ+ε+ζ=1. Due to the differences in the value ranges of risk scores, compliance check results, multi-factor authentication results, access success rates, access delay rates and user satisfaction, these values ​​also need to be standardized and normalized so that they have a unified data format and unit for subsequent evaluation score analysis.

[0072] Specifically, the risk score adopts real-time risk assessment and is obtained by the following method: First, a monitoring agent software or agent program is deployed on the user terminal device. The agent software can record the hardware information of the device and the user's behavior information in real time, such as user login, geographic location, application access, occupancy, network connection, etc., and then dynamically report the collected data to the security operation access control system through a secure channel. Secondly, a proxy gateway device is deployed in the network. The proxy gateway can intercept and monitor all traffic in and out of the network, including traffic for user access to authorized applications; then the collected data is dynamically reported to the security operation access control system through a secure channel. Finally, the security operation access control system uses a machine learning algorithm or a rule engine to analyze and evaluate the collected data to identify potential threats and abnormal behaviors; then, based on the identification results, a real-time risk assessment is performed on the access request, and a corresponding risk score is obtained. More specifically, the preset risk scoring rule can be, and the risk score is determined by the following formula:

[0073]

[0074] Among them, a1 is used to represent the risk score; c1 is used to represent the number of data with threats or abnormal behaviors in the collected data; c2 is used to represent the number of data without threats or abnormal behaviors in the collected data; d1 is used to represent the probability of access failure when the access request is made with the current user identity, d1∈[0,1]; d2 is used to represent the probability of access failure when the access request is made with the current device identity, d2∈[0,1]; among them, the higher the risk score, the higher the risk.

[0075] Specifically, the stricter the compliance check result is, the higher the evaluation score will be. For example, the network session information, login information and device identity can be used to determine whether the user logs in through the company's intranet or extranet, and whether the login information is that of an in-service employee or a temporary seconded employee. The compliance check can be flexibly configured according to the user's usage scenario.

[0076] Specifically, different authentication factors have different security and impacts on user operations, so it is necessary to select different authentication combinations in business scenarios with different security levels. If the access control policy includes at least two authentication factors, the multi-factor authentication result is yes, a3 = 1; if the access control policy includes only one authentication factor, the multi-factor authentication result is no, a3 = 0.

[0077] Specifically, the access success rate, access delay rate, and user satisfaction are all for the request events included in the access request. The access success rate is the probability of successfully accessing the request event using the current access control policy reported by the client in the historical data. The access delay rate is the access delay data provided by the proxy gateway in the historical data when the current access control policy is successfully accessed. The user determines the access delay rate based on the access delay data; for example, if the access delay time is within 100ms, the access delay rate is low, which can be 10%; if the access delay time is between 100ms and 3s, the access delay rate is medium, which can be 50%; if the access delay time exceeds 3s, the access delay rate is high, which can be 90%. User satisfaction is obtained through the user feedback mechanism. The higher the satisfaction, the higher the evaluation score. It should be noted that the historical data includes historical access requests, the access control policies adopted by each historical access request, and the access results obtained.

[0078] After step 104 and before step 106, the method further includes:

[0079] Determine the user identity, target device identity, target request event, geographic location, network session information, and login information of the user to be accessed based on the access request;

[0080] Based on the preset risk scoring rules, the user identity of the accessing user and the target device identity are evaluated to obtain the target risk score;

[0081] Evaluate based on device identity, network session information, and login information to obtain targeted compliance check results.

[0082] Specifically, after receiving the access request of the user to be accessed, the target risk score and target compliance check result of the current access request are calculated according to the method recorded in step 102, so as to subsequently calculate the evaluation score of the access control policy based on the risk score and the compliance check result.

[0083] In a preferred embodiment, in step 106, determining the access control policy of the access request based on the genetic algorithm and the evaluation score includes:

[0084] S1: Based on the access request, determine the access control strategy and the preset number of iterations included in the initial particle swarm;

[0085] S2: Calculate the evaluation score of each access control policy in the current particle swarm;

[0086] S3: Determine whether the evaluation score or the current number of iterations meets the preset termination condition. If so, execute step S4; otherwise, execute step S5;

[0087] S4: sorting all evaluation scores greater than a preset score from high to low, and determining the access control policy corresponding to the highest evaluation score as the target access control policy;

[0088] S5: sort the evaluation scores from high to low, and determine the access control policy corresponding to the evaluation score ranked first as the optimal solution;

[0089] S6: Perform crossover and mutation on the optimal solution to obtain an optimized access control strategy, determine the optimized access control strategy as the current particle swarm, and return to step S2.

[0090] Specifically, the present invention uses the evaluation score as the fitness, adopts the calculation formula of the evaluation score as the fitness calculation formula, and ensures the accuracy of the fitness function by setting and adjusting the weight coefficient, so as to obtain the fitness score (i.e., the evaluation score) of each access control policy based on step S2. At this time, a1 in the calculation formula is the target risk score corresponding to the access request obtained above; a2 is the target compliance check result corresponding to the access request obtained above; in this way, the fitness function should be able to reflect the effectiveness of the access control policy in preventing threats, compliance checks, and multi-factor authentication.

[0091] It should be noted that the preset termination conditions include that the current number of iterations reaches a preset number of iterations or the evaluation score is greater than a preset score.

[0092] In step S1, considering the dynamics and complexity of the network in a zero-trust environment, the size of the initial particle swarm should be large enough to support detailed access control policy search while considering the reasonable allocation of computing resources, where the genes in the initial particle swarm are the access control policies.

[0093] In the present invention, the parameters in the zero-trust environment are obtained: user identity, device compliance, behavior pattern, geographic location, etc., to ensure that each parameter can be fine-grained access control and continuous security verification. By using the above-mentioned historical data to initialize the population of the genetic algorithm, and dynamically adjusting the access control policy according to the real-time data, the crossover and mutation of the genetic algorithm are used to generate a new access control policy (i.e., optimize the access control policy), and then through multiple iterations, the access control policy is continuously optimized. In each iteration, the appropriate genetic algorithm operation is selected according to the current particle group and its evaluation score to generate a new access control policy to adapt to the ever-changing network environment and threat situation.

[0094] In the present invention, the evaluation results of each access control policy can be fed back to the optimization system so that the weight of the fitness function can be adjusted or the parameters of the genetic algorithm can be modified based on the performance of the current access control policy to improve the optimization process. Specifically, the effect of the access control policy is monitored, including indicators such as the number of business process interruptions and the number of security incidents, so as to ensure its effectiveness and stability in the actual environment. At the same time, all relevant activities are recorded, including access events, security events, policy adjustments, etc., for auditing and post-analysis. It also includes establishing a log recording mechanism to record key events and data during the implementation of the access control policy for subsequent analysis and adjustment.

[0095] In a more preferred embodiment, it also includes:

[0096] If the current number of iterations meets the preset termination condition and the evaluation score is less than the preset lower limit threshold; wherein the preset score is greater than the preset lower limit threshold;

[0097] Adjust the weight coefficient for calculating the evaluation score.

[0098] In a more preferred embodiment, it also includes:

[0099] The parameters of the genetic algorithm are modified according to the evaluation score of the target access control policy.

[0100] The present invention proposes a method for dynamic access control strategy based on genetic algorithm to realize intelligent access control strategy optimization. The genetic algorithm simulates natural selection, automatically explores strategy combinations, and finds the most effective and secure access strategy. It not only ensures the network security and availability of the zero-trust environment, but also can adapt to changes in network threats and business needs, providing strong support for the zero-trust environment.

[0101] like Figure 2 , Figure 3As shown, the embodiment of the present invention provides a dynamic control device for access control policies in a zero-trust environment. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Figure 2 As shown, a hardware architecture diagram of a computing device where a dynamic control device for access control policy in a zero-trust environment is provided in an embodiment of the present invention is provided. Figure 2 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 3 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides a dynamic control device for access control policy for a zero-trust environment, and the device includes:

[0102] An acquisition module 300 is used to obtain access results obtained by using access control policies for historical access requests;

[0103] An evaluation module 302 is used to evaluate the access control policy according to the access result and the historical access request to obtain an evaluation score;

[0104] The receiving module 304 is used to receive an access request from a user to be accessed;

[0105] The policy determination module 306 is used to determine the target access control policy of the access request based on the genetic algorithm and the evaluation score.

[0106] In some specific implementations, the acquisition module 300 may be used to execute the above step 100 , the evaluation module 302 may be used to execute the above step 102 , the receiving module 304 may be used to execute the above step 104 , and the strategy determination module 306 may be used to execute the above step 106 .

[0107] In one embodiment of the present invention, the evaluation module 302 is further configured to perform the following operations:

[0108] Obtain historical access requests including user identity, device identity, request event, geographic location, network session information, and login information;

[0109] Evaluate user identity and device identity based on preset risk scoring rules to obtain risk scores;

[0110] Evaluate based on device identity, network session information, and login information to obtain compliance check results;

[0111] Determine the multi-factor authentication result based on the access control policy;

[0112] According to the access results, determine the access success rate, access delay rate and user satisfaction when the access control strategy is adopted for the request event;

[0113] The evaluation score is calculated based on the risk score, compliance check results, multi-factor authentication results, access success rate, access delay rate and user satisfaction;

[0114] The evaluation score is calculated using the following formula:

[0115] f=α(1-a1)+βa2+γa3+δb1-εb2+ζb3

[0116] Among them, f is used to represent the evaluation score; a1 is used to represent the risk score; a2 is used to represent the compliance check result; a3 is used to represent the multi-factor authentication result; b1 is used to represent the access success rate; b2 is used to represent the access delay rate; b3 is used to represent user satisfaction; α, β, γ, δ, ε, and ζ are all used to represent weight coefficients.

[0117] In one embodiment of the present invention, the evaluation module 302 is further configured to perform the following operations:

[0118] Determine the user identity, target device identity, target request event, geographic location, network session information, and login information of the user to be accessed based on the access request;

[0119] Based on the preset risk scoring rules, the user identity of the accessing user and the target device identity are evaluated to obtain the target risk score;

[0120] Evaluate based on device identity, network session information, and login information to obtain targeted compliance check results.

[0121] In one embodiment of the present invention, the policy determination module 306 is further configured to perform the following operations:

[0122] S1: Based on the access request, determine the access control strategy and the preset number of iterations included in the initial particle swarm;

[0123] S2: Calculate the evaluation score of each access control policy in the current particle swarm; the evaluation score is calculated using the following formula:

[0124] f=α(1-a1)+βa2+γa3+δb1-εb2+ζb3

[0125] Among them, f is used to represent the evaluation score; a1 is used to represent the target risk score; a2 is used to represent the target compliance check result; a3 is used to represent the multi-factor authentication result of the currently calculated access control policy; b1 is used to represent the access success rate; b2 is used to represent the access delay rate; b3 is used to represent user satisfaction; α, β, γ, δ, ε, and ζ are all used to represent weight coefficients.

[0126] S3: Determine whether the evaluation score or the current number of iterations meets the preset termination condition. If so, execute step S4; otherwise, execute step S5;

[0127] S4: sorting all evaluation scores greater than a preset score from high to low, and determining the access control policy corresponding to the highest evaluation score as the target access control policy;

[0128] S5: sort the evaluation scores from high to low, and determine the access control policy corresponding to the evaluation score ranked first as the optimal solution;

[0129] S6: Perform crossover and mutation on the optimal solution to obtain an optimized access control strategy, determine the optimized access control strategy as the current particle swarm, and return to step S2.

[0130] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a dynamic control device for access control policies for a zero-trust environment. In other embodiments of the present invention, a dynamic control device for access control policies for a zero-trust environment may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0131] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0132] An embodiment of the present invention also provides a computing device, including a memory and a target processor, wherein a computer program is stored in the memory, and when the target processor executes the computer program, a dynamic control method of access control policy for a zero-trust environment in any embodiment of the present invention is implemented.

[0133] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a dynamic control method for access control policies for a zero-trust environment in any embodiment of the present invention.

[0134] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes a dynamic control method for access control policies for a zero-trust environment as described in any of the above embodiments.

[0135] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can read and execute the program code stored in the storage medium.

[0136] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0137] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0138] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling the operating system on the computer to complete part or all of the actual operations based on the instructions of the program code.

[0139] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0140] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.

[0141] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for dynamically controlling access control policies in a zero-trust environment, characterized in that: include: Obtain the access results obtained by using the access control policy for historical access requests; Evaluate the access control policy according to the access result and the historical access request to obtain an evaluation score; Receive access requests from users to be accessed; Determining a target access control policy for the access request based on a genetic algorithm and the evaluation score; The step of evaluating the access control policy according to the access result and the historical access request to obtain an evaluation score includes: Obtain the user identity, device identity, request event, geographic location, network session information, and login information included in the historical access request; The user identity and the device identity are evaluated based on the preset risk scoring rules to obtain a risk score; the risk score is determined by the following formula: Among them, a1 is used to represent the risk score; c1 is used to represent the number of data with threats or abnormal behaviors in the collected data; c2 is used to represent the number of data without threats or abnormal behaviors in the collected data; d1 is used to represent the probability of access failure when the access request is made with the current user identity, d1∈[0,1]; d2 is used to represent the probability of access failure when the access request is made with the current device identity, d2∈[0,1]; Performing an assessment based on the device identity, the network session information, and the login information to obtain a compliance check result; Based on the access control policy, determining a multi-factor authentication result; Determine, based on the access result, the access success rate, access delay rate, and user satisfaction of the request event when the access control policy is adopted; The evaluation score is calculated based on the risk score, the compliance check result, the multi-factor authentication result, the access success rate, the access delay rate and the user satisfaction; the evaluation score is calculated using the following formula: f=α(1-a1)+βa2+γa3+δb1-εb2+ζb3 Among them, f is used to characterize the evaluation score; a1 is used to characterize the risk score; a2 is used to characterize the compliance check result; a3 is used to characterize the multi-factor authentication result; b1 is used to characterize the access success rate; b2 is used to characterize the access delay rate; b3 is used to characterize the user satisfaction; α, β, γ, δ, ε, and ζ are all used to characterize weight coefficients.

2. The method according to claim 1, characterized in that After receiving the access request of the user to be accessed and before determining the target access control strategy of the access request based on the genetic algorithm and the evaluation score, the method further includes: Determine the user identity, target device identity, target request event, geographic location, network session information, and login information of the user to be accessed according to the access request; Evaluate the user identity of the user to be accessed and the target device identity based on a preset risk scoring rule to obtain a target risk score; An assessment is performed based on the device identity, the network session information, and the login information to obtain a target compliance check result.

3. The method according to any one of claims 1 to 2, characterized in that: The determining of the access control strategy for the access request based on the genetic algorithm and the evaluation score includes: S1: Based on the access request, determine the access control strategy and the preset number of iterations included in the initial particle swarm; S2: Calculate the evaluation score of each access control strategy in the current particle swarm; S3: Determine whether the evaluation score or the current number of iterations meets the preset termination condition, if so, execute step S4; otherwise, execute step S5; S4: sorting all the evaluation scores greater than a preset score from high to low, and determining the access control policy corresponding to the highest evaluation score as the target access control policy; S5: sorting the evaluation scores from high to low, and determining the access control policy corresponding to the evaluation score ranked first as the optimal solution; S6: Perform crossover and mutation on the optimal solution to obtain an optimized access control strategy, determine the optimized access control strategy as the current particle swarm, and return to step S2.

4. A dynamic control device for access control policy in a zero-trust environment, characterized in that: Used to perform the method according to any one of claims 1 to 3, comprising: An acquisition module is used to obtain access results obtained by using access control policies for historical access requests; An evaluation module, used to evaluate the access control policy according to the access result and the historical access request to obtain an evaluation score; A receiving module, used for receiving an access request from a user to be accessed; A policy determination module is used to determine a target access control policy for the access request based on a genetic algorithm and the evaluation score.

5. The device according to claim 4, characterized in that The evaluation module is also used to perform the following operations: Obtain the user identity, device identity, request event, geographic location, network session information, and login information included in the historical access request; Evaluate the user identity and the device identity based on a preset risk scoring rule to obtain a risk score; Performing an assessment based on the device identity, the network session information, and the login information to obtain a compliance check result; Based on the access control policy, determining a multi-factor authentication result; Determine, based on the access result, the access success rate, access delay rate, and user satisfaction of the request event when the access control policy is adopted; The evaluation score is calculated based on the risk score, the compliance check result, the multi-factor authentication result, the access success rate, the access delay rate and the user satisfaction.

6. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 3.

8. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 3.