Network attack and defense simulation method and simulation system based on reinforcement learning
Through network attack and defense simulation methods and simulation systems based on reinforcement learning, attack and defense algorithm models are generated and displayed, which solves the problem that traditional network security measures are difficult to deal with new attacks, achieves flexible and adaptable network security responses, and improves the ability to respond to unknown threats. Recognition and response skills.
Patent Information
- Application Number
- CN202411099623.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-12
AI Technical Summary
Traditional network security defense measures are difficult to deal with new or complex network attacks, lack flexibility and adaptability, and cannot effectively respond to unknown threats.
Adopting network attack and defense simulation methods and simulation systems based on reinforcement learning, by generating simulation network topology and environment models, obtaining and displaying attack and defense algorithm models, realizing the action information display of agents and obtaining simulation results, and supporting the rapid selection and training of different attacks and defenses. algorithm model.
Provides a flexible and adaptable network security solution that can optimize strategies in real time to identify and respond to emerging threats, improve response capabilities to unknown attacks, and discover potential vulnerabilities in network systems.
Smart Images

Figure CN118784498A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of machine learning, and in particular to a network attack and defense simulation method and simulation system based on reinforcement learning. Background Art
[0002] In today's highly digitalized and interconnected information age, the challenges facing network security are unprecedentedly complex and severe. Network attack methods continue to evolve, not only frequently updated but also increasingly sophisticated, which requires network defense strategies to not only be highly flexible and adaptable, but also able to respond quickly to unknown threats. Traditional network security defense measures, such as firewalls and intrusion detection systems, rely on preset rules or known attack features for protection, and are often unable to cope with new or complex attack scenarios, and are easily bypassed or ineffective.
[0003] Based on the dynamic network attack and defense simulation environment, reinforcement learning came into being and showed great potential in the field of network security. Reinforcement learning, a branch of machine learning with decision-making and optimization as its core, obtains the best action strategy through interactive learning with the environment, providing a new way to adapt to the ever-changing field of network security. Applied to network security defense, reinforcement learning can iteratively optimize strategies through real-time feedback to identify and respond to emerging threats.
[0004] At present, although the development of network attack and defense strategies based on reinforcement learning is in its infancy compared to traditional network security methods, it has shown significant progress and potential. In particular, the network attack and defense strategy training platform for reinforcement learning, by establishing a simulated network attack and defense environment, enables network security researchers and practitioners to iteratively test and optimize attack and defense strategies in a safe virtual environment. Such a training platform can, on the one hand, simulate network attacks and defense behaviors in the real world, and on the other hand, improve the ability to respond to unknown attacks through continuous learning. At the same time, it can also help discover potential vulnerabilities in network systems and provide data support for security engineering. Summary of the invention
[0005] The main purpose of the embodiments of the present invention is to provide a network attack and defense simulation method and simulation system based on reinforcement learning. By presetting a variety of different attack and defense algorithm models, the corresponding attack and defense algorithm model can be quickly and accurately selected according to the needs of actual attack and defense simulation to achieve different attack and defense simulations.
[0006] In a first aspect, a network attack and defense simulation method based on reinforcement learning is provided, the simulation method comprising:
[0007] Generate a simulated network topology structure according to the attack and defense requirements of the network to be simulated, and establish a network attack and defense environment model according to the network environment, wherein the simulated network topology structure includes: node attributes of topological nodes of the simulated network topology structure;
[0008] Acquire a corresponding attack and defense algorithm model according to the simulated network topology structure and the network attack and defense environment model;
[0009] A network scene graph is obtained by rendering according to the simulated network topology structure and the network attack and defense environment model, action information of the intelligent agent participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph.
[0010] In a possible implementation, the simulation method further includes:
[0011] A simulation result of the attack and defense simulation is obtained.
[0012] In another possible implementation, generating a simulated network topology structure according to the attack and defense requirements of the network to be simulated includes:
[0013] Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data;
[0014] A simulated network topology structure is generated according to the attack and defense data.
[0015] In another possible implementation, the corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model:
[0016] Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or,
[0017] According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
[0018] In a second aspect, a network attack and defense simulation system based on reinforcement learning is provided, the simulation system comprising:
[0019] A topology structure and environment model building module is used to generate a simulated network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and to establish a network attack and defense environment model according to the network environment, wherein the simulated network topology structure includes: node attributes of topological nodes of the simulated network topology structure;
[0020] An attack and defense algorithm model acquisition module is used to acquire a corresponding attack and defense algorithm model according to the simulation network topology structure and the network attack and defense environment model;
[0021] A display module is used to obtain a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtain action information of the intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and display the action information in the network scene graph.
[0022] In a possible implementation, the simulation system further includes:
[0023] The simulation result acquisition module is used to obtain the simulation result of the attack and defense simulation.
[0024] In another possible implementation, generating a simulated network topology structure according to the attack and defense requirements of the network to be simulated includes:
[0025] Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data;
[0026] A simulated network topology structure is generated according to the attack and defense data.
[0027] In another possible implementation, the corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model:
[0028] Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or,
[0029] According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
[0030] In a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the network attack and defense simulation method based on reinforcement learning as provided in the first aspect is implemented.
[0031] In a fourth aspect, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the network attack and defense simulation method based on reinforcement learning as provided in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0033] Figure 1 A flowchart of a network attack and defense simulation method based on reinforcement learning provided by the first embodiment of the present invention;
[0034] Figure 2 A structural diagram of a network attack and defense simulation system based on reinforcement learning provided in a second embodiment of the present invention;
[0035] Figure 3 A schematic diagram of the physical structure of an electronic device provided by the present invention;
[0036] Figure 4 A schematic diagram of the structure of the simulation system provided by the present invention;
[0037] Figure 5 A schematic diagram of a flow chart of a simulation method provided by the present invention;
[0038] Figure 6 A schematic diagram of the structure of a simulation system provided by another embodiment of the present invention;
[0039] Figure 7 A schematic diagram of the architecture of a simulation system provided by another embodiment of the present invention;
[0040] Figure 8 A schematic flow chart of a simulation method provided by another embodiment of the present invention;
[0041] Fig. 9 A schematic diagram of the architecture of a simulation system provided by another embodiment of the present invention;
[0042] Fig.10 A schematic flow chart of a simulation method provided in accordance with another embodiment of the present invention.
[0043] Specific implementation method
[0044] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0045] The embodiments of the present disclosure provide a network attack and defense simulation method and a simulation system based on reinforcement learning. Specifically, a network attack and defense simulation method based on reinforcement learning in the embodiments of the present disclosure can be performed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), etc. The terminal can also include a client, which can be an application client, a browser client carrying an application, or an instant messaging client, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0046] For example, when the network attack and defense simulation method based on reinforcement learning is run on a terminal, the terminal device stores an application and is used to present an operation interface or application page provided by the application. The terminal device is used to interact with the user through a graphical user interface, a merchant page, or an associated page in other applications, such as downloading and installing the application through the terminal device and running it. The terminal device may provide the graphical user interface, the merchant page, or the associated page in other applications to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface, and the processor is used to run the application, generate a graphical user interface, respond to operation instructions, and control the display of the graphical user interface on the touch display screen.
[0047] The embodiment of the present disclosure provides a network attack and defense simulation method and simulation system based on reinforcement learning, and the simulation method can be executed by a terminal or a server. The embodiment of the present disclosure takes a network attack and defense simulation method and simulation system based on reinforcement learning as an example to be executed by a terminal. Among them, the terminal may include a touch display screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch display screen is used as an example for explanation here), and the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting an application, and the processor is configured to start the application after receiving the instructions for starting the application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the application on the touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, the graphical user interface is controlled to perform and display an action corresponding to the touch operation.
[0048] like Figure 1 FIG. 1 is a flowchart of a network attack and defense simulation method based on reinforcement learning provided by an embodiment of the present invention. The simulation method includes:
[0049] Step 101, generating a simulated network topology structure according to the attack and defense requirements of the network to be simulated, and establishing a network attack and defense environment model according to the network environment, wherein the simulated network topology structure includes: node attributes of topological nodes of the simulated network topology structure.
[0050] In this step, based on the needs of users participating in the network attack and defense simulation and the network environment structure requirements, the simulated network topology is generated, and on this basis, the topological nodes of the simulated network topology are configured with attributes, thereby establishing a network attack and defense environment model. This provides basic support for subsequent attack and defense game training and visualization work, and also provides services for extracting, converting, and analyzing the data corresponding to the parameters related to the network environment.
[0051] The generating of the simulated network topology structure according to the attack and defense requirements of the network to be simulated includes:
[0052] Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data;
[0053] A simulated network topology structure is generated according to the attack and defense data.
[0054] In this embodiment, the attack and defense data includes text parameter data and table parameter data. The source of the attack and defense data can be the attack and defense data that has been stored locally, or the attack and defense data that is manually input by the user.
[0055] Step 102: acquiring a corresponding attack and defense algorithm model according to the simulated network topology structure and the network attack and defense environment model.
[0056] In this step, the simulation network topology and the network attack and defense environment model define the relevant parameters required for this attack and defense simulation, and the corresponding attack and defense algorithm model is obtained based on the relevant parameters.
[0057] Wherein, the corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model:
[0058] Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or,
[0059] According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
[0060] In the embodiment of the present invention, a variety of different algorithms are stored in the local database, including trained algorithm models and untrained models. In order to quickly form an attack and defense simulation, the first trained algorithm model is preferentially selected for attack and defense simulation. If there is no corresponding trained algorithm model, a corresponding algorithm model is selected from the untrained algorithm model, the algorithm model is trained, and a second trained algorithm model is obtained, and the attack and defense simulation is performed through the second trained algorithm model.
[0061] Its specific implementation is: using the GUI interface and the interface call interface, an interface for adjusting training parameters is provided for different specific tasks in different scenarios, so that users can choose the action mode and strategy of the offensive and defensive intelligent agents in a set network environment, and support the modification of the algorithm training learning parameters to achieve the different training intensities required by users and complete the experimental purpose.
[0062] Step 103, obtaining a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtaining action information of the intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and displaying the action information in the network scene graph.
[0063] In this step, for the constructed simulation network topology structure and network attack and defense environment model, as well as the selected attack and defense algorithm model, the corresponding data needs to be displayed in an intuitive way, that is, the data is visualized. Specifically, the simulation network topology structure and network attack and defense environment model are rendered into the corresponding network scene graph, and the action information of the attacking and defending agents and agents participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph.
[0064] In the embodiment of the present invention, a simulated network topology is generated according to the attack and defense requirements of the network attack and defense to be simulated, and a network attack and defense environment model is established according to the network environment, wherein the simulated network topology includes: node attributes of the topological nodes of the simulated network topology; corresponding attack and defense algorithm models are obtained according to the simulated network topology and the network attack and defense environment model; a network scene graph is obtained by rendering according to the simulated network topology and the network attack and defense environment model, action information of the intelligent body participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph. By presetting a plurality of different attack and defense algorithm models, the corresponding attack and defense algorithm models can be quickly and accurately selected according to the needs of the actual attack and defense simulation to achieve different attack and defense simulations.
[0065] As an optional embodiment of the present invention, the simulation method further includes:
[0066] A simulation result of the attack and defense simulation is obtained.
[0067] like Figure 2 FIG. 1 is a structural diagram of a network attack and defense simulation system based on reinforcement learning provided by an embodiment of the present invention, wherein the simulation system comprises:
[0068] The topology structure and environment model building module 201 is used to generate a simulated network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and to establish a network attack and defense environment model according to the network environment. The simulated network topology structure includes: node attributes of the topological nodes of the simulated network topology structure.
[0069] In this step, based on the needs of users participating in the network attack and defense simulation and the network environment structure requirements, the simulated network topology is generated, and on this basis, the topological nodes of the simulated network topology are configured with attributes, thereby establishing a network attack and defense environment model. This provides basic support for subsequent attack and defense game training and visualization work, and also provides services for extracting, converting, and analyzing the data corresponding to the parameters related to the network environment.
[0070] The generating of the simulated network topology structure according to the attack and defense requirements of the network to be simulated includes:
[0071] Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data;
[0072] A simulated network topology structure is generated according to the attack and defense data.
[0073] In this embodiment, the attack and defense data includes text parameter data and table parameter data. The source of the attack and defense data can be the attack and defense data that has been stored locally, or the attack and defense data that is manually input by the user.
[0074] The attack and defense algorithm model acquisition module 202 is used to acquire the corresponding attack and defense algorithm model according to the simulation network topology structure and the network attack and defense environment model.
[0075] In this step, the simulation network topology and the network attack and defense environment model define the relevant parameters required for this attack and defense simulation, and the corresponding attack and defense algorithm model is obtained based on the relevant parameters.
[0076] Wherein, the corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model:
[0077] Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or,
[0078] According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
[0079] In the embodiment of the present invention, a variety of different algorithms are stored in the local database, including trained algorithm models and untrained models. In order to quickly form an attack and defense simulation, the first trained algorithm model is preferentially selected for attack and defense simulation. If there is no corresponding trained algorithm model, a corresponding algorithm model is selected from the untrained algorithm model, the algorithm model is trained, and a second trained algorithm model is obtained, and the attack and defense simulation is performed through the second trained algorithm model.
[0080] Its specific implementation is: using the GUI interface and the interface call interface, an interface for adjusting training parameters is provided for different specific tasks in different scenarios, so that users can choose the action mode and strategy of the offensive and defensive intelligent agents in a set network environment, and support the modification of the algorithm training learning parameters to achieve the different training intensities required by users and complete the experimental purpose.
[0081] The display module 203 is used to obtain a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtain action information of the intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and display the action information in the network scene graph.
[0082] In this step, for the constructed simulation network topology structure and network attack and defense environment model, as well as the selected attack and defense algorithm model, the corresponding data needs to be displayed in an intuitive way, that is, the data is visualized. Specifically, the simulation network topology structure and network attack and defense environment model are rendered into the corresponding network scene graph, and the action information of the attacking and defending agents and agents participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph.
[0083] In the embodiment of the present invention, a simulated network topology is generated according to the attack and defense requirements of the network attack and defense to be simulated, and a network attack and defense environment model is established according to the network environment, wherein the simulated network topology includes: node attributes of the topological nodes of the simulated network topology; corresponding attack and defense algorithm models are obtained according to the simulated network topology and the network attack and defense environment model; a network scene graph is obtained by rendering according to the simulated network topology and the network attack and defense environment model, action information of the intelligent body participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph. By presetting a plurality of different attack and defense algorithm models, the corresponding attack and defense algorithm models can be quickly and accurately selected according to the needs of the actual attack and defense simulation to achieve different attack and defense simulations.
[0084] As an optional embodiment of the present invention, the simulation system further includes:
[0085] The simulation result acquisition module is used to obtain the simulation result of the attack and defense simulation.
[0086] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3As shown, the electronic device may include: a processor (processor) 301, a communication interface (Communications Interface) 302, a memory (memory) 303 and a communication bus 304, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus. The processor can call the logic instructions in the memory to execute the network attack and defense simulation method based on reinforcement learning, the method comprising: generating a simulation network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and establishing a network attack and defense environment model according to the network environment, the simulation network topology structure includes: the node attributes of the topological nodes of the simulation network topology structure; obtaining the corresponding attack and defense algorithm model according to the simulation network topology structure and the network attack and defense environment model; obtaining a network scene graph through rendering according to the simulation network topology structure and the network attack and defense environment model, obtaining the action information of the intelligent body participating in the attack and defense simulation according to the attack and defense algorithm model, and displaying the action information in the network scene graph.
[0087] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0088] On the other hand, an embodiment of the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the network attack and defense simulation method based on reinforcement learning provided by the above-mentioned method embodiments, the method including: generating a simulated network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and establishing a network attack and defense environment model according to the network environment, the simulated network topology structure including: node attributes of topological nodes of the simulated network topology structure; obtaining a corresponding attack and defense algorithm model according to the simulated network topology structure and the network attack and defense environment model; obtaining a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtaining action information of the intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and displaying the action information in the network scene graph.
[0089] On the other hand, an embodiment of the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the network attack and defense simulation method based on reinforcement learning provided in the above-mentioned embodiments, the method comprising: generating a simulated network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and establishing a network attack and defense environment model according to the network environment, the simulated network topology structure comprising: node attributes of topological nodes of the simulated network topology structure; obtaining a corresponding attack and defense algorithm model according to the simulated network topology structure and the network attack and defense environment model; obtaining a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtaining action information of an intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and displaying the action information in the network scene graph.
[0090] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0091] The above is only a partial implementation of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A network attack and defense simulation method based on reinforcement learning, characterized in that: The simulation method comprises: Generate a simulated network topology structure according to the attack and defense requirements of the network to be simulated, and establish a network attack and defense environment model according to the network environment, wherein the simulated network topology structure includes: node attributes of topological nodes of the simulated network topology structure; Acquire a corresponding attack and defense algorithm model according to the simulated network topology structure and the network attack and defense environment model; A network scene graph is obtained by rendering according to the simulated network topology structure and the network attack and defense environment model, action information of the intelligent agent participating in the attack and defense simulation is obtained according to the attack and defense algorithm model, and the action information is displayed in the network scene graph.
2. The simulation method according to claim 1, characterized in that: The simulation method further comprises: A simulation result of the attack and defense simulation is obtained.
3. The simulation method according to any one of claims 1 to 2, characterized in that: The generating of the simulated network topology structure according to the attack and defense requirements of the network to be simulated includes: Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data; A simulated network topology structure is generated according to the attack and defense data.
4. The simulation method according to any one of claims 1 to 2, characterized in that: The corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model: Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or, According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
5. A network attack and defense simulation system based on reinforcement learning, characterized in that: The simulation system comprises: A topology structure and environment model building module is used to generate a simulated network topology structure according to the attack and defense requirements of the network attack and defense to be simulated, and to establish a network attack and defense environment model according to the network environment, wherein the simulated network topology structure includes: node attributes of topological nodes of the simulated network topology structure; An attack and defense algorithm model acquisition module is used to acquire a corresponding attack and defense algorithm model according to the simulation network topology structure and the network attack and defense environment model; A display module is used to obtain a network scene graph through rendering according to the simulated network topology structure and the network attack and defense environment model, obtain action information of the intelligent agent participating in the attack and defense simulation according to the attack and defense algorithm model, and display the action information in the network scene graph.
6. The simulation method according to claim 5, characterized in that: The simulation system also includes: The simulation result acquisition module is used to obtain the simulation result of the attack and defense simulation.
7. The simulation system according to any one of claims 5 to 6, characterized in that: The generating of the simulated network topology structure according to the attack and defense requirements of the network to be simulated includes: Acquire attack and defense data corresponding to the attack and defense requirements, the attack and defense data including: text parameter data and table parameter data; A simulated network topology structure is generated according to the attack and defense data.
8. The simulation system according to any one of claims 5 to 6, characterized in that: The corresponding attack and defense algorithm model is obtained according to the simulated network topology structure and the network attack and defense environment model: Acquire a corresponding first trained algorithm model according to the simulated network topology structure and the network attack and defense environment model; or, According to the simulated network topology structure and the network attack and defense environment model, a corresponding untrained algorithm model is obtained, and the trained algorithm model is trained to obtain a second trained algorithm model.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the network attack and defense simulation method based on reinforcement learning as described in any one of claims 1 to 4 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the network attack and defense simulation method based on reinforcement learning as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Multi-view network attack and defense simulation system
CN112104514A
Network attack and defense deduction platform based on simulation experiment design
CN112118272A
Power distribution network simulation editing and attack and defense strategy optimization system and method
CN115242439A
Network security confrontation self-learning simulation system based on adaptive opponent integrated modeling
CN115935362A
Automatic network simulation attack framework based on attack tree and deep reinforcement learning
CN116545687A
