A device protection capability verification method, system, terminal and storage medium
By simulating the offense to verify the performance and stability of the equipment, a safety protection report is generated, which solves the problem of protection system failure caused by equipment failure and improves safety and reliability.
Patent Information
- Application Number
- CN202410368270.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-03-28
AI Technical Summary
The equipment fails all year round and leads to unknown low-level safety protection failure points, resulting in the loss of the entire protection system, making it difficult to effectively verify and maintain.
By analyzing the offense to acquire and record security protection data, the effective performance and stability of the device are calculated, and security protection reports are generated to help maintenance personnel identify potential problems and reduce the risk of intrusion.
Effectively verify equipment performance and stability, generate detailed safety protection reports, help maintenance personnel identify and resolve potential problems, and reduce the possibility of equipment being intruded.
Smart Images

Figure CN118250058B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of equipment security technology, and in particular to a method, system, terminal and storage medium for verifying equipment protection capabilities. Background Art
[0002] At present, with the development of Internet technology, data security is increasingly valued, so security protection equipment has emerged. Security protection equipment can provide network security defense services for various types of business servers to protect business servers from hacker attacks. The security protection equipment is placed between the client and the protected business server. A large number of data flows generated by the client will first enter the security protection equipment, which will filter out abnormal data flows to obtain safe data flows, so that safe data flows can enter the business server.
[0003] In actual attack and defense drills or daily operations, there are always lower-level security protection failure points such as unknown equipment failures caused by various problems, which lead to the loss of the entire protection system. Summary of the invention
[0004] In order to solve the problem of lower-level security protection failure points such as long-term failure of equipment and unknown failures, which leads to the loss of the entire protection system, the present application provides a device protection capability verification method, system, terminal and storage medium.
[0005] In a first aspect of the present application, a method for verifying device protection capability is provided, comprising:
[0006] Obtaining the number of use cases in the first round of simulated attacks and security protection data corresponding to the first round of simulated attacks, wherein the security protection data includes the names of successful protection use cases;
[0007] Use the successful protection use cases in the previous round of simulated attacks to conduct multiple rounds of simulated attacks again, and record the security protection data corresponding to each round of simulated attacks;
[0008] Calculate the effective performance of the device based on the number of use cases and security protection data corresponding to the first round of simulated attacks;
[0009] Calculate the stability of the device according to the number of use cases and security protection data corresponding to each round of simulated attack;
[0010] Generate a device safety protection report based on the effective performance and stability of the device.
[0011] By adopting the above technical solution, the effective performance of the device is verified through a full-scale simulated attack, and then the stability of the device is judged by repeated simulated attacks; finally, a security protection report of the device is generated based on the effective performance and stability of the device. Maintenance personnel can determine the security protection of the device through the security protection report, thereby reducing the possibility of the device being hacked.
[0012] In a possible implementation, the effective performance of the device is calculated based on the number of use cases and security protection data of the first round of simulated attacks, including:
[0013] The ratio of the successful protection cases to the number of simulated attack cases is used as an evaluation method for effective performance;
[0014] The calculation method of the effective performance is: number of successful protection cases / number of simulated attack cases.
[0015] In a possible implementation, calculating the stability of the device according to the number of use cases and security protection data corresponding to each round of simulated attack includes:
[0016] The ratio of the number of security protection use cases to the number of simulated attack use cases in each round of simulated attack is used as the stable score of the corresponding round of simulated attack;
[0017] According to the stable score of each round of simulated attack and the preset verification threshold, it is determined whether to conduct the next round of simulated attack;
[0018] When the simulated attack is stopped, the weight corresponding to the round of the last simulated attack is retrieved;
[0019] The stability of the device is calculated according to the weight, rounds, and the stability score of each round.
[0020] In a possible implementation, calculating the stability of the device according to the weight, the round, and the stability score of each round includes:
[0021] Calculate a weighted sum of stability scores according to the weights and the stability scores of each round;
[0022] The ratio of the weighted sum to the round number is calculated to obtain the stability of the device.
[0023] In a possible implementation, generating a device safety protection capability report according to the effective performance and stability of the device includes:
[0024] When the effective performance and stability meet the preset standards, a safety report is generated;
[0025] When the effective performance or stability does not reach the preset safety threshold, a corresponding alarm report is generated.
[0026] In a possible implementation, obtaining security protection data corresponding to the simulated attack includes:
[0027] Generate a feature identifier based on attack time, attack batch, and attack method; the attack method corresponds to a use case name;
[0028] Inserting the characteristic identifier into the attack message, and identifying the relevant characteristic identifier from the alarm log;
[0029] Based on the characteristic identifier, the attack batch and the name of the successful protection case are determined.
[0030] In a possible implementation, generating a feature identifier based on the attack time, attack batch, and attack method includes:
[0031] Generate batch identification based on attack time, attack batch and attack method;
[0032] The batch identifier is hashed to obtain a corresponding feature identifier.
[0033] In a second aspect of the present application, a device protection capability verification system is provided, comprising:
[0034] An acquisition module is used to acquire the number of use cases in the first round of simulated attacks and the security protection data corresponding to the first round of simulated attacks, wherein the security protection data includes the names of successfully protected use cases; and to acquire the security protection data of each round of simulated attacks;
[0035] The simulated attack module is used to conduct the first round of simulated attack and use the successful defense use cases in the previous round of simulated attack to conduct multiple rounds of simulated attack again;
[0036] The calculation module is used to calculate the effective performance of the device according to the number of use cases and security protection data corresponding to the first round of simulated attacks; calculate the stability of the device according to the number of use cases and security protection data corresponding to each round of simulated attacks; and generate a device security protection report based on the effective performance and stability of the device.
[0037] In a third aspect of the present application, a terminal is provided, which has the feature of device protection capability verification.
[0038] The third application objective of this application is achieved through the following technical solutions:
[0039] A terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned device protection capability verification method.
[0040] In a fourth aspect of the present application, a computer storage medium is provided, which can store corresponding programs and has the characteristic of facilitating the verification of equipment protection capabilities.
[0041] The fourth application objective of this application is achieved through the following technical solutions:
[0042] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned device protection capability verification methods.
[0043] In summary, the present application includes at least one of the following beneficial technical effects: first, verify the effective performance of the device through a full-scale simulated attack, then judge the stability of the device by repeating the simulated attack; finally, generate a security protection report of the device based on the effective performance and stability of the device. Maintenance personnel can determine the security protection of the device through the security protection report, thereby reducing the possibility of the device being invaded. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of a method for verifying the protection capability of a device according to one embodiment of the present application.
[0045] Figure 2 It is a schematic diagram of a device protection capability verification system according to one embodiment of the present application.
[0046] Figure 3 It is a structural diagram of a terminal according to an embodiment of the present application.
[0047] Explanation of the reference numerals: 201, acquisition module; 202, simulation attack module; 203, calculation module; 301, CPU; 302, ROM; 303, RAM; 304, bus; 305, I / O interface; 306, input part; 307, output part; 308, storage part; 309, communication part; 310, drive; 311, removable medium. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0050] The following is combined with Figures 1 to 3 This application is described in further detail.
[0051] In order to detect the security protection capability of a device, the present application provides a method for verifying the security protection capability of a device.
[0052] Reference Figure 1 , a device protection capability verification method, comprising the following steps:
[0053] S101: Obtain the number of use cases in the first round of simulated attacks and security protection data corresponding to the first round of simulated attacks.
[0054] The standard for business continuity of security equipment is that the equipment can take protective actions as expected. Therefore, the business status of security equipment needs to be judged based on the actual attack and defense effects. For example, when judging the protection equipment at the border, it is necessary to send the actual attack message to the protection device, and judge whether it is blocked as expected through the information returned by the device. For example: In common attack methods, hackers will send attack messages to enterprises to obtain database-related version information. If it can operate normally, the request will be blocked and a response packet will be returned. The characteristics and mechanisms of the return packets of different devices will be different, and the corresponding judgment logic needs to be set according to the actual device status used by the enterprise. By judging and comparing the above return packets, the verification results can be automatically formed, forming a closed-loop logic of the verification case. On the basis of this logic, it is necessary to simulate various attack methods to form a full verification case library.
[0055] In the verified attack message, insert the feature identifier related to the attack batch, and identify the relevant feature representation from the alarm response log for verification. The specific implementation method is: first generate the feature identifier based on the attack time, attack batch and attack method, where each attack method corresponds to a use case name. Then insert the feature identifier into the attack message, and identify the relevant feature identifier from the alarm log. Finally, determine the attack batch and the name of the successful protection use case based on the feature identifier. Among them, the method of generating a special identifier is: generate a batch identifier based on the attack time, attack batch and attack method, and perform hash calculation on the batch identifier to obtain the corresponding feature identifier.
[0056] After verifying the attack message, you can get the security protection data. The security protection data corresponds to the use case name of the message that passed the verification in the simulated attack. Then, the number of use cases that were successfully protected is determined by counting the use case names. The total number of use cases can be directly obtained through the simulated attack data.
[0057] S102: Use the successful protection use case in the previous round of simulated attack to conduct multiple rounds of simulated attack again, and record the security protection data corresponding to each round of simulated attack.
[0058] Specifically, based on the security protection data of the first round of simulated attacks, the names of the use cases that were successfully protected are obtained, and the use cases with the corresponding use case names are retrieved from the verification use case library as the use cases for the next round of simulated attacks. When the second round of simulated attacks is completed, the use cases that were successfully protected in the security protection data of the second round of simulated attacks are selected as the use cases for the third round of simulated attacks under preset conditions. In this way, the security protection system is subjected to preset rounds of simulated attacks to determine the stability of the equipment.
[0059] S103: Calculate the effective performance and stability of the device based on the number of use cases and security protection data corresponding to the simulated attack.
[0060] To evaluate the capabilities of security equipment, the number of effective protections can be determined based on the full library of simulated attack use cases, and the protection capabilities can be quantified based on the actual attack and defense effects. The percentage of verified use cases can be used as an evaluation indicator for protection capabilities. Therefore, the effective performance of the device can be calculated based on the number of use cases and security protection data corresponding to the first round of simulated attacks. The effective performance is calculated as follows: number of successfully protected use cases / number of simulated attack use cases. In other implementation scenarios, the effective performance can also be further calculated by calculating the security protection data of multiple rounds of simulated attacks. For example, multiple rounds of full-scale simulated attacks are carried out continuously, and the security protection data of each round of simulated attacks is obtained and the effective performance of each round is calculated. Finally, the weighted value of the effective performance of multiple rounds is taken to obtain the effective performance of the device.
[0061] The security equipment stability index represents that the security equipment has not become unstable or uncertain in operation due to various changes or modifications. The verification results show whether the use cases that were previously effectively protected can continue to be effective. If the use cases that were previously effectively protected have a high proportion of continued effectiveness in the new round of simulated attacks, the stability of the equipment is strong; if the use cases that were previously effectively protected have a high proportion of failures in the new round of simulated attacks, the stability of the equipment is poor. Therefore, the stability of the equipment is calculated based on the number of use cases and security protection data corresponding to each round of simulated attacks.
[0062] The method for calculating the stability of the device is as follows: first, the ratio of the number of security protection use cases in each round of simulated attack to the number of simulated attack use cases is used as the stability score of the corresponding round of simulated attack. Then, based on the stability score of each round of simulated attack and the preset verification threshold, determine whether to conduct the next round of simulated attack. When the simulated attack is stopped, the weight of the round corresponding to the last simulated attack is retrieved. Finally, the stability of the device is calculated based on the weight, round, and stability score of each round. In an implementation scenario, when the stability score of the second round of simulated attack is less than the preset verification threshold, it means that the stability of the device is poor, and the stability of the device is directly scored. When the stability score is greater than or equal to the preset verification threshold, the next round of simulated attack is conducted to further determine the stability of the device.
[0063] The calculation method for the stability score of each round is: the number of use cases that passed the previous round of verification / the number of use cases that were repeatedly verified in the previous round of verification. When conducting multiple rounds of simulated attacks, since the stability score of each round of security protection is different and the corresponding number of attacks is also different, the use cases that are continuously valid in the stability score of the later rounds are more stable. When calculating, each round of simulated attacks has a different weight. For example, the stability of a device is the weighted sum of the stability scores of each round, divided by the corresponding round, to obtain the stability of the system.
[0064] S104: Generate a device safety protection report based on the effective performance and stability of the device.
[0065] When the effective performance of the equipment meets the standards, a normal safety report of the system is generated. When the effective performance of the equipment does not meet the standards, the problem investigation and rectification mechanism needs to be triggered, that is, the stability of the system needs to be further determined.
[0066] Under normal operation, if the problem investigation and rectification are not triggered, active re-verification of the use cases that have not passed the verification will not be carried out. In principle, they can be reviewed through the next round of verification tasks. The conditions for triggering the problem investigation can be based on the initial verification situation of the enterprise and the actual operation situation, and the self-developed operation indicator water level or rules can be triggered. For example: the effective performance of equipment protection is around 80% under normal circumstances, and the warning water level is set to 75%. If the verification result of the month is lower than the warning line, the problem investigation process is triggered; if the stability of equipment protection is lower than 90%, the problem investigation process is triggered and the corresponding safety protection report is generated; after the problem is investigated, rectification needs to be implemented according to the investigation results. After the rectification action, a separate review will be triggered to verify the investigation results. After the review, the full amount of verification data after rectification should be updated as the new verification result of the current batch, so as to serve as a reference for the next verification calculation.
[0067] This application provides a device protection capability verification system, which adopts the following technical solutions:
[0068] Reference Figure 2 , a device protection capability verification system, comprising:
[0069] The acquisition module 201 is used to obtain the number of use cases in the first round of simulated attacks and the security protection data corresponding to the first round of simulated attacks, where the security protection data includes the names of successfully protected use cases; and obtain the security protection data of each round of simulated attacks.
[0070] The simulated attack module 202 is used to perform a first round of simulated attack and use the successful defense use cases in the previous round of simulated attack to perform multiple rounds of simulated attack again.
[0071] Calculation module 203 is used to calculate the effective performance of the device based on the number of use cases and security protection data corresponding to the first round of simulated attacks; calculate the stability of the device based on the number of use cases and security protection data corresponding to each round of simulated attacks; and generate a device security protection report based on the effective performance and stability of the device.
[0072] Figure 3 A schematic diagram of the structure of a terminal suitable for implementing an embodiment of the present application is shown.
[0073] like Figure 3 As shown, the terminal includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part to the random access memory (RAM) 303. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0074] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0075] In particular, according to the embodiments of the present application, the above reference process Figure 1The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0076] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, register file (RF), etc., or any suitable combination of the above.
[0077] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0078] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module 201, a simulated attack module 202, and a calculation module 203. The names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0079] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the terminal described in the above embodiment; or may exist independently and not be assembled into the terminal. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the device protection capability verification method described in the present application.
[0080] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for verifying equipment protection capability, characterized in that: include: Obtaining the number of use cases in the first round of simulated attacks and security protection data corresponding to the first round of simulated attacks, wherein the security protection data includes the names of successful protection use cases; Use the successful protection use cases in the previous round of simulated attacks to conduct multiple rounds of simulated attacks again, and record the security protection data corresponding to each round of simulated attacks; Calculate the effective performance of the device based on the number of use cases and security protection data corresponding to the first round of simulated attacks; Calculate the stability of the device according to the number of use cases and security protection data corresponding to each round of simulated attack; Generate a device safety protection report based on the effective performance and stability of the device; Based on the number of use cases and security protection data of the first round of simulated attacks, the effective performance of the equipment is calculated, including: The ratio of the successful protection cases to the number of simulated attack cases is used as an evaluation method for effective performance; The calculation method of the effective performance is: the number of successful protection cases / the number of simulated attack cases; According to the number of use cases and security protection data corresponding to each round of simulated attack, the stability of the device is calculated, including: The ratio of the number of security protection use cases to the number of simulated attack use cases in each round of simulated attack is used as the stable score of the corresponding round of simulated attack; According to the stable score of each round of simulated attack and the preset verification threshold, it is determined whether to conduct the next round of simulated attack; When the simulated attack is stopped, the weight corresponding to the round of the last simulated attack is retrieved; Calculating the stability of the device according to the weight, rounds, and the stability score of each round; According to the weight, rounds and the stability score of each round, the stability of the device is calculated, including: Calculate a weighted sum of stability scores according to the weights and the stability scores of each round; The ratio of the weighted sum to the round number is calculated to obtain the stability of the device.
2. The device protection capability verification method according to claim 1, characterized in that: Generate a device safety protection report based on the effective performance and stability of the device, including: When the effective performance and stability meet the preset standards, a safety report is generated; When the effective performance or stability does not reach the preset safety threshold, a corresponding alarm report is generated.
3. The device protection capability verification method according to claim 1, characterized in that: Obtain security protection data corresponding to the first round of simulated attacks, including: Generate a feature identifier based on attack time, attack batch, and attack method; the attack method corresponds to a use case name; Inserting the characteristic identifier into the attack message, and identifying the relevant characteristic identifier from the alarm log; Based on the characteristic identifier, the attack batch and the name of the successful protection case are determined.
4. The device protection capability verification method according to claim 3 is characterized in that: Generates signatures based on attack time, attack batch, and attack method, including: Generate batch identification based on attack time, attack batch and attack method; The batch identifier is hashed to obtain a corresponding feature identifier.
5. A verification system used in the device protection capability verification method according to any one of claims 1 to 4, characterized in that: include: An acquisition module (201) is used to acquire the number of use cases in the first round of simulated attacks and security protection data corresponding to the first round of simulated attacks, wherein the security protection data includes the names of successfully protected use cases; and to acquire security protection data for each round of simulated attacks; A simulated attack module (202), used to conduct a first round of simulated attack and use the successful defense use case in the previous round of simulated attack to conduct multiple rounds of simulated attack again; The calculation module (203) is used to calculate the effective performance of the device according to the number of use cases and security protection data corresponding to the first round of simulated attack; calculate the stability of the device according to the number of use cases and security protection data corresponding to each round of simulated attack; and generate a device security protection report based on the effective performance and stability of the device.
6. A terminal comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Dynamic self-adaptive test case management method, electronic equipment and medium
CN115437919A
Attack simulation detection method and system of Docker container, medium and electronic equipment
CN115809120A
Attack test method, device and equipment and computer readable storage medium
CN115987559A
Alarm evaluation method, device and equipment based on safety equipment and storage medium
CN116366264A
