A verification system and method for cloud native container defense measures
By designing a verification system in a cloud-native container, simulating attacks and evaluating defense measures, the problem of difficulty in verifying the effectiveness of defense measures in existing technologies is solved, the ability to detect viruses in time and launch defense measures is achieved, and the practicality of network security is improved. Defense capabilities.
Patent Information
- Application Number
- CN202311713126.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-12-13
AI Technical Summary
It is difficult to verify the effectiveness of the defense measures deployed in existing cloud native containers, and it is impossible to detect viruses in time and activate corresponding defense measures.
A verification system for cloud-native container defense measures is designed, including a management module, an agent module and an execution module. By generating attack scripts and payload files, the rebound shell service and WebShell backdoor service are started, the attack is simulated and the effectiveness of the defense measures is evaluated and judged. Check whether necessary image files and attack vector files exist, and generate task assessment results.
It can effectively verify whether the defense methods deployed in cloud native containers are effective, detect viruses in a timely manner and initiate corresponding defense measures, improving the actual defense capabilities of network security.
Smart Images

Figure CN117668832B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security, and in particular to a verification system and method for cloud native container defense measures. Background Art
[0002] With the development of the global digital economy, the comprehensive development and application of new technologies such as cloud computing, big data, 5G, and the Internet of Things have greatly promoted economic and social prosperity and progress, but also brought new security risks and challenges. At the same time, in recent years, large-scale network security attack and defense drills have become more practical.
[0003] Therefore, many organizations and enterprises have made some defensive measures to resist network attacks, such as deploying some defensive measures in cloud-native containers. However, it is still unknown how effective the defensive measures are and whether the virus can be detected in time and the corresponding defensive measures can be initiated.
[0004] The above problems need to be solved urgently. Summary of the invention
[0005] In order to solve the technical defects raised in the above-mentioned background technology, the purpose of the present invention is to provide a verification system and method for cloud-native container defense measures, which can verify whether the defense measures deployed in the cloud-native container are effective and reliable, and can also verify whether the container can detect viruses in time and initiate corresponding defense measures.
[0006] The present invention adopts the following technical solution:
[0007] In a first aspect, an embodiment of the present invention provides a verification system for cloud native container defense measures, including: a management module, which is used to send attack tasks and corresponding task execution parameters to an agent module, and display the execution status of the attack tasks based on the task evaluation results received from the agent module; wherein the task execution parameters include at least a task ID, an attack vector ID, an attack vector name, a rebound shell service port, and a WebShell backdoor service port;
[0008] The proxy module is used to receive the attack task and task execution parameters from the management module and perform the following actions in response to the attack task and task execution parameters: generate an attack script and a payload file, start a rebound shell service and a WebShell backdoor service, pass the attack task and task execution parameters to the execution module, and evaluate the attack task based on the echo data and logs received from the execution module, and return the task evaluation result to the management module;
[0009] The execution module is used to receive the attack task and task execution parameters from the proxy module and perform the following actions: download the attack script and payload file from the proxy module, execute the attack script by accessing the rebound shell service and the WebShell backdoor service, and pass the echo data of the attack script execution and the log generated during the attack process to the proxy module.
[0010] Optionally, an agent submodule is used to receive the attack task and task execution parameters from the management module, and determine whether the image file and attack vector file required by the attack task exist locally according to the task execution parameters, and based on the echo data received from the execution module and the log generated during the attack process;
[0011] The service submodule is used to provide file download service, execution result analysis service, rebound shell service and WebShell backdoor service for the execution module;
[0012] A first communication unit, used to send a communication request and an identity code to the execution module;
[0013] The first sending unit is used to send the attack task and task execution parameters to the execution module.
[0014] Optionally, a first receiving unit is used to receive a task ID, an attack vector ID and an attack vector name from the management module;
[0015] A second receiving unit, configured to receive the echo data transmitted from the execution module and the log generated during the attack process;
[0016] A judging unit, configured to judge whether there is a mirror file and an attack vector file required for the attack task locally according to the attack vector ID and the attack vector name;
[0017] The download unit downloads the image file and the attack vector file from the management module according to the attack vector ID and the attack vector name.
[0018] Optionally, a file download service unit is used to integrate and generate attack scripts and payload files according to the image file and the attack vector file, and provide the execution module with a download service for the attack script and the payload file;
[0019] A task evaluation unit, used to perform attack task evaluation according to the echo data and logs received from the execution module, and generate a task evaluation result;
[0020] The second sending unit is used to send the task evaluation result generated by the task evaluation unit to the management module.
[0021] Optionally, a task issuing unit is used to issue a corresponding task ID, attack vector ID and attack vector name to the proxy module according to the attack task selected by the user;
[0022] The attack result display unit is configured with a display model, and is used to display the execution status of the attack task selected by the user according to the task evaluation result imported into the display model.
[0023] Optionally, a second communication unit is used to receive the communication request and identity code sent by the first communication unit, perform authentication according to the identity code, and establish communication with the first communication unit;
[0024] A file download unit, used to download the attack script and payload file from the file download service unit;
[0025] An execution unit, used to start executing a task attack according to an attack script and a payload file, wherein the task attack includes hacking, information collection, network detection, container escape, and information theft;
[0026] The access unit is used to attack the executed tasks to access the rebound shell service and WebShell backdoor service to trigger the detection and interception of the cloud native container security protection device;
[0027] The feedback unit is used to transmit the execution status of the execution unit in the form of echo data and the log information data generated during the attack process to the task evaluation unit.
[0028] In a second aspect, an embodiment of the present invention provides a method for verifying cloud native container defense measures, the method for verifying cloud native container defense measures being applied to a verification system for cloud native container defense measures, and the method for verifying cloud native container defense measures comprising:
[0029] Obtain the attack task and corresponding task execution parameters issued by the management module, and determine whether the image file and attack vector file required by the attack task exist locally according to the task execution parameters; wherein the task execution parameters at least include task ID, attack vector ID, attack vector name, rebound shell service port and WebShell backdoor service port;
[0030] Providing a rebound shell service and a WebShell backdoor service according to the rebound shell service port and the WebShell backdoor service port;
[0031] A communication interface is established, and the attack task and task execution parameters are sent to the execution module through the communication interface. The attack task is evaluated based on the echo data and logs received from the execution module, and the task evaluation results are sent back to the management module for display.
[0032] In summary, the beneficial effects of the present invention are:
[0033] The management module sends attack tasks and task execution parameters to the proxy module, so that the proxy can determine whether the attack vector file required by the corresponding attack task is needed according to the task execution parameters. After receiving the attack task and task execution parameters, the proxy module generates attack scripts and payload texts, starts rebound shell services and WebShell backdoor services, passes attack tasks and task execution parameters to the execution module, and evaluates the attack tasks based on the echo data and logs received from the execution module. The execution module executes the attack script by accessing the rebound shell service and WebShell backdoor service, thereby obtaining the echo data and logs generated during the attack process, and passes the echo data and logs to the proxy module for evaluation. The proxy module transmits the task evaluation results back to the management module for display, thereby verifying whether the defense measures deployed in the cloud native container are effective.
[0034] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a schematic diagram of a verification system for cloud native container defense measures according to an embodiment of the present invention;
[0036] Figure 2 It is a flow chart of a method for verifying cloud native container defense measures according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] Before introducing the present application, the terms involved in this article are first explained.
[0038] Reverse shell service: By running a program (called a "backdoor") on the victim's computer, control of the computer is passed to the attacker, who can use the program to execute commands on the remote computer and access its file system, network interface and other resources.
[0039] WebShell backdoor service: A special type of malware that can execute malicious code on the victim's server to control the server. WebShell can usually be spread through malicious code hidden in legitimate web pages. Attackers can infect servers by inserting malicious code into the victim's web page. WebShell can cause the server to be completely controlled. Attackers can execute arbitrary commands on the server, steal sensitive information, or destroy data, etc.
[0040] Payload file: In computer networks, payload is a data load that is encapsulated in an IP message and is the effective load of the IP message. It contains the binary files and resource files of the application and is the core file for installing the application. In encryption, the payload file can also refer to the plaintext part of the encryption algorithm, that is, the data that needs to be protected. Therefore, it refers to the data part that carries valid information and has nothing to do with the protocol itself.
[0041] In order to make the content of the present invention more clearly understood, the present invention is further described below based on specific embodiments in conjunction with the accompanying drawings.
[0042] To solve the problems in the background technology, such as Figure 1 As shown, Figure 1 Schematic diagram of a verification system for cloud native container defense measures of the present invention, the system comprising:
[0043] A management module, a proxy module and an execution module, wherein the management module is used to send attack tasks and corresponding task execution parameters to the proxy module, and to display the execution status of the attack tasks based on the task evaluation results received from the proxy module; wherein the task execution parameters at least include task ID, attack vector ID, attack vector name, rebound shell service port and WebShell backdoor service port; the proxy module is used to receive the attack tasks and task execution parameters from the management module and to perform the following actions in response to the attack tasks and task execution parameters: generate attack scripts and payloads, start rebound shell services and WebShell backdoor services, pass attack tasks and task execution parameters to the execution module, and evaluate the attack tasks based on the echo data and logs received from the execution module, and transmit the task evaluation results back to the management module; the execution module is used to receive the attack tasks and task execution parameters from the proxy module and to perform the following actions in response to the attack tasks and task execution parameters: download the attack scripts and payloads from the proxy module, and execute the attack scripts by accessing the rebound shell services and WebShell backdoor services, and pass the echo data of the attack script execution and the logs generated during the attack process to the proxy module.
[0044] In an embodiment of the present invention, the management module 201 may be a visual management platform, on which users may operate to attack cloud native containers and display the results after the attack. The management module 201 is configured with a database, which may store attack tasks, task execution parameters, attack situations of attack tasks, etc., so as to customize attack scripts in the management module, thereby verifying whether the defense measures in the container are comprehensive and how effective the defense is. The task execution parameters may include task ID, attack vector ID, attack vector name, attack vector execution parameters, file name set, mount directory set, permission list, rebound shell service port, WebShell backdoor service port, Agent IP and port information, ATT&CK tactics (a framework for network security, the purpose of which is to describe and systematize methods and techniques of hacker attacks), request token and other information. The task execution parameters may be input by the user or imported from a pre-stored database. By sending the above-mentioned various attack tasks and task execution parameters to the proxy module, after the proxy module receives the above-mentioned various task execution parameters, it uses the task ID and the attack vector ID as the search field to find out whether the local has the image file and the attack vector file corresponding to the task ID and the attack vector ID (that is, the image file and the attack vector file required for the attack task). If the corresponding image file and the attack vector file do not exist locally, the management module is connected to download. The proxy module generates an attack script and a payload file according to the received task execution parameters and the image file and the attack vector file, and obtains the rebound shell service port and the WebShell backdoor service port, and starts the corresponding service. Specifically, the service is the rebound shell service and the WebShell backdoor service. By starting the rebound shell service and the WebShell backdoor service, the execution module can trigger the detection and interception of the cloud native container security protection device when executing the attack script. If no detection or interception is successful, it means that the cloud native defense measures are not effective, then the echo data and the logs generated during the attack process are generated and transmitted back to the proxy module for evaluation, and the evaluation results are sent to the management module for display, so that people can judge the effectiveness of the verified cloud native container defense measures.
[0045] Specifically, the above-mentioned execution module establishes communication with the proxy module and receives attack tasks and task execution parameters, and downloads the corresponding attack script and payload file to the proxy module according to the attack tasks and task execution parameters and executes them, and executes the attack script by accessing the rebound shell service and the WebShell backdoor service, and passes the echo data of the attack script execution and the log generated during the attack process to the proxy module. If it fails in the execution return, it means that it has been detected and intercepted by the cloud native container security protection device. At the same time, by generating log files to the proxy module, the proxy module will receive the echo data and logs and evaluate the attack tasks, and pass the task evaluation results to the management module. The management module receives the task evaluation results and displays the execution status of the attack task. If the attack script fails to execute, it means that the defense measures of the container can defend against the task attack script currently selected by the user, indicating that the cloud native container defense measures are better.
[0046] Furthermore, the above-mentioned proxy module 202 includes a proxy sub-module, a service sub-module, a first communication unit and a first sending unit. The proxy sub-module is used to receive attack tasks and task execution parameters from the management module, and determine whether there are image files and attack vector files required for the attack tasks locally according to the task execution parameters, as well as based on the echo data received from the execution module and the logs generated during the attack process; the service sub-module is used to provide file download services, execution result analysis services, rebound shell services and WebShell backdoor services for the execution module; the first communication unit is used to send communication requests and identity codes to the execution module; the first sending unit is used to send the attack tasks and task execution parameters to the execution module.
[0047] In an embodiment of the present invention, the above-mentioned proxy submodule is used to receive task execution parameters from the management module, and determine whether there are mirror files and attack vector files required for the attack task locally according to the task execution parameters. The above-mentioned mirror files may refer to malicious code files such as Shell scripts, and the attack vector files may refer to file resources such as attack means and attack methods. The task execution parameters are used to determine whether there are corresponding mirror files and attack vector files locally, so that the attack script and payload file can be generated. If they exist locally, the attack script and payload file are directly generated. If they do not exist locally, the management module is downloaded to download the corresponding mirror files and attack vector files. At the same time, the proxy submodule is also used to receive echo data and logs generated during the attack process from the execution module. And evaluate, and then send the evaluation result back to the management module for display, the above-mentioned service submodule is used to provide file download service, execution result analysis service, rebound shell service and WebShell backdoor service for the execution module, the above-mentioned file download service is used to provide the execution module with the service of downloading attack scripts, and the above-mentioned execution result analysis service is used to analyze the execution status with echo data and logs after the execution module executes the attack script, so as to generate the task evaluation result, and at the same time, establish communication with the execution module by setting the first communication unit, specifically, establish communication by sending a communication request and an identity code to the execution module, specifically, it is also necessary to verify the identity information of the identity code in order to establish communication with it, otherwise the connection is rejected, thereby improving security.
[0048] Optionally, the agent submodule includes a first receiving unit, a second receiving unit, a judgment unit and a downloading unit, the first receiving unit is used to receive the task ID, attack vector ID and attack vector name from the management module; the second receiving unit is used to receive the echo data transmitted from the execution module and the log generated during the attack process; the judgment unit is used to judge whether the image file and attack vector file required for the attack task exist locally according to the attack vector ID and the attack vector name; the downloading unit downloads the image file and the attack vector file to the management module according to the attack vector ID and the attack vector name.
[0049] In an embodiment of the present invention, the first receiving unit is used to receive a task ID, an attack vector ID, and an attack vector name. The first receiving unit receives and verifies the task ID, so that the proxy module can communicate and interact with the execution module, receive task execution parameters, and perform corresponding operations. The first receiving unit can also pass the execution result and the echo data to the management module so as to display it to the user to determine whether the cloud native defense measure is effective. The judgment unit is used to determine whether there are mirror files and attack vector files required for the attack task locally according to the attack vector ID. Specifically, the attack vector ID is used as the search field, and each mirror file and attack vector file has a corresponding image file to the attack task. The corresponding attack vector ID can be matched to determine whether there is a mirror file and an attack vector file locally. If so, the attack script and payload file are directly generated. By judging whether there is a mirror file and an attack vector file locally, the memory usage can be reduced when performing a task attack, thereby making the verification system of the cloud-native container defense measures respond faster when performing a simulated attack; the download unit is used to download the corresponding mirror package and attack file from the management module according to the attack vector ID and the attack vector name. Specifically, the required mirror package and attack file can be downloaded by accessing the download service interface of the attack file of the management module.
[0050] Optionally, the service submodule includes a file download service unit, a task evaluation unit and a second sending unit. The file download service unit is used to integrate and generate attack scripts and payload files based on image files and attack vector files, and provide attack script and payload file download services for the execution module; the task evaluation unit is used to perform attack task evaluation based on echo data and logs received from the execution module, and generate task evaluation results; the second sending unit is used to send the task evaluation results generated by the task evaluation unit to the management module.
[0051] In an embodiment of the present invention, the above-mentioned file download service unit is mainly integrated according to the image file and the attack vector file, and generates the attack script and the payload file through the preset strategy. Specifically, the attack script and the payload file can be generated by using the ATT&CK framework and combining the image file and the attack vector file, and an interface for downloading the attack script and the payload file is provided to the execution module. The above-mentioned task evaluation unit is used to perform attack task evaluation according to the echo data and the log. Specifically, since the echo data and the log during the attack process will record the situation during the attack, for example, the attack on a certain node is successful, the attack on a certain node fails, etc., the echo data and the log are evaluated by the task evaluation unit, so as to generate an evaluation result; further, the task evaluation result is sent to the management module through the second sending unit, and then displayed through the attack result display unit of the management module, so that the user can obtain the attack situation in time, so as to verify whether the defense measures of the cloud native container are effective.
[0052] Optionally, the management module includes a task issuing unit and an attack result display unit. The task issuing unit is used to issue the corresponding task ID, attack vector ID and attack vector name to the proxy module according to the attack task required by the user; the attack result display unit is configured with a display model, and the attack result display unit is used to import the task evaluation results into the display model to display the execution status of the attack task selected by the user.
[0053] In this embodiment, the above-mentioned task issuing unit can issue the corresponding task ID, attack vector ID and attack vector name by the user selecting the required attack task, and by sending the above-mentioned task ID, attack vector ID and attack vector name to the proxy module, the proxy module can obtain the above-mentioned task ID, attack vector ID and attack vector name and then query whether there is a corresponding image package and attack file locally. The above-mentioned attack result display unit is configured with a display model. Specifically, the display model can be pre-set. By importing the task evaluation results into the display model, the attack situation in the process of cloud native attack can be displayed, so that the user can judge the effectiveness of the defense measures of the cloud native container.
[0054] Optionally, the execution module includes a second communication unit, a file download unit, an execution unit, an access unit and a return unit, the second communication unit is used to receive the communication request and identity code issued by the first communication unit, perform authentication according to the identity code, and establish communication with the first communication unit; the file download unit is used to download the attack script and the payload file from the file download service unit; the execution unit is used to start executing the task attack according to the attack script and the payload file, wherein the task attack includes hacker attack, information collection, network detection, container escape and information theft; the access unit is used to access the rebound shell service and the WebShell backdoor service of the executed task attack to trigger the detection and interception of the cloud native container security protection device; the return unit is used to transmit the execution status of the execution unit in the form of echo data and the log information data generated during the attack process to the task evaluation unit.
[0055] In this embodiment, the second communication unit sends a communication request to the first communication unit, and the first communication unit responds. At the same time, the second communication unit also sends an identity identification code. After the first communication unit obtains the first identity identification code, it can perform identity authentication, and then establish communication with the first communication unit, so that data interaction and transmission can be carried out. By performing identity authentication, the security of the connection can be improved, and some other modules can be avoided from connecting, so that the security of the defense of the cloud native container can be improved when verifying; the file download unit is used to download the attack script and payload file from the file download service unit. Specifically, before the execution unit starts the attack Since the two files cannot be saved in real time, the attack script and payload file will be downloaded for attack. At the same time, the access unit can be set to access the rebound shell service and the WebShell backdoor service, thereby triggering the detection and interception of the cloud native container security protection device, and then the security protection device and interception effect of the cloud native container can be judged. At the same time, the feedback unit is set to feedback the execution status in the form of echo data, as well as the log information data generated during the attack process, which is returned to the task evaluation unit for attack task evaluation, and the task evaluation result is generated and sent to the management module for display, thereby verifying the effectiveness of the cloud native container's defense measures.
[0056] like Figure 2 As shown, Figure 2 The present invention is a flowchart of a method for verifying a cloud native container defense measure, which can be applied to a cloud native container defense measure verification system, and the method comprises the following steps:
[0057] 101. Obtain the attack task and corresponding task execution parameters issued by the management module, and determine whether the image file and attack vector file required for the attack task exist locally according to the task execution parameters; wherein the task execution parameters at least include task ID, attack vector ID, attack vector name, rebound shell service port and WebShell backdoor service port.
[0058] In the embodiment of the present invention, the above-mentioned attack task and task execution parameters issued by the management module are first obtained, so that the attack task and attack means to be executed can be determined according to the above-mentioned task execution parameters, and at the same time, it can be determined whether the image file and attack vector file required for the attack task exist locally according to the task execution parameters. If so, the attack script and payload file are directly generated to give the execution module to attack. If not, the attack script and payload file are downloaded and regenerated from the management platform. Among them, the attack vector ID and the attack vector name are used to determine whether the image file and the attack vector file required for the attack task are pre-stored locally, thereby avoiding repeated downloading and causing the server's memory to surge, thereby improving the response time of the system.
[0059] 102. Provide rebound shell service and WebShell backdoor service according to the rebound shell service port and WebShell backdoor service port.
[0060] By obtaining the rebound shell service port and the WebShell backdoor service port, the user can enable the corresponding rebound shell service and WebShell backdoor service, so that the execution module can access them when performing attacks, thereby triggering the security devices and protection measures of the cloud native container.
[0061] 103. Establish a communication interface, and send the attack task and task execution parameters to the execution module through the communication interface, and evaluate the attack task based on the echo data and log received from the execution module, and send the task evaluation result back to the management module for display.
[0062] The above first establishes communication with the execution module, receives echo data and logs from the execution module through the communication interface, performs attack task evaluation based on the echo data and logs, and transmits the task evaluation results back to the management module for display, so that users can observe the attack situation in time and reflect the effectiveness of the defense measures of the cloud native container according to the execution situation.
[0063] The embodiments of this specific implementation are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. The same components are represented by the same figure marks. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A cloud native container defense measures verification system, characterized in that: include: A management module, used to send attack tasks and corresponding task execution parameters to the proxy module, and display the execution status of the attack tasks based on the task evaluation results received from the proxy module; wherein the task execution parameters at least include task ID, attack vector ID, attack vector name, rebound shell service port and WebShell backdoor service port; The proxy module is used to receive the attack task and task execution parameters from the management module and perform the following actions in response to the attack task and task execution parameters: generate an attack script and a payload file, start a rebound shell service and a WebShell backdoor service, pass the attack task and task execution parameters to the execution module, and evaluate the attack task based on the echo data and logs received from the execution module, and return the task evaluation result to the management module; An execution module is used to receive the attack task and task execution parameters from the proxy module and perform the following actions in response to the attack task: download the attack script and payload file from the proxy module, execute the attack script by accessing the rebound shell service and the WebShell backdoor service, and transmit the echo data of the attack script execution and the log generated during the attack process to the proxy module; The proxy module includes a proxy submodule, a service submodule, a first communication unit, and a first sending unit, which are used to receive attack tasks and task execution parameters from the management module, and determine whether the image file and attack vector file required by the attack task exist locally according to the task execution parameters, and based on the echo data received from the execution module and the log generated during the attack process; to provide the execution module with file download services, execution result analysis services, rebound shell services, and WebShell backdoor services; to send communication requests and identity codes to the execution module; and to send attack tasks and task execution parameters to the execution module; The service submodule includes a file download service unit, a task evaluation unit, and a second sending unit, which are used to integrate and generate attack scripts and payload files based on image files and attack vector files, and provide attack script and payload file download services for the execution module; used to perform attack task evaluation based on the echo data and logs received from the execution module, and generate task evaluation results; and used to send the task evaluation results generated by the task evaluation unit to the management module.
2. A cloud native container defense measures verification system according to claim 1, characterized in that: The proxy submodule includes: A first receiving unit, configured to receive a task ID, an attack vector ID, and an attack vector name from the management module; A second receiving unit, configured to receive the echo data transmitted from the execution module and the log generated during the attack process; A judging unit, configured to judge whether there is a mirror file and an attack vector file required for the attack task locally according to the attack vector ID and the attack vector name; The download unit downloads the image file and the attack vector file from the management module according to the attack vector ID and the attack vector name.
3. A cloud native container defense measures verification system according to claim 2, characterized in that: The management module comprises: The task issuing unit is used to issue the corresponding task ID, attack vector ID and attack vector name to the proxy module according to the attack task selected by the user; The attack result display unit is configured with a display model, and is used to display the execution status of the attack task selected by the user according to the task evaluation result imported into the display model.
4. A cloud native container defense measures verification system according to claim 1, characterized in that: The execution module includes: A second communication unit, configured to receive a communication request and an identity code sent by the first communication unit, perform authentication according to the identity code, and establish communication with the first communication unit; A file download unit, used to download the attack script and payload file from the file download service unit; An execution unit, used to start executing a task attack according to an attack script and a payload file, wherein the task attack includes hacking, information collection, network detection, container escape, and information theft; The access unit is used to attack the executed tasks to access the rebound shell service and WebShell backdoor service to trigger the detection and interception of the cloud native container security protection device; The feedback unit is used to transmit the execution status of the execution unit in the form of echo data and the log information data generated during the attack process to the task evaluation unit.
5. A method for verifying cloud native container defense measures, characterized in that: The cloud native container defense measure verification method is applied to the cloud native container defense measure verification system as claimed in claim 1, and the cloud native container defense measure verification method includes: Obtain the attack task and corresponding task execution parameters issued by the management module, and determine whether the image file and attack vector file required by the attack task exist locally according to the task execution parameters; wherein the task execution parameters at least include task ID, attack vector ID, attack vector name, rebound shell service port and WebShell backdoor service port; Providing a rebound shell service and a WebShell backdoor service according to the rebound shell service port and the WebShell backdoor service port; A communication interface is established, and the attack task and task execution parameters are sent to the execution module through the communication interface. The attack task is evaluated based on the echo data and logs received from the execution module, and the task evaluation results are sent back to the management module for display.
