Data center host security test method
By designing detailed test indicators and use cases, comprehensively testing the security functions of data center hosts, solving the problem of insufficient host security testing in the existing technology, improving the accuracy and efficiency of the test, and reducing the risk of attacks.
Patent Information
- Application Number
- CN202411011507.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-15
AI Technical Summary
The lack of mature host security protection software testing methods and standards in the prior art has led to incomplete data center host security testing, making it difficult to accurately identify intrusion threats and malware, and improve attack defense capabilities.
Provide a data center host security testing method, by clarifying test indicators and designing test cases, including management platform, client management, asset management, security baseline, vulnerability management, intrusion threat detection, malicious code prevention, network micro-isolation, log audit and container security tests, simulate actual network structure, execute tests and generate security reports.
Comprehensive security testing of data center hosts has been realized, potential hidden dangers and vulnerabilities have been identified, the accuracy and efficiency of security testing have been improved, the risks of malicious attacks and data leakage have been reduced, and the construction of host security protection has been promoted.
Smart Images

Figure CN118965364A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data centers, and in particular to a data center host security testing method. Background Art
[0002] A data center is a facility that centrally stores, manages, and processes large amounts of data, usually consisting of servers, storage devices, network devices, and other related equipment. Data centers provide a specific network of devices for global collaboration, used to transmit, accelerate, display, calculate, and store data information on the Internet infrastructure. In a network security system, hosts / servers that carry critical services and data are often the ultimate target of attackers. In a modern, in-depth, hierarchical network security defense system, the security of hosts that carry enterprise business applications and data in the form of servers is often the last and most critical link. However, in the field of network security testing, there are relatively mature testing methods and specifications for defense solutions such as border security and cloud security, but for the testing of host security protection software, there are currently no mature testing methods, specifications, or standards at home and abroad.
[0003] Currently, the industry does not have a strict definition of the functions that host security protection solutions are required to support, which generally include but are not limited to asset / vulnerability management, integrity checking, security baselines, intrusion threat detection and response, malicious code protection, network micro-isolation, log auditing, container security, etc. At the same time, because of the different ways of enterprise network security construction, host security protection solutions are not required to have all of the above functions. For example, container security, or honeypot / honeynet functions are usually optional for host security protection solutions, and enterprises can also deploy special solutions to achieve these functions.
[0004] Therefore, based on the basic content, this patent will list as many host security function requirements as possible, as well as the corresponding test methods, in order to cover the current industry requirements for host security protection. At the same time, this patent will focus on the test of "accuracy of detection and response to intrusion threats, malware" capabilities, and the test will refer to MITRE Framework, conduct single attack stage, and full-stage attack simulation of the entire APT attack.
[0005] Therefore, there is an urgent need to improve this shortcoming. The present invention studies and improves the existing technology and its shortcomings, and provides a data center host security testing method to fill the gap in the current industry's host security protection. Summary of the invention
[0006] The purpose of the present invention is to provide a data center host security testing method to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solution: a data center host security testing method, comprising the following steps:
[0008] S1. Test indicator stage: Based on the test purpose and requirements, the test indicators are clearly defined, including the capability requirements of the management platform, client management, asset management, security baseline management, security vulnerability management, intrusion threat detection, malicious code prevention, network micro-isolation, log auditing, and container security, and test cases are designed for each test indicator in turn;
[0009] S2, Test topology stage: Build the test topology according to actual requirements and test objectives, and simulate or reproduce the logical or physical layout of the actual network or system structure in the test environment; the test topology includes the following information:
[0010] Network structure: describes the connection mode and communication protocol between various devices in the network (such as routers, switches, firewalls, etc.);
[0011] System configuration: describes the hardware configuration, operating system, application software and other information of each system (such as server, client, middleware, etc.);
[0012] Data transmission path: describes the path and method of data transmission from source to destination in the test environment;
[0013] Security settings: describe the security policies and measures in the test environment, such as firewall rules, intrusion detection systems, etc.
[0014] S3, test execution phase:
[0015] S31. Capability requirement test of the management platform: Test cases include the delivery form of the management platform, the number of clients supported by the management platform, cascade management capabilities, decentralized and domain-based management of user accounts, threat display / correlation analysis capabilities, policy delivery capabilities, self-security capabilities, and linkage capabilities of third-party platforms;
[0016] S32, Client management test: Test cases include client system compatibility, installation and deployment capabilities, resource occupancy, business occupancy threshold settings, and self-security capabilities;
[0017] S33, Asset Management Test: Test cases include operating system information collection, application software information collection, and host scanning without the host security client installed;
[0018] S34, Security baseline management test: Test cases include support for security baseline check, custom security baseline, and integrity baseline;
[0019] S35, Security vulnerability management test: Test cases include operating system vulnerabilities, patch management, application software, middleware, database vulnerability management, and weak password management;
[0020] S36, Intrusion Threat Detection Test: Test cases include abnormal login detection, webshell check, rebound shell detection, abnormal process detection, process privilege escalation behavior detection, and honeypot support;
[0021] S37, Malicious code prevention test: Test cases include support for local virus detection + cloud sandbox / threat intelligence library, whitelist path, virus isolation, file restoration, virus malicious external connection monitoring, and fileless attack inspection;
[0022] S38, Network micro-isolation test: Test cases include micro-isolation strategy, traffic visualization, multi-NIC rule issuance, and flexible isolation strategy;
[0023] S39, Log audit test: Test cases include log collection and log analysis;
[0024] S310, container security testing: test cases include container image security, container startup security, and container runtime security;
[0025] S4, test report stage: statistics the test results of all test cases, and write a test report or security assessment report to generate a security evaluation of the data center host.
[0026] Furthermore, the test cases for the capability requirements of the management platform are as follows:
[0027] Delivery form of the management platform: used to verify the delivery form of the host security protection software management platform;
[0028] The number of clients supported by the management platform: used to verify the maximum number of clients (Agents) that can be managed by management platforms of different specifications;
[0029] Cascading management capability: used to verify the cascading capability of the management platform under the requirement of large-scale client deployment;
[0030] Decentralized and domain-based management of user accounts: used to verify that user accounts have different management levels and permissions;
[0031] Threat display / correlation analysis capabilities: used to verify the threat display / correlation analysis capabilities of the management interface;
[0032] Policy delivery capability: used to verify that the management platform has the ability to deliver unified policies to the client;
[0033] Self-security capability: used to verify that the management platform itself has security protection capabilities;
[0034] Linkage capability of third-party platforms: used to verify that the management platform can link with third-party SIEM / SOAR.
[0035] Furthermore, the test cases managed by the client are as follows:
[0036] Client system compatibility: used to verify that the host security client / agent can support mainstream and enterprise-required operating systems, and can run compatible with mainstream middleware, web frameworks, databases, and container environments;
[0037] Installation and deployment capability: used to verify that the host security client / agent can be installed on the host in batches;
[0038] Resource usage: used to verify the resource usage of the host security client / agent on the host;
[0039] Business occupation threshold setting: used to verify that the host security client / agent can automatically sleep when the business occupation resources reach the threshold;
[0040] Self-security capability: used to verify that the host security client / agent is secure and robust.
[0041] Furthermore, the test cases of the asset management are as follows:
[0042] Operating system information collection: used to verify that the host security client / agent can collect the host's operating system information;
[0043] Application software information collection: used to verify that the host security client / agent can collect the host's application software information;
[0044] Host scan without Host Security Client installed: used to verify that the Host Security software supports scanning hosts on the network that do not have the client installed.
[0045] Furthermore, the test cases for the security baseline management are as follows:
[0046] Supports security baseline check: used to verify that the host security software supports "Level Protection 2.0" security baseline check for the host;
[0047] Customized security baseline: used to verify that the host security software supports customized security baseline templates;
[0048] Integrity baseline: used to verify that host security software supports integrity monitoring.
[0049] Furthermore, the test cases for the security vulnerability management are as follows:
[0050] Operating system vulnerability and patch management: used to verify that the host security software supports operating system vulnerability and patch management;
[0051] Vulnerability management of application software, middleware, and databases: used to verify that the host security software supports vulnerability management of application software, middleware, and databases;
[0052] Weak password management: used to verify that the host security software supports weak password management for system and application software accounts.
[0053] Furthermore, the test cases for the intrusion threat detection are as follows:
[0054] Abnormal login detection test: used to verify that the host security software supports the detection of abnormal user login behavior;
[0055] Webshell check: used to verify that the host security software supports the detection, isolation, and recovery of webshells;
[0056] Rebound Shell Detection: used to verify that the host security software supports the detection of rebound shell behavior;
[0057] Abnormal process detection: used to verify that the host security software supports the detection of abnormal processes;
[0058] Process privilege escalation behavior detection: used to verify that the host security software supports the detection of process privilege escalation behavior;
[0059] Honeypot support: Used to verify that the host security software supports lightweight honeypot deployment.
[0060] Furthermore, the test cases for malicious code prevention are as follows:
[0061] Support local virus detection + cloud sandbox / threat intelligence library: used to verify that the host security client supports local virus detection and cloud sandbox / threat intelligence library integration;
[0062] Whitelist path: used to verify the host security client supports the file whitelist path;
[0063] Virus isolation: used to verify that the host security client supports virus isolation settings;
[0064] File restore: used to verify that the host security client supports the restore / rollback of encrypted files;
[0065] Virus and malicious external connection monitoring: used to verify that the host security client supports monitoring of malicious external connection behaviors;
[0066] Fileless attack check: Used to verify that the host security client supports monitoring of malicious external connection behaviors.
[0067] Furthermore, the test cases of the network micro-isolation are as follows:
[0068] Micro-isolation policy: used to verify that the host security client supports the network micro-isolation policy;
[0069] Traffic visualization: used to verify that the host security client supports network traffic visualization;
[0070] Multi-NIC rule delivery: used to verify that the host security client supports multi-NIC rule delivery;
[0071] Flexible isolation policy: Used to verify that the host security client supports flexible network micro-isolation policies based on different time periods.
[0072] Furthermore, the test cases for the log audit are as follows:
[0073] Log collection: used to verify that the host security client supports the collection of various logs;
[0074] Log analysis: used to verify that the host security client supports log analysis;
[0075] The specific test cases for container security are as follows:
[0076] Container image security: used to verify that the host security client supports container image security analysis;
[0077] Container startup security: used to verify that the host security client supports the detection of container startup security;
[0078] Container runtime security: used to verify that the host security client supports security protection for running containers.
[0079] The present invention provides a data center host security testing method, which has the following beneficial effects:
[0080] The present invention proposes a set of reasonable testing methods for host security protection, and designs test cases from the aspects of delivery form of management platform, client management, asset management, security baseline management, security vulnerability management, intrusion threat detection, malicious code prevention, network micro-isolation, log auditing, container security, etc., which can comprehensively cover all aspects of data center hosts and effectively identify security risks and vulnerabilities existing in the hosts, and safeguard the safe and stable operation of data center hosts, thereby promoting the construction of host security protection in the data center field from the perspective of security testing. Compared with traditional testing methods, it has higher accuracy and efficiency, helps to improve the level of security testing, and provides more comprehensive and effective security protection for host security; in addition, through this testing method, potential security vulnerabilities of the host can be discovered and processed in time, reducing the possibility of malicious attacks or data leakage risks of the data center host. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 A test topology diagram of a data center host security testing method according to the present invention. DETAILED DESCRIPTION
[0082] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0083] like Figure 1 As shown, a data center host security testing method includes the following steps:
[0084] S1. Test indicator stage: Based on the test purpose and requirements, the test indicators are clearly defined, including the capability requirements of the management platform, client management, asset management, security baseline management, security vulnerability management, intrusion threat detection, malicious code prevention, network micro-isolation, log auditing, and container security, and test cases are designed for each test indicator in turn;
[0085] S2, Test topology stage: Build the test topology according to actual requirements and test objectives, and simulate or reproduce the logical or physical layout of the actual network or system structure in the test environment; the test topology includes the following information:
[0086] Network structure: describes the connection mode and communication protocol between various devices in the network (such as routers, switches, firewalls, etc.);
[0087] System configuration: describes the hardware configuration, operating system, application software and other information of each system (such as server, client, middleware, etc.);
[0088] Data transmission path: describes the path and method of data transmission from source to destination in the test environment;
[0089] Security settings: describe the security policies and measures in the test environment, such as firewall rules, intrusion detection systems, etc.
[0090] S3, test execution phase: In this phase, all test cases are tested for one-way security functions using Figure 1 Test topology shown;
[0091] S31. Capability requirements test of management platform:
[0092] S311, Management platform delivery form test: used to verify the delivery form of the host security protection software management platform;
[0093] Test steps:
[0094] 1) If it is a hardware form (independent server), perform hardware checks (check hardware CPU, memory, hard disk and other resources) and software checks (including operating system, application software, etc.);
[0095] 2) If it is in the form of a virtual machine, deployment testing is performed on the virtualization platform commonly used by the enterprise based on the required CPU, memory, and hard disk specifications;
[0096] 3) If the software is to be installed, use an operating system supported by the product and perform manual installation tests according to the instructions provided;
[0097] 4) This article does not consider the cloud service delivery form;
[0098] Expected results:
[0099] A. It can be successfully installed and the management interface can be opened;
[0100] S312, the management platform supports the number of clients test: used to verify the management platform of different specifications, can support the maximum number of clients (Agent) management;
[0101] Test steps:
[0102] 1) There is no convenient and feasible test method in the laboratory test, and the specification reference is provided according to the product;
[0103] Expected results:
[0104] A. Provide relevant specifications for products;
[0105] S313, Cascade management capability test: used to verify the cascade capability of the management platform under the requirements of large-scale client deployment;
[0106] Test steps:
[0107] 1) Deploy two management platforms and use management platform A to manage management platform B;
[0108] 2) Deploy the client on the host and use management platform B for management;
[0109] Expected results:
[0110] A. Management platform A can manage all clients in a unified manner;
[0111] S314, user account decentralized management test: used to verify that user accounts have different management levels and permissions;
[0112] Test steps:
[0113] 1) Create user accounts and assign different levels, such as administrator (all permissions), ordinary user (view permissions), etc.; assign different permissions and different host domain permissions (different dimensions of host domain division are made for hosts);
[0114] 2) Log in to the user account, query information of different levels, and query hosts in different host domains;
[0115] Expected results:
[0116] A. The user account has the corresponding permissions, but does not have cross-level or cross-domain permissions;
[0117] S315, Threat display / correlation analysis capability test: used to verify the threat display / correlation analysis capability of the management interface;
[0118] Test steps:
[0119] 1) Log in to the management interface and check the results of the simulated attack in the subsequent "Intrusion Threat Detection" and "APT Test" sections;
[0120] 2) Supports overall risk display for all management hosts; and provides threat type analysis, top alarm type statistics, threat event trend analysis, suspected invaded hosts, weak passwords, high-risk vulnerabilities, intrusion threats, and virus and Trojan statistics;
[0121] 3) Support the ability to conduct correlation analysis on relevant threat events according to the timeline;
[0122] Expected results:
[0123] A. A user-friendly display interface can be provided for the above requirements;
[0124] S316, policy delivery capability test: used to verify that the management platform has the ability to deliver unified policies to the client;
[0125] Test steps:
[0126] 1) Group the deployed hosts according to different operating system types, locations, business types, and custom tags;
[0127] 2) Issue policies to hosts in different groups, such as issuing custom intrusion prevention rules;
[0128] Expected results:
[0129] A. The rules are successfully delivered to the hosts in the same group, but no rules are delivered to the hosts in other groups;
[0130] S317, Self-security capability test: used to verify that the management platform itself has security protection capabilities;
[0131] Test steps:
[0132] 1) Check the login of the management platform, and check whether it has the capabilities of graphic code verification and multi-factor authentication;
[0133] 2) Use typical host scanning tools (such as nmap) to perform port scanning on the management IP;
[0134] 3) Use typical web vulnerability scanning tools (such as nikto) to perform web scanning on the management IP;
[0135] 4) Use a username and password cracking tool (such as hydra) to crack web logins;
[0136] Expected results:
[0137] A. The management platform should support login verification capabilities; no non-service ports should be exposed; no high-level web vulnerabilities;
[0138] S318, third-party platform linkage capability test: used to verify that the management platform can be linked to third-party SIEM / SOAR;
[0139] Test steps:
[0140] 1) Build open source SIEM software (such as open source version of Splunk, ELK, etc.) and SIEM / SOAR software actually used by enterprises;
[0141] 2) On the host security software, capabilities are connected through syslog, API and other settings;
[0142] Expected results:
[0143] A. It can achieve the following capabilities: host security software can automatically output logs to SIEM, and SIEM can actively query the host security status through API;
[0144] S32, Client management test:
[0145] S321, Client system compatibility test: used to verify that the host security client / agent can support mainstream and enterprise-required operating systems, and can run compatible with mainstream middleware, web frameworks, databases, and container environments;
[0146] Test steps:
[0147] 1) Prepare the host to install mainstream operating systems such as Windows, Linux, Unix, domestic operating systems, and enterprise self-developed operating systems;
[0148] 2) The host has business software such as Apache / Tomcat / Oracle / MySql installed, or a container environment such as Docker / K8S installed;
[0149] 3) Install the host security software client manually or by script;
[0150] 4) Manage hosts, obtain information, and execute policies on the host security management platform;
[0151] Expected results:
[0152] A. Host security client can run compatibly on the above hosts for management and control;
[0153] S322, installation and deployment capability test: used to verify that the host security client / agent can be installed on the host in batches;
[0154] Test steps:
[0155] 1) Prepare two or more Linux and Windows hosts;
[0156] 2) Install clients in batches according to the installation commands and scripts provided by the host security software; the product can also provide batch uninstallation and stop / enable capabilities for clients;
[0157] Expected results:
[0158] A. Host security clients can be installed and uninstalled in batches;
[0159] S323, resource usage test: used to verify the resource usage of the host security client / Agent on the host;
[0160] Test steps:
[0161] 1) Prepare Linux and Windows hosts with given CPU / memory resources and install typical business software (such as a web server);
[0162] 2) Use test instruments to simulate business access with a certain pressure (such as web page access); check the client's CPU, memory, and IO resource usage;
[0163] 3) Use attack tools to simulate attacks (such as brute force cracking of login pages, webshell upload); check the client's CPU, memory, and IO usage;
[0164] 4) Stop the attack simulation; actively perform operations on the host security software management platform (such as virus scanning, baseline checking, etc.); check the client's CPU, memory, and IO resource usage;
[0165] Expected results:
[0166] A. The resource usage of the host security client meets the requirements of the enterprise;
[0167] S324, business occupation threshold setting test: used to verify that the host security client / Agent can automatically sleep when the business occupation resources reach the threshold;
[0168] Test steps:
[0169] 1) Prepare Linux and Windows hosts with given CPU / memory resources and install typical business software (such as a web server);
[0170] 2) Set the client's CPU and memory working thresholds on the host security management platform;
[0171] 3) Use business simulation software to simulate business access (such as web page access) with a certain pressure, exceeding the set threshold;
[0172] 4) Check whether the client automatically goes to sleep;
[0173] Expected results:
[0174] A. When the CPU / memory resources occupied by the host security client exceed the set threshold, the client will automatically go into sleep mode to prioritize business operation;
[0175] S325, Self-security capability test: used to verify the security and robustness of the host security client / Agent;
[0176] Test steps:
[0177] 1) Prepare Linux and Windows hosts with Host Security Client installed;
[0178] 2) By forcibly modifying or deleting client-side mobile scripts or dependent software;
[0179] 3) Forcefully kill the client process by killing the process;
[0180] Expected results:
[0181] A. The host security client has anti-tampering and anti-killing mechanisms;
[0182] S33, Asset Management Test:
[0183] S331, operating system information collection test: used to verify that the host security client / agent can collect the host's operating system information;
[0184] Test steps:
[0185] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0186] 2) Issue policies on the host security management platform and collect host information, including system hardware information, operating system information, user accounts, network card addresses, system services, processes, port numbers, scheduled tasks, startup items, and other information collection and monitoring;
[0187] Expected results:
[0188] A. Host security client can collect information at the host operating system level;
[0189] S332, application software information collection test: used to verify that the host security client / agent can collect the host's application software information;
[0190] Test steps:
[0191] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0192] 2) Issue policies on the host security management platform, collect and monitor information on installation packages, web frameworks, middleware, databases, Java packages / libraries and other dependent software;
[0193] Expected results:
[0194] A. Supports the collection of application software information on the host, including version, installation path, listening address and port, port protocol type, running permissions, configuration file path, log file path, error log file path, plug-in path, data path, process binary path, and startup parameters;
[0195] S333, Host scanning test without host security client installed: used to verify that the host security software supports scanning hosts without client installed in the network;
[0196] Test steps:
[0197] 1) Prepare hosts with and without Host Security Client installed.
[0198] 2) Perform active scanning tasks on the target network segment on the host security management platform;
[0199] Expected results:
[0200] A. Host security software can discover all hosts in the target network segment and list hosts without client installed;
[0201] S34, Security Baseline Management Test:
[0202] S341, support for security baseline check test: used to verify that the host security software supports "Level Protection 2.0" security baseline check for the host;
[0203] Test steps:
[0204] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0205] 2) Use the baseline check template of "Level Protection 2.0" to conduct a baseline check of the host operating system, application software, and database; if there are any non-compliant items, fix them according to the given solutions and then conduct another baseline check;
[0206] Expected results:
[0207] A. The host security software supports the baseline template of "Level Protection 2.0" by default, and can give specific improvement suggestions based on the inspection results;
[0208] S342, Customized security baseline test: used to verify that the host security software supports customized security baseline templates;
[0209] Test steps:
[0210] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0211] 2) Customize security baselines for typical operating systems, business software, middleware, and databases used by the enterprise based on the enterprise's own accumulated checklists and knowledge base;
[0212] 3) Use the custom baseline template to perform a baseline check on the host; if there are any non-compliant items, fix them according to the given solutions and perform another baseline check;
[0213] Expected results:
[0214] A. Host security software supports custom security baselines, performs security checks, and provides specific gaps and improvement suggestions;
[0215] S343, Integrity Baseline Test: used to verify that the host security software supports integrity monitoring;
[0216] Test steps:
[0217] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0218] 2) On the host security management platform, scan and define key registry keys / values, services, processes, installed software, ports and important files on the host, and perform integrity monitoring scans;
[0219] 3) Modify key files (such as / etc / password, executable files in / bin, registry keys, etc.) and check the alarms of the host security software;
[0220] Expected results:
[0221] A. Host security software can detect that key files have been modified and issue an alert in time;
[0222] S35, Security vulnerability management test:
[0223] S351, operating system vulnerability and patch management test: used to verify that the host security software supports operating system vulnerability and patch management;
[0224] Test steps:
[0225] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0226] 2) Scan the operating system on the host security management platform and list installed patches, uninstalled patches, and vulnerabilities;
[0227] 3) Install the given system patch and scan the system again;
[0228] 4) Use open source or commercial system vulnerability scanning tools to scan the host for vulnerabilities; compare the results of the vulnerability scanning tool with the scan results of the host security software;
[0229] Expected results:
[0230] A. Host security software can scan operating system patches and vulnerabilities and provide detailed improvement suggestions; the results obtained are similar to those of other vulnerability scanning tools;
[0231] S352, Application software, middleware, database vulnerability management test: used to verify that the host security software supports vulnerability management for application software, middleware, and database;
[0232] Test steps:
[0233] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0234] 2) Perform vulnerability scans on the host security management platform and provide vulnerability results and modification suggestions;
[0235] 3) Fix the software vulnerabilities according to the given suggestions and perform vulnerability scan again;
[0236] 4) Use open source or commercial web vulnerability scanning tools to scan web services for vulnerabilities; compare the results of the vulnerability scanning tool with the scan results of the host security software;
[0237] Expected results:
[0238] A. Host security software can manage software vulnerabilities and provide detailed improvement suggestions; and the scanning results are similar to those of other vulnerability scanning tools;
[0239] S353, weak password management test: used to verify that the host security software supports weak password management for system and application software accounts;
[0240] Test steps:
[0241] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0242] 2) On the host security management platform, you can view the built-in weak password dictionary and customize it; and use the dictionary to check weak passwords;
[0243] 3) If a weak password is found, check whether there is a corresponding account on the corresponding operating system, application software, and database, and modify it; if not found, add the account using the weak password on the operating system, application software, and database;
[0244] 4) Perform weak password check again on the host security platform;
[0245] Expected results:
[0246] A. The host security software has a default weak password dictionary, which can be customized; and can accurately check weak passwords for operating system, application software, and database accounts;
[0247] S36, Intrusion Threat Detection Test:
[0248] S361, abnormal login detection test: used to verify that the host security software supports the detection of abnormal user login behavior;
[0249] Test steps:
[0250] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0251] 2) Define the legal IP, time period and other conditions for user login for the operating system, application service and database account on the host security management platform;
[0252] 3) Use illegal IP or time period to log in to the operating system, application service, database, etc. and check whether there is an alarm;
[0253] 4) Use brute force tools to brute force login to the account and check if there is any alarm;
[0254] Expected results:
[0255] A. Host security software can detect abnormal logins and issue alarms for customized user login IPs and time periods;
[0256] S362, webshell inspection test: used to verify that the host security software supports the detection, isolation, and recovery of webshells;
[0257] Test steps:
[0258] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0259] 2) In the web service, upload typical webshell samples (such as PHP, jsp, asp, etc.);
[0260] 3) Check whether the host security software has any alarms, and whether the webshell file has been cleared in the host's upload directory;
[0261] 4) Check if there is a function in the host security software to restore the cleared / isolated webshell files;
[0262] Expected results:
[0263] A. Host security software can automatically detect and clear / isolate webshell files, and has a recovery option;
[0264] S363, Rebound Shell Detection Test: used to verify that the host security software supports the detection of rebound shell behavior;
[0265] Test steps:
[0266] 1) Prepare a Linux host with a host security client installed, and install typical enterprise application software, middleware, and database (you can consider using a typical virtual machine image on the existing network, or a typical target machine such as DVWA, Webgoat, etc.);
[0267] 2) In host A, listen to the specified port; and in host B with the host security software client installed, perform a rebound shell on the IP and port of host A, including but not limited to bash, Perl, Python, redirection, etc.;
[0268] 3) Check whether the host security software has corresponding alarms and block the connection;
[0269] Expected results:
[0270] A. Host security software can automatically detect and block rebound shell behaviors and issue an alarm. Detailed information includes the rebound shell process, process running parameters, parent process and parent process running parameters, local address and rebound destination address, etc.
[0271] S364, abnormal process detection test: used to verify that the host security software supports the detection of abnormal processes;
[0272] Test steps:
[0273] 1) Prepare a Linux host with a host security client installed, and install typical enterprise application software, middleware, and database (you can consider using a typical virtual machine image on the existing network, or a typical target machine such as DVWA, Webgoat, etc.);
[0274] 2) In the Linux host, start a process at random (such as using curl to download a large file); use the open source tool libprocesshider
[0275] (https: / / github.com / gianlucaborello / libprocesshider, or other similar tools) to hide the process;
[0276] 3) Check whether the host security software has corresponding alarms and take corresponding measures (such as killing the attack process);
[0277] Expected results:
[0278] A. Host security software can detect abnormal processes, such as child processes with higher permissions than parent processes, hidden processes, hidden port processes, etc.
[0279] S365, process privilege escalation behavior detection test: used to verify that the host security software supports the detection of process privilege escalation behavior;
[0280] Test steps:
[0281] 1) Prepare a Linux host with the host security client installed (this test requires the kernel to meet the defects used in the test);
[0282] 2) Use the proof-of-concept tool for CVE-2022-0847 or other similar privilege escalation tools / methods for testing;
[0283] 3) Check whether the host security software has corresponding alarms and prevent privilege escalation behavior;
[0284] Expected results:
[0285] A. Host security software can conduct real-time monitoring and, combined with behavior recognition technology, detect process privilege escalation behaviors in real time;
[0286] S366, Honeypot support test: used to verify that the host security software supports lightweight honeypot deployment;
[0287] Test steps:
[0288] 1) Prepare a Linux / Windows host with the Host Security Client installed;
[0289] 2) Deploy a honeypot on the target host on the host security management platform, and enable specified application services (such as web, smb, etc.) by customization;
[0290] 3) On another host, use tools such as nmap and web vulnerability scanning to scan the target host;
[0291] Expected results:
[0292] A. The honeypot deployed by the host security client can detect scan misses and issue an alarm;
[0293] S37, Malicious code prevention test:
[0294] S371, support local virus detection + cloud sandbox / threat intelligence library test: used to verify that the host security client supports local virus detection and cloud sandbox / threat intelligence library integration;
[0295] Test steps:
[0296] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0297] 2) Upload well-known viruses from previous years (including ransomware, remote control, etc., including compression) to the host;
[0298] 3) Select the latest wild virus and upload it to the host;
[0299] Expected results:
[0300] A. The host security client supports local virus detection and killing functions; it can directly delete known virus files to ensure real-time virus detection and killing without leaving the files on the disk;
[0301] B. The host security client supports cloud sandbox analysis. First, the suspicious files are isolated, and then an alarm is issued and deleted after cloud sandbox analysis.
[0302] S372, whitelist path test: used to verify that the host security client supports the file whitelist path;
[0303] Test steps:
[0304] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0305] 2) The known viruses in the previous test case are uploaded to the customer-defined whitelist path;
[0306] 3) Check whether the virus has been detected and killed;
[0307] Expected results:
[0308] A. Host security client supports custom whitelist paths to ensure that files in the path are trusted and not detected;
[0309] S373, virus isolation test: used to verify that the host security client supports virus isolation settings;
[0310] Test steps:
[0311] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0312] 2) Set up automatic isolation of detected viruses on the host security management platform. Instead of deleting the virus files, isolate them to a specified local path;
[0313] 3) Use the known virus in the previous test case and upload it to the host;
[0314] 4) Check whether the virus is isolated normally;
[0315] Expected results:
[0316] A. Host security client supports virus isolation settings;
[0317] S374, file restoration test: used to verify that the host security client supports restoration / rollback of encrypted files;
[0318] Test steps:
[0319] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0320] 2) Set up the host security management platform to only issue warnings for viruses without performing virus detection and elimination;
[0321] 3) Upload typical ransomware files and execute them, causing certain files in the system to be encrypted;
[0322] 4) The encrypted files can be viewed on the host security management platform, and the files can be restored / rolled back;
[0323] Expected results:
[0324] A. Host security client supports the ability to restore encrypted files;
[0325] S375, virus malicious external connection monitoring test: used to verify that the host security client supports the monitoring of malicious external connection behavior;
[0326] Test steps:
[0327] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database (you can consider using typical virtual machine images on the existing network, or using typical target machines such as DVWA, Webgoat, etc.);
[0328] 2) Set up the host security management platform to only issue warnings for viruses without performing virus detection and elimination;
[0329] 3) Upload typical backdoor viruses and execute them;
[0330] 4) Malicious external connection behavior of the virus can be viewed on the host security management platform;
[0331] Expected results:
[0332] A. The host security client supports the monitoring of malicious external behaviors of viruses and displays information including target domain name, IP, port, and use of encrypted tunnels;
[0333] S376, Fileless attack check test: used to verify that the host security client supports monitoring of malicious external connection behaviors;
[0334] Test steps:
[0335] 1) Prepare a Linux host with a host security client installed, and install typical enterprise web software (such as Tomcat, etc.), middleware, and database (you can consider using a typical virtual machine image on the existing network, or a typical target machine such as DVWA, Webgoat, etc.);
[0336] 2) Use open source attack tools (such as metasploit / cobaltstrike, etc.) to inject memory Trojans into the Java process of Tomcat; or use Python JIT to load malicious code and other attack behaviors;
[0337] 3) Fileless attack behaviors can be detected on the host management platform
[0338] Expected results:
[0339] A. The host security client supports the detection of fileless attack behaviors and provides information such as memory loading method, file path, and decompiled malicious code;
[0340] S38, Network micro-isolation test:
[0341] S381, Micro-isolation policy test: used to verify that the host security client supports the network micro-isolation policy;
[0342] Test steps:
[0343] 1) Prepare multiple Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database;
[0344] 2) Set up ingress and egress rules based on IP addresses, TCP / UDP ports, and different protocols / processes on the host security management platform;
[0345] 3) Verify the allowed and blocked rules one by one by generating traffic;
[0346] Expected results:
[0347] A. The host security client supports micro-isolation strategies and can support flexible in-and-out stack security rule settings based on IP addresses, TCP / UDP ports, and different protocols / processes;
[0348] B. Isolation policies can be flexibly issued to a single host, multiple hosts, or host groups;
[0349] C. Support recording the source and destination IP addresses, ports, processes, time points and other information of blocked access;
[0350] S382, Traffic visualization test: used to verify that the host security client supports network traffic visualization;
[0351] Test steps:
[0352] 1) Prepare multiple Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database;
[0353] 2) Randomly start protocol access on the host through scripts or manually, such as http, ftp, database and other protocol access;
[0354] 3) Check the access relationship between hosts on the host security management platform;
[0355] Expected results:
[0356] A. Host protection software can determine the access relationship between hosts based on traffic identification; it can draw a topological view or report of the access relationship between hosts on the management platform; the source IP and destination port information of the access can be viewed in the topological view or report; it supports searching the access relationship by time;
[0357] S383, multiple network card rule delivery test: used to verify that the host security client supports multiple network card rule delivery;
[0358] Test steps:
[0359] 1) Prepare multiple Linux and Windows hosts with host security clients installed. Each host supports two network cards, A and B.
[0360] 2) Set up ingress and egress rules based on IP addresses, TCP / UDP ports, and different protocols / processes on the host security management platform, and set different rules for network cards A and B;
[0361] 3) Generate traffic and verify the allowed and blocked rules one by one through network cards A and B;
[0362] Expected results:
[0363] A. Host security client supports issuing different security policies to different network cards;
[0364] S384, Flexible Isolation Policy Test: used to verify that the host security client supports flexible network micro-isolation policies based on different time periods;
[0365] Test steps:
[0366] 1) Prepare multiple Linux and Windows hosts with host security clients installed, and install typical enterprise web software (such as Apache, Tomcat, IIS, etc.), middleware, and database;
[0367] 2) Set up ingress and egress rules based on IP addresses, TCP / UDP ports, and different protocols / processes on the host security management platform; and set up different protection strategies based on time periods;
[0368] 3) Generate traffic in different time periods (host time can be adjusted) and verify the rules for allowing and blocking one by one;
[0369] Expected results:
[0370] A. Host security client supports setting different security rules based on time periods;
[0371] S39, log audit test:
[0372] S391, Log collection test: used to verify that the host security client supports the collection of various logs;
[0373] Test steps:
[0374] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0375] 2) Log into the host manually or through scripts (such as using ssh or RDP); access the host's services (such as web login, browsing);
[0376] 3) Check the log records of this host on the host security management platform, which should include the corresponding operating system login log, web service and database response log;
[0377] Expected results:
[0378] A. Host security client supports log collection, including collection of operating system, database, middleware, and application logs; and provides log decoders to normalize various types of logs, and supports transferring events to the management platform for correlation analysis, reporting, and archiving;
[0379] S392, Log analysis test: used to verify that the host security client supports log analysis;
[0380] Test steps:
[0381] 1) Prepare Linux and Windows hosts with host security clients installed, and install typical enterprise application software, middleware, and databases (you can consider using typical virtual machine images on the existing network);
[0382] 2) Log in to the host manually or through scripts (such as using ssh or RDP); access the host's services (such as web login, browsing); and use attack tools to perform brute force cracking (previously, the intrusion threat blocking function of the host security software needs to be disabled);
[0383] 3) Check the log records of this host on the host security management platform, which should include the corresponding operating system login log, web service and database response log; and give warnings about brute force cracking;
[0384] Expected results:
[0385] A. Host security client supports content analysis of logs of operating systems, application software, databases, etc. If high-risk suspicious behaviors are found (such as a large number of users logging in repeatedly, log files being deleted, key files being modified, adding high-authority users, etc.), real-time alarms will be issued;
[0386] S310, container security testing:
[0387] S3101, Container image security test: used to verify that the host security client supports container image security analysis;
[0388] Test steps:
[0389] 1) Prepare a Linux host with the host security client installed and deploy a docker / k8s environment;
[0390] 2) Manually create an nginx container image containing a webshell in the file directory and upload it to the image repository;
[0391] 3) The container image can be scanned on the host security management platform and an alarm can be issued for the image;
[0392] Expected results:
[0393] A. The host security client supports scanning container images. If the image contains various viruses or software with low versions and known high-risk vulnerabilities, an alarm will be issued.
[0394] S3102, container startup security test: used to verify that the host security client supports the detection of container startup security;
[0395] Test steps:
[0396] 1) Prepare a Linux host with the host security client installed and deploy a docker / k8s environment;
[0397] 2) In the configuration file for starting the container, add high-level permissions such as "SYS_ADMIN" and "SYS_MODULE" in the capacity section and start the container;
[0398] 3) The host security management platform can provide alerts for the startup of high-privilege containers;
[0399] Expected results:
[0400] A. The host security client supports warnings for containers that start with excessive permissions;
[0401] S3103, container runtime security test: used to verify that the host security client supports security protection for running containers;
[0402] Test steps:
[0403] 1) Prepare a Linux host with the host security client installed and deploy a docker / k8s environment;
[0404] 2) Start the nginx container normally and expose the interface to provide web services normally;
[0405] 3) Use attack tools to perform attacks such as brute force cracking and webshell uploading;
[0406] 4) Logs or alarms of intercepted attacks can be seen on the host security management platform;
[0407] Expected results:
[0408] A. Host security client supports real-time intrusion prevention for running containers;
[0409] S4, test report stage: statistics the test results of all test cases, and write a test report or security assessment report to generate a security evaluation of the data center host.
[0410] The embodiments of the present invention are given for the purpose of illustration and description, and are not intended to be exhaustive or to limit the invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.
Claims
1. A data center host security testing method, characterized in that: The following steps are involved: S1. Test indicator stage: Based on the test purpose and requirements, the test indicators are clearly defined, including the capability requirements of the management platform, client management, asset management, security baseline management, security vulnerability management, intrusion threat detection, malicious code prevention, network micro-isolation, log auditing, and container security, and test cases are designed for each test indicator in turn; S2, Test topology stage: Build the test topology according to actual requirements and test objectives, and simulate or reproduce the logical or physical layout of the actual network or system structure in the test environment; the test topology includes the following information: Network structure: describes the connection method and communication protocol between various devices in the network; System configuration: describes the hardware configuration, operating system, application software and other information of each system; Data transmission path: describes the path and method of data transmission from source to destination in the test environment; Security settings: describe the security policies and measures in the test environment, such as firewall rules, intrusion detection systems, etc. S3, test execution phase: S31. Capability requirement test of the management platform: Test cases include the delivery form of the management platform, the number of clients supported by the management platform, cascade management capabilities, decentralized and domain-based management of user accounts, threat display / correlation analysis capabilities, policy delivery capabilities, self-security capabilities, and linkage capabilities of third-party platforms; S32, Client management test: Test cases include client system compatibility, installation and deployment capabilities, resource occupancy, business occupancy threshold settings, and self-security capabilities; S33, Asset Management Test: Test cases include operating system information collection, application software information collection, and host scanning without the host security client installed; S34, Security baseline management test: Test cases include support for security baseline check, custom security baseline, and integrity baseline; S35, Security vulnerability management test: Test cases include operating system vulnerabilities, patch management, application software, middleware, database vulnerability management, and weak password management; S36, Intrusion Threat Detection Test: Test cases include abnormal login detection, webshell check, rebound shell detection, abnormal process detection, process privilege escalation behavior detection, and honeypot support; S37, Malicious code prevention test: Test cases include support for local virus detection + cloud sandbox / threat intelligence library, whitelist path, virus isolation, file restoration, virus malicious external connection monitoring, and fileless attack inspection; S38, Network micro-isolation test: Test cases include micro-isolation strategy, traffic visualization, multi-NIC rule issuance, and flexible isolation strategy; S39, Log audit test: Test cases include log collection and log analysis; S310, container security testing: test cases include container image security, container startup security, and container runtime security; S4, test report stage: statistics the test results of all test cases, and write a test report or security assessment report to generate a security evaluation of the data center host.
2. A data center host security testing method according to claim 1, characterized in that: The test cases for the capability requirements of the management platform are as follows: Delivery form of the management platform: used to verify the delivery form of the host security protection software management platform; Number of clients supported by the management platform: used to verify the maximum number of clients that can be managed by management platforms of different specifications; Cascading management capability: used to verify the cascading capability of the management platform under the requirement of large-scale client deployment; Decentralized and domain-based management of user accounts: used to verify that user accounts have different management levels and permissions; Threat display / correlation analysis capabilities: used to verify the threat display / correlation analysis capabilities of the management interface; Policy delivery capability: used to verify that the management platform has the ability to deliver unified policies to the client; Self-security capability: used to verify that the management platform itself has security protection capabilities; Linkage capability of third-party platforms: used to verify that the management platform can link with third-party SIEM / SOAR.
3. A data center host security testing method according to claim 1, characterized in that: The test cases managed by the client are as follows: Client system compatibility: used to verify that the host security client / agent can support mainstream and enterprise-required operating systems, and can run compatible with mainstream middleware, web frameworks, databases, and container environments; Installation and deployment capability: used to verify that the host security client / agent can be installed on the host in batches; Resource usage: used to verify the resource usage of the host security client / agent on the host; Business occupation threshold setting: used to verify that the host security client / agent can automatically sleep when the business occupation resources reach the threshold; Self-security capability: used to verify that the host security client / agent is secure and robust.
4. A data center host security testing method according to claim 1, characterized in that: The asset management test cases are as follows: Operating system information collection: used to verify that the host security client / agent can collect the host's operating system information; Application software information collection: used to verify that the host security client / agent can collect the host's application software information; Host scan without Host Security Client installed: used to verify that the Host Security software supports scanning hosts on the network that do not have the client installed.
5. A data center host security testing method according to claim 1, characterized in that: The test cases for the security baseline management are as follows: Supports security baseline check: used to verify that the host security software supports "Level Protection 2.0" security baseline check for the host; Customized security baseline: used to verify that the host security software supports customized security baseline templates; Integrity baseline: used to verify that host security software supports integrity monitoring.
6. A data center host security testing method according to claim 1, characterized in that: The test cases for security vulnerability management are as follows: Operating system vulnerability and patch management: used to verify that the host security software supports operating system vulnerability and patch management; Vulnerability management of application software, middleware, and databases: used to verify that the host security software supports vulnerability management of application software, middleware, and databases; Weak password management: used to verify that the host security software supports weak password management for system and application software accounts.
7. A data center host security testing method according to claim 1, characterized in that: The test cases for the intrusion threat detection are as follows: Abnormal login detection test: used to verify that the host security software supports the detection of abnormal user login behavior; Webshell check: used to verify that the host security software supports the detection, isolation, and recovery of webshells; Rebound Shell Detection: used to verify that the host security software supports the detection of rebound shell behavior; Abnormal process detection: used to verify that the host security software supports the detection of abnormal processes; Process privilege escalation behavior detection: used to verify that the host security software supports the detection of process privilege escalation behavior; Honeypot support: Used to verify that the host security software supports lightweight honeypot deployment.
8. A data center host security testing method according to claim 1, characterized in that: The test cases for malicious code prevention are as follows: Support local virus detection + cloud sandbox / threat intelligence library: used to verify that the host security client supports local virus detection and cloud sandbox / threat intelligence library integration; Whitelist path: used to verify the host security client supports the file whitelist path; Virus isolation: used to verify that the host security client supports virus isolation settings; File restore: used to verify that the host security client supports the restore / rollback of encrypted files; Virus and malicious external connection monitoring: used to verify that the host security client supports monitoring of malicious external connection behaviors; Fileless attack check: used to verify that the host security client supports monitoring of malicious external connection behaviors.
9. A data center host security testing method according to claim 1, characterized in that: The test cases for network micro-isolation are as follows: Micro-isolation policy: used to verify that the host security client supports the network micro-isolation policy; Traffic visualization: used to verify that the host security client supports network traffic visualization; Multi-NIC rule delivery: used to verify that the host security client supports multi-NIC rule delivery; Flexible isolation policy: Used to verify that the host security client supports flexible network micro-isolation policies based on different time periods.
10. A data center host security testing method according to claim 1, characterized in that: The test cases for the log audit are as follows: Log collection: used to verify that the host security client supports the collection of various logs; Log analysis: used to verify that the host security client supports log analysis; The specific test cases for container security are as follows: Container image security: used to verify that the host security client supports container image security analysis; Container startup security: used to verify that the host security client supports the detection of container startup security; Container runtime security: used to verify that the host security client supports security protection for running containers.
