Security baseline deployment method and device, computer equipment and readable storage medium
By automatically obtaining and verifying device information, and generating and deploying security baselines, it solves the problem of cumbersome existing baseline management strategies, improves management efficiency and security, and realizes personalized security strategies and real-time risk monitoring for different devices and systems.
Patent Information
- Application Number
- CN202410846396.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-17
AI Technical Summary
Existing baseline management strategies are cumbersome in configuration and monitoring and lack automation, resulting in low management efficiency and difficulty in timely discovery and resolution of security risks.
Through automated acquisition of device information, security baselines are generated and verified to achieve automatic generation and real-time monitoring of baselines, ensuring that target devices comply with unified security standards, adapting to the characteristics of different devices and systems, and discovering and resolving potential security risks in a timely manner.
It improves management efficiency and accuracy, reduces human errors, ensures that all target devices comply with unified security standards, provides personalized security policies, promptly discovers and resolves security risks, and effectively prevents security vulnerabilities.
Smart Images

Figure CN118656120A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a security baseline deployment method, apparatus, computer device, and readable storage medium. Background Art
[0002] Security baseline refers to the most basic security requirements that an information system needs to meet. Information system security often requires a balance between security costs and tolerable security risks, and the security baseline is the reasonable dividing line of this balance.
[0003] The baseline security model is centered on the business system and is divided into three layers: business layer, functional architecture layer, and system implementation layer. According to the characteristics of different business systems, the business system is decomposed into corresponding application systems, databases, operating systems, network devices, security devices and other different equipment and system modules. These modules are refined into the requirements that different modules of this layer should have for the security protection requirements defined for the business layer, so that each module needs to be configured with a different security baseline, and therefore needs to match the corresponding baseline management strategy.
[0004] However, the existing baseline management strategies use independent manual management methods for configuration, monitoring and other aspects, and the management process is relatively cumbersome. Summary of the invention
[0005] Based on this, it is necessary to provide a security baseline deployment method, device, computer equipment and readable storage medium that can realize automatic baseline deployment in response to the above technical problems.
[0006] In a first aspect, the present application provides a security baseline deployment method, including:
[0007] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0008] Generate a security baseline for the target device based on the device information;
[0009] Verify whether the security configuration information configured in the target device meets the security baseline;
[0010] If not, the security baseline is deployed to the target device.
[0011] In one embodiment, generating a security baseline of a target device based on the device information includes:
[0012] Determine the baseline configuration template corresponding to the target device according to the device type information in the device basic information;
[0013] Extract the operation data corresponding to the item to be monitored from the equipment operation information;
[0014] Using the operating data, adjust the baseline configuration template to obtain the target baseline template;
[0015] Add the operating rules corresponding to the items to be monitored to the target baseline template to obtain the security baseline of the target device.
[0016] In one embodiment, determining a baseline configuration template corresponding to a target device according to device type information in the device information includes:
[0017] Verify whether the target device is a new device based on the device type information in the device basic information;
[0018] If it is a new device, an information entry list will be sent to the maintainer of the target device;
[0019] Generate a baseline configuration template corresponding to the target device based on the filled-in information entry list returned by the maintainer.
[0020] In one of the embodiments, based on the device type information in the basic device information, verify whether the target device is a new device;
[0021] If it is an old device, query the baseline configuration template corresponding to the target device locally.
[0022] In one embodiment, deploying a security baseline to a target device includes:
[0023] Send a baseline configuration query command to the maintainer of the target device;
[0024] If a configuration response instruction is received from the maintainer, the security baseline is deployed to the target device.
[0025] In one embodiment, the method further comprises:
[0026] Check the security configuration information configured in the target device for consistency with the security baseline;
[0027] If the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0028] In a second aspect, the present application also provides a security baseline deployment device, including:
[0029] The acquisition module is used to acquire the device information of the target device; wherein the device information includes basic device information and device operation information;
[0030] A baseline generation module is used to generate a security baseline for a target device based on device information;
[0031] A verification module is used to verify whether the security configuration information configured in the target device meets the security baseline;
[0032] The deployment module is used to deploy the security baseline to the target device if it is not satisfied.
[0033] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0034] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0035] Generate a security baseline for the target device based on the device information;
[0036] Verify whether the security configuration information configured in the target device meets the security baseline;
[0037] If not, the security baseline is deployed to the target device.
[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0039] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0040] Generate a security baseline for the target device based on the device information;
[0041] Verify whether the security configuration information configured in the target device meets the security baseline;
[0042] If not, the security baseline is deployed to the target device.
[0043] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0044] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0045] Generate a security baseline for the target device based on the device information;
[0046] Verify whether the security configuration information configured in the target device meets the security baseline;
[0047] If not, the security baseline is deployed to the target device.
[0048] The above-mentioned security baseline deployment method, device, computer equipment and readable storage medium, the present application greatly improves management efficiency and accuracy and reduces the possibility of human error by automatically obtaining device information, generating security baselines and automatically verifying security configurations; by automatically generating and verifying security baselines, the present application helps to ensure that all target devices meet unified security standards and improves the security of the entire system; in addition, by collecting device information to dynamically generate security baselines, it can adapt to the characteristics of different devices and systems and provide more personalized security policies; the verification step can monitor in real time whether the security configuration of the target device meets the security baseline, promptly discover and resolve potential security risks, and thus more effectively prevent security vulnerabilities from being exploited. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] FIG1 is a schematic diagram of a process flow of a security baseline deployment method in one embodiment;
[0051] FIG2 is a schematic diagram of a flow chart of steps for generating a security baseline for a target device in one embodiment;
[0052] FIG3 is a schematic diagram of a flow chart of the steps of determining a baseline configuration template corresponding to a target device in one embodiment;
[0053] FIG4 is a flow chart of steps for deploying a security baseline to a target device in one embodiment;
[0054] FIG5 is a flow chart of a step of matching the security configuration information configured in the target device with the security baseline for consistency in one embodiment;
[0055] FIG6 is a system diagram of a security baseline deployment system in one embodiment;
[0056] FIG7 is a structural block diagram of a security baseline deployment device in one embodiment;
[0057] FIG. 8 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] In an exemplary embodiment, as shown in FIG1 , a security baseline deployment method is provided, which is described by taking the method applied to a computer device as an example, and includes:
[0060] Step 101, obtaining device information of a target device.
[0061] Among them, the equipment information includes equipment basic information and equipment operation information.
[0062] Specifically, basic device information mainly refers to the static properties of the device, which do not change frequently and are the basic characteristics of the device. This basic information includes but is not limited to: device model and manufacturer; physical configuration of the device (such as CPU model, memory size, hard disk capacity); device operating system type and version; list of installed software and applications; and device network interface and configuration (such as IP address, MAC address).
[0063] Device operation information refers to the dynamic status and data of the device during operation, which may change over time, usage and environmental conditions. Operation information may include: CPU usage, memory usage and disk I / O; network connection status, traffic and protocol usage; process list and their status (running, sleeping, etc.); system logs and events, including any error or warning information; security-related activities, such as login attempts, permission changes, etc.
[0064] After collecting this information, the next steps (such as generating a security baseline, verifying security configurations, and deploying security settings) can be effectively operated based on this information to ensure the security of the target device.
[0065] Step 102: Generate a security baseline for the target device based on the device information.
[0066] Optionally, clarify security requirements based on the purpose of the device and the environment it is in. Consider regulatory compliance requirements, such as PCI-DSS, HIPAA, GDPR, etc., and ensure that the security baseline meets relevant standards. Refer to industry best practices and security guidelines, such as CIS Benchmarks, NIST, etc. Establish specific security configuration standards for devices, including but not limited to password policies, user permissions, network service configuration, firewall rules, etc. Combine device information and security requirements to customize the security baseline for the target device. The security baseline should cover all aspects of the device, such as operating system security settings, network security configuration, and security requirements for application software.
[0067] Step 103: Verify whether the security configuration information configured in the target device meets the security baseline.
[0068] Optionally, select or develop appropriate verification tools that can scan and evaluate the security configuration of the target device. Determine the verification method, which may include automated scripts, manual checks, or a hybrid method. Use the selected tool to perform a comprehensive security configuration scan on the target device. Collect the current security configuration information of the device, including password policy implementation, user permission settings, firewall rules, etc. Compare the security configuration information obtained from the scan with the security baseline generated in step 102 item by item. Check whether there is any configuration that does not meet the security baseline, including unenabled security features, overly loose permission settings, etc.
[0069] Step 104: If not satisfied, the security baseline is deployed to the target device.
[0070] Optionally, based on the verification result of step 103, identify which security configurations do not meet the requirements of the security baseline. Classify and prioritize these non-compliant items so that they can be effectively repaired. Then, according to the formulated plan, gradually apply the security baseline configuration to the target device.
[0071] The above-mentioned security baseline deployment method, this application greatly improves management efficiency and accuracy and reduces the possibility of human error by automatically obtaining device information, generating security baselines and automatically verifying security configurations; by automatically generating and verifying security baselines, this application helps to ensure that all target devices meet unified security standards and improve the security of the entire system; in addition, by collecting device information to dynamically generate security baselines, it can adapt to the characteristics of different devices and systems and provide more personalized security policies; the verification step can monitor in real time whether the security configuration of the target device meets the security baseline, promptly discover and resolve potential security risks, and thus more effectively prevent security vulnerabilities from being exploited.
[0072] In an exemplary embodiment, as shown in FIG2 , generating a security baseline of a target device according to device information includes:
[0073] Step 201: Determine a baseline configuration template corresponding to a target device according to device type information in device basic information.
[0074] Optionally, review basic device information, especially device type information (such as server, router, switch, etc.). Depending on the device type, a preset baseline configuration template will be selected as a starting point. This template may contain a set of common security configuration recommendations that apply to all devices of that type.
[0075] Step 202: extracting operation data corresponding to the item to be monitored from the equipment operation information.
[0076] Specifically, analyze device operation information, which reflects the real-time status and behavior of the device. Extract key security-related operation data, such as CPU and memory usage, network traffic patterns, running services and processes, etc.
[0077] Step 203: Use the operating data to adjust the baseline configuration template to obtain a target baseline template.
[0078] Optionally, the initial baseline configuration template is adjusted using data extracted from device operation information. Adjustments may include modifying thresholds for security settings, adding or removing specific security controls, and optimizing the balance between performance and security. Ultimately, by combining basic device information with real-time operation data, the system is able to generate a more accurate and effective security baseline.
[0079] Specifically, as shown in FIG3 , according to the device type information in the device information, the baseline configuration template corresponding to the target device is determined, including:
[0080] Step 301: Verify whether the target device is a new device according to the device type information in the device basic information.
[0081] Optionally, check the type information of the target device to determine whether the device is a device that has been recorded in the system (old device) or a new device that appears for the first time.
[0082] Step 302: If the device is new, an information entry list is sent to the maintainer corresponding to the target device; a baseline configuration template corresponding to the target device is generated according to the filled-in information entry list returned by the maintainer.
[0083] Specifically, after verifying that the target device is a new device, the system will send an information entry list to the device's maintainer (which may be the device's manufacturer, supplier, or designated technical support team), requiring them to provide detailed configuration and security-related information about the device.
[0084] Optionally, after the maintainer completes the information entry list and returns it, the system will generate a baseline configuration template for the new device based on the information. This template will serve as the basis for subsequent configuration and monitoring of the device's security.
[0085] Step 303: If it is an old device, query the baseline configuration template corresponding to the target device locally.
[0086] Specifically, if it is verified that the target device is an old device, the existing baseline configuration template corresponding to the device type is queried and obtained in the local database or storage repository. This template has been defined before according to the characteristics and security requirements of the device type.
[0087] Step 204, adding the operation rules corresponding to the items to be monitored to the target baseline template to obtain the security baseline of the target device.
[0088] Optionally, for each item to be monitored, corresponding operation rules need to be formulated. These rules define the conditions or thresholds that the device should meet when operating normally. For example, you can set a normal range for CPU usage or define abnormal patterns for network traffic.
[0089] Furthermore, the formulated operation rules are added to the previously generated target baseline template. This may involve adding new configuration items, thresholds, or monitoring logic to the template. The verified and adjusted baseline configuration template combines the basic information and operation information of the device, as well as specific operation rules, to form a security baseline for the target device. This security baseline will serve as a reference standard for subsequent device security configuration and monitoring.
[0090] In this embodiment, by executing the above steps, it can be ensured that the security baseline of the target device not only considers the static attributes of the device (such as device type, hardware configuration, etc.), but also incorporates the dynamic operation status and behavior mode of the device. Such a security baseline is more comprehensive and accurate, and can more effectively protect the device from security threats.
[0091] In an exemplary embodiment, as shown in FIG4 , deploying a security baseline to a target device includes:
[0092] Step 401: Send a baseline configuration query instruction to the maintainer corresponding to the target device.
[0093] Specifically, a baseline configuration query instruction is sent to the maintainer of the target device (which may be the device manufacturer, IT support team, or service provider responsible for managing the device). The purpose of this instruction is to confirm whether the maintainer agrees or is ready to accept the new security baseline configuration. This ensures that there is a communication link before deployment, thereby avoiding potential configuration conflicts or improper operations. The query instruction may contain detailed information about the security baseline to be deployed so that the maintainer understands the upcoming changes.
[0094] Step 402: If a configuration response instruction returned by the maintainer is received, the security baseline is deployed to the target device.
[0095] Specifically, after sending the baseline configuration query instruction, wait for the maintainer's response. If the maintainer agrees to deploy the new security baseline and returns the corresponding configuration response instruction, the system will start deploying the security baseline to the target device. The deployment process may include updating the device's configuration file, installing or updating security patches, adjusting system settings, etc. to ensure that the device meets the new security baseline requirements. If the maintainer does not respond or refuses to deploy, the system may take other measures, such as sending reminders, seeking higher-level approval, or suspending the deployment process.
[0096] In this example, the process emphasizes the communication and confirmation steps associated with the deployment of the security baseline, which helps reduce misunderstandings and configuration errors and ensures that all relevant parties have a clear understanding of the upcoming changes. In this way, the transparency and success rate of the deployment process can be improved while reducing potential security risks.
[0097] In an exemplary embodiment, as shown in FIG5 , the method further includes:
[0098] Step 501: Perform consistency matching between the security configuration information configured in the target device and the security baseline.
[0099] Specifically, the target device's currently configured security information is obtained, including but not limited to firewall settings, access control lists, system update status, virus protection software installation and update status, etc. The system then compares this information with the standard configuration defined in the security baseline. This comparison process is called consistency matching, and its purpose is to check whether the device's current security configuration meets the preset security baseline requirements.
[0100] Step 502: If the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0101] Optionally, if the consistency match in step 501 fails, that is, the security configuration of the target device does not conform to the security baseline, the system further checks whether there are specific configuration items for the target device in other possible baseline systems (such as backup or different levels of security configuration standards). If the corresponding configuration items are not found in other baseline systems, the system will determine that the current security configuration information of the target device does not meet the security baseline requirements initially set. This determination process is important because it helps identify devices that may cause security risks due to misconfiguration, omissions, or device-specific situations, so that the security configuration can be adjusted and optimized in a timely manner.
[0102] In this implementation, the process emphasizes the importance of security configuration verification, especially in a dynamically changing network environment. Regular or real-time checking of the consistency of device security configuration and security baseline is an effective means to ensure network security. In this way, security configuration problems can be discovered and resolved in a timely manner, security vulnerabilities can be reduced, and overall network security can be improved.
[0103] In an exemplary embodiment, this embodiment provides a security baseline deployment system. Specifically, as shown in Figure 6, the automated processing system includes a baseline management system 10, a configuration management system 20, a configuration file server 30 and a security exception system 40; wherein, the baseline management system 10 includes: an information collection module 11, an information entry module 12, a security baseline monitoring module 13, an exception linkage module 14, a configuration delivery module 15 and a configuration result display module 16.
[0104] The information collection module 11 is used to realize: the device information of the target device; wherein the device information includes basic device information and device operation information.
[0105] Optionally, the information collection module 11 is linked with the configuration management system 20 to automatically obtain a list of servers and network devices whose operating environment is production or online from the configuration management system 20 every week, including from the dimensions of application nodes, system nodes, network devices, etc. Basic device information includes but is not limited to: machine name, IP address, operating system, operating environment (production, online), network device name, brand, model and category, etc.
[0106] Optionally, the configuration file server 30 is accessed to obtain the configuration file (ie, device configuration information) of the server or network device on a weekly basis.
[0107] The information entry module 12 is used to send emails to the maintainers of each application or device every week according to the registration information in the information collection module 11 for the servers or devices registered on the information collection module 11, so as to collect the security baseline content that needs to be configured. The email contains a link, and clicking the link can jump to the information entry module 12 of the baseline management system 10. Among them, the security baseline content includes dimensions such as IP address, application name, application node name, application node description, subcategory, brand, model, etc. By jumping to the information entry module 12, the maintainer is instructed to register the configuration template corresponding to the specification clause in the information entry module.
[0108] For devices newly entered into the configuration management system 20 and whose operating environment is production or online, when the application or device maintainer enters information into the configuration management information, the baseline management system 10 will determine whether it is a new device type based on the filled-in content such as the application name, application node name, etc. If it is determined to be a new device type, the server or network device maintainer will jump to the information entry module 12 page after entering the information in the configuration management system 20 (i.e., send the information entry list to the maintainer corresponding to the target device), and the application or device maintainer will fill in the baseline configuration template according to the page information (i.e., generate the baseline configuration template corresponding to the target device according to the filled-in information entry list returned by the maintainer).
[0109] The security baseline monitoring module 13 is used to: for the server devices in the baseline management system 10, regularly verify the security configuration information configured in the target device and compare it with the security baseline corresponding to the target device in the information entry module 12 every week, and monitor the devices that have not been baseline configured (or the devices whose configuration does not meet the baseline requirements).
[0110] The exception linkage module 14 is used to: when a server that is not configured with a security baseline is detected, the baseline management system 10 will automatically jump to the security exception system 40 to query whether there are relevant exceptions (that is, if the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline). When there are relevant exceptions involving this baseline content in the security exception system 40, the configuration will not be sent down for it.
[0111] The configuration delivery module 15 is used for: when it is detected that the server is not configured with a security baseline and no relevant exceptions are found, the baseline management system 10 sends the server information of the unconfigured security baseline to the corresponding maintainer via email. The content of the email includes two options: whether the baseline content can be configured. If no is selected, the security exception application page will be opened. If yes is selected, it will jump to the configuration delivery module of the baseline management system 10, and the server maintainer needs to select the time to send the configuration. The baseline management system 10 will automatically send the configuration to the server or device through the configuration delivery module 15 according to the selected time.
[0112] The configuration result display module 16 is used to display the results of the most recent monitoring and disposal, and the baseline configuration results of all servers and devices are displayed in the system. For servers that are not configured with a security baseline, the current risk is marked according to the importance of the security baseline. The system also supports exporting baseline configuration results in the form of reports, which is convenient for security management posts, server or equipment maintainers, etc. to understand the current baseline configuration status.
[0113] This application automatically obtains the basic information of the server (basic information of the server device and configuration information of the server device) by linking the baseline management system with the configuration management system; automatically obtains exception information by linking the baseline management system with the security exception system, and determines the servers (devices) that need to be configured with the baseline based on the basic information and exception information of the server, so as to ensure the comprehensiveness and reliability of the configuration management; through the security baseline monitoring module, it can timely monitor the server devices that have not been configured with the security baseline; for servers (devices) that are not configured with a baseline, the baseline configuration template of the information entry module and the configuration distribution module are used to realize the automatic distribution of the security baseline. The above process provides a comprehensive baseline management process, which effectively solves the problem of monitoring the baseline configuration of all devices and the automatic distribution of the security baseline configuration during the baseline management process. It runs through all stages of baseline management and realizes automated and comprehensive baseline management.
[0114] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0115] Based on the same inventive concept, the embodiment of the present application also provides a security baseline deployment device for implementing the security baseline deployment method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more security baseline deployment device embodiments provided below can refer to the limitations of the security baseline deployment method above, and will not be repeated here.
[0116] In an exemplary embodiment, as shown in FIG7 , a security baseline deployment device is provided, including: an acquisition module, a baseline generation module, a verification module and a deployment module, wherein:
[0117] The acquisition module 21 is used to acquire the device information of the target device; wherein the device information includes basic device information and device operation information;
[0118] A baseline generation module 22, used to generate a security baseline of a target device according to the device information;
[0119] Verification module 23, used to verify whether the security configuration information configured in the target device meets the security baseline;
[0120] The deployment module 24 is used to deploy the security baseline to the target device if the requirements are not met.
[0121] In one of the embodiments, the baseline generation module 22 is further used to: determine a baseline configuration template corresponding to the target device according to the device type information in the device basic information;
[0122] Extract the operation data corresponding to the item to be monitored from the equipment operation information;
[0123] Using the operating data, adjust the baseline configuration template to obtain the target baseline template;
[0124] Add the operating rules corresponding to the items to be monitored to the target baseline template to obtain the security baseline of the target device.
[0125] In one of the embodiments, the baseline generation module 22 is further used to: verify whether the target device is a new device according to the device type information in the device basic information;
[0126] If it is a new device, an information entry list will be sent to the maintainer of the target device;
[0127] Generate a baseline configuration template corresponding to the target device based on the filled-in information entry list returned by the maintainer.
[0128] In one of the embodiments, the baseline generation module 22 is further used to: verify whether the target device is a new device according to the device type information in the device basic information;
[0129] If it is an old device, query the baseline configuration template corresponding to the target device locally.
[0130] In one embodiment, the deployment module 24 is used to: send a baseline configuration query instruction to a maintenance party corresponding to the target device;
[0131] If a configuration response instruction is received from the maintainer, the security baseline is deployed to the target device.
[0132] In one of the embodiments, the apparatus further comprises a verification module for: matching the security configuration information configured in the target device with the security baseline for consistency;
[0133] If the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0134] Each module in the above security baseline deployment device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0135] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG8. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data of a security baseline configuration method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a security baseline deployment method is implemented.
[0136] Those skilled in the art will understand that the structure shown in FIG. 8 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0137] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0138] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0139] Generate a security baseline for the target device based on the device information;
[0140] Verify whether the security configuration information configured in the target device meets the security baseline;
[0141] If not, the security baseline is deployed to the target device.
[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the baseline configuration template corresponding to the target device based on the device type information in the device basic information; extracting the operation data corresponding to the monitored item from the device operation information; using the operation data, adjusting the baseline configuration template to obtain the target baseline template; adding the operation rules corresponding to the monitored item to the target baseline template to obtain the security baseline of the target device.
[0143] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the device type information in the device basic information, verify whether the target device is a new device; if it is a new device, send an information entry list to the maintenance party corresponding to the target device; based on the filled-in information entry list returned by the maintenance party, generate a baseline configuration template corresponding to the target device.
[0144] In one embodiment, when the processor executes the computer program, the following steps are also implemented: verifying whether the target device is a new device according to the device type information in the device basic information; if it is an old device, querying the baseline configuration template corresponding to the target device locally.
[0145] In one embodiment, when the processor executes the computer program, the following steps are also implemented: sending a baseline configuration query instruction to the maintainer corresponding to the target device; if a configuration response instruction returned by the maintainer is received, deploying the security baseline to the target device.
[0146] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the security configuration information configured in the target device is matched with the security baseline for consistency; if the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0147] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0148] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0149] Generate a security baseline for the target device based on the device information;
[0150] Verify whether the security configuration information configured in the target device meets the security baseline;
[0151] If not, the security baseline is deployed to the target device.
[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the baseline configuration template corresponding to the target device based on the device type information in the device basic information; extracting the operation data corresponding to the monitored item from the device operation information; using the operation data, adjusting the baseline configuration template to obtain the target baseline template; adding the operation rules corresponding to the monitored item to the target baseline template to obtain the security baseline of the target device.
[0153] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the device type information in the device basic information, verify whether the target device is a new device; if it is a new device, send an information entry list to the maintenance party corresponding to the target device; based on the filled-in information entry list returned by the maintenance party, generate a baseline configuration template corresponding to the target device.
[0154] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: verifying whether the target device is a new device based on the device type information in the device basic information; if it is an old device, querying the baseline configuration template corresponding to the target device locally.
[0155] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: a baseline configuration query instruction is sent to the maintainer corresponding to the target device; if a configuration response instruction is received from the maintainer, the security baseline is deployed to the target device.
[0156] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the security configuration information configured in the target device is matched with the security baseline for consistency; if the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0157] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0158] Obtain device information of the target device; wherein the device information includes basic device information and device operation information;
[0159] Generate a security baseline for the target device based on the device information;
[0160] Verify whether the security configuration information configured in the target device meets the security baseline;
[0161] If not, the security baseline is deployed to the target device.
[0162] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the baseline configuration template corresponding to the target device based on the device type information in the device basic information; extracting the operation data corresponding to the monitored item from the device operation information; using the operation data, adjusting the baseline configuration template to obtain the target baseline template; adding the operation rules corresponding to the monitored item to the target baseline template to obtain the security baseline of the target device.
[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the device type information in the device basic information, verify whether the target device is a new device; if it is a new device, send an information entry list to the maintenance party corresponding to the target device; based on the filled-in information entry list returned by the maintenance party, generate a baseline configuration template corresponding to the target device.
[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: verifying whether the target device is a new device based on the device type information in the device basic information; if it is an old device, querying the baseline configuration template corresponding to the target device locally.
[0165] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: a baseline configuration query instruction is sent to the maintainer corresponding to the target device; if a configuration response instruction is received from the maintainer, the security baseline is deployed to the target device.
[0166] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the security configuration information configured in the target device is matched with the security baseline for consistency; if the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
[0167] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0168] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0169] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0170] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A security baseline deployment method, characterized in that: The method comprises: Obtaining device information of the target device; wherein the device information includes basic device information and device operation information; Generating a security baseline of the target device according to the device information; Verifying whether the security configuration information configured in the target device meets the security baseline; If not, the security baseline is deployed to the target device.
2. The method according to claim 1, characterized in that Generating a security baseline of the target device according to the device information includes: Determine a baseline configuration template corresponding to the target device according to the device type information in the device basic information; Extracting operation data corresponding to the item to be monitored from the equipment operation information; Using the operating data, adjusting the baseline configuration template to obtain a target baseline template; The operation rules corresponding to the item to be monitored are added to the target baseline template to obtain the security baseline of the target device.
3. The method according to claim 2, characterized in that The determining, according to the device type information in the device information, a baseline configuration template corresponding to the target device includes: Verify whether the target device is a new device according to the device type information in the device basic information; If it is a new device, an information entry list is sent to the maintainer corresponding to the target device; A baseline configuration template corresponding to the target device is generated according to the filled-in information entry list returned by the maintainer.
4. The method according to claim 3, characterized in that The method further comprises: Verifying whether the target device is a new device according to the device type information in the device basic information; If it is an old device, the baseline configuration template corresponding to the target device is queried locally.
5. The method according to claim 1, characterized in that The deploying the security baseline to the target device includes: Sending a baseline configuration query instruction to the maintainer corresponding to the target device; If a configuration response instruction returned by the maintainer is received, the security baseline is deployed to the target device.
6. The method according to claim 1, characterized in that The method further comprises: Matching the security configuration information configured in the target device with the security baseline for consistency; If the consistency match fails and the configuration item corresponding to the target device does not exist in other baseline systems, it is determined that the security configuration information configured in the target device does not meet the security baseline.
7. A security baseline deployment device, characterized in that: The device comprises: An acquisition module is used to acquire device information of a target device; wherein the device information includes basic device information and device operation information; A baseline generation module, used to generate a security baseline of the target device according to the device information; A verification module, used to verify whether the security configuration information configured in the target device meets the security baseline; A deployment module is used to deploy the security baseline to the target device if the conditions are not met.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
