GENERATION APPARATUS, GENERATION METHOD, AND GENERATION PROGRAM

The described method effectively generates IOCs for script-type malware by clustering behavior similarities and time windows, addressing the limitations of conventional IOC generation techniques for script-type malware and improving EDR systems' effectiveness.

JP7559974B2Active Publication Date: 2024-10-02NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023561965
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-11-16
Publication Date
2024-10-02
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

Conventional methods for generating Indicators of Compromise (IOCs) are ineffective for script-type malware, which often lack clear families and exhibit significant variation in activity traces over time, making it difficult to apply techniques designed for executable binary malware.

Method used

A generation device and method that acquires behavior information, classifies malware into groups based on similarity and collection time, and generates IOCs from activity traces, effectively handling script-type malware by clustering similar behaviors and time windows.

Benefits of technology

Enables effective IOC generation for script-type malware by clustering similar behaviors and time windows, enhancing Endpoint Detection and Response (EDR) systems' efficiency in detecting and responding to such threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559974000001
    Figure 0007559974000001
  • Figure 0007559974000002
    Figure 0007559974000002
  • Figure 0007559974000003
    Figure 0007559974000003
Patent Text Reader

Abstract

An indicator-of-compromise (IOC) information generation device (10) comprises an acquisition unit (15a) that acquires behavior information relating to the behavior of malware and collection information relating to a date and time at which the malware was collected, a first classification unit (15c) that classifies the malware into a first group on the basis of the behavior information, a second classification unit (15e) that further classifies the malware, which has been classified into the first group, into a second group on the basis of the collection information, a detection unit (15b) that detects the IOC of the malware from the behavior information, and a generation unit (15f) that generates malware IOC information from the IOC indicated by the malware classified into the second group.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a generation device, a generation method, and a generation program. [Background technology]

[0002] In recent years, with the sophistication of malware, the number of malware that is difficult to detect with conventional antivirus software that detects based on signatures is increasing. In addition, there is also detection using dynamic analysis sandboxes, which run transmitted and received files in an isolated analysis environment and detect malware from the maliciousness of observed behavior, but these environments are now being avoided by detecting the degree of deviation from general user environments, etc.

[0003] Against this background, anti-malware technology called EDR (Endpoint Detection and Response) has come into use. EDR does not use an environment prepared for analysis, but instead uses an agent installed on the user's terminal to continuously monitor the terminal's behavior. It then detects malware using indicators of compromise (IOCs), which are prepared in advance and serve as behavioral signatures for detecting traces left by malware when it is active. Specifically, EDR compares the behavior observed on the terminal with the IOCs, and if they match, detects the terminal as suspected of being infected with malware.

[0004] Therefore, whether or not EDR can detect malware depends on whether it has IOCs that are useful for detecting a certain piece of malware. On the other hand, if an IOC matches not only malware but also traces of legitimate software activity, there is a problem that it can lead to false positives. Therefore, rather than simply randomly turning malware traces into IOCs and increasing the number of them, it is necessary to selectively extract traces that are useful for detection and turn them into IOCs.

[0005] Also, from the perspective of IOCs that EDR can match at once, it becomes necessary to selectively extract traces that are useful for detection and turn them into IOCs. In other words, since the more IOCs an EDR has, it generally takes longer to match them, it is desirable to have a combination of IOCs that can detect more types of malware with fewer IOCs. In this case, if IOCs are generated from activity traces that are not useful for detection, it will lead to unnecessary time being spent on matching.

[0006] Nowadays, new malware is created every day, and the corresponding IOCs are also constantly changing. Therefore, in order to continuously respond to them, it is necessary to automatically analyze malware, extract traces of activity, and generate IOCs. IOCs are generated based on traces of activity obtained by analyzing malware. In general, malware behavior is monitored while execution is performed, and traces obtained are collected, normalized, and a combination suitable for detection is selected to create an IOC. For these reasons, there is a demand for technology that can selectively and automatically extract traces of activity that are useful for detecting malware.

[0007] For example, Non-Patent Document 1 proposes a method of extracting patterns of traces repeatedly observed among multiple pieces of malware and using them as IOCs. Also, Non-Patent Document 2 proposes a method of automatically generating IOCs that are easy for humans to understand by extracting a set of traces that co-occur among malware of the same family and preventing the IOCs from becoming too complex by using a set optimization method. These methods make it possible to automatically extract IOCs that can contribute to malware detection from execution trace logs.

[0008] Here, execution tracing refers to tracking the execution status of a program by sequentially recording behavior from various perspectives during execution. A program equipped with the functionality to monitor and record behavior in order to achieve this is called a tracer. For example, a sequential recording of executed APIs (Application Programming Interfaces) is called an API trace, and a program to achieve this is called an API tracer. [Prior art documents] [Non-patent literature]

[0009] [Non-Patent Document 1] Christian Doll et al. "Automated Pattern Inference Based on Repeatedly Observed Malware Artifacts." Proceedings of the 14th International Conference on Availability, Reliability and Security. 2019. [Non-Patent Document 2] Yuma Kurogome et al. "EIGER: Automated IOC Generation for Accurate and Interpretable Endpoint Malware Detection." Proceedings of the 35th Annual Computer Security Applications Conference. 2019. Summary of the Invention [Problem to be solved by the invention]

[0010] However, the above-mentioned conventional technology only targets the generation of IOCs for executable binary malware, and has a problem in that it does not consider the generation of IOCs for script malware. Unlike executable binary malware, script malware generally does not have a clear family. A family refers to a type of malware, and is a grouping of malware with similar characteristics.

[0011] The techniques described in Non-Patent Document 1 and Non-Patent Document 2 generate IOCs based on traces of activities commonly seen within the same family. Therefore, it is difficult to apply these techniques to script-type malware that does not have a clear family and generate effective IOCs.

[0012] In particular, in script-based malware, even if the behavior is similar, the traces of activity may change significantly over time. Therefore, even if the family is determined based only on the similarity of behavior as in the case of traditional executable binary malware, the traces of activity may vary greatly. As a result, it may not be possible to generate commonly valid IOCs for the same family.

[0013] The present invention has been made in consideration of the above, and aims to provide a generation device, a generation method, and a generation program that enable effective IOC generation even against script-type malware. [Means for solving the problem]

[0014] In order to solve the above-mentioned problems and achieve the objective, the generation device of the present invention is characterized in that it comprises an acquisition unit that acquires behavior information regarding malware behavior and collection information regarding the date and time when the malware was collected, a first classification unit that classifies the malware into a first group based on the behavior information, a second classification unit that further classifies the malware classified into the first group into a second group based on the collection information, a detection unit that detects traces of activity of the malware from the behavior information, and a generation unit that generates trace information of the malware from the traces of activity shown by malware classified into the second group.

[0015] In addition, the generation method of the present invention is a generation method executed by a generation device, and is characterized in that it includes an acquisition step of acquiring behavior information regarding the behavior of malware and collection information regarding the date and time when the malware was collected, a first classification step of classifying the malware into a first group based on the behavior information, a second classification step of further classifying the malware classified into the first group into a second group based on the collection information, a detection step of detecting traces of activity of the malware from the behavior information, and a generation step of generating trace information of the malware from the activity traces shown by malware classified into the second group.

[0016] In addition, the generation program of the present invention is characterized in that it causes a computer to execute the following steps: an acquisition step of acquiring behavior information regarding malware behavior and collection information regarding the date and time the malware was collected; a first classification step of classifying the malware into a first group based on the behavior information; a second classification step of further classifying the malware classified into the first group into a second group based on the collection information; a detection step of detecting traces of activity of the malware from the behavior information; and a generation step of generating trace information of the malware from the activity traces shown by malware classified into the second group. Effect of the Invention

[0017] The present invention enables effective generation of IOCs for script-type malware. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a trace information generating system according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of the configuration of the trace information generating device according to the first embodiment. [Diagram 3] FIG. 3 is a diagram showing an overview of the classification process according to the first embodiment. [Figure 4]FIG. 4 is a flowchart showing an example of the overall flow of a trace information generation process according to the first embodiment. [Diagram 5] FIG. 5 is a flowchart showing an example of the flow of the behavior information acquisition process according to the first embodiment. [Figure 6] FIG. 6 is a flowchart showing an example of the flow of the activity trace detection process according to the first embodiment. [Figure 7] FIG. 7 is a flowchart showing an example of the flow of the first classification process according to the first embodiment. [Figure 8] FIG. 8 is a flowchart showing an example of the flow of the time window determination process according to the first embodiment. [Figure 9] FIG. 9 is a flowchart showing an example of the flow of the second classification process according to the first embodiment. [Figure 10] FIG. 10 is a flowchart showing an example of the flow of an IOC generation process according to the first embodiment. [Figure 11] FIG. 11 is a diagram illustrating a computer that executes a program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, embodiments of a trace information generating device (or generating device as appropriate), a trace information generating method (or generating method as appropriate), and a trace information generating program (or generating program as appropriate) according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments described below.

[0020] [First embodiment] The configuration of the trace information generating system according to this embodiment, the configuration of the trace information generating device, an overview of the classification process, and the flow of the trace information generating process will be described below in that order, and finally the effects of this embodiment will be described.

[0021] [Configuration of the trace information generation system] A configuration of a trace information generation system (suitably referred to as the present system) 100 according to this embodiment will be described in detail with reference to FIG. 1. FIG. 1 is a diagram showing an example of the configuration of the trace information generation system according to the first embodiment. The present system 100 includes a trace information generation device 10, a malware collection device 20 functioning as a sensor, and a security response organization 30 (30A, 30B, 30C) such as a Security Operation Center (SOC) or a Computer Security Incident Response Team (CSIRT). Here, the trace information generation device 10, the malware collection device 20, and the security response organization 30 are connected to each other via a predetermined communication network (not shown) in a wired or wireless manner so as to be able to communicate with each other. Note that the trace information generation system 100 shown in FIG. 1 may include a plurality of trace information generation devices 10 and a plurality of malware collection devices 20.

[0022] (Malware collection processing) First, the trace information generating device 10 receives input of malware from the malware collecting device 20 (step S1). Here, the malware collecting device 20 is a dedicated device for collecting malware information from a malware sharing service for research such as VirusTotal, a CSIRT within an organization, a honeypot, etc., but is not particularly limited thereto. The malware collecting device 20 may be a PC (Personal Computer), a smartphone, a tablet terminal, etc., owned by a user of a general network, etc.

[0023] (Behavior information acquisition process) Next, the trace information generating device 10 analyzes the malware that has received the input, and acquires behavior information related to the behavior of the malware, which is information useful for classifying the malware (step S2). At this time, the trace information generating device 10 acquires behavior information including characteristics that are highly similar between subspecies (e.g., API trace information, file metadata). Subspecies here refer to malware created by the same attacker and that are highly similar to each other in terms of, for example, behavior. Note that the detailed malware behavior information acquisition process performed by the trace information generating device 10 will be described later in [Flow of behavior information acquisition process]. The trace information generating device 10 also acquires collection information related to the collection date and time of the malware that has received the input.

[0024] (Activity trace detection process) Meanwhile, the trace information generating device 10 finds traces of malware activity from the acquired behavior information (step S3). At this time, the trace information generating device 10 lists in advance the parts of the activity that are likely to leave traces (e.g. file and registry operations, process creation and communication), and detects them as traces of activity if they appear in the analysis results. Details of the activity trace detection process by the trace information generating device 10 will be described later in [Flow of activity trace detection process].

[0025] (First classification process) Next, the trace information generation device 10 extracts malware characteristics ("malware characteristics" as appropriate) that indicate the same attacker from the acquired behavior information, and classifies the malware (step S4). At this time, the trace information generation device 10 performs clustering based on the extracted malware characteristics, and creates clusters for each attacker's characteristics. Note that the details of the first classification process by the trace information generation device 10 will be described later in [Flow of the first classification process].

[0026] Here, the characteristics of API traces and metadata contained in the behavioral information are generally highly similar between malware variants. Therefore, by clustering based on such characteristics, it is expected that malware variants will be classified into the same cluster. In addition, by first grouping together malware that is likely to be created by the same attacker based on the similarity of behavior, i.e., the similarity of attack methods, it is expected that they will be detected using the same IOC.

[0027] (Time window determination process) Next, the trace information generating device 10 determines a time window corresponding to the time interval of the malware attack for use in the second classification process (step S5). Here, for the time window, a fixed value may be manually determined by investigating the past malware trends, or a value may be dynamically determined by focusing on the change in the trend of the character string of the activity trace. In the latter case, the trace information generating device 10 determines the time window from the activity trace of the malware. At this time, the trace information generating device 10 clusters the malware based on the similarity of the character string of the activity trace, and each time an outlier malware occurs, it divides the time window by assuming that a new trend has started. Note that the detailed time window determination process by the trace information generating device 10 will be described later in [Flow of the time window determination process].

[0028] (Second classification process) Furthermore, the trace information generation device 10 further classifies malware with a close attack date and time based on the malware collection date and time indicated in the collected information (step S6). At this time, the trace information generation device 10 further classifies clusters of the same attacker using the time window determined in the processing of step S5. Note that the details of the second classification processing by the trace information generation device 10 will be described later in [Flow of the second classification processing].

[0029] The reason for introducing a time window into the classification process is that even malware created by the same attacker may have significantly different activity traces if they were used in attacks at different times. Taking this into consideration, it is expected that more effective IOCs can be generated from activity traces that are classified in the same way but used in attacks at similar times.

[0030] (IOC generation process) Then, the trace information generation device 10 generates an IOC (trace information) of the malware from the activity traces and the classification results (step S7). At this time, the trace information generation device 10 generates an IOC by virtually regarding malware belonging to the same classification destination and time window as being in the same family, making it possible to apply conventional IOC generation techniques. Note that the detailed IOC generation process by the trace information generation device 10 will be described later in [Flow of IOC generation process].

[0031] (IOC sending process) Finally, the trace information generation device 10 transmits the generated IOC to the security response organization 30 (step S8). There are no particular limitations on the terminal etc. to which the trace information generation device 10 transmits the IOC.

[0032] As described above, the trace information generation system 100 according to this embodiment analyzes malware to obtain behavior information useful for classification, groups malware with similar characteristics based on the behavior information, and further groups malware with the same classification target that has been used in an attack within a specific range of dates and times, creates virtual families based on these, and generates IOCs from activity traces. This makes it possible for the system 100 to generate IOCs even for malware that does not have family information, such as script-type malware.

[0033] As described above, the present system 100 is useful for generating IOCs for malware that does not have family information, and is suitable for processing to automatically generate IOCs from such malware. Therefore, the present system 100 generates IOCs to be input to the EDR, making it possible to operate the EDR more effectively and to take measures against malware that are effective in SOCs, CSIRTs, etc.

[0034] [Configuration of the trace information generation device] The configuration of the trace information generating device 10 according to the present embodiment will be described in detail with reference to Fig. 2. Fig. 2 is a block diagram showing an example of the configuration of the trace information generating device according to the first embodiment. The trace information generating device 10 has an input unit 11, an output unit 12, a communication unit 13, a storage unit 14, and a control unit 15.

[0035] (Input section 11) The input unit 11 is responsible for inputting various types of information to the trace information generation device 10. The input unit 11 is, for example, a mouse or a keyboard, and accepts input of setting information and the like to the trace information generation device 10.

[0036] (Output section 12) The output unit 12 is responsible for outputting various types of information from the trace information generation device 10. The output unit 12 is, for example, a display, and outputs setting information stored in the trace information generation device 10, etc.

[0037] (Communications Department 13) The communication unit 13 is responsible for data communication with other devices. For example, the communication unit 13 performs data communication with each communication device. The communication unit 13 can also perform data communication with an operator's terminal (not shown).

[0038] (Storage unit 14) The storage unit 14 stores various information referenced when the control unit 15 operates and various information acquired when the control unit 15 operates. The storage unit 14 has a behavior information storage unit 14a, a collected information storage unit 14b, and a classification information storage unit 14c. Here, the storage unit 14 is, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. Note that, in the example of FIG. 2, the storage unit 14 is installed inside the trace information generating device 10, but it may be installed outside the trace information generating device 10, or multiple storage units may be installed.

[0039] (Behavior information storage unit 14a) The behavior information storage unit 14a stores behavior information. For example, the behavior information storage unit 14a stores API traces related to network communication, file operations, registry operations, or process generation acquired by the acquisition unit 15a of the control unit 15. The behavior information storage unit 14a may also store values ​​(metadata) held by the header parts of malware files acquired by the acquisition unit 15a. Furthermore, the behavior information storage unit 14a may store collection information related to the collection date and time of malware acquired by the acquisition unit 15a in association with the behavior information.

[0040] (Collected information storage unit 14b) The collected information storage unit 14b stores the collected information. For example, the collected information storage unit 14b stores the collection date and collection time for each piece of malware collected by the malware collection device 20 as the collected information.

[0041] (Classification information storage unit 14c) The classification information storage unit 14c stores classification information. For example, the classification information storage unit 14c stores, as classification information, classification destination information indicating a classification destination of malware classified by the first classification unit 15c, and time window information indicating malware belonging to the same time window classified by the second classification unit 15e.

[0042] (Control unit 15) The control unit 15 controls the entire trace information generating device 10. The control unit 15 has an acquisition unit 15a, a detection unit 15b, a first classification unit 15c, a determination unit 15d, a second classification unit 15e, and a generation unit 15f. Here, the control unit 15 is, for example, an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

[0043] (Acquisition part 15a) The acquisition unit 15a acquires behavior information related to the behavior of the malware. For example, the acquisition unit 15a executes the malware in an isolated environment and acquires an API trace related to the called API as the behavior information. As a specific example, the acquisition unit 15a executes the malware in an isolated environment and acquires an API trace in which the called API is recorded together with an argument and a return value, and particularly acquires an API trace related to network communication, file operation, registry operation, or process generation. The acquisition unit 15a may also acquire metadata obtained by investigating a value held by a header part of a malware file. The acquisition unit 15a may use a static analysis that does not execute the malware, instead of a dynamic analysis that executes the malware. Meanwhile, the acquisition unit 15a stores the acquired behavior information in the behavior information storage unit 14a.

[0044] The acquisition unit 15a acquires collected information related to the date and time when the malware was collected. For example, the acquisition unit 15a acquires, as the collected information, the collection date and collection time for each piece of malware collected by the malware collection device 20. Meanwhile, the acquisition unit 15a may store the acquired collected information in the collected information storage unit 14b.

[0045] (Detection unit 15b) The detection unit 15b detects a trace of malware activity from the behavior information. For example, the detection unit 15b lists in advance parts where a trace is likely to remain when the malware is active, and detects a trace that appears in the listed parts as a trace of the malware activity. As a specific example, the detection unit 15b detects the trace of activity from API traces involved in network communication, file operations, registry operations, or process generation, as parts where a trace is likely to remain. Meanwhile, the detection unit 15b may store the detected trace of malware activity in the storage unit 14.

[0046] (1st classification part 15c) The first classification unit 15c classifies malware into a first group based on the behavior information. For example, the first classification unit 15c extracts features with high similarity between subspecies from the behavior information, clusters the malware based on the extracted features, and classifies the malware into a first group. As a specific example, the first classification unit 15c extracts malware features used to classify malware by the same attacker from the behavior information acquired by the acquisition unit 15a, clusters the malware based on the extracted malware features, and classifies the malware by the same attacker into a first group. Meanwhile, the first classification unit 15c stores classification destination information related to the classified first group in the classification information storage unit 14c.

[0047] The clustering may be performed using a hierarchical method such as Ward's method, or a non-hierarchical method such as K-means. As long as it can group together malware subspecies, the method is not limited to these.

[0048] (Decision section 15d) The determination unit 15d determines a time window indicating a time division based on collected information in order to capture malware with the same activity trace tendency. Here, when determining the time window, a fixed value may be determined manually by investigating the past malware trends, or a value may be determined dynamically by focusing on the change in the trend of the character string of the activity trace. For example, the determination unit 15d determines a period during which the same trend was observed in the activity trace as the time window, and inputs it to the second classification unit 15e.

[0049] (Second classification part 15e) The second classification unit 15e further classifies the malware classified into the first group into a second group based on the collected information. For example, the second classification unit 15e further classifies the malware classified into the first group that belongs to the set time window into the second group using a time window indicating a time division based on the collected information. As a specific example, the second classification unit 15e sets a time window of a predetermined length from the collected information acquired by the acquisition unit 15a, and divides the first group classified by the first classification unit 15c with the time window, thereby further classifying the malware by the same attacker and within the time window with the same collection date and time into the second group. Meanwhile, the second classification unit 15e stores time window information related to the classified second group in the classification information storage unit 14c.

[0050] (Generation section 15f) The generating unit 15f generates malware trace information from activity traces indicated by malware classified into the second group. For example, the generating unit 15f generates malware trace information (IOC) from activity traces indicated by malware by the same attacker and collected within the same time window. At this time, the generating unit 15f generates trace information in which character strings other than the common character string are replaced with symbols representing arbitrary character strings in order to detect file names including the common character strings detected as the activity traces, for example, but the method of generating the trace information is not particularly limited.

[0051] [Classification process overview] An overview of the first classification process and the second classification process according to the present embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram showing an overview of the classification process according to the first embodiment.

[0052] (Overview of the first classification process) The trace information generating device 10 analyzes the collected malware and clusters the malware based on its behavioral characteristics (see FIG. 3(1)). In the example of FIG. 3, the trace information generating device 10 classifies 10 malware samples M1 to M10 into cluster C1 (M1 to M5) and cluster C2 (M6 to M10). Therefore, in the first classification process, by classifying based on commonalities in the behavior of the malware, it is possible to classify malware created by the same attacker, for example.

[0053] (Outline of the second classification process) The trace information generating device 10 classifies the clustered malware into time windows that indicate that the malware was collected during the same time period (see FIG. 3(2)). In the example of FIG. 3, the trace information generating device 10 classifies M1, M2, and M4 of the malware classified into cluster C1 into time window T1, and M3 and M5 into time window T2. Similarly, the trace information generating device 10 classifies M6 and M8 of the malware classified into cluster C2 into time window T3, and M7, M9, and M10 into time window T4. For this reason, in the second classification process, by further classifying based on the malware collection date and time, it is possible to classify malware used in attacks by the same attacker that are close in date and time.

[0054] [Overall flow of trace information generation process] The overall flow of the trace information generation process according to this embodiment will be described in detail with reference to Fig. 4. Fig. 4 is a flowchart showing an example of the overall flow of the trace information generation process according to the first embodiment. Note that the following steps S101 to S109 can also be executed in a different order. Also, some of the following steps S101 to S109 may be omitted.

[0055] First, the input unit 11 of the trace information generating device 10 receives input of malware for which trace information (IOC) is to be generated and input of collected information related to the date and time when the malware was collected from the malware collection device 20 (step S101). At this time, the input unit 11 may receive input of malware information from a device other than the malware collection device 20.

[0056] (Behavior information acquisition process) The acquisition unit 15a executes a behavior information acquisition process (step S102). The detailed behavior information acquisition process by the acquisition unit 15a will be described later in [Flow of behavior information acquisition process]. The acquisition unit 15a also acquires collected information of the malware that is input by the input unit 11.

[0057] (Activity trace detection process) The detection unit 15b executes an activity trace detection process (step S103). Note that the activity trace detection process performed by the detection unit 15b will be described in detail later in "Flow of activity trace detection process".

[0058] (First classification process) The first classification unit 15c executes the first classification process (step S104). Note that the details of the first classification process performed by the first classification unit 15c will be described later in "Flow of the first classification process".

[0059] (Time window determination process) The determination unit 15d executes a time window determination process (step S105). Note that the details of the time window determination process performed by the determination unit 15d will be described later in "Flow of the time window determination process".

[0060] (Second classification process) The second classification unit 15e executes the second classification process (step S106). Note that the second classification process performed by the second classification unit 15e will be described in detail later in "Flow of the second classification process".

[0061] At this time, if malware of the same classification destination is found within the time window (step S107: Yes), the second classification unit 15e proceeds to the IOC generation process of step S108. On the other hand, if malware of the same classification destination is not found within the time window (step S107: No), the second classification unit 15e ends the process.

[0062] (IOC generation process) The generating unit 15f executes an IOC generating process (step S108). Note that the detailed IOC generating process by the generating unit 15f will be described later in "Flow of IOC generating process".

[0063] Finally, the output unit 12 outputs the IOC generated in the process of step S108 (step S109), and the process ends. In addition, the communication unit 13 may transmit the generated IOC to the security response organization 30.

[0064] [Process flow] The flow of each process of the trace information generation process according to this embodiment will be described in detail with reference to Figures 5 to 10. Below, the flow of the behavior information acquisition process, the flow of the activity trace detection process, the flow of the first classification process, the flow of the time window determination process, the flow of the second classification process, and the flow of the IOC generation process will be described in this order.

[0065] (Flow of behavior information acquisition process) The flow of the behavior information acquisition process according to this embodiment will be described in detail with reference to Fig. 5. Fig. 5 is a flowchart showing an example of the flow of the behavior information acquisition process according to the first embodiment. Note that the following steps S201 to S204 may be executed in a different order. Also, some of the following steps S201 to S204 may be omitted.

[0066] The acquisition unit 15a accepts input of malware (step S201), executes the malware in an analysis environment (step S202), acquires behavior information from the observed behavior (step S203), stores the behavior information in the memory unit 14 (step S204), and repeats the behavior information acquisition process.

[0067] (Activity trace detection process) The flow of the activity trace detection process according to this embodiment will be described in detail with reference to Fig. 6. Fig. 6 is a flowchart showing an example of the flow of the activity trace detection process according to the first embodiment. Note that the following steps S301 to S308 may be executed in a different order. Also, some of the following steps S301 to S308 may be omitted.

[0068] The detection unit 15b receives behavior information (step S301), receives a list of parts where activity traces are likely to remain (step S302), and extracts an arbitrary part from the list (step S303). At this time, if the behavior information includes the part (step S304: Yes), the detection unit 15b processes it as a malware activity trace (step S305). On the other hand, if the behavior information does not include the part (step S304: No), the detection unit 15b extracts another part from the list (step S306) and proceeds to the process of step S304. Subsequently, if the detection unit 15b has processed the entire list by the process of step S305 (step S307: Yes), it outputs the malware activity trace (step S308) and repeats the activity trace detection process. On the other hand, if the detection unit 15b has not processed all of the list by the process of step S305 (step S307: No), the detection unit 15b extracts another part from the list (step S306) and proceeds to the process of step S304.

[0069] (First classification process flow) The flow of the first classification process according to this embodiment will be described in detail with reference to Fig. 7. Fig. 7 is a flowchart showing an example of the flow of the first classification process according to the first embodiment. Note that the following steps S401 to S406 can also be executed in a different order. Also, some of the following steps S401 to S406 may be omitted.

[0070] The first classification unit 15c accepts behavior information (step S401), extracts malware features from the behavior information (step S402), selects only useful features from the malware features (step S403), performs dimensionality reduction and normalization processing on the selected features (step S404), classifies malware showing similar behavior so that they are classified in the same destination (step S405), stores the destination information of each piece of malware in the memory unit 14 (step S406), and repeats the first classification process.

[0071] (Flow of time window determination process) The flow of the time window determination process according to this embodiment will be described in detail with reference to Fig. 8. Fig. 8 is a flowchart showing an example of the flow of the time window determination process according to the first embodiment. Note that the following steps S501 to S507 may be executed in a different order. Also, some of the following steps S501 to S507 may be omitted.

[0072] The determination unit 15d receives a malware activity trace (step S501), converts the character string of the activity trace into a feature vector (step S502), and clusters the malware based on the similarity of the activity trace (step S503). At this time, if the collection date and time of the new malware is an outlier (step S504: Yes), the determination unit 15d sets a new time window to separate the outlier malware (step S505), outputs the time window (step S507), and repeats the time window determination process. On the other hand, if the collection date and time of the new malware is not an outlier (step S504: No), the determination unit 15d extends the current time window to include the latest malware (step S506), outputs the time window (step S507), and repeats the time window determination process.

[0073] (Second classification process) The flow of the second classification process according to this embodiment will be described in detail with reference to Fig. 9. Fig. 9 is a flowchart showing an example of the flow of the second classification process according to the first embodiment. Note that the following steps S601 to S605 can also be executed in a different order. Also, some of the following steps S601 to S605 may be omitted.

[0074] The second classification unit 15e receives the collected information and classification destination information of the malware (step S601), receives the length of the time window to be set (step S602), extracts malware with the same classification destination (step S603), separates the malware by time window, classifies the malware within the time window with the same collection date and time (step S604), stores the time window information of each piece of malware in the memory unit 14 (step S605), and repeats the second classification process.

[0075] (IOC generation process) The flow of the IOC generation process according to this embodiment will be described in detail with reference to Fig. 10. Fig. 10 is a flowchart showing an example of the flow of the IOC generation process according to the first embodiment. Note that the following steps S701 to S706 can be executed in a different order. Also, some of the following steps S701 to S706 may be omitted.

[0076] The generation unit 15f receives malware activity traces, classification destination information, and time window information (step S701), determines that malware belonging to the same classification destination and time window belong to the same family (step S702), extracts activity traces that are highly common within the family (step S703), performs normalization processing on the activity traces (step S704), selects combinations of activity traces that are useful for detection (step S705), expresses the selected combinations of activity traces as IOCs in an appropriate format (step S706), and repeats the IOC generation processing.

[0077] [Advantages of the First Embodiment] First, in the trace information generation process according to the present embodiment described above, behavior information on the behavior of malware and collected information on the date and time when the malware was collected are acquired, the malware is classified into a first group based on the behavior information, the malware classified into the first group is further classified into a second group based on the collected information, traces of malware activity are detected from the behavior information, and trace information of the malware is generated from the traces of activity shown by the malware classified into the second group. Therefore, this process makes it possible to effectively generate IOCs even for script-type malware.

[0078] Secondly, in the trace information generation process according to the present embodiment described above, a time window indicating a time division based on collected information is used to further classify malware classified into the first group that belongs to a set time window into a second group. Therefore, in this process, by classifying into groups that are substitutes for malware families, it is possible to effectively generate IOCs even for script-type malware.

[0079] Thirdly, in the above-described trace information generation process according to the present embodiment, malware is clustered based on the similarity of character strings in the traces of activity, and a time window is determined based on changes in the trends of the clustered malware. Therefore, this process enables effective IOC generation even for script-type malware by continuously classifying groups that are alternatives to malware families.

[0080] Fourth, in the trace information generation process according to the present embodiment described above, the malware is executed in an isolated environment, and API traces related to the called APIs are obtained as behavior information. Therefore, in this process, by obtaining information including the similarity of malware behavior, it is possible to effectively generate IOCs even for script-type malware.

[0081] Fifth, in the trace information generation process according to the present embodiment described above, highly similar features between variants are extracted from the behavior information, and the malware is clustered based on the features and classified into a first group. This process makes it possible to effectively generate IOCs even for script-type malware by classifying the malware into groups that are substitutes for the malware family more efficiently.

[0082] Sixth, in the above-described trace information generation process according to the present embodiment, traces of malware activity are detected from API traces related to network communications, file operations, registry operations, or process creation. This process makes it possible to generate IOCs effectively even for script-type malware by detecting malware activity traces more efficiently.

[0083] [System configuration, etc.] Each component of each device shown in the figures according to the above embodiment is a functional concept, and does not necessarily have to be physically configured as shown in the figures. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figures, and all or a part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. Furthermore, each processing function performed by each device can be realized in whole or in any part by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware using wired logic.

[0084] Furthermore, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.

[0085] 〔program〕 It is also possible to create a program in which the processing executed by the trace information generating device 10 described in the above embodiment is written in a language executable by a computer. In this case, the same effect as in the above embodiment can be obtained by having the computer execute the program. Furthermore, such a program may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read and executed by a computer to realize the same processing as in the above embodiment.

[0086] Fig. 11 is a diagram showing a computer that executes a program. As shown in Fig. 11, a computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070, and these components are connected by a bus 1080.

[0087] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012, as exemplified in FIG. 11. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090, as exemplified in FIG. 11. The disk drive interface 1040 is connected to a disk drive 1100, as exemplified in FIG. 11. For example, a removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to, for example, a mouse 1110 and a keyboard 1120, as exemplified in FIG. The video adapter 1060 is connected to, for example, a display 1130, as exemplified in FIG. 11.

[0088] 11, the hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the above programs are stored in, for example, the hard disk drive 1090 as program modules in which instructions to be executed by the computer 1000 are written.

[0089] Furthermore, the various data described in the above embodiment are stored as program data, for example, in the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 and the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes various processing procedures.

[0090] Note that the program module 1093 and program data 1094 relating to the program are not limited to being stored in the hard disk drive 1090, and may be stored in, for example, a removable storage medium and read by the CPU 1020 via a disk drive or the like. Alternatively, the program module 1093 and program data 1094 relating to the program may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)) and read by the CPU 1020 via the network interface 1070.

[0091] The above-described embodiments and their modifications are included in the technology disclosed in this application, as well as in the scope of the invention described in the claims and their equivalents. [Explanation of symbols]

[0092] 10 Trace information generation device (generation device) 11 Input section 12 Output section 13. Communications Department 14 Storage section 14a Behavior information storage unit 14b Collected information storage unit 14c Classification information storage unit 15 Control section 15a Acquisition part 15b Detection section 15c 1st classification section 15d Decision section 15e 2nd classification section 15f Generator 20 Malware collection device 30, 30A, 30B, 30C Security Response Organization 100 Trace Information Generation System

Claims

1. An acquisition unit that acquires behavior information related to the behavior of malware and collection information related to the date and time when the malware was collected; a first classification unit that classifies the malware into a first group based on the behavior information; a second classification unit that further classifies the malware classified into the first group into a second group based on the collected information; a detection unit that detects a trace of the malware activity from the behavior information; a generation unit that generates trace information of the malware from the activity traces shown by the malware classified into the second group; A generating device comprising:

2. the second classification unit further classifies, by using a time window indicating a time division based on the collected information, malware belonging to the time window among the malware classified into the first group, into a second group; The generating device according to claim 1 .

3. A determination unit that clusters the malware based on similarities in character strings of the activity traces and determines the time window based on changes in trends of the clustered malware; The generating device of claim 2 further comprising:

4. The acquisition unit executes the malware in an isolated environment and acquires, as the behavior information, an API trace relating to an API that is called. A generating device according to any one of claims 1 to 3.

5. the first classification unit extracts features having high similarity between subspecies from the behavior information, clusters the malware based on the features, and classifies the malware into a first group; A generating device according to any one of claims 1 to 4.

6. The detection unit detects the activity traces from an API trace related to network communication, file operation, registry operation, or process creation. A generating device according to any one of claims 1 to 5.

7. A generation method performed by a generation device, comprising: An acquisition step of acquiring behavior information related to the behavior of the malware and collection information related to the date and time when the malware was collected; a first classification step of classifying the malware into a first group based on the behavior information; a second classification step of further classifying the malware classified into the first group into a second group based on the collected information; a detection step of detecting a trace of the malware activity from the behavior information; a generating step of generating trace information of the malware from the activity traces shown by the malware classified into the second group; A method of generating the same, comprising:

8. An acquisition step of acquiring behavior information regarding the behavior of the malware and collection information regarding the date and time when the malware was collected; a first classification step of classifying the malware into a first group based on the behavior information; a second classification step of further classifying the malware classified into the first group into a second group based on the collected information; a detection step of detecting a trace of the malware activity from the behavior information; generating trace information of the malware from the activity traces shown by the malware classified into the second group; A generating program that causes a computer to execute the above.

Citation Information

Patent Citations

  • Generating behavioral signatures using clustering

    JP2013529335A

  • Automated creation of lightweight behavioral indicators of compromise (IOCS)

    US20200092306A1

  • System and method for run-time object classification

    US9747446B1

  • Rule generation device and rule generation program

    WO2021106172A1