Network security attack defense method and system based on AIGC
By constructing and comprehensively evaluating simulated attack scripts using an AIGC-based cybersecurity attack defense method, the problem of incomplete attack surface in existing technologies is solved, achieving more efficient and comprehensive cybersecurity defense and reducing attack risks.
Patent Information
- Application Number
- CN202310519476.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-05-09
AI Technical Summary
Existing cybersecurity defense methods suffer from problems such as insufficient data accuracy, slow response to new vulnerabilities, susceptibility to adversarial attacks, and difficulty in handling diversity, resulting in an incomplete attack surface and increased risks.
The network security attack defense method based on AIGC is adopted. By assessing the attack surface of the target, attack scenarios, elements and schemes are generated, simulated attack scripts are constructed, and artificial intelligence content generation technology is used to conduct a comprehensive evaluation and determine the defense strategy.
It improves the coverage and accuracy of the attack surface, reduces the risk of targets being attacked, enhances network security and reliability, and provides rapid and comprehensive defense recommendations.
Smart Images

Figure CN117081774B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a network security attack defense method and system based on AIGC. Background Technology
[0002] In the context of modern internet and information technology, cybersecurity has become an issue that cannot be ignored. The ever-increasing number of cyberattacks and security vulnerabilities has attracted widespread attention and concern. Traditional security defense methods are no longer sufficient to meet the demands of today's complex cybersecurity environment, thus necessitating the use of new technologies to enhance cybersecurity.
[0003] Traditional network security attack surface generation techniques for network security defense typically have the following drawbacks:
[0004] (1) Insufficient data accuracy: Due to the limitations and deficiencies of the training data, the generated attack surface may be incomplete or inaccurate, thereby affecting the feasibility and effectiveness of the generated attack strategy;
[0005] (2) Slow response to new vulnerabilities: When a new vulnerability is discovered, the model needs to be retrained and the training data updated, which consumes time and effort. During this period, attackers may have already exploited the vulnerability to launch attacks, leading to security incidents;
[0006] (3) Adversarial attacks: Attackers may use adversarial attack techniques to interfere with the model’s judgment and reasoning, thereby generating false attack surfaces and increasing the success rate of the attack;
[0007] (4) Difficulty in handling diversity: Due to the complexity and diversity of network systems, the attack surface may also be diverse and changeable, and the generative model may be unable to cope with such changes. Summary of the Invention
[0008] The present invention provides a network security attack defense method and system based on AIGC, which is used to solve the problem that the incomplete or inaccurate attack surface generated in the prior art increases the risk of the target being attacked.
[0009] This invention provides a network security attack defense method based on AIGC, comprising:
[0010] The attack surface of the target to be attacked is evaluated, and the evaluation results are obtained. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0011] Based on the attack surface of the target and the evaluation results, a defense strategy is determined for the target.
[0012] According to the AIGC-based network security attack defense method provided by the present invention, the method for obtaining the attack surface of the target includes:
[0013] The basic information of the target to be attacked and the attack methods of the target to be attacked are input into the target model to generate an attack surface against the target to be attacked;
[0014] The target model is obtained in the following way:
[0015] The network attack surface dataset is input into a preset model for training to obtain the target model. The network attack surface dataset is a dataset composed of network data of the target to be attacked and attack events.
[0016] According to the AIGC-based network security attack defense method provided by the present invention, the method for obtaining the attack surface of the target further includes:
[0017] Based on artificial intelligence content generation technology, attack scenarios, elements and schemes for the target to be attacked are generated, and a simulated attack script is constructed. The attack scenario includes at least environmental information, time information and location information of the attack. The elements include at least attacker characteristics, attack methods and attack objectives. The scheme includes at least attack flow and attack reproduction steps.
[0018] Based on the simulated attack script, an attack surface is generated targeting the target.
[0019] According to the present invention, a network security attack defense method based on AIGC assesses the attack surface of the target and obtains the assessment results, including:
[0020] The attack complexity, attack success rate, and attack concealment of the attack surface of the target to be attacked are evaluated to determine the quality of the attack surface of the target to be attacked.
[0021] The evaluation result is determined based on the degree of superiority or inferiority.
[0022] According to the AIGC-based network security attack defense method provided by the present invention, the method for obtaining the basic information of the target to be attacked includes:
[0023] The target to be attacked is analyzed to determine its basic information;
[0024] The basic information of the target to be attacked includes at least the following data:
[0025] Operating system, services, applications, open ports, and vulnerability information.
[0026] According to the AIGC-based network security attack defense method provided by the present invention, the defense strategy for the target to be attacked includes at least one of the following:
[0027] Harden the operating system, shut down attacked services and ports, and update security patches.
[0028] The present invention also provides a network security attack defense system based on AIGC, including: an assessment module and a defense module;
[0029] The evaluation module is used to evaluate the attack surface of the target and obtain evaluation results. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0030] The defense module is used to determine a defense strategy against the target based on the attack surface of the target and the evaluation results.
[0031] The present invention also provides an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement the AIGC-based network security attack defense method described above.
[0032] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the AIGC-based network security attack defense method as described above.
[0033] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the AIGC-based network security attack defense method as described above.
[0034] The AIGC-based network security attack defense method and system provided by this invention, compared with existing attack surface generation methods that can usually only discover a small number of attack surfaces and are difficult to cover all attack surfaces, improves the coverage of attack surfaces. Based on a more comprehensive attack surface of the target and its corresponding evaluation results, it generates a defense strategy for the target, reduces the risk of the target being attacked, and improves the security and reliability of the target. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0036] Figure 1This is a flowchart illustrating the AIGC-based network security attack defense method provided by the present invention.
[0037] Figure 2 This is a schematic diagram of the attack surface generation of the target provided by the present invention;
[0038] Figure 3 This is a schematic diagram of the structure of the AIGC-based network security attack defense system provided by the present invention;
[0039] Figure 4 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0041] Addressing four technical shortcomings of traditional network security attack surface generation techniques, this invention aims to construct a highly intelligent and comprehensive attack surface generation method. This method, based on artificial intelligence (AI) content generation technology, aims to achieve four key objectives: speed, depth, accuracy, and realism. It can be applied to various types of systems and networks, including but not limited to enterprise intranets, cloud computing platforms, and the Internet of Things (IoT). This method provides novel approaches and methods for security assessment and attack simulation, offering strong technical support and assurance for research and applications in the field of network security. Furthermore, the AIGC-based network security attack defense method provided by this invention has broad social value, better protecting network security and maintaining network information security and stability. The specific implementation is as follows:
[0042] Figure 1 This is a flowchart illustrating the AIGC-based network security attack defense method provided by the present invention, as shown below. Figure 1 As shown, the method includes:
[0043] Step 110: Evaluate the attack surface of the target and obtain the evaluation results. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0044] Step 120: Determine a defense strategy for the target based on the attack surface of the target and the evaluation results.
[0045] It should be noted that the above method can be implemented by computer equipment.
[0046] Optionally, the target of the attack can be a specific electronic device, which can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), etc., and this invention does not impose specific limitations.
[0047] The attack surface of the target can specifically include information gathering, vulnerability detection, vulnerability exploitation, and post-exploitation attacks.
[0048] By evaluating the attack surface of the target, an evaluation result of the attack surface of the target is generated, which can be used to evaluate the quality of the attack surface of the target.
[0049] The attack surface of the target was generated using Artificial Intelligence Generated Content (AIGC) technology.
[0050] Artificial intelligence (AI) technology has been widely applied in recent years. Through technologies such as machine learning and deep learning, AI can automatically analyze and process data, thereby helping us better understand and respond to various situations. In the field of cybersecurity, AI technology has become an important means of improving cybersecurity defenses.
[0051] Based on AI-generated content technology, this method analyzes a constant stream of security incidents and utilizes vast amounts of network data and attack events to train a highly intelligent cybersecurity attack surface generation method. This method can target simulated objectives, employing simulated attack scripts and employing techniques such as information gathering, vulnerability detection, vulnerability exploitation, and post-exploitation attacks to uncover various potential attack surfaces. This AI-based cybersecurity attack surface generation method not only significantly improves cybersecurity defense capabilities but also helps to better understand cyberattack patterns and trends, further refining and optimizing cybersecurity defense measures.
[0052] Based on the attack surface of the target and its corresponding assessment results, a defense strategy is generated for the target, providing users with effective defense suggestions to improve the security of the target and protect their information security.
[0053] The AIGC-based network security attack defense method provided by this invention, compared with existing attack surface generation methods that can usually only discover a small number of attack surfaces and are difficult to cover all attack surfaces, improves the coverage of attack surfaces. Based on a more comprehensive attack surface of the target and its corresponding evaluation results, this invention generates a defense strategy for the target, reducing the risk of the target being attacked and improving the security and reliability of the target.
[0054] Furthermore, in one embodiment, the method for obtaining the attack surface of the target to be attacked may specifically include:
[0055] The basic information of the target to be attacked and the attack methods of the target to be attacked are input into the target model to generate an attack surface against the target to be attacked;
[0056] The target model is obtained in the following way:
[0057] The network attack surface dataset is input into a preset model for training to obtain the target model. The network attack surface dataset is a dataset composed of network data of the target to be attacked and attack events.
[0058] Optionally, this invention can quickly generate the attack surface of a target. Existing attack surface generation methods typically require significant time and effort, and the results are often inaccurate. This invention employs an automated generation method based on artificial intelligence-generated content technology to quickly generate the attack surface for the target, facilitating timely identification and remediation of vulnerabilities, thereby reducing the risk of the target being attacked.
[0059] By inputting the basic information of the target and the attack methods of the target into the target model, the attack surface of the target is determined according to the output of the target model. The target model can be specifically an AI model, which can be obtained by training a preset model. The attack methods of the target can be specifically obtained according to known attack methods. The preset model can be specifically an AI model.
[0060] Collecting network data and attack events of the target: This invention first collects a large amount of network data and attack events of the target. The network data may specifically include network topology, operating system, services, etc., and the attack events include attack type, attack path, vulnerability information, etc., forming a network attack surface dataset.
[0061] Network data and attack events can be collected by security researchers from external article reporting portals and open-source vulnerability databases, and stored in databases to form a network attack surface dataset.
[0062] Using technologies such as machine learning and deep learning, a network attack surface dataset is input into a pre-set model for training, generating a highly intelligent AI model, which is the target model.
[0063] Furthermore, in one embodiment, the method for obtaining the basic information of the target to be attacked may specifically include:
[0064] The target to be attacked is analyzed to determine its basic information;
[0065] The basic information of the target to be attacked includes at least the following data:
[0066] Operating system, services, applications, open ports, and vulnerability information.
[0067] Optionally, based on the system information of the target to be attacked input by the user, the target to be attacked is analyzed to identify the basic information of the target to be attacked. This basic information may specifically include the operating system, services, applications, open ports, vulnerability information, etc.
[0068] By using a trained AI model, the basic information of the target and the attack methods are used to generate an attack surface for the target. This attack surface can specifically include information gathering, vulnerability detection, vulnerability exploitation, post-exploitation attacks, etc. The trained AI model can uncover various potential attack surfaces of the system to be attacked.
[0069] Existing attack surface generation methods often suffer from false positives and false negatives, making it difficult to accurately detect network attack surfaces. This invention employs model training and data analysis based on artificial intelligence technology to accurately identify vulnerabilities in target systems, including both known and unknown vulnerabilities, thereby improving the accuracy of attack surface detection and reducing false positives and false negatives.
[0070] The AIGC-based network security attack defense method provided by this invention can generate a comprehensive attack surface. Compared with existing attack surface generation methods, which can usually only discover a small number of attack surfaces and are difficult to cover all attack surfaces, this invention, based on a large amount of network data and attack events of the target, adopts an artificial intelligence-based training method and conducts in-depth analysis to mine the potential attack surfaces and vulnerabilities of the target, thereby achieving a more comprehensive attack surface generation and improving the coverage of the attack surface. This can help users better understand the patterns and trends of network attacks, improve network security defense capabilities, and provide users with effective defense suggestions to protect their information security.
[0071] Furthermore, in one embodiment, the method for obtaining the attack surface of the target to be attacked may specifically include:
[0072] Based on artificial intelligence content generation technology, attack scenarios, elements and schemes for the target to be attacked are generated, and a simulated attack script is constructed. The attack scenario includes at least environmental information, time information and location information of the attack. The elements include at least attacker characteristics, attack methods and attack objectives. The scheme includes at least attack flow and attack reproduction steps.
[0073] Based on the simulated attack script, an attack surface is generated targeting the target.
[0074] Optionally, by using AIGC technology, exemplified by ChatGPT, to generate information such as attack scenarios, elements, and schemes for the target, a simulated attack script can be quickly constructed, achieving automated attack surface generation. The attack scenario refers to information such as the environment, time, and location where the attack occurs; for example, an attacker exploits a vulnerability and launches an attack on a specific system in a certain way. Elements are various elements involved in the attack, such as attacker characteristics, attack methods, and attack objectives. The scheme refers to the specific implementation plan of the attack, including the attack flow and steps for reproducing the attack. AIGC technology enables automated attack surface generation, significantly improving the efficiency and accuracy of attack surface generation.
[0075] Optionally, this invention uses AIGC technology, exemplified by ChatGPT, to reproduce the constructed simulated attack script and generate specific attack code, thereby improving the operability of attack surface generation. The simulated attack script is a template document to be completed, including a table of contents such as attack scenario design, target, elements, and scheme design. Reproducing the completed simulated attack script involves the following steps: extracting key information from the simulated attack script, including attack scenarios, target, elements, and schemes; generating corresponding attack code, compiling and building it; deploying the generated code for specific network environments and target systems; and executing the generated attack code to verify its effectiveness. By reproducing the constructed simulated attack script, the operability of attack surface generation can be improved, enabling attackers to more easily carry out actual attack actions. It enhances the attacker's perspective and the diversity of attack strategies: by using the simulated attack script generated by this invention, attackers can gain a deeper understanding of the vulnerabilities and attack surfaces of the target, thus possessing more comprehensive and diverse attack strategies and improving the success rate of attacks. Simultaneously, this invention can consider different attacker perspectives when generating simulated attack scripts, further increasing the diversity of attack strategies and thus better reflecting actual attack situations.
[0076] Optionally, this invention utilizes the replication and splitting function of AIGC technology, exemplified by ChatGPT, to rapidly generate diverse simulated attack scripts, thereby enhancing the robustness of attack surface generation. By rapidly generating diverse attack scenarios, targets, elements, and schemes, the robustness of the attack surface can be enhanced, enabling attackers to better cope with different attack situations and increasing the success rate of attacks.
[0077] This invention constructs realistic attack scenarios based on AIGC technology, improving the realism of the attack surface of the target. By simulating real-world attack environments and continuously optimizing attack strategies using techniques such as deep reinforcement learning, a more realistic attack surface is generated, helping cybersecurity personnel better understand attack behaviors and threat situations.
[0078] For example, Figure 2 This is a schematic diagram of the attack surface generation of the target provided by the present invention, as shown in the figure. Figure 2 As shown, network data and attack events can be collected by security researchers from external article reporting portals and open-source vulnerability databases. By storing this data in a database, a network attack surface dataset is formed. Based on this network attack surface data and AIGC technology, such as ChatGPT, an attack surface of the target to be attacked is generated.
[0079] The AIGC-based network security attack defense method provided by this invention, by using AIGC technology, exemplified by ChatGPT, to complete simulated attack script documents, can greatly improve the efficiency of attack surface assessment, reduce tedious manual operations, and lower assessment costs. Simultaneously, it can effectively discover system security vulnerabilities and attack surfaces, thereby helping developers and security personnel to better optimize and improve system security and reliability. Furthermore, through simulation analysis of attack scripts, the security and reliability of the system can be better assessed, improving the stability and reliability of the target and reducing the risk of the target being attacked.
[0080] Furthermore, in one embodiment, evaluating the attack surface of the target and obtaining the evaluation result may specifically include:
[0081] The attack complexity, attack success rate, and attack concealment of the attack surface of the target to be attacked are evaluated to determine the quality of the attack surface of the target to be attacked.
[0082] The evaluation result is determined based on the degree of superiority or inferiority.
[0083] Furthermore, in one embodiment, the method for obtaining the basic information of the target to be attacked may specifically include:
[0084] The target to be attacked is analyzed to determine its basic information;
[0085] The basic information of the target to be attacked includes at least the following data:
[0086] Operating system, services, applications, open ports, and vulnerability information.
[0087] Optionally, by evaluating the attack surface of the generated target, including indicators such as attack complexity, attack success rate, and attack stealth, an evaluation result is generated, and the quality of the attack surface of the target is determined based on the evaluation result.
[0088] Based on the generated attack surface of the target and its corresponding evaluation results, a defense strategy is determined for the target. Based on this defense strategy, effective defense suggestions are provided to the user, which may specifically include strengthening the operating system, closing unnecessary services and ports (i.e., the attacked services and ports), and updating security patches to improve the security of the target.
[0089] The AIGC-based network security attack defense method provided by this invention can help users better understand the patterns and trends of network attacks, improve their network security defense capabilities, and provide users with effective defense suggestions to protect their information security.
[0090] The AIGC-based network security attack defense system provided by this invention will be described below. The AIGC-based network security attack defense system described below can be referred to in correspondence with the AIGC-based network security attack defense method described above.
[0091] Figure 3 This is a schematic diagram of the network security attack defense system based on AIGC provided by the present invention, as shown below. Figure 3 As shown, it includes:
[0092] Evaluation module 310 and defense module 311;
[0093] The evaluation module 310 is used to evaluate the attack surface of the target and obtain the evaluation results. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0094] The defense module 311 is used to determine a defense strategy against the target based on the attack surface of the target and the evaluation results.
[0095] The AIGC-based network security attack defense system provided by this invention, compared with existing attack surface generation methods that can usually only discover a small number of attack surfaces and are difficult to cover all attack surfaces, improves the coverage of attack surfaces. Based on a more comprehensive attack surface of the target and its corresponding evaluation results, it generates a defense strategy for the target, reduces the risk of the target being attacked, and improves the security and reliability of the target.
[0096] Figure 4 This is a schematic diagram of the physical structure of an electronic device provided by the present invention, such as... Figure 4 As shown, the electronic device may include a processor 410, a communication interface 411, a memory 412, and a bus 413. The processor 410, communication interface 411, and memory 412 communicate with each other via the bus 413. The processor 410 can call logical instructions stored in the memory 412 to execute the following methods:
[0097] The attack surface of the target to be attacked is evaluated, and the evaluation results are obtained. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0098] Based on the attack surface of the target and the evaluation results, a defense strategy is determined for the target.
[0099] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer power supply (which may be a personal computer, server, or network power supply, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0100] Furthermore, this invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when these instructions are executed by a computer, the computer can execute the AIGC-based network security attack defense method provided in the above-described method embodiments, for example including:
[0101] The attack surface of the target to be attacked is evaluated, and the evaluation results are obtained. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0102] Based on the attack surface of the target and the evaluation results, a defense strategy is determined for the target.
[0103] On the other hand, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, is implemented to perform the AIGC-based network security attack defense method provided in the above embodiments, for example including:
[0104] The attack surface of the target to be attacked is evaluated, and the evaluation results are obtained. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks.
[0105] Based on the attack surface of the target and the evaluation results, a defense strategy is determined for the target.
[0106] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0107] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer power supply (which may be a personal computer, server, or network power supply, etc.) to execute the methods described in various embodiments or some parts of the embodiments.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A network security attack defense method based on AIGC, characterized in that, include: Based on artificial intelligence content generation technology, attack scenarios, elements and schemes for the target to be attacked are generated, and a simulated attack script is constructed. The attack scenario includes at least environmental information, time information and location information of the attack. The elements include at least attacker characteristics, attack methods and attack objectives. The scheme includes at least attack flow and attack reproduction steps. Reproducing the simulated attack script specifically includes: extracting key information from the simulated attack script, including the attack scenario, target, elements, and scheme; generating corresponding attack code, compiling and constructing it; deploying the generated attack code for a specific network environment and target system; and executing the generated attack code to verify the effect. Based on the simulated attack script and the verification results, an attack surface is generated targeting the target. The attack surface of the target to be attacked is evaluated, and the evaluation results are obtained. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks. Based on the attack surface of the target and the evaluation results, a defense strategy is determined for the target.
2. The network security attack defense method based on AIGC according to claim 1, characterized in that, The methods for obtaining the attack surface of the target include: The basic information of the target to be attacked and the attack methods of the target to be attacked are input into the target model to generate an attack surface against the target to be attacked; The target model is obtained in the following way: The network attack surface dataset is input into a preset model for training to obtain the target model. The network attack surface dataset is a dataset composed of network data of the target to be attacked and attack events.
3. The network security attack defense method based on AIGC according to claim 1, characterized in that, Assess the attack surface of the target and obtain the assessment results, including: The attack complexity, attack success rate, and attack concealment of the attack surface of the target to be attacked are evaluated to determine the quality of the attack surface of the target to be attacked. The evaluation result is determined based on the degree of superiority or inferiority.
4. The network security attack defense method based on AIGC according to claim 2, characterized in that, The methods for obtaining the basic information of the target to be attacked include: The target to be attacked is analyzed to determine its basic information; The basic information of the target to be attacked includes at least the following data: Operating system, services, applications, open ports, and vulnerability information.
5. The network security attack defense method based on AIGC according to claim 1, characterized in that, The defense strategy for the target to be attacked includes at least one of the following: Harden the operating system, shut down attacked services and ports, and update security patches.
6. A network security attack defense system based on AIGC, characterized in that, include: Evaluation module and defense module; The evaluation module is used to generate attack scenarios, elements and schemes for the target to be attacked based on artificial intelligence content generation technology, and to construct a simulated attack script. The attack scenario includes at least environmental information, time information and location information of the attack. The elements include at least attacker characteristics, attack methods and attack objectives. The scheme includes at least attack flow and attack reproduction steps. The evaluation module is also used to reproduce the simulated attack script, specifically including: extracting key information from the simulated attack script, the key information including the attack scenario, the target to be attacked, elements and schemes; generating corresponding attack code, compiling and building it; deploying the generated attack code for a specific network environment and target system; executing the generated attack code to obtain verification results; The evaluation module is also used to generate an attack surface for the target to be attacked based on the simulated attack script and the verification effect. The evaluation module is also used to evaluate the attack surface of the target and obtain evaluation results. The attack surface includes at least information gathering, vulnerability detection, vulnerability exploitation and post-exploitation attacks. The defense module is used to determine a defense strategy against the target based on the attack surface of the target and the evaluation results.
7. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the AIGC-based network security attack defense method according to any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the AIGC-based network security attack defense method as described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the AIGC-based network security attack defense method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Automatic penetration test system based on AI
CN111488587A
