Cloud asset configuration security processing method, system, storage medium and electronic device

By obtaining and detecting cloud tenant configuration data, and using pre-built rules to evaluate the security status of public cloud assets, it solves the problem of low risk detection capabilities for public cloud asset configurations, improves security levels, and helps cloud tenants discover and repair security risks.

CN115208675BActive Publication Date: 2024-09-27CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210843132.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2024-09-27
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

Public cloud asset configuration risk detection capabilities and low security levels have resulted in high-risk ports and unsafe security group configurations becoming the main causes of public cloud security incidents.

Method used

By obtaining cloud tenant configuration data, use pre-built detection rules to detect whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable, and a risk assessment report is generated to help cloud tenants discover security risks in a timely manner and provide repairs. suggestion.

Benefits of technology

It improves the detection capabilities and overall security level of public cloud asset configuration risks, helps cloud tenants promptly discover and repair security risks, and reduces the probability of security incidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115208675B
    Figure CN115208675B
Patent Text Reader

Abstract

The present application discloses a cloud asset configuration security processing method, system, storage medium and electronic device, which obtains cloud tenant configuration data, detects cloud tenant configuration data through pre-built detection rules, and obtains detection results. If the detection result is a risky detection result, the risk data of the risky detection result is stored in a database. The risk data is used to characterize the risk data of various indicator risks, and the cloud environment of the cloud tenant is risk assessed based on the risk data in the database. Through the above scheme, the standardized API of cloud products is used to obtain the configuration data of tenants on the cloud, and the risk points of the configuration are automatically identified and evaluated through detection rules and combined with built-in security indicators, helping cloud tenants to promptly discover the security risks of cloud product configurations and provide corresponding repair suggestions, which helps to improve the detection capabilities of public cloud asset configuration risks and the overall security level of the public cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and more specifically, to a cloud asset configuration security processing method, system, storage medium and electronic device. Background Art

[0002] With the development of public cloud and the increasing diversity of cloud products, the security of public cloud has become a focus of tenants. Public cloud usually refers to a cloud provided by a third-party provider for users to use. Public cloud is generally available through the Internet and may be free or low-cost. The core attribute of public cloud is shared resource services. There are many instances of this cloud, which can provide services throughout the open public network today.

[0003] As security operators lack the ability to detect public cloud asset configuration risks, improper security configuration has become one of the biggest risks of public clouds. Insecure configurations such as high-risk ports and improper security group configuration are the main causes of public cloud security incidents.

[0004] Therefore, the existing public cloud asset configuration risk detection capabilities and security levels are low. Summary of the invention

[0005] In view of this, the present application discloses a cloud asset configuration security processing method, system, storage medium and electronic device, which aims to help cloud tenants promptly discover security risks in cloud product configurations and provide corresponding repair suggestions, which will help improve the detection capabilities of public cloud asset configuration risks and the overall security level of the public cloud.

[0006] In order to achieve the above purpose, the disclosed technical solution is as follows:

[0007] In a first aspect, the present application discloses a cloud asset configuration security processing method, the method comprising:

[0008] Obtain cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data and security configuration data of the tenant of the public cloud service;

[0009] The cloud tenant configuration data is tested by using pre-built test rules to obtain test results; the test rules are test rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether security group configuration is reasonable; the test results are used to characterize whether there are risks;

[0010] If the detection result is a detection result with risk, the risk data of the detection result with risk is stored in the database; the risk data is used to characterize the risk data of various indicator risks; the various indicator risks at least include the high indicator risk of whether the Internet business has enabled firewall protection, the medium indicator risk of whether the cloud host has enabled host security protection, and the low indicator risk of whether the security group configuration is reasonable;

[0011] A risk assessment is performed on the cloud environment of the cloud tenant based on the risk data in the database.

[0012] Preferably, the obtaining of cloud tenant configuration data includes:

[0013] Obtain authorization information for tenants of public cloud services;

[0014] The cloud tenant configuration data is obtained by calling the API of the cloud product through the authorization information; the cloud product is used to represent the public systems and services published or deployed on the public cloud.

[0015] Preferably, the detecting the cloud tenant configuration data by using pre-built detection rules to obtain the detection result includes:

[0016] The cloud server data, network configuration data and security configuration data in the cloud tenant configuration data are detected through pre-built detection rules to obtain detection results on whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable.

[0017] Preferably, if the test result is a risky test result, storing the risk data of the risky test result in a database includes:

[0018] If the detection result is any one or more of the following: firewall protection is not enabled, host security protection is not enabled on the cloud host, and the security group configuration is unreasonable, then the detection result is determined to be a risky detection result; the unreasonable security group configuration is used to indicate that the security group configuration does not enable the inbound and outbound full-open policy;

[0019] The risk data of the risky detection results are stored in the database.

[0020] Preferably, the performing risk assessment on the cloud environment of the cloud tenant according to the risk data in the database includes:

[0021] According to the risk data in the database, the indicator risk weights corresponding to various configuration data are obtained;

[0022] The security scores of public cloud service tenants are calculated based on the risk weights of indicators corresponding to various configuration data to obtain the score results.

[0023] The cloud tenant's cloud environment risk assessment is performed based on the scoring results.

[0024] Preferably, it also includes:

[0025] Set whitelist data;

[0026] When the cloud tenant configuration data is detected, the detection result is filtered through the whitelist data.

[0027] Preferably, it also includes:

[0028] If a high risk indicator is detected for Internet services with firewall protection enabled, an alarm message will be generated.

[0029] A second aspect of the present application discloses a cloud asset configuration security processing system, the system comprising:

[0030] An acquisition unit, configured to acquire cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data, and security configuration data of a tenant of a public cloud service;

[0031] A detection unit, used to detect the cloud tenant configuration data through pre-built detection rules to obtain detection results; the detection rules are detection rules for whether the Internet business has enabled firewall protection, whether the cloud host has enabled host security protection, and whether the security group configuration is reasonable; the detection results are used to characterize whether there is a risk detection result;

[0032] A storage unit is used to store risk data of the risky detection result in a database if the detection result is a risky detection result; the risk data is used to characterize various risk indicators; the various risk indicators at least include a high risk indicator of whether the Internet service has enabled firewall protection, a medium risk indicator of whether the cloud host has enabled host security protection, and a low risk indicator of whether the security group configuration is reasonable;

[0033] The evaluation unit is used to perform risk evaluation on the cloud environment of the cloud tenant according to the risk data in the database.

[0034] A third aspect of the present application discloses a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the cloud asset configuration security processing method as described in any one of the first aspects.

[0035] The fourth aspect of the present application discloses an electronic device, comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to perform a cloud asset configuration security processing method as described in any one of the first aspects.

[0036] Through the above technical scheme, it can be known that the present application discloses a cloud asset configuration security processing method, system, storage medium and electronic device, obtains cloud tenant configuration data, and the cloud tenant configuration data at least includes cloud server data, network configuration data and security configuration data of tenants of public cloud services. The cloud tenant configuration data is detected by pre-constructed detection rules to obtain detection results. The detection rules are detection rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable. The detection results are used to characterize the detection results of whether there are risks. If the detection results are detection results of risk, the risk data of the detection results of risk are stored in a database. The risk data are used to characterize the risk data of various indicator risks. The various indicator risks include at least high indicator risks of whether firewall protection is enabled for Internet services, medium indicator risks of whether host security protection is enabled for cloud hosts, and low indicator risks of whether the security group configuration is reasonable. The cloud environment of cloud tenants is risk assessed based on the risk data in the database. Through the above solution, the standardized API of cloud products is used to obtain the configuration data of tenants on the cloud, and the risk points of the configuration are automatically identified and evaluated through detection rules and built-in security indicators. This helps cloud tenants to promptly discover security risks in cloud product configurations and provide corresponding repair suggestions, which helps to improve the detection capabilities of public cloud asset configuration risks and the overall security level of the public cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0038] Figure 1 This is an architecture diagram of the detection and evaluation engine disclosed in the embodiments of the present application;

[0039] Figure 2 A schematic diagram of a process for securely processing cloud asset configuration disclosed in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of the structure of a cloud asset configuration security processing system disclosed in an embodiment of the present application;

[0041] Figure 4A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

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

[0043] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0044] As can be seen from the background technology, due to the lack of detection capabilities of security operators for public cloud asset configuration risks, improper security configuration has become one of the biggest risks of public clouds. Unsafe configurations such as high-risk ports and improper security group configuration are the main causes of public cloud security incidents. Therefore, the existing public cloud asset configuration risk detection capabilities and security levels are low.

[0045] In order to solve the above problems, the embodiments of the present application disclose a cloud asset configuration security processing method, system, storage medium and electronic device, which uses the standardized API of cloud products to obtain the configuration data of tenants on the cloud, and automatically identifies and evaluates the risk points of the configuration through detection rules and built-in security indicators, helping cloud tenants to timely discover the security risks of cloud product configuration and provide corresponding repair suggestions, which helps to improve the detection capability of public cloud asset configuration risks and the overall security level of the public cloud. The specific implementation method is specifically described through the following embodiments.

[0046] The following first introduces the architecture diagram of a detection and evaluation engine applicable to a cloud asset configuration security processing method and system disclosed in this application, and specifically refers to Figure 1 As shown, the detection and evaluation engine includes a user management module 11, a detection indicator management module 12, a detection task management module 13, a whitelist management module 14, a risk assessment module 15 and a risk situation module 16.

[0047] The user management module 11 is used by cloud tenants to obtain the authorization information (secretid+secretkey) of cloud tenants, and then the authorization information of the tenants is used to call the application programming interface API of the cloud product to obtain the configuration. When a cloud tenant activates a service, a default detection task will be added for this cloud tenant by default.

[0048] The API of cloud products obtains configuration, which is the cloud tenant configuration data. Cloud tenant configuration data includes the tenant's cloud server data, network configuration data (such as load balancing, public network access IP), security configuration data (such as website application firewall, host security, container security, security group, etc.).

[0049] Cloud tenants refer to tenants who use public cloud services.

[0050] Cloud products refer to public systems and services released or deployed on public clouds.

[0051] The detection indicator management module 12 detects the cloud tenant configuration data through pre-built detection rules to obtain detection results; the detection rules are detection rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable; the detection results are used to characterize whether there are risks.

[0052] The detection task management module 13 obtains cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data and security configuration data of the tenant of the public cloud service.

[0053] The detection indicator management module 12 is used to maintain the detection indicators, including the indicator name, detection strategy, risk level, whether to perform risk quantity scoring, and whether to enable the indicator; then establish detection rules, determine the indicator risk level by detecting the skeleton amount, and update the indicator risk level to the detection indicator list.

[0054] The detection index management module 12 needs to adapt to different versions of the public cloud platform software development kit (SDK) and the standardized API of the cloud products involved in the index to achieve the acquisition, parsing and filtering of tenant index configuration data. In order to facilitate the understanding of the detection rules, it is explained here in conjunction with Table 1.

[0055]

[0056] Table 1

[0057] Among them, the detection indicator management module 12 needs to adapt to different versions of the SDK of the public cloud platform and the standardized API of the cloud products involved in the indicators. This means that in different cloud platform versions, such as 360 and 380 versions, the parameters of the product's cloud API interface and the called functions may be different. Therefore, in the indicator management module, each product interface has a version attribute, and different versions will trigger the call of different interfaces.

[0058] Indicator risk weights are used to assess overall risks. Some risks are more harmful while others are relatively small, so the concept of weight is added.

[0059] If the detection result is a risky detection result, the detection task management module 13 stores the risk data of the risky detection result in the database; the risk data is used to characterize the risk data of various indicator risks; the various indicator risks include at least the high indicator risk of whether the Internet business has enabled firewall protection, the medium indicator risk of whether the cloud host has enabled host security protection, and the low indicator risk of whether the security group configuration is reasonable.

[0060] If the risk data of the detection result is a high indicator risk that the Internet business has not enabled firewall protection, then enable firewall protection; if the risk data of the detection result is a medium indicator risk that the cloud host has not enabled host security protection, then enable cloud host security protection; if the risk data of the detection result is a low indicator risk that the security group configuration is unreasonable, then enable the security group configuration to enable the full inbound and outbound open policy.

[0061] The detection task management module 13 has a default timed detection task (including all security baseline detection indicators) built in for each cloud tenant, which can also be manually triggered by cloud tenants and security operators. Each task will include the detected user and detection indicators.

[0062] The detection task management module 13 will perform detection according to the task list at regular intervals. During the detection process according to the task list, it will obtain the cloud tenant authorization configuration information, obtain the cloud tenant configuration data from the detection indicators through the product's cloud API interface, and detect the cloud tenant configuration data based on the detection rules to generate preliminary risk data. The preliminary risk data will then be filtered through the whitelist management module 14 to obtain the target risk data, and the detected risk data (target risk data) will be stored in the database.

[0063] The whitelist management module 14 is used to store special configuration data of cloud tenants (special configuration refers to configurations that allow tenants to add whitelists. For example, cloud tenants may not be able to open certain security protection configurations due to special reasons, which is also allowed). When the detection task identifies risk data, the cloud tenant can view the risk data and determine whether it is a special configuration. If it is a special configuration, it can apply for a whitelist. After the application, the security operation personnel who maintain the public cloud platform will review it. After review, the special configuration data will be updated to the whitelist. The data in the whitelist will be filtered out from the risk data during subsequent detection.

[0064] If the detection result is any one or more of the following: firewall protection is not enabled, host security protection is not enabled on the cloud host, and the security group configuration is unreasonable, the detection task management module 13 determines that the detection result is a risky detection result; the unreasonable security group configuration is used to characterize that the security group configuration does not enable the inbound and outbound full release strategy, and the risk data of the risky detection result is stored in the database.

[0065] The detection results of the risks are shown in Table 2. Table 2 is only an example.

[0066]

[0067] Table 2

[0068] Among them, the detection task management module 13 first obtains the cloud tenant authorization configuration information, and after obtaining the cloud tenant authorization configuration information, checks the cloud tenant authorization configuration information according to the built-in detection rules, and after checking, there will be a risky (including risky data) detection result or a risk-free detection result. For example, in Table 1, the indicator of whether the Internet service has a firewall turned on, after obtaining the data, it is determined whether the firewall protection is turned on. If it is not turned on, the detection result is determined to be a risky detection result.

[0069] The risk assessment module 15 performs risk assessment on the cloud environment of the cloud tenant according to the risk data in the database.

[0070] The risk assessment module 15 scores the cloud tenants according to the detection results of the risk data in the database, helping the cloud tenants understand the security profile of their cloud environment. The scoring mode can adopt a scoring method that combines the indicator risk weight and the risk quantity. The basic score of each indicator is 100 / weight sum. If the method of combining the risk quantity is adopted, the deduction of each indicator is based on the basic score*risk assets / total assets.

[0071] The scoring method is: safety score = 100 - total indicator deduction points.

[0072] Since each indicator has its own weight (all indicators are added together to calculate the score of each indicator), for example, if a certain indicator occupies 3 points and the indicator of risk quantity scoring is not enabled, if there is risk data, this indicator will be deducted by 3 points. If the risk quantity scoring is enabled, there are 10 risk data and 100 total assets, then 3*10 / 100=0.3 points will be deducted.

[0073] Add up the deductions for all indicators and subtract the deductions from the full score of 100 to get the security score. The higher the security score, the lower the risk of the cloud environment and the safer the cloud environment.

[0074] If the risk situation module 16 detects a high risk of enabling firewall protection for Internet services, an alarm message is generated.

[0075] The risk situation module 16 is used to display the indicator detection results of all tenants in the entire cloud platform, helping to grasp the overall risk situation in a timely manner. At the same time, when high-level risk data is identified, it helps tenants and security operators to understand and deal with cloud environment risks in a timely manner by sending SMS / email alerts and other warning methods.

[0076] The specific alarm method is set by technical personnel according to actual conditions, and this application does not make any specific restrictions.

[0077] This application can detect and evaluate the asset configuration of cloud tenants, help tenants to promptly discover security risks in cloud product configurations and provide corresponding repair suggestions; it can comprehensively display the collected tenant configuration risk points to security operators, helping operators to achieve active monitoring, timely warnings, and early prevention; it can call the cloud product API in a bypass manner to obtain the tenant's configuration and perform configuration checks and risk assessments. This method will not affect the tenant's business and can be easily expanded.

[0078] In the embodiment of the present application, the standardized API of the cloud product is used to obtain the tenant's cloud configuration data, and the risk points of the configuration are automatically identified and evaluated through detection rules and combined with built-in security indicators, so as to help cloud tenants timely discover the security risks of cloud product configuration and provide corresponding repair suggestions, which helps to improve the detection capability of public cloud asset configuration risks and the overall security level of the public cloud.

[0079] refer to Figure 2 FIG. 1 is a flow chart of a cloud asset configuration security processing method disclosed in an embodiment of the present application. The cloud asset configuration security processing method mainly includes the following steps:

[0080] S201: Obtain cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data, and security configuration data of the tenant of the public cloud service.

[0081] Among them, network configuration data includes load balancing, public network access IP and other data; security configuration data includes website application firewall, host security, container security, security group and other data.

[0082] The specific process of obtaining cloud tenant configuration data is as follows:

[0083] First, obtain the authorization information of the tenant of the public cloud service.

[0084] Then, the cloud product API is called through the authorization information to obtain the cloud tenant configuration data; cloud products are used to represent public systems and services released or deployed on the public cloud.

[0085] S202: Detect the cloud tenant configuration data through pre-built detection rules to obtain detection results; the detection rules are detection rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable; the detection results are used to characterize whether there are risks.

[0086] In S202, the cloud server data, network configuration data and security configuration data in the cloud tenant configuration data are detected through pre-built detection rules to obtain detection results of whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable.

[0087] S203: If the detection result is a risky detection result, the risk data of the risky detection result is stored in the database; the risk data is used to characterize the risk data of various indicator risks; the various indicator risks at least include a high indicator risk of whether the Internet business has enabled firewall protection, a medium indicator risk of whether the cloud host has enabled host security protection, and a low indicator risk of whether the security group configuration is reasonable.

[0088] Specifically, if the detection result is a detection result with risks, the process of storing the risk data of the detection result with risks in the database is shown in A1-A2.

[0089] A1: If the detection result is any one or more of the following: firewall protection is not enabled, host security protection is not enabled for the cloud host, and the security group configuration is unreasonable, the detection result is determined to be a risky detection result; unreasonable security group configuration is used to indicate that the security group configuration does not enable the inbound and outbound full open policy.

[0090] Among them, if the detection result is a high indicator risk without opening the firewall protection, refer to Table 1 to determine its indicator risk weight as 5, the indicator risk level is high, there is no need to conduct a risk quantity score, and firewall protection is opened for Internet business.

[0091] If the detection result is that the cloud host does not enable the indicator risk of host security protection, the indicator risk weight is determined to be 3, the host security protection of the cloud host is enabled, the indicator risk level is medium, and the cloud host does not enable the indicator risk of host security protection to be scored for the risk quantity, that is, the detection result is that the cloud host does not enable the indicator risk of host security protection to be performed on the cloud tenant's cloud environment through the following S204.

[0092] If the detection result is a low indicator risk of unreasonable security group configuration, the indicator risk weight is determined to be 1, the indicator risk level is low, the security group configuration opens the inbound and outbound full release policy, and the cloud host does not enable the indicator risk of host security protection to be scored for risk quantity. That is, the detection result is that the cloud host does not enable the indicator risk of host security protection to be performed on the cloud tenant's cloud environment through the following S204.

[0093] The security group is used to configure the inbound and outbound access control policies of the cloud server.

[0094] The security requirements of the security group are enabled according to actual needs. For example, if the server only provides services on port 80 for external access, the inbound policy of the security group only allows port 80 of 0.0.0.0 / 0 (referring to all IPs) to provide services for external access. If all ports of 0.0.0.0 / 0 are opened, the security configuration of the security group does not meet the requirements, which will reduce the security of the security configuration of the security group. The execution principle of the outbound access control policy is the same as that of the inbound access control policy, which can be used as a reference and will not be repeated here.

[0095] If the detection result is a high risk of not enabling firewall protection, a medium risk of not enabling host security protection for the cloud host, and a low risk of unreasonable security group configuration, then enable Internet services and firewall protection, enable host security protection for the cloud host, and enable the inbound and outbound full pass policy in the security group configuration.

[0096] A2: The risk data of the risky detection results are stored in the database.

[0097] If a high risk indicator is detected for Internet services with firewall protection enabled, an alarm message will be generated.

[0098] When high-risk detection results are detected for Internet services with firewall protection enabled, SMS / email alerts and other warning methods are sent to help tenants and security operators understand and deal with cloud environment risks in a timely manner.

[0099] The specific alarm method is set by technical personnel according to actual conditions, and this application does not make any specific restrictions.

[0100] S204: Perform risk assessment on the cloud environment of the cloud tenant based on the risk data in the database.

[0101] The specific process of performing risk assessment on the cloud environment of the cloud tenant based on the risk data in the database is shown in B1-B3.

[0102] B1: Based on the risk data in the database, obtain the indicator risk weights corresponding to various types of configuration data.

[0103] B2: Perform security scoring for tenants of public cloud services based on the risk weights of indicators corresponding to various configuration data to obtain scoring results.

[0104] B3: Perform risk assessment on the cloud tenant’s cloud environment based on the scoring results.

[0105] Among them, cloud tenants are scored according to the test results of the detection indicators to help cloud tenants understand the security profile of their cloud environment. The scoring model can adopt a scoring method that combines the indicator risk weight and the risk quantity. The basic score of each indicator is 100 / weight sum. If the risk quantity combination method is adopted, the deduction of each indicator is based on the basic score * risk assets / total assets.

[0106] The scoring method is: safety score = 100 - total indicator deduction points.

[0107] Since each indicator has its own weight (all indicators are added together to calculate the score of each indicator), for example, if a certain indicator occupies 3 points and the indicator of risk quantity scoring is not enabled, if there is risk data, this indicator will be deducted by 3 points. If the risk quantity scoring is enabled, there are 10 risk data and 100 total assets, then 3*10 / 100=0.3 points will be deducted.

[0108] Optionally, whitelist data is set, and when the cloud tenant configuration data is detected, the detection results are filtered through the whitelist data.

[0109] Among them, special configuration data of cloud tenants is stored (special configuration refers to configuration that allows tenants to add whitelist. For example, cloud tenants may not be able to open certain security protection configurations due to special reasons, which is also allowed). When the detection task identifies risk data, cloud tenants can view the risk data and determine whether it is a special configuration. If it is a special configuration, they can apply for a whitelist. After the application, the security operation personnel who maintain the public cloud platform will review it. After approval, this special configuration data will be updated to the whitelist. The data in the whitelist will be filtered out from the risk data during subsequent detection.

[0110] In the embodiment of the present application, the standardized API of the cloud product is used to obtain the tenant's cloud configuration data, and the risk points of the configuration are automatically identified and evaluated through detection rules and combined with built-in security indicators, so as to help cloud tenants timely discover the security risks of cloud product configuration and provide corresponding repair suggestions, which helps to improve the detection capability of public cloud asset configuration risks and the overall security level of the public cloud.

[0111] refer to Figure 1 A cloud asset configuration security processing method is shown, and the embodiment of the present application also discloses a cloud asset configuration security processing system, such as Figure 3 As shown, the cloud asset configuration security processing system includes an acquisition unit 301 , a detection unit 302 , a storage unit 303 and an evaluation unit 304 .

[0112] The acquisition unit 301 is used to acquire cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data and security configuration data of the tenant of the public cloud service.

[0113] The detection unit 302 is used to detect the cloud tenant configuration data through pre-built detection rules to obtain detection results; the detection rules are detection rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable; the detection results are used to characterize whether there are risks.

[0114] Storage unit 303 is used to store the risk data of the risky detection result into the database if the detection result is a risky detection result; the risk data is used to characterize the risk data of various indicator risks; the various indicator risks include at least the high indicator risk of whether the Internet business has enabled firewall protection, the medium indicator risk of whether the cloud host has enabled host security protection, and the low indicator risk of whether the security group configuration is reasonable.

[0115] The evaluation unit 304 is used to perform risk evaluation on the cloud environment of the cloud tenant according to the risk data in the database.

[0116] Furthermore, the acquisition unit 301 includes a first acquisition module and a calling module.

[0117] The first acquisition module is used to obtain authorization information of a tenant of a public cloud service.

[0118] The calling module is used to call the API of the cloud product through authorization information to obtain cloud tenant configuration data; cloud products are used to represent public systems and services published or deployed on the public cloud.

[0119] Furthermore, the detection unit 302 is specifically used to detect the cloud server data, network configuration data and security configuration data in the cloud tenant configuration data through pre-built detection rules, and obtain detection results of whether firewall protection is enabled for Internet services, whether host security protection is enabled for the cloud host, and whether the security group configuration is reasonable.

[0120] Furthermore, the storage unit includes a determination module and a storage module.

[0121] A determination module is used to determine that the detection result is a risky detection result if the detection result is any one or more of the following: firewall protection is not enabled, host security protection is not enabled for the cloud host, and the security group configuration is unreasonable; unreasonable security group configuration is used to indicate that the security group configuration does not enable the inbound and outbound full-open policy;

[0122] The storage module is used to store the risk data of the risky detection results into the database.

[0123] Furthermore, the evaluation unit 304 includes a second acquisition module, a scoring module and an evaluation module.

[0124] The second acquisition module is used to obtain the indicator risk weights corresponding to various configuration data based on the risk data in the database.

[0125] The scoring module is used to perform security scoring for tenants of public cloud services based on the indicator risk weights corresponding to various configuration data to obtain scoring results;

[0126] The assessment module is used to perform risk assessment on the cloud environment of cloud tenants based on scoring results.

[0127] Furthermore, the cloud asset configuration security processing system also includes a setting unit and a filtering unit.

[0128] A setting unit is used to set whitelist data.

[0129] The filtering unit is used to filter the detection result through the whitelist data when detecting the cloud tenant configuration data.

[0130] Furthermore, the cloud asset configuration security processing system also includes a generation unit.

[0131] The generating unit is used to generate an alarm message if a detection result of a high index risk of opening a firewall protection for an Internet business is monitored.

[0132] In the embodiment of the present application, the standardized API of the cloud product is used to obtain the tenant's cloud configuration data, and the risk points of the configuration are automatically identified and evaluated through detection rules and combined with built-in security indicators, so as to help cloud tenants timely discover the security risks of cloud product configuration and provide corresponding repair suggestions, which helps to improve the detection capability of public cloud asset configuration risks and the overall security level of the public cloud.

[0133] An embodiment of the present application further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned cloud asset configuration security processing method.

[0134] The present application also provides an electronic device, whose structural diagram is as follows: Figure 4 As shown, it specifically includes a memory 401 and one or more instructions 402, wherein the one or more instructions 402 are stored in the memory 401 and are configured to be executed by one or more processors 403 to execute the one or more instructions 402 to execute the above-mentioned cloud asset configuration security processing method.

[0135] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0136] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0137] The steps in the methods of the embodiments of the present application can be adjusted in order, combined, and deleted according to actual needs.

[0138] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0139] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0140] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A cloud asset configuration security processing method, characterized in that: Applicable to the detection and evaluation engine, the detection and evaluation engine includes a detection task management module and a risk situation module, the detection task management module has a default scheduled detection task built-in for each cloud tenant, and the default scheduled detection task includes the detection indicators of the detected user; The risk situation module is used to display the indicator detection results of all tenants in the entire cloud platform; the method includes: Obtain cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data and security configuration data of the tenant of the public cloud service; The cloud tenant configuration data is tested by using pre-built test rules to obtain test results; the test rules are test rules for whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether security group configuration is reasonable; the test results are used to characterize whether there are risks; If the detection result is a detection result with risk, the risk data of the detection result with risk is stored in the database; the risk data is used to characterize the risk data of various indicator risks; the various indicator risks at least include the high indicator risk of whether the Internet business has enabled firewall protection, the medium indicator risk of whether the cloud host has enabled host security protection, and the low indicator risk of whether the security group configuration is reasonable; A risk assessment is performed on the cloud environment of the cloud tenant based on the risk data in the database.

2. The method according to claim 1, characterized in that The obtaining of cloud tenant configuration data includes: Obtain authorization information for tenants of public cloud services; The cloud tenant configuration data is acquired by calling the API of the cloud product through the authorization information; the cloud product is used to represent the public systems and services published or deployed on the public cloud.

3. The method according to claim 1, characterized in that: The cloud tenant configuration data is detected by using the pre-built detection rules to obtain the detection results, including: The cloud server data, network configuration data and security configuration data in the cloud tenant configuration data are detected through pre-built detection rules to obtain detection results on whether firewall protection is enabled for Internet services, whether host security protection is enabled for cloud hosts, and whether the security group configuration is reasonable.

4. The method according to claim 3, characterized in that If the detection result is a risky detection result, storing the risk data of the risky detection result in a database includes: If the detection result is any one or more of the following: firewall protection is not enabled, host security protection is not enabled on the cloud host, and the security group configuration is unreasonable, then the detection result is determined to be a risky detection result; the unreasonable security group configuration is used to indicate that the security group configuration does not enable the inbound and outbound full-open policy; The risk data of the risky detection results are stored in the database.

5. The method according to claim 1, characterized in that The performing risk assessment on the cloud environment of the cloud tenant according to the risk data in the database includes: According to the risk data in the database, the indicator risk weights corresponding to various configuration data are obtained; The security scores of public cloud service tenants are calculated based on the risk weights of indicators corresponding to various configuration data to obtain the score results. The cloud tenant's cloud environment risk assessment is performed based on the scoring results.

6. The method according to claim 1, characterized in that Also includes: Set whitelist data; When the cloud tenant configuration data is detected, the detection result is filtered through the whitelist data.

7. The method according to claim 1, characterized in that Also includes: If a high risk indicator is detected for Internet services with firewall protection enabled, an alarm message will be generated.

8. A cloud asset configuration security processing system, characterized in that: Applicable to the detection and evaluation engine, the detection and evaluation engine includes a detection task management module and a risk situation module, the detection task management module has a default scheduled detection task built-in for each cloud tenant, and the default scheduled detection task includes the detection indicators of the detected user; The risk situation module is used to display the indicator detection results of all tenants in the entire cloud platform; the system includes: An acquisition unit, configured to acquire cloud tenant configuration data; the cloud tenant configuration data at least includes cloud server data, network configuration data, and security configuration data of a tenant of a public cloud service; A detection unit, used to detect the cloud tenant configuration data through pre-built detection rules to obtain detection results; the detection rules are detection rules for whether the Internet service has enabled firewall protection, whether the cloud host has enabled host security protection, and whether the security group configuration is reasonable; the detection results are used to characterize whether there is a risk detection result; A storage unit is used to store risk data of the risky detection result in a database if the detection result is a risky detection result; the risk data is used to characterize various risk indicators; the various risk indicators at least include a high risk indicator of whether the Internet service has enabled firewall protection, a medium risk indicator of whether the cloud host has enabled host security protection, and a low risk indicator of whether the security group configuration is reasonable; The evaluation unit is used to perform risk evaluation on the cloud environment of the cloud tenant according to the risk data in the database.

9. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the cloud asset configuration security processing method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to execute the cloud asset configuration security processing method as described in any one of claims 1 to 7.