Malicious attack identification method, system, device and storage medium

By using heterogeneous and redundant RASP programs in a distributed deployment for consistency analysis and adjudication, the problem of low accuracy in malicious attack identification is solved, thereby improving the accuracy of malicious attack identification and protection performance.

CN115391781BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211102626.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-09
Publication Date
2024-11-29
Estimated Expiration
2042-09-09

AI Technical Summary

Technical Problem

The rapid pace of malware updates in current technologies leads to a large number of variant malware and zero-day attack code, which existing identification methods cannot accurately block and protect against, resulting in low identification accuracy.

Method used

By employing distributed, heterogeneous, and redundant RASP programs, and using consistency analysis to adjudicate malicious attack detection results, combined with manual review and patch updates, the accuracy of identification is improved.

Benefits of technology

It improves the accuracy of malicious attack identification, enhances protection against malicious attacks, and provides robustness and security for the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115391781B_ABST
    Figure CN115391781B_ABST
Patent Text Reader

Abstract

The present invention provides a malicious attack identification method, system, device and storage medium, which receives malicious behavior determination results from different rasp programs respectively set corresponding to distributed application programs, performs consistency analysis on malicious attack determination results output by different rasp programs, and determines malicious behavior determination results whose consistency meets the set conditions as malicious attack identification results. Therefore, this embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching, and by adopting different rasp programs to perform malicious attack determination from different angles and make the final decision, it can improve the malicious attack identification accuracy and improve the protection performance of the main program against malicious attacks.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of the Internet, malicious penetration attacks are the biggest security risk threatening Internet security. The types of malicious codes, the speed of propagation, the number of infections and the scope of impact are gradually increasing. However, research in recent years has shown that malicious codes are developed based on existing programs. With the acceleration of malicious code updates, a large number of variant malicious codes and 0day attack codes have been generated, which also makes it impossible to accurately block and protect against unknown malicious attacks.

[0003] Therefore, how to more accurately identify malicious attacks is a topic that the industry needs to consider.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] In view of the problems in the prior art, the purpose of the present invention is to provide a malicious attack identification method, system, device and storage medium, which overcomes the difficulties of the prior art and can improve the accuracy of malicious attack identification.

[0006] An embodiment of the present invention provides a malicious attack identification method, which includes:

[0007] receiving malicious behavior determination results from different rasp programs respectively set corresponding to the distributed deployed applications, wherein the malicious attack determination results are obtained by the rasp program performing malicious behavior determination on the user's input according to the execution data of the corresponding application;

[0008] The malicious attack judgment results output by different rasp programs are analyzed for consistency, and the malicious behavior judgment results that meet the set conditions are determined as malicious attack identification results.

[0009] In some embodiments, the malicious attack identification method further includes:

[0010] The malicious attack judgment results that do not meet the set conditions, as well as their corresponding execution data and rasp program information, are submitted for manual review;

[0011] In response to the manual review result, a patch file is obtained, and the patch file is used to update the rasp program corresponding to the attack behavior determination result whose consistency does not meet the set condition.

[0012] In some embodiments, the set condition refers to malicious attack determination results being in the majority.

[0013] In some embodiments, when the malicious attack identification result is displayed as a malicious attack, the malicious attack identification method further includes:

[0014] Mask sensitive information in the application's return data;

[0015] Send the masked return data to the application.

[0016] In some embodiments, sensitive information masking is performed on the return data of the application, including:

[0017] Obtain SQL statements based on user input and modify the SQL statements;

[0018] The modified SQL statement is used to request the database to provide return data that has been processed to mask sensitive information.

[0019] In some embodiments, before receiving malicious behavior determination results from different rasp programs respectively set up for corresponding distributed deployed applications, the malicious attack identification method further includes:

[0020] Receive user input;

[0021] In response to user input, input data is obtained and the input data is distributed to distributed application programs.

[0022] In some embodiments, the rasp program is embedded in the corresponding application program in a proxy manner.

[0023] The present disclosure also provides a malicious attack identification system, which includes:

[0024] receiving malicious behavior determination results from different rasp programs respectively set up for the corresponding distributed deployed applications, wherein the malicious attack determination results are obtained by the rasp program performing malicious behavior determination on the user's input according to the execution data of the corresponding application;

[0025] The malicious attack judgment results output by different rasp programs are analyzed for consistency, and the malicious behavior judgment results that meet the set conditions are determined as malicious attack identification results.

[0026] An embodiment of the present invention further provides an electronic device, including:

[0027] processor;

[0028] a memory in which executable instructions for the processor are stored;

[0029] The processor is configured to execute the steps of the above-mentioned malicious attack identification method by executing executable instructions.

[0030] An embodiment of the present invention further provides a computer-readable storage medium for storing a program, which implements the steps of the above-mentioned malicious attack identification method when executed.

[0031] The purpose of the present invention is to provide a malicious attack identification method, system, device and storage medium, by receiving malicious behavior determination results from different rasp programs corresponding to the distributed deployed applications, performing consistency analysis on the malicious attack determination results output by different rasp programs, and determining the malicious behavior determination results that meet the set conditions as malicious attack identification results. Therefore, this embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching. By using different rasp programs to make malicious attack determinations from different angles and make final decisions, the malicious attack identification accuracy can be improved, and the protection performance of the main program against malicious attacks can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.

[0033] Figure 1 is a flow chart of a malicious attack detection method of related technology;

[0034] Figure 2 It is one of the flow charts of the malicious attack identification method provided by the embodiment of the present disclosure;

[0035] Figure 3 This is the second flowchart of the malicious attack identification method provided by the embodiment of the present disclosure;

[0036] Figure 4 This is the third flowchart of the malicious attack identification method provided by the embodiment of the present disclosure;

[0037] Figure 5 is a schematic diagram of the module structure of a malicious attack identification system provided by an embodiment of the present disclosure;

[0038] Figure 6 is a schematic diagram of the operation of the electronic device of the present invention;

[0039] Figure 7 A schematic diagram of a storage medium according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided to make the present invention comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art.

[0041] The accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware forwarding modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0042] In addition, the processes shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps can be decomposed, some steps can be combined or partially combined, and the actual execution order may change according to the actual situation. The words "first", "second" and similar words used in the specific description do not indicate any order, quantity or importance, but are only used to distinguish different components. It should be noted that the embodiments of the present invention and the features in different embodiments can be combined with each other without conflict.

[0043] Figure 1 The flowchart of the malicious attack detection method of the related technology includes the following steps:

[0044] Step 110: extracting code data and Uniform Resource Locator URL (Uniform Resource Locator) etc. from the application program through the rasp program;

[0045] Step 120: rasp program performs data analysis and rule matching;

[0046] Step 130: If it is determined to be a malicious attack, intercept it.

[0047] An analysis of the relevant technologies revealed that the relevant technologies use simple rule matching and have low accuracy in identifying malicious attacks.

[0048] The disclosed embodiment provides a malicious attack identification method. The method introduces a ruling mechanism, receives malicious behavior determination results from different rasp programs respectively corresponding to distributed deployed applications, performs consistency analysis on the malicious attack determination results output by different rasp programs, and determines the malicious behavior determination results whose consistency meets the set conditions as malicious attack identification results.

[0049] That is to say, by setting different rasp programs for distributed deployed applications, redundant and heterogeneous deployment of rasp programs is achieved, and the malicious attack judgment results output by different rasp programs are judged based on consistency analysis to obtain the final malicious attack identification result.

[0050] This embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching. By using different rasp programs to judge malicious attacks from different angles and make final decisions, the malicious attack identification accuracy can be improved, and the protection performance of the main program against malicious attacks can be improved.

[0051] Figure 2 Flow chart of the malicious attack identification method provided by the embodiment of the present disclosure. Figure 1 As shown, the malicious attack identification method includes the following steps:

[0052] Step 210: receiving malicious behavior determination results from different rasp programs respectively set corresponding to the distributed deployed applications, wherein the malicious attack determination results are obtained by the rasp program performing malicious behavior determination on the user's input according to the execution data of the corresponding application;

[0053] Step 220: Perform consistency analysis on the malicious attack determination results output by different rasp programs, and determine the malicious behavior determination results that meet the set conditions as malicious attack identification results.

[0054] By setting different rasp programs for distributed deployed applications, redundant and heterogeneous deployment of rasp programs is achieved, and the malicious attack judgment results output by different rasp programs are judged based on consistency analysis to obtain the final malicious attack identification result.

[0055] This embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching. By using different rasp programs to judge malicious attacks from different angles and make final decisions, the accuracy of malicious attack identification can be improved, the protection performance of the application against malicious attacks can be improved, and the robustness of the application can be provided.

[0056] Among them, rasp (Runtime application self-protection) is an application security protection technology that detects attacks and performs self-protection during runtime. It injects protection programs into applications like vaccines, and the applications are integrated to detect and block security attacks in real time, so that the applications have self-protection capabilities. When the applications are actually attacked, they can automatically defend themselves without manual intervention.

[0057] Therefore, in this embodiment, the rasp program is embedded into the corresponding application program in the form of an agent, thereby improving the feasibility of this embodiment.

[0058] In this embodiment, the rasp programs deployed in different applications are different, and may have different rules, parameters, etc. The distributed deployed applications are the same, and can execute methods for the input of the same user, and use different rasp programs to determine malicious attack behavior on the execution data.

[0059] In the disclosed embodiment, the execution data is the bytecode of the method or parameter executed by the application program in response to the user's input. The rasp program extracts the execution data from the jvm using the application service mesh ASM (Application Service Mesh) technology.

[0060] Among them, ASM is a Java bytecode manipulation framework that can be used to dynamically generate classes or enhance the functionality of existing classes. ASM can directly generate binary class files, and can also dynamically change class behavior before the class is loaded into the Java virtual machine. Java classes are stored in .class files with strict format definitions. These class files have enough metadata to parse all elements in the class: class name, methods, attributes, and Java bytecode (instructions). After ASM reads information from the class file, it can change class behavior, analyze class information, and even generate new classes according to user requirements. Therefore, ASM can directly generate the required code by modifying existing classes.

[0061] In the disclosed embodiment, consistency refers to the identity of the malicious attack determination results, and the specific corresponding setting condition refers to the majority of malicious attack determination results, which is the majority principle. Specifically, the malicious attack determination result of a rasp program has only one result, malicious attack or non-malicious attack, and the malicious attack determination results of multiple rasp programs are at most two. Therefore, the majority principle can be adopted to take the majority malicious attack determination results as the final malicious attack identification result.

[0062] For example, if the malicious attack determination results showing malicious attacks account for the majority, the malicious attack is taken as the final malicious attack identification result.

[0063] In this embodiment, the setting condition may also be that the proportion of the majority of malicious attack determination results exceeds a target value, and the target value may be set to more than 50% or other values ​​as needed, and is not limited by this embodiment.

[0064] In the embodiment of the present disclosure, when two malicious attack determination results appear, the malicious attack determination results whose consistency does not meet the set conditions and their corresponding execution data and rasp program information are submitted for manual review;

[0065] In response to the manual review result, a patch file is obtained, and the patch file is used to update the rasp program corresponding to the attack behavior determination result whose consistency does not meet the set condition.

[0066] In this embodiment, the first attack judgment results that do not meet the set conditions account for a minority, and it is preliminarily determined that the minority of rasp programs cannot correctly judge malicious behavior for the current user's input, so manual review can be requested to find out the problem of the rasp program and construct a patch file. In this way, the patch file is used to update the rasp program so that it can correctly identify malicious attack behavior when it faces similar behavior in the future.

[0067] In the embodiment of the present disclosure, when the malicious attack identification result is displayed as a malicious attack, the malicious attack identification method further includes:

[0068] Mask sensitive information in the application's return data;

[0069] Send the masked return data to the application.

[0070] In this embodiment, by masking, the sensitive information provided by the application to the user is ensured to be in an unknown state, so that the attacker cannot obtain real and valid data, further confusing the opponent, increasing the cost of attack, and making this embodiment more practical.

[0071] In the embodiments of the present disclosure, sensitive information may be concealed by covering or replacing, etc., which is not limited here.

[0072] In the disclosed embodiment, sensitive information masking is performed on the return data of the application program, including:

[0073] Obtain SQL statements based on user input and modify the SQL statements;

[0074] The modified SQL statement is used to request the database to provide return data that has been processed to mask sensitive information.

[0075] The sensitive information masking method based on SQL analysis in this embodiment has high feasibility.

[0076] Figure 2 A flowchart of a malicious attack identification method provided by an embodiment of the present disclosure. In this embodiment, applications are clustered and deployed to different machines, and different rasp programs in the form of agents are embedded in the applications, such as rasp A\B\C, and deployed in the web system corresponding to the application in the previous step. Each web system corresponds to only one rasp program, and a heterogeneous rasp redundant application system is constructed.

[0077] like Figure 3 As shown, the method comprises the following steps:

[0078] Step 310: receiving user input;

[0079] Step 320: In response to the user's input, the input data is obtained, and the input data is distributed to the distributed application program and sent to the corresponding web system. The corresponding application program executes the corresponding method for the user's input, wherein the rasp program extracts the bytecode of the method and parameters of the application program from the jvm using the ASM technology;

[0080] Step 330: The rasp program analyzes the extracted bytecode, performs data parsing of methods and parameters, matches it with the rule base, determines whether it is a malicious attack, and forms a malicious attack determination result set.

[0081] Step 340: Based on the adjudication procedure, a consistency analysis is performed on the malicious attack determination result set based on the majority principle;

[0082] When the determination result shows that the malicious attack determination result is inconsistent, step 350 is executed for the rasp program that accounts for a minority, and when the determination result shows that the current user's input is a malicious attack, step 360 is executed, and when the determination result shows that the current user's input is not a malicious attack, the program is directly returned.

[0083] Step 350: Generate a learning patch according to the manual review result, the learning patch corresponds to the above patch file, and automatically updates the patch for the rasp program that is not correctly judged;

[0084] Step 360: For malicious attack behaviors, replace the return value with sensitive information and return it.

[0085] Among them, Figure 4 As shown, processing is performed based on the following desensitization rules:

[0086] Step 410: Input data into JDBC adapter;

[0087] Step 420: In the JDBC adapter, perform SQL parsing on the input data;

[0088] Step 430: rewrite the parsed SQL statement, such as ShardingSphere rewrite;

[0089] Step 440: Execute the rewritten SQL statement to query data in the database and obtain return data with sensitive information replaced.

[0090] JDBC is the abbreviation of Java DataBase Connectivity. It is a standard interface for Java programs to access databases and a set of Java APIs for executing SQL statements. Applications can connect to relational databases through this set of APIs and use SQL statements to complete operations such as querying, updating, and deleting data in the database.

[0091] By using this embodiment, sensitive information in returned data can be replaced, which has high feasibility.

[0092] Figure 5 is a module diagram of an embodiment of a malicious attack identification system provided by the present disclosure, such as Figure 5 As shown, the malicious attack identification system 500 includes but is not limited to the following modules:

[0093] The receiving module 510 receives malicious behavior determination results from different rasp programs respectively set for the corresponding distributed deployed applications, wherein the malicious attack determination results are obtained by the rasp program performing malicious behavior determination on the user's input according to the execution data of the corresponding application;

[0094] The consistency analysis module 520 performs consistency analysis on the malicious attack determination results output by different rasp programs, and determines the malicious behavior determination results that meet the set conditions as malicious attack identification results.

[0095] The implementation principle of the above modules can be found in Figure 2 The relevant introduction in the malicious attack identification method shown will not be repeated here.

[0096] Optionally, the consistency analysis module 520 is further configured to:

[0097] The malicious attack judgment results that do not meet the set conditions, as well as their corresponding execution data and rasp program information, are submitted for manual review;

[0098] In response to the manual review result, a patch file is obtained, and the patch file is used to update the rasp program corresponding to the attack behavior determination result whose consistency does not meet the set condition.

[0099] Optionally, the receiving module 510 is further configured to:

[0100] receiving user input before receiving malicious behavior determination results from different rasp programs respectively set up corresponding to the distributed deployed application;

[0101] In response to user input, input data is obtained and the input data is distributed to distributed application programs.

[0102] Optionally, the consistency analysis module 520 is further configured to:

[0103] When the malicious attack identification result shows a malicious attack, the return data of the application is masked for sensitive information; and the masked return data is sent to the application.

[0104] Optionally, the consistency analysis module 520 is further configured to:

[0105] Obtain SQL statements based on user input and modify the SQL statements;

[0106] The modified SQL statement is used to request the database to provide return data that has been processed to mask sensitive information.

[0107] The malicious attack identification system of the disclosed embodiment introduces a ruling mechanism, which realizes the redundancy and heterogeneous deployment of rasp programs by setting different rasp programs for distributed deployed applications, and makes rulings on the malicious attack judgment results output by different rasp programs based on consistency analysis to obtain the final malicious attack identification result. Therefore, the present embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching. By adopting different rasp programs to make malicious attack judgments from different angles and make final rulings, the malicious attack identification accuracy can be improved, and the protection performance of the main program against malicious attacks can be improved.

[0108] An embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein executable instructions of the processor are stored, wherein the processor is configured to execute the steps of the malicious attack identification method by executing the executable instructions.

[0109] As shown above, the electronic device of the disclosed embodiment can achieve redundancy and heterogeneous deployment of rasp programs by setting different rasp programs for distributed deployed applications, and make decisions on malicious attack determination results output by different rasp programs based on consistency analysis to obtain the final malicious attack identification result. Therefore, the heterogeneous and redundant rasp deployment adopted in this embodiment can solve the problem of low malicious attack identification accuracy caused by single rule matching, and by adopting different rasp programs to make malicious attack determinations from different angles and make final decisions, the malicious attack identification accuracy can be improved, and the protection performance of the main program against malicious attacks can be improved.

[0110] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".

[0111] Figure 6 The structural diagram of the electronic device of the present invention is shown below. Figure 6 The electronic device 600 according to this embodiment of the present invention is described. Figure 6 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0112] like Figure 6 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0113] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the malicious attack identification method section of this specification. For example, the processing unit 610 can execute Figure 1-Figure 3 Steps shown.

[0114] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 621 and / or a cache memory unit 622 , and may further include a read-only memory unit (ROM) 623 .

[0115] The storage unit 620 may also include a program / utility 624 having a set (at least one) of program modules 625, such program modules 625 including but not limited to: a processing system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0116] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0117] The electronic device 600 may also communicate with one or more external devices 60 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 650.

[0118] Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0119] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, and the steps of the malicious attack identification method are implemented when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the malicious attack identification method section above in this specification.

[0120] refer to Figure 7 As shown, a program product 700 for implementing the above method according to an embodiment of the present disclosure is described. The program product for implementing the above method according to an embodiment of the present invention can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0121] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The 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 readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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.

[0122] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0123] Program code for performing the processes of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0124] In summary, the purpose of the present invention is to provide a malicious attack identification method, system, device and storage medium, by setting different rasp programs for distributed deployed applications, realizing redundancy and heterogeneous deployment of rasp programs, and judging the malicious attack judgment results output by different rasp programs based on consistency analysis to obtain the final malicious attack identification result. This embodiment adopts heterogeneous and redundant rasp deployment, which can solve the problem of low malicious attack identification accuracy caused by single rule matching. By using different rasp programs to make malicious attack judgments from different angles and make final judgments, the malicious attack identification accuracy can be improved, the protection performance of the application against malicious attacks can be improved, and the robustness of the application can be provided.

[0125] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A malicious attack identification method, characterized in that: include: Receiving malicious behavior determination results from different RASP programs respectively configured for distributed applications, wherein the malicious attack determination results are obtained by the RASP programs performing malicious behavior determination on user input based on execution data of the corresponding applications; Conduct consistency analysis on the malicious attack judgment results output by different rasp programs, and determine the malicious behavior judgment results that meet the set conditions as malicious attack identification results; Malicious attack judgment results that do not meet the set consistency conditions, as well as their corresponding execution data and rasp program information, will be submitted for manual review; In response to the manual review result, a patch file is obtained, and the patch file is used to update the rasp program corresponding to the attack behavior determination result whose consistency does not meet the set condition.

2. The malicious attack identification method according to claim 1, characterized in that: in, The set condition means that the malicious attack determination results account for the majority.

3. The malicious attack identification method according to claim 1, characterized in that: When the malicious attack identification result indicates a malicious attack, the malicious attack identification method further includes: Masking sensitive information in the return data of the application; The masked returned data is sent to the application.

4. The malicious attack identification method according to claim 3, characterized in that: Mask sensitive information in the application's return data, including: Obtaining an SQL statement from the user's input and modifying the SQL statement; The modified SQL statement is used to request the database to provide the return data after masking the sensitive information.

5. The malicious attack identification method according to claim 1, characterized in that: Before receiving malicious behavior determination results from different RASP programs respectively set corresponding to the distributed deployed application programs, the malicious attack identification method further includes: receiving input from the user; In response to the user input, input data is obtained, and the input data is distributed to the distributed application program.

6. The malicious attack identification method according to claim 1, characterized in that: The rasp program is embedded in the corresponding application program in a proxy manner.

7. A malicious attack identification system, characterized in that: include: A receiving module receives malicious behavior determination results from different RASP programs respectively set for corresponding distributed deployed applications, wherein the malicious attack determination results are obtained by the RASP programs performing malicious behavior determination on user input based on execution data of the corresponding application; The consistency analysis module performs consistency analysis on the malicious attack judgment results output by different RASP programs, determines the malicious behavior judgment results whose consistency meets the set conditions as malicious attack identification results, and submits the malicious attack judgment results whose consistency does not meet the set conditions and their corresponding execution data and RASP program information for manual review. In response to the manual review results, a patch file is obtained, and the patch file is used to update the RASP program corresponding to the attack behavior judgment results whose consistency does not meet the set conditions.

8. An electronic device, characterized in that: include: processor; a memory storing executable instructions for the processor; The processor is configured to execute the steps of the malicious attack identification method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the malicious attack identification method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Java Web framework vulnerability attack general detection and positioning method and system

    CN110266669A