Test case packaging and using method based on multi-modal data analysis

Through multimodal data analysis and attack orchestration, the problem that singlemodal attack behavior restoration cannot fully simulate complex attack behavior is solved, and more comprehensive attack behavior pattern restoration and authenticity expression are achieved, improving execution efficiency.

CN118885398APending Publication Date: 2024-11-01THE FIRST RES INST OF MIN OF PUBLIC SECURITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411163372.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The single-modal attack behavior restoration cannot comprehensively and perfectly simulate complex attack behavior, and has low execution efficiency, so it cannot accurately express the step-by-step and concurrency of attack methods in real scenarios.

Method used

Multimodal data analysis is adopted to extract attack behavior patterns through data collection and classification, and use cases are generated in low-code mode to form custom use cases, and to realize attack orchestration to restore the complete attack process.

Benefits of technology

It realizes a more comprehensive restoration of attack behavior patterns, can truly express the concurrent and serial logic of attack steps, improves execution efficiency, avoids multiple creation and scheduling, and improves the authenticity and integrity of attack behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885398A_ABST
    Figure CN118885398A_ABST
Patent Text Reader

Abstract

The invention discloses a test case packaging and using method based on multi-modal data analysis, and the method comprises the steps: collecting attack behavior data, and carrying out the analysis and classification of the multi-modal attack behavior data; performing use case packaging evaluation; packaging and optimizing the use case; and arranging attacks. A more perfect attack behavior mode can be obtained based on the multi-modal data analysis, and various behavior modes of the attack behavior can be comprehensively restored by combining the result of the attack behavior mode obtained based on the multi-modal data analysis with the attack arrangement. And the user-defined use case formed by use case packaging based on the attack behavior can fully express information such as concurrency and seriality of attack steps and logic condition relations before and after the attack, so that the presented attack behavior has higher authenticity. Besides, the attack behavior is restored by adopting multiple modes, and multiple behavior modes and conditional logic branches of the attack behavior are realized in the same scheduling, so that the attack behavior can be executed without creating tasks for multiple times and scheduling for multiple times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a test case encapsulation and use method based on multimodal data analysis. Background Art

[0002] In the defense of network attacks, attack behavior restoration is an important part. For attack restoration, the performance of only one attack behavior mode, such as only traffic performance, only sample storage and delivery on disk, etc., is called single-mode attack behavior restoration. For attack restoration, the performance of multiple attack behavior modes, such as sample storage and delivery on disk, malicious process creation and execution, and malicious traffic generation, is called multi-mode attack behavior restoration.

[0003] Single-mode attack behavior restoration can only simulate attack behavior through a single dimension. It cannot fully simulate the attack behavior pattern in a comprehensive and complete manner when restoring complex attack behaviors. And by combining the results of multiple single modes in sequence, it is also impossible to obtain a true performance of an attack method in a real attack scenario with steps, concurrency or seriality, and conditional judgment. Moreover, the use of multiple single-mode methods to restore attack behaviors involves multiple dimensions in the execution process, requiring multiple task creations and multiple scheduling, resulting in low execution efficiency. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention aims to provide a test case encapsulation and use method based on multimodal data analysis.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A test case packaging and use method based on multimodal data analysis includes the following steps:

[0007] S1. Data collection and analysis:

[0008] S1.1. Collect multimodal attack behavior data;

[0009] S1.2. Analyze and classify the multimodal attack behavior data collected in step S1.1:

[0010] Firstly, based on the attack types of multimodal attack behavior data, multimodal attack behavior data of different forms are classified; then, various attack behavior patterns in the multimodal attack behavior data are counted and analyzed based on multiple statistical dimensions to obtain representative behavior patterns of different attack types;

[0011] S2, use case encapsulation evaluation: evaluate whether the collected multimodal attack behavior data can be used for use case encapsulation. If yes, proceed to step S3; otherwise, return to step S1 to re-collect and analyze data;

[0012] S3, use case encapsulation and optimization: according to the analysis results of step S1, extract the behavior pattern of the multimodal attack behavior data, and compile the extracted behavior pattern into a harmless behavior pattern with corresponding attack behavior characteristics, and generate use cases in a low-code manner, thereby completing the encapsulation of the multimodal attack behavior data and obtaining a custom use case; check whether the custom use case is complete, including checking whether the custom use case obtained after encapsulation can fully represent the expected attack action;

[0013] If it is complete, go to step S4; otherwise, further analyze the incomplete data to find the abnormal code part for further security research, and use it after improving the data integrity and availability;

[0014] S4. Attack orchestration: Orchestrate the attack process, attack steps, and attack behavior patterns of the formed custom use case to restore a complete attack process, thereby forming a multimodal attack orchestration scenario.

[0015] Furthermore, the evaluation of whether the collected multimodal attack behavior data can be used for use case encapsulation includes evaluating whether the multimodal attack behavior data has packaging value based on the harmfulness and degree of harm of the multimodal attack behavior data, and evaluating whether the multimodal attack behavior data can support the simulation of a complete attack behavior based on its integrity and availability.

[0016] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0017] The present invention also provides a computer device, characterized in that it includes a processor and a memory, wherein the memory is used to store a computer program; and when the processor is used to execute the computer program, the above method is implemented.

[0018] The beneficial effects of the present invention are:

[0019] 1. Compared with single-mode attack behavior restoration, the method of the present invention can obtain a more complete attack behavior pattern based on multimodal data analysis. Based on the results of the attack behavior pattern obtained after multimodal data analysis, combined with the attack arrangement, it is possible to more comprehensively restore the various behavior patterns of the attack behavior.

[0020] 2. The method of the present invention is based on multimodal data analysis, so that the custom use case formed by use case encapsulation based on attack behavior can fully express the concurrency and seriality of attack steps, the logical conditional relationship before and after the attack, and other information, making the displayed attack behavior more authentic.

[0021] 3. The method of the present invention adopts multi-modality to restore the attack behavior. Various behavior modes and conditional logic branches of the attack behavior are all implemented in the same scheduling, and can be executed without multiple task creation and multiple scheduling. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is an overall flow chart of the method of Example 1 of the present invention. DETAILED DESCRIPTION

[0023] The present invention will be further described below in conjunction with the accompanying drawings. It should be noted that this embodiment is based on the technical solution and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to this embodiment.

[0024] This embodiment provides a test case packaging and use method based on multimodal data analysis, such as Figure 1 As shown, the following steps are included:

[0025] S1. Data collection and analysis:

[0026] S1.1. Collect multimodal attack behavior data;

[0027] S1.2. Analyze and classify the multimodal attack behavior data collected in step S1.1:

[0028] Firstly, based on the attack types of multimodal attack behavior data, such as encrypted and non-encrypted traffic, malicious code, malicious files, threat intelligence, etc., different forms of multimodal attack behavior data are classified; then, the various attack behavior patterns in the multimodal attack behavior data are counted, and analyzed based on multiple statistical dimensions to obtain representative behavior patterns of different attack types.

[0029] For example, malicious samples can trigger a protective response (alarm or kill) by dropping them on disk. If the protective measures do not respond after dropping them on disk, their security mechanisms can be further triggered by simulating execution to verify their protective effects. Similarly, malicious code can also have different behavior patterns, such as webshell, memory horse, deserialization, etc.

[0030] S2, use case encapsulation evaluation: evaluate whether the collected multimodal attack behavior data can be used for use case encapsulation, including evaluating whether the multimodal attack behavior data has encapsulation value based on its harmfulness and degree of harm, and evaluating whether it can support the simulation of complete attack behaviors based on its integrity and availability; if yes, proceed to step S3, otherwise return to step S1 to re-collect and analyze data;

[0031] S3. Use case encapsulation and optimization: Complete the encapsulation of multimodal attack behavior data to obtain custom use cases; check whether the custom use cases are complete, including whether the custom use cases obtained after encapsulation can fully represent the expected attack actions. In essence, they are still known attacks, and the complete attack should be detectable by mainstream security engines.

[0032] If it is complete, go to step S4, otherwise further analyze the incomplete data, find the abnormal code part, conduct further security research, and use it after improving the data integrity and availability.

[0033] It should be noted that use case encapsulation refers to the process of extracting behavior patterns from attack behavior data, writing the extracted behavior patterns into harmless behavior patterns with corresponding attack behavior characteristics, and generating use cases in a low-code manner. The use case generated after the use case encapsulation is completed is a custom use case.

[0034] S4. Attack orchestration: orchestrate the attack process, attack steps, and attack behavior patterns of the formed custom use case to restore a complete attack process, thereby forming a multimodal attack orchestration scenario.

[0035] For those skilled in the art, various corresponding changes and modifications can be made according to the above technical solutions and concepts, and all of these changes and modifications should be included in the protection scope of the claims of the present invention.

Claims

1. A test case encapsulation and use method based on multimodal data analysis, characterized in that: The steps include: S1. Data collection and analysis: S1.

1. Collect multimodal attack behavior data; S1.

2. Analyze and classify the multimodal attack behavior data collected in step S1.1: Firstly, based on the attack types of multimodal attack behavior data, multimodal attack behavior data of different forms are classified; then, various attack behavior patterns in the multimodal attack behavior data are counted and analyzed based on multiple statistical dimensions to obtain representative behavior patterns of different attack types; S2, use case encapsulation evaluation: evaluate whether the collected multimodal attack behavior data can be used for use case encapsulation. If yes, proceed to step S3; otherwise, return to step S1 to re-collect and analyze data; S3, use case encapsulation and optimization: according to the analysis results of step S1, extract the behavior pattern of the multimodal attack behavior data, and compile the extracted behavior pattern into a harmless behavior pattern with corresponding attack behavior characteristics, and generate use cases in a low-code manner, thereby completing the encapsulation of the multimodal attack behavior data and obtaining a custom use case; check whether the custom use case is complete, including checking whether the custom use case obtained after encapsulation can fully represent the expected attack action; If it is complete, go to step S4; otherwise, further analyze the incomplete data to find the abnormal code part for further security research, and use it after improving the data integrity and availability; S4. Attack orchestration: Orchestrate the attack process, attack steps, and attack behavior patterns of the formed custom use case to restore a complete attack process, thereby forming a multimodal attack orchestration scenario.

2. The method according to claim 1, characterized in that The evaluation of whether the collected multimodal attack behavior data can be used for use case encapsulation includes evaluating whether the multimodal attack behavior data has packaging value based on the harmfulness and degree of harm of the multimodal attack behavior data, and evaluating whether the multimodal attack behavior data can support the simulation of complete attack behaviors based on the integrity and availability of the multimodal attack behavior data.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

4. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program; when the processor is used to execute the computer program, the method described in any one of claims 1 to 2 is implemented.