Heterogeneous resource scheduling system and deployment method for network attack and defense simulation
By introducing intelligent decision-making centers and heterogeneous resource configuration modules into the network attack and defense simulation system, standardized attack and defense execution instructions are generated and executed, the complexity of heterogeneous resource scheduling is solved and the system flexibility and efficiency is improved.
Patent Information
- Application Number
- CN202410102737.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-01-24
AI Technical Summary
The existing network attack and defense simulation simulation system is difficult to configure and schedule heterogeneous resources, resulting in low flexibility, poor scalability and low efficiency.
Provide a heterogeneous resource scheduling system for network attack and defense simulation, including an intelligent decision center, a data processing center and a heterogeneous resource configuration module. The intelligent decision center generates attack and defense execution instructions in preset language formats, and the heterogeneous resource configuration module dispatches different Construct resources to execute tasks and format the results, and report standardized results to the data processing center.
It improves the scalability and flexibility of the system, reduces the complexity of the intelligent decision-making center, and improves the efficiency of network offensive and defense simulation.
Smart Images

Figure CN118041603B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of network attack and defense simulation, and in particular to a heterogeneous resource scheduling system and deployment method for network attack and defense simulation, as well as a heterogeneous resource scheduling method, electronic device and storage medium for network attack and defense simulation. Background Art
[0002] Network attack and defense simulation involves a large number of test resources, including physical simulation, semi-physical simulation, etc. Among them, physical simulation usually uses physical equipment, such as firewalls, IPS, hardware and software integrated vulnerability scanning tools, etc.
[0003] During the network attack and defense simulation, it is necessary to configure and call the attack and defense tools and physical equipment according to the current network situation. At present, the network attack and defense system integration platform is mainly used for integrated management. Since resources and nodes have unique command lines, interfaces and script calling methods, and the parameters involved in the interface are also different, it is required that each resource must have a corresponding module for management and configuration to achieve unified integrated development. However, most security tools have a narrow application scope and high execution complexity. Although the network attack and defense system integration platform can manage tools through application program interface (API), remote login service (TELNET), secure shell (Secure Shell, SSH) and other methods, it cannot configure and manage graphical interface security tools and equipment. In addition, the result data obtained by resource and node execution is also different, large and complex, which affects the result analysis of network attack and defense simulation.
[0004] Therefore, existing network attack and defense simulations are difficult to configure and schedule heterogeneous resources, and have technical problems such as low flexibility, poor scalability and low efficiency. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a heterogeneous resource scheduling system and deployment method for network attack and defense simulation, as well as a heterogeneous resource scheduling method, electronic device and storage medium for network attack and defense simulation, which can standardize heterogeneous resource scheduling, improve the scalability and flexibility of the system, and the efficiency of network attack and defense simulation.
[0006] In order to achieve the above objectives, the technical solutions provided by the embodiments of the present disclosure are as follows:
[0007] In a first aspect, the present disclosure provides a heterogeneous resource scheduling system for network attack and defense simulation, including: an intelligent decision-making center, a data processing center, a heterogeneous resource configuration module, and heterogeneous resources;
[0008] The intelligent decision-making center is used to generate attack and defense execution instructions based on the monitored current network status data, and send the attack and defense execution instructions to the heterogeneous resource configuration module; wherein the attack and defense execution instructions are commands in a preset language format;
[0009] The heterogeneous resource configuration module is used to respond to the attack and defense execution instructions, schedule heterogeneous resources to execute the target task to obtain the execution result; and format the execution result to obtain the standardized result, and report the standardized result to the data processing center.
[0010] As an optional implementation of the embodiment of the present disclosure, the attack and defense execution instruction includes: a tool name, an action parameter, an object parameter, and a parameter key-value pair;
[0011] The heterogeneous resource configuration module, in response to the attack and defense execution instructions, schedules heterogeneous resources to execute the target action to obtain the execution result, and is specifically used to: select the tool plug-in corresponding to the loading tool name from the heterogeneous resources; drive the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain the task content; drive the tool plug-in to operate the target tool according to the task content to obtain the execution result.
[0012] As an optional implementation of the embodiment of the present disclosure, the heterogeneous resource configuration module, when selecting a tool plug-in corresponding to a loading tool name from heterogeneous resources, is specifically used to: detect whether a tool plug-in corresponding to the tool name exists in the local resources of the heterogeneous resources; if the tool plug-in corresponding to the tool name does not exist in the local resources, download the tool plug-in corresponding to the tool name from the remote plug-in library of the heterogeneous resources to load the tool plug-in.
[0013] As an optional implementation of the embodiment of the present disclosure, the heterogeneous resource configuration module, before responding to the attack and defense execution instructions and scheduling the heterogeneous resources to execute the target action to obtain the execution result, is also used to: initialize module information, and the module information includes: status reporting address, tool plug-in library address, and data return address.
[0014] As an optional implementation of the embodiment of the present disclosure, the heterogeneous resource scheduling system also includes: a task management module, which is used to receive the running status information reported by the heterogeneous resource configuration module to monitor whether the heterogeneous resource configuration module is running normally; wherein the running status information includes: the name of the loaded plug-in and the running log.
[0015] In a second aspect, the present disclosure provides a system deployment method, comprising:
[0016] Get the read-write status information of the target operating system;
[0017] When the readable and writable state information indicates that the target operating system is readable and writable, the heterogeneous resource scheduling system according to the first aspect or any optional implementation manner thereof is implanted and deployed on the target operating system;
[0018] When the readable and writable state information indicates that the target operating system is not readable and writable, the heterogeneous resource scheduling system plug-in according to the first aspect or any optional implementation manner thereof is deployed on the target operating system.
[0019] In a third aspect, the present disclosure provides a heterogeneous resource scheduling method for network attack and defense simulation, which is applied to a heterogeneous resource scheduling system for network attack and defense simulation as in the first aspect or any one of its optional embodiments, including:
[0020] The intelligent decision-making center generates attack and defense execution instructions based on the monitored current network status data, and sends the attack and defense execution instructions to the heterogeneous resource configuration module;
[0021] The heterogeneous resource configuration module responds to the attack and defense execution instructions, schedules the heterogeneous resources to execute the target task to obtain the execution result; and formats the execution result to obtain the standardized result, and reports the standardized result to the data processing center.
[0022] As an optional implementation of the embodiment of the present disclosure, the attack and defense execution instruction includes: a tool name, an action parameter, an object parameter, and a parameter key-value pair;
[0023] The heterogeneous resource configuration module responds to the attack and defense execution instructions, schedules the heterogeneous resources to execute the target task and obtains the execution result, including: the heterogeneous resource configuration module selects the tool plug-in corresponding to the loading tool name from the heterogeneous resources; the heterogeneous resource configuration module drives the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain the task content; the heterogeneous resource configuration module drives the tool plug-in to operate the target tool according to the task content to obtain the execution result.
[0024] As an optional implementation of the embodiment of the present disclosure, the heterogeneous resource configuration module selects and loads a tool plug-in corresponding to a tool name from the heterogeneous resources, including: the heterogeneous resource configuration module detects whether a tool plug-in corresponding to the tool name exists in the local resources of the heterogeneous resources; if the tool plug-in corresponding to the tool name does not exist in the local resources, the heterogeneous resource configuration module downloads the tool plug-in corresponding to the tool name from the remote plug-in library of the heterogeneous resources to load the tool plug-in.
[0025] As an optional implementation of the embodiment of the present disclosure, the heterogeneous resource configuration module responds to the attack and defense execution instructions, and before scheduling heterogeneous resources to execute the target task to obtain the execution result, it also includes: initializing module information, and the module information includes: status reporting address, tool plug-in library address, and data return address.
[0026] As an optional implementation of the embodiment of the present disclosure, the method also includes: the task management module receives the running status information reported by the heterogeneous resource configuration module to monitor whether the heterogeneous resource configuration module is operating normally; wherein the running status information includes: the name of the loaded plug-in and the running log.
[0027] In a fourth aspect, the present disclosure provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a heterogeneous resource scheduling method for network attack and defense simulation as in the third aspect or any one of its optional implementations is implemented.
[0028] In a fifth aspect, the present disclosure provides a computer-readable storage medium, including: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, a heterogeneous resource scheduling method for network attack and defense simulation as in the third aspect or any one of its optional implementations is implemented.
[0029] In a sixth aspect, the present disclosure provides a computer program product, comprising: when the computer program product runs on a computer, it enables the computer to implement a heterogeneous resource scheduling method for network attack and defense simulation as in the first aspect or any one of its optional implementations.
[0030] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0031] The present invention provides a heterogeneous resource scheduling system and deployment method for network attack and defense simulation, as well as a heterogeneous resource scheduling method, electronic device and storage medium for network attack and defense simulation, wherein the heterogeneous resource scheduling system for network attack and defense simulation includes: an intelligent decision center, a data processing center, a heterogeneous resource configuration module and heterogeneous resources; the intelligent decision center is used to generate attack and defense execution instructions according to the monitored current network status data, and send it to the heterogeneous resource configuration module, and then the heterogeneous resource configuration module responds to the attack and defense execution instructions, schedules heterogeneous resources to execute target tasks to obtain execution results, and formats the execution results to obtain standardized results, and reports them to the data processing center. In this way, the system realizes that the intelligent decision-making center issues attack and defense execution instructions with standard language format and unified language format to the heterogeneous resource configuration module to standardize the scheduling of heterogeneous resources; for the intelligent decision-making center, the scheduling details of heterogeneous resources are shielded, so that the intelligent decision-making center can focus more on attack and defense decisions, which is conducive to improving the effectiveness of network attack and defense simulation results; the heterogeneous resource configuration module can respond to the attack and defense execution instructions to schedule heterogeneous resources to execute target tasks, without the need for integrated management of heterogeneous resources, reducing the coupling of heterogeneous resources, thereby improving the scalability and flexibility of the system; formatting the execution results is to standardize the execution results corresponding to heterogeneous resources, thereby reducing the workload of the subsequent data processing center, which is conducive to improving the efficiency of network attack and defense simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 1 ;
[0035] Figure 2 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 2 ;
[0036] Figure 3 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 3 ;
[0037] Figure 4 A flowchart of a system deployment method provided by an embodiment of the present disclosure;
[0038] Figure 5 A schematic diagram of a flow chart of a heterogeneous resource scheduling method for network attack and defense simulation provided by an embodiment of the present disclosure;
[0039] Figure 6 A schematic structural diagram of an electronic device is provided in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the technical terms required to be used in the embodiments or the prior art description are briefly introduced below:
[0041] Network attack and defense simulation involves a large number of test resources including physical simulation and semi-physical simulation. In order to simulate real attack and defense scenarios, physical simulation usually uses physical equipment, such as firewalls, intrusion prevention systems (IPS), integrated hardware and software vulnerability scanning tools, etc., and technicians use the secure shell protocol or remote login service protocol to configure the physical equipment through the device management port. In order to simulate real business scenarios, software resources such as application software and operating systems will be deployed and operated in the network environment, and then the software will be operated according to the written script to implement infiltration, exfiltration and other related behaviors.
[0042] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0044] The terms "first", "second", "third", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances. In addition, in the description of the present disclosure, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0045] At present, the network attack and defense system integration platform is mainly used to operate attack and defense tools, deploy computing equipment, security equipment, routing and switching equipment, etc., and configure and call tools and equipment according to the current network situation to complete network attack and defense simulation. However, both computing nodes and software resources have unique command lines, interfaces, and script calling methods, and the parameters involved in the interfaces are also different. This leads to the need for customized development and management configuration of related modules of the network attack and defense system integration platform with resource updates, and the scalability is not flexible enough; in addition, the network attack and defense system integration platform mainly manages tools through application program interfaces (API), remote login services (TELNET), secure shells (Secure Shell, SSH), etc., but cannot configure and manage graphical interface security tools and equipment; in addition, network attack and defense system integration platforms, such as security vulnerability detection tools (Metaspliot, MSF), integrated platforms for attacking web applications (Burp Suite), and remote vulnerability verification frameworks (pocsuite) based on vulnerabilities and POCs, have a narrow range of application of tools and a high degree of execution complexity, making them difficult to apply in intelligent simulation attack and defense scenarios. Furthermore, the result data obtained from resource and node execution are also different, large and complex, which affects the result analysis of network attack and defense simulation.
[0046] Therefore, how to configure and schedule heterogeneous resources to complete attack and defense actions and improve the flexibility, scalability and efficiency of network attack and defense simulation is a technical problem that needs to be solved urgently in the field of software testing.
[0047] In order to solve the above problems, the embodiments of the present disclosure provide a heterogeneous resource scheduling system and deployment method for network attack and defense simulation, as well as a heterogeneous resource scheduling method, electronic device and storage medium for network attack and defense simulation, which can realize that the intelligent decision center issues standard and unified attack and defense execution instructions in language format to the heterogeneous resource configuration module to standardize the scheduling of heterogeneous resources. For the intelligent decision center, the scheduling details of heterogeneous resources are shielded, so that the intelligent decision center is more focused on attack and defense decisions, which is conducive to improving the effectiveness of the network attack and defense simulation results; the heterogeneous resource configuration module can respond to the attack and defense execution instructions to schedule heterogeneous resources to execute target tasks, without the need for integrated management of heterogeneous resources, reducing the coupling of heterogeneous resources, thereby improving the scalability and flexibility of the system; formatting the execution results is to standardize the execution results corresponding to the heterogeneous resources, thereby reducing the workload of the subsequent data processing center, which is conducive to improving the efficiency of the network attack and defense simulation.
[0048] like Figure 1 As shown, Figure 1 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 1 The heterogeneous resource scheduling system for network attack and defense simulation includes an intelligent decision center 100 , a data processing center 101 , a heterogeneous resource configuration module 102 and heterogeneous resources 103 .
[0049] Among them, the intelligent decision center 100 is used to generate attack and defense execution instructions based on the monitored current network status data, and send the attack and defense execution instructions to the heterogeneous resource configuration module; the attack and defense execution instructions are commands in a preset language format.
[0050] The heterogeneous resource configuration module 102, in response to the attack and defense execution instruction, dispatches the heterogeneous resources 103 to execute the target task to obtain the execution result; and formats the execution result to obtain the standardized result, and the refrigerator data processing center 101 reports the standardized result.
[0051] In some embodiments, the heterogeneous resource configuration module 102 initializes module information before responding to the attack and defense execution instruction and scheduling the heterogeneous resource 103 to execute the target action to obtain the execution result. The module information includes but is not limited to: status reporting address, tool plug-in library address and data return address, etc.
[0052] Specifically, when the system starts, the heterogeneous resource configuration module 102 is initialized first, specifically the module information is initialized. After the initialization is completed, the heterogeneous resource configuration module 102 waits to receive the attack and defense execution instruction issued by the intelligent decision center 100.
[0053] In some embodiments, the attack and defense execution instructions include: tool name (toolName), action parameter (action), object parameter (target) and parameter key-value pairs (params). Among them, the action parameter indicates the task or activity to be performed; the object parameter indicates the action object, the target of the operation; the parameter key-value pair indicates additional information applicable to the command.
[0054] The attack and defense execution instructions also include a command identifier (commandId), a task identifier (taskId), a timestamp (timestamp), etc.
[0055] The format of the attack and defense execution instructions is pre-set to ensure that the attack and defense execution instruction format is unified and standard, which is convenient for scheduling heterogeneous resources. For example, the format of the attack and defense execution instruction is as follows:
[0056]
[0057] Among them, the parameter explanations included in the attack and defense execution instructions are shown in Table 1:
[0058] Table 1
[0059]
[0060]
[0061] In some embodiments, when the heterogeneous resource configuration module 102 responds to the attack and defense execution instructions and schedules the heterogeneous resources to execute the target action to obtain the execution result, it first selects the tool plug-in corresponding to the loading tool name from the heterogeneous resources 103, and then drives the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain the task content; and then drives the tool plug-in to operate the target tool according to the task content to obtain the execution result.
[0062] Among them, the tool plug-in includes an attack and defense tool plug-in or a data collection plug-in. The tool plug-in has its own operation mode and operation logic. The task content is used to indicate the attack and defense action or data collection action, including test resource execution commands, application programming interface (API), etc. The execution result includes attack and defense data or environment status data.
[0063] Specifically, after receiving the attack and defense execution instructions issued by the intelligent decision-making center, the heterogeneous resource configuration module 102 parses them to obtain the tool name, action parameters, object parameters and parameter key-value pairs included in the attack and defense execution instructions, and then selects the corresponding tool plug-in from the heterogeneous resources 103 according to the tool name, loads the tool plug-in onto the heterogeneous resource configuration module 102, and then drives the loaded tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to translate the task content, and further, operates the target tool corresponding to the tool plug-in according to the task content to execute the target task to obtain the execution result.
[0064] like Figure 2 As shown, Figure 2 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 2 ,exist Figure 1 Based on the system structure shown, the heterogeneous resources 103 specifically include: computing nodes 1031, switching nodes 1032, security nodes 1033 and attack and defense tools 1034. The above resources have unique command lines, interfaces and script calling methods, and the parameters involved in the interfaces are also different.
[0065] It should be emphasized that the present disclosure does not directly dispatch the above-mentioned heterogeneous resources by the intelligent decision center 100, but deploys heterogeneous resource configuration modules between the intelligent decision center and the heterogeneous resources to coordinate heterogeneous resources. The intelligent decision center no longer needs to pay attention to the resource details of the lower layer, nor does it need to generate corresponding instructions for different resources. Instead, it focuses on the attack and defense decision-making and issues reasonable and unified language format attack and defense execution instructions, which saves the computing power of the intelligent decision center, can pay more attention to the attack and defense business itself, and help improve the network attack and defense simulation effect, making the attack and defense simulation results more referenceable.
[0066] In some embodiments, when the heterogeneous resource configuration module 102 selects a tool plug-in corresponding to a loading tool name from the heterogeneous resource 103, it first detects whether the tool plug-in corresponding to the tool name exists in the local resources of the heterogeneous resource 103. If the tool plug-in corresponding to the tool name does not exist in the local resources of the heterogeneous resource 103, the tool plug-in corresponding to the tool name is downloaded from the remote plug-in library of the heterogeneous resource 103 to load the tool plug-in.
[0067] Specifically, during the process of loading the tool plug-in, the heterogeneous resource configuration module 102 first checks the local resources to detect whether there is a tool plug-in corresponding to the tool name in the local resources. If so, it means that the tool plug-in exists in the local resources, and the tool plug-in is loaded from the local resources and installed on the heterogeneous resource configuration module 102; if not, it means that the tool plug-in does not exist in the local resources, and it is downloaded from the remote plug-in library, and after downloading, the tool plug-in is loaded on the heterogeneous resource configuration module 102.
[0068] In some embodiments, the heterogeneous resource configuration module 102 obtains a standardized result when formatting the execution result, and reports the standardized result to the data processing center 101 according to the data reporting address, wherein the standardized result includes but is not limited to: task identifier (taskId), tool name (toolName), command identifier (commandId), result data (formatData), command timestamp (timestamp) and target resource type (targetType).
[0069] For example, the format of the normalization result is as follows:
[0070]
[0071] Among them, the various parameter explanations of the standardized results are shown in Table 2:
[0072] Table 2
[0073]
[0074]
[0075] Among them, the resource type (targetType) includes: computing node, security node, switching node and attack and defense tool types. As shown in Table 3, the computing node type also includes Linux subtype and Windows subtype; the switching node type includes router subtype and switch subtype; the attack and defense tool type includes code security audit subtype, vulnerability scanning and verification subtype, traffic analysis log subtype and remote control tool subtype.
[0076] Table 3
[0077]
[0078]
[0079] The result data (formatData) format of different target resource types is different. Take the code security audit subtype and traffic analysis log subtype as examples:
[0080] (1) Standardized results corresponding to code security audit subtypes:
[0081]
[0082]
[0083]
[0084] (2) Standardized results corresponding to traffic analysis log subtypes:
[0085]
[0086]
[0087] It can be seen that both the code security audit subtype and the traffic analysis log subtype contain a task identifier (taskId), a tool name (toolName), a command identifier (commandId), and a command timestamp (timestamp), wherein the formats of the result data (formatData) are different.
[0088] It should be emphasized that after the formatting is executed, the subsequent data processing center can directly locate the required information according to the standardized results. For example, the result data of the standardized results can be directly extracted from the standardized results by keyword matching to analyze the network attack and defense simulation. Therefore, the standardized results are conducive to the efficiency of the network attack and defense simulation.
[0089] In some embodiments, such as Figure 3 As shown, Figure 3 A schematic diagram of a heterogeneous resource scheduling system for network attack and defense simulation provided by an embodiment of the present disclosure Figure 3 ,exist Figure 1 Based on the system structure shown, a task management module 300 is also included, which is used to receive the running status information reported by the heterogeneous resource configuration module 102, and the running status information includes but is not limited to: the name of the installed plug-in, the running log; to monitor whether the heterogeneous resource configuration module is operating normally. It can be understood that after the aforementioned initialization module information, the heterogeneous resource configuration module 102 continues to report the running status information to the task management module 300, so as to feedback its own running status to the task management module 300 to detect whether the system is operating normally.
[0090] In some embodiments, the heterogeneous resource configuration module 102 is also used to interact with the tool plug-in to obtain information such as the tool's execution parameters and plug-in status.
[0091] In some embodiments, the heterogeneous resource configuration module 102 is also used to manage running tasks, specifically to manage the mapping relationship between tool plug-ins and tasks, so as to control the running status of the tool plug-ins according to the task situation.
[0092] In summary, the heterogeneous resource scheduling system for network attack and defense simulation provided by the embodiment of the present disclosure realizes that the intelligent decision center issues standard and unified attack and defense execution instructions in language format to the heterogeneous resource configuration module to standardize the scheduling of heterogeneous resources. For the intelligent decision center, the scheduling details of heterogeneous resources are shielded, so that the intelligent decision center can focus more on attack and defense decisions, which is conducive to improving the effectiveness of the network attack and defense simulation results; the heterogeneous resource configuration module can respond to the attack and defense execution instructions to schedule heterogeneous resources to execute target tasks, without the need for integrated management of heterogeneous resources, reducing the coupling of heterogeneous resources, thereby improving the scalability and flexibility of the system; formatting the execution results is to unify and standardize the execution results corresponding to the heterogeneous resources, thereby reducing the workload of the subsequent data processing center, which is conducive to improving the efficiency of the network attack and defense simulation.
[0093] like Figure 4 As shown, Figure 4 A schematic diagram of a system deployment method provided in an embodiment of the present disclosure, the method comprising the following steps:
[0094] S401, obtaining the readable and writable status information of the target operating system;
[0095] The target operating system is the operating system of the resource to which the user expects to deploy the heterogeneous resource scheduling system simulated by the network attack and defense simulation.
[0096] The target operating system can be the operating system of software resources, such as application software, desktop software, etc.; it can also be security nodes, router equipment, switch equipment, hardware and software integrated security tools, etc.
[0097] S402: When the readable and writable state information indicates that the target operating system is readable and writable, the heterogeneous resource scheduling system is implanted and deployed on the target operating system;
[0098] Embedded deployment means that the heterogeneous resource scheduling system runs on the target operating system in the form of a service.
[0099] S403: When the readable and writable state information indicates that the target operating system cannot be read or written, deploy the heterogeneous resource scheduling system plug-in on the target operating system.
[0100] External deployment means that the heterogeneous resource scheduling system runs independently on the computing device and remotely controls resources through API, SSH, etc.
[0101] Specifically, when deploying the heterogeneous resource scheduling system simulated by the above-mentioned network attack and defense simulation, first obtain the readable and writable status information of the target operating system, and then determine whether the readable and writable status information indicates that the target operating system can be read and written. If so, the heterogeneous resource scheduling system is implanted and deployed on the target operating system; if not, the heterogeneous resource scheduling system plug-in is deployed on the target operating system.
[0102] It is understandable that the deployment methods of the heterogeneous tool scheduling system include: embedded deployment and plug-in deployment.
[0103] (1) Implantable deployment
[0104] When the operating system of the resource can be read and written, the heterogeneous tool scheduling system is deployed in an embedded manner and runs on the target resource in the form of a service.
[0105] The target resources are software type resources: such as operating systems, application software, and desktop software.
[0106] (2) External deployment
[0107] When the operating system of the resource cannot be read or written, the heterogeneous tool scheduling system is deployed externally and runs on a computing device. The system remotely operates the target resource through a protocol.
[0108] For example, if the user wants to deploy the heterogeneous resource scheduling system on the application software, and after determining that the operating system corresponding to the application software can be read and written, the heterogeneous resource scheduling system is run on the application software in the form of a service.
[0109] As another example, if a user wishes to deploy a heterogeneous resource scheduling system on a security device, and after determination that the operating system of the security device cannot be read or written, the heterogeneous resource scheduling system is run on a computing device, and the security device is remotely controlled through API, SSH, etc.
[0110] like Figure 5 As shown, Figure 5 A flow chart of a heterogeneous resource scheduling method for network attack and defense simulation provided by an embodiment of the present disclosure is applied to a heterogeneous resource scheduling system for network attack and defense simulation, the system comprising an intelligent decision center, a data processing center, a heterogeneous resource configuration module and heterogeneous resources, reference Figure 1-3 Any of the system structure diagrams shown. The method includes the following steps S501-S502:
[0111] S501. The intelligent decision center generates attack and defense execution instructions based on the monitored current network status data, and sends the attack and defense execution instructions to the heterogeneous resource configuration module.
[0112] Among them, the attack and defense execution instructions are instructions in a preset language format. The attack and defense execution instructions include: tool name (toolName), action parameter (action), object parameter (target) and parameter key-value pairs (params). Among them, the action parameter indicates the task or activity to be performed; the object parameter indicates the action object, the target of the execution operation; the parameter key-value pair indicates additional information applicable to the command.
[0113] The attack and defense execution instructions also include a command identifier (commandId), a task identifier (taskId), a timestamp (timestamp), etc.
[0114] The format of the attack and defense execution instruction is preset to ensure that the attack and defense execution instruction format is unified and standard, which is convenient for scheduling heterogeneous resources. The format of the attack and defense execution instruction is as shown above, and this disclosure will not repeat it here.
[0115] S502, the heterogeneous resource configuration module responds to the attack and defense execution instruction, schedules the heterogeneous resources to execute the target task to obtain the execution result; and formats the execution result to obtain the standardized result, and reports the standardized result to the data processing center.
[0116] In some embodiments, before the heterogeneous resource configuration module responds to the attack and defense execution instruction and schedules the heterogeneous resources to execute the target task to obtain the execution result, the heterogeneous resource configuration module also initializes the module information, wherein the module information includes but is not limited to: status reporting address, tool plug-in library address and data return address, etc.
[0117] Specifically, when the system starts, the heterogeneous resource configuration module is initialized first, specifically the module information is initialized. After the initialization is completed, the heterogeneous resource configuration module waits to receive the attack and defense execution instructions issued by the intelligent decision center.
[0118] In some embodiments, when the heterogeneous resource configuration module responds to the attack and defense execution instructions and schedules heterogeneous resources to execute the target task to obtain the execution result, it first selects the tool plug-in corresponding to the loading tool name from the heterogeneous resources, and then drives the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain the task content; and then drives the tool plug-in to operate the target tool according to the task content to obtain the execution result.
[0119] Among them, tool plug-ins include attack and defense tool plug-ins or data collection plug-ins. Tool plug-ins have their own operation methods and operation logic. Task content is used to indicate attack and defense actions or data collection actions, including test resource execution commands, APIs, etc. Execution results include attack and defense data or environment status data.
[0120] Specifically, after receiving the attack and defense execution instructions issued by the intelligent decision-making center, the heterogeneous resource configuration module parses them to obtain the tool name, action parameters, object parameters and parameter key-value pairs included in the attack and defense execution instructions, and then selects the corresponding tool plug-in from the heterogeneous resources according to the tool name, loads the tool plug-in to the heterogeneous resource configuration module, and then drives the loaded tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to translate the task content, and further, operates the target tool corresponding to the tool plug-in according to the task content to execute the target task to obtain the execution result.
[0121] It should be emphasized that the present disclosure does not directly dispatch the above-mentioned heterogeneous resources by the intelligent decision center, but deploys heterogeneous resource configuration modules between the intelligent decision center and the heterogeneous resources to coordinate heterogeneous resources. The intelligent decision center no longer needs to pay attention to the resource details of the lower layer, nor does it need to generate corresponding instructions for different resources. Instead, it focuses on the attack and defense decision-making and issues reasonable attack and defense execution instructions with unified language format, which saves the computing power of the intelligent decision center, can pay more attention to the attack and defense business itself, and help improve the network attack and defense simulation effect, making the attack and defense simulation results more referenceable.
[0122] In some embodiments, when the heterogeneous resource configuration module selects a tool plug-in corresponding to a loading tool name from heterogeneous resources, it first detects whether the tool plug-in corresponding to the tool name exists in the local resources of the heterogeneous resources. If the tool plug-in corresponding to the tool name does not exist in the local resources of the heterogeneous resources, the tool plug-in corresponding to the tool name is downloaded from the remote plug-in library of the heterogeneous resources to load the tool plug-in.
[0123] Specifically, when loading a tool plug-in, the heterogeneous resource configuration module first checks the local resources to detect whether there is a tool plug-in corresponding to the tool name in the local resources. If so, it means that the tool plug-in exists in the local resources, and the tool plug-in is loaded from the local resources and installed on the heterogeneous resource configuration module; if not, it means that the tool plug-in does not exist in the local resources, and it is downloaded from the remote plug-in library. After downloading, the tool plug-in is loaded on the heterogeneous resource configuration module.
[0124] In some embodiments, the heterogeneous resource configuration module obtains a standardized result after formatting the execution result, and reports the standardized result to the data processing center according to the data reporting address, wherein the standardized result includes but is not limited to: task identifier (taskId), tool name (toolName), command identifier (commandId), result data (formatData), command timestamp (timestamp) and target resource type (targetType). The format of the standardized result is as shown above, and the present disclosure will not elaborate on it here.
[0125] It should be emphasized that after the formatting is executed, the subsequent data processing center can directly locate the required information according to the standardized results. For example, the result data of the standardized results can be directly extracted from the standardized results by keyword matching to analyze the network attack and defense simulation. Therefore, the standardized results are conducive to the efficiency of the network attack and defense simulation.
[0126] In some embodiments, after the aforementioned module information is initialized, the heterogeneous resource configuration module continuously reports the running status information to the task management module, so as to feed back its own running status to the task management module 300 to detect whether the system is operating normally.
[0127] In some embodiments, the heterogeneous resource configuration module also interacts with the tool plug-in to obtain information such as the tool's execution parameters and plug-in status.
[0128] In some embodiments, the heterogeneous resource configuration module also manages running tasks, specifically managing the mapping relationship between tool plug-ins and tasks, so as to control the running status of the tool plug-ins according to the task situation.
[0129] In summary, a heterogeneous resource scheduling method for network attack and defense simulation provided by an embodiment of the present disclosure is applied to a heterogeneous resource scheduling system for network attack and defense simulation, so as to realize that an intelligent decision center issues standard and unified attack and defense execution instructions to a heterogeneous resource configuration module to standardize heterogeneous resource scheduling. For the intelligent decision center, the scheduling details of heterogeneous resources are shielded, so that the intelligent decision center can focus more on attack and defense decisions, which is conducive to improving the effectiveness of the network attack and defense simulation results; the heterogeneous resource configuration module can respond to the attack and defense execution instructions to schedule heterogeneous resources to execute target tasks, without the need for integrated management of heterogeneous resources, reducing the coupling of heterogeneous resources, thereby improving the scalability and flexibility of the system; formatting the execution results is to unify and standardize the execution results corresponding to the heterogeneous resources, thereby reducing the workload of the subsequent data processing center, which is conducive to improving the efficiency of the network attack and defense simulation.
[0130] A heterogeneous resource scheduling method for network attack and defense simulation provided in the embodiment of the present disclosure can be implemented by computer equipment, including but not limited to servers, personal computers, laptops, tablet computers, smart phones, vehicle-mounted devices, etc. Computer equipment includes user equipment and network equipment. Among them, user equipment includes but is not limited to computers, smart phones, tablet computers, etc.; network equipment includes but is not limited to a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of computers or network servers in cloud computing, wherein cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Among them, the computer equipment can be operated alone to implement the present disclosure, and can also be connected to the network and implement the present disclosure through interactive operations with other computer devices in the network. Among them, the network where the computer equipment is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN) network, etc.
[0131] It should be noted that the protection scope of the heterogeneous resource scheduling method for network attack and defense simulation described in the embodiment of the present disclosure is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present disclosure are included in the protection scope of the present disclosure.
[0132] like Figure 6 As shown, Figure 6 The present disclosure provides a schematic diagram of the structure of an electronic device, which includes: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the computer program is executed by the processor 601, each process of the heterogeneous resource scheduling method for network attack and defense simulation in the above method embodiment is implemented. The same technical effect can be achieved, and it will not be repeated here to avoid repetition.
[0133] The embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the heterogeneous resource scheduling method for network attack and defense simulation in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0134] The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0135] The disclosed embodiment provides a computer program product, which stores a computer program. When the computer program is executed by a processor, each process of the heterogeneous resource scheduling method for network attack and defense simulation in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0136] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0137] In the present disclosure, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0138] In the present disclosure, memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0139] In the present disclosure, computer-readable media include permanent and non-permanent, removable and non-removable storage media. Storage media can be implemented by any method or technology to store information, and the information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0140] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0141] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A heterogeneous resource scheduling system for network attack and defense simulation, characterized in that: The heterogeneous resource scheduling system includes: an intelligent decision-making center, a data processing center, a heterogeneous resource configuration module and heterogeneous resources; The intelligent decision center is used to generate an attack and defense execution instruction according to the monitored current network status data, and send the attack and defense execution instruction to the heterogeneous resource configuration module; wherein the attack and defense execution instruction is a command in a preset language format; The heterogeneous resource configuration module is used to dispatch the heterogeneous resources to execute the target task to obtain an execution result in response to the attack and defense execution instruction; and format the execution result to obtain a standardized result, and report the standardized result to the data processing center; The attack and defense execution instructions include: tool name, action parameters, object parameters and parameter key-value pairs; The heterogeneous resource configuration module, in response to the attack and defense execution instruction, schedules the heterogeneous resources to execute the target action to obtain the execution result, specifically configured to: Select and load a tool plug-in corresponding to the tool name from the heterogeneous resources; Driving the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain task content; The tool plug-in is driven to operate the target tool according to the task content to obtain the execution result.
2. The system according to claim 1, characterized in that The heterogeneous resource configuration module, when selecting and loading the tool plug-in corresponding to the tool name from the heterogeneous resources, is specifically used to: Detecting whether a tool plug-in corresponding to the tool name exists in the local resources of the heterogeneous resources; In the case that the tool plug-in corresponding to the tool name does not exist in the local resource, the tool plug-in corresponding to the tool name is downloaded from the remote plug-in library of the heterogeneous resource to load the tool plug-in.
3. The system according to claim 1, characterized in that The heterogeneous resource configuration module, before responding to the attack and defense execution instruction and scheduling the heterogeneous resources to execute the target action to obtain the execution result, is further used to: Initialize module information, which includes: status reporting address, tool plug-in library address, and data return address.
4. The system according to claim 1, characterized in that The heterogeneous resource scheduling system further includes: a task management module, which is used to receive the operation status information reported by the heterogeneous resource configuration module to monitor whether the heterogeneous resource configuration module is operating normally; The running status information includes: the name of the installed plug-in and the running log.
5. A system deployment method, characterized in that: include: Get the read-write status information of the target operating system; When the readable and writable status information indicates that the target operating system is readable and writable, implanting and deploying the heterogeneous resource scheduling system according to any one of claims 1 to 4 on the target operating system; When the readable and writable status information indicates that the target operating system is not readable and writable, the heterogeneous resource scheduling system plug-in as described in any one of claims 1 to 4 is deployed on the target operating system.
6. A heterogeneous resource scheduling method for network attack and defense simulation, applied to a heterogeneous resource scheduling system for network attack and defense simulation, the heterogeneous resource scheduling system comprising: Intelligent decision-making center, data processing center, heterogeneous resource configuration module and heterogeneous resources; The method comprises: The intelligent decision center generates an attack and defense execution instruction according to the monitored current network status data, and sends the attack and defense execution instruction to the heterogeneous resource configuration module; The heterogeneous resource configuration module, in response to the attack and defense execution instruction, schedules the heterogeneous resources to execute the target task to obtain an execution result; and formats the execution result to obtain a standardized result, and reports the standardized result to the data processing center; The attack and defense execution instructions include: tool name, action parameters, object parameters and parameter key-value pairs; The heterogeneous resource configuration module, in response to the attack and defense execution instruction, schedules the heterogeneous resources to execute the target task to obtain the execution result, including: The heterogeneous resource configuration module selects and loads a tool plug-in corresponding to the tool name from the heterogeneous resources; The heterogeneous resource configuration module drives the tool plug-in to parse the action parameters, object parameters and parameter key-value pairs to obtain task content; The heterogeneous resource configuration module drives the tool plug-in to operate the target tool according to the task content to obtain the execution result.
7. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the heterogeneous resource scheduling method for network attack and defense simulation as described in claim 6.
8. A computer-readable storage medium, characterized in that: include: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the heterogeneous resource scheduling method for network attack and defense simulation as described in claim 6 is implemented.
Citation Information
Patent Citations
Network security attack and defense demonstration system, method and device and storage medium
CN114257522A
Power distribution network simulation editing and attack and defense strategy optimization system and method
CN115242439A
Intelligent manufacturing network attack and defense display method, device and system and storage medium
CN115484175A
Multi-system joint simulation method and system for cluster attack and defense
CN116627048A
Scheduling and dispatching tasks in an emulated operating system
US20100205603A1
