Attack chain generation method and device based on ATT&CK knowledge graph
Through the attack chain generation method based on the ATT&CK knowledge graph, streaming data analysis and technical annotation are used to automatically generate attack chains, which solves the problem that traditional defense methods are difficult to deal with complex network threats, and improves the understanding and response capabilities of network security.
Patent Information
- Application Number
- CN202410084091.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-01-19
AI Technical Summary
Traditional defense methods are difficult to deal with complex and advanced network threats, and cannot effectively understand attacker behavior patterns and formulate defense strategies.
The attack chain generation method based on the ATT&CK knowledge graph is used to analyze the streaming data according to the session window, use the ATT&CK knowledge graph to technically annotate the data, and match the annotation technology with the pre-obtained attack chain model to automatically generate the attack chain.
It improves the understanding and response capabilities of network attacks, helps solve problems such as visualization, path analysis, defense strategy formulation, and attack source tracing, and enhances network security response capabilities.
Smart Images

Figure CN117978476B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of industrial network security technology, and in particular to an attack chain generation method and device based on an ATT&CK knowledge graph. Background Art
[0002] The network attack chain generation technology based on the ATT&CK graph is a key technology in the field of network security. The ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) graph is a network attack knowledge base developed by MITRE, which provides a structured way to describe and organize the tactics, techniques and common attack methods used by various attackers.
[0003] A network attack chain refers to a combination of techniques and methods used by attackers when carrying out network attacks. The ATT&CK framework contains 14 tactics, including reconnaissance, resource development, initial access, execution, persistence, privilege escalation, defense bypass, credential access, discovery, lateral movement, collection, command and control, data theft, and compromise, and each tactic contains many techniques. An attack chain is usually composed of several of these tactics, and the attack chain contains one or several techniques from these tactics. The network attack chain generation technology based on the ATT&CK graph aims to automatically generate a network attack chain by analyzing the attack techniques and methods in the ATT&CK graph and the correlation between them. With the increasing complexity and threats of network attacks, traditional defense methods are no longer sufficient to deal with various advanced threats.
[0004] Therefore, in order to help security experts better understand the attacker's behavior patterns and attack process, formulate more effective defense strategies based on this, and better understand and respond to network attacks, there is an urgent need for an attack chain generation method based on the ATT&CK knowledge graph. Summary of the invention
[0005] In order to solve the problem that traditional defense means are unable to cope with various advanced threats, an embodiment of the present invention provides an attack chain generation method and device based on the ATT&CK knowledge graph.
[0006] In a first aspect, an embodiment of the present invention provides an attack chain generation method based on an ATT&CK knowledge graph, the method comprising:
[0007] According to the preset window rules, the source data is input into the annotation tool in the form of a session; wherein the source data includes network traffic data and log data;
[0008] For each session, execute:
[0009] Use the annotation tool to perform technical annotation on the data in the current session based on the ATT&CK knowledge graph;
[0010] Match the technology annotated in the current session with the pre-acquired attack chain model, and output the successfully matched attack chain model.
[0011] In a second aspect, an embodiment of the present invention further provides an attack chain generation device based on the ATT&CK knowledge graph, the device comprising:
[0012] An input unit, used to input source data into the annotation tool in a session form according to a preset window rule; wherein the source data includes network traffic data and log data;
[0013] The annotation unit is used to perform, for each session, the following steps: using the annotation tool to perform technical annotation on the data in the current session based on the ATT&CK knowledge graph;
[0014] The matching unit is used to match the technology annotated in the current session with the pre-acquired attack chain model, and output the successfully matched attack chain model.
[0015] In a third aspect, an embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of this specification is implemented.
[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any embodiment of this specification.
[0017] The embodiment of the present invention provides an attack chain generation method and device based on the ATT&CK knowledge graph, which uses streaming data to perform data analysis according to the session window, uses the ATT&CK knowledge graph to perform ATT&CK technical annotation on the data in the session, and outputs the successfully matched attack chain model by matching the annotation technology of each session with the attack chain model. Therefore, this solution can automatically generate an attack chain, which can help solve problems such as visualization, path analysis, defense strategy formulation, and attack tracing in the field of network security, and improve the understanding and response capabilities of network attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. The drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 It is a flowchart of an attack chain generation method based on the ATT&CK knowledge graph provided by one embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of an attack chain modeling editor provided by an embodiment of the present invention;
[0021] Figure 3 This is an example diagram of an attack chain model provided by an embodiment of the present invention;
[0022] Figure 4 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;
[0023] Figure 5 It is a structural diagram of an attack chain generation device based on the ATT&CK knowledge graph provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] The specific implementation of the above concept is described below.
[0026] Please refer to Figure 1 , an embodiment of the present invention provides an attack chain generation method based on ATT&CK knowledge graph, the method comprising:
[0027] Step 100, inputting source data into the annotation tool in the form of a session according to a preset window rule; wherein the source data includes network traffic data and log data;
[0028] Step 102, for each session, execute: using annotation tools based on the ATT&CK knowledge graph to perform technical annotation on the data in the current session;
[0029] Step 104, matching the technology annotated in the current session with the pre-acquired attack chain model, and outputting the successfully matched attack chain model.
[0030] In the embodiment of the present invention, by using streaming data to perform data analysis according to the session window, using the ATT&CK knowledge graph, the data in the session is annotated with the ATT&CK technology, and by matching the annotation technology of each session with the attack chain model, the successfully matched attack chain model is output. Therefore, this solution can automatically generate an attack chain, which can help solve problems such as visualization, path analysis, defense strategy formulation, and attack tracing in the field of network security, and improve the understanding and response capabilities of network attacks.
[0031] For step 100:
[0032] In some implementations, the preset window rules may include:
[0033] Determine the first data packet of the current session, and calculate the time interval between each data packet input into the current session in real time and the next adjacent data packet;
[0034] If the time gap between the current data packet and the next data packet exceeds the preset time gap, the first data packet of the current session, the current data packet, and the data packets between the first data packet and the current data packet are split into the current session, and the current session is output at the same time;
[0035] The next data packet of the current data packet is used as the first data packet of the new session, and the jump execution calculates the time gap between each data packet input into the current session and the next adjacent data packet in real time.
[0036] In this embodiment, source data is obtained from various data sources, including file systems, message queues, databases, etc. The source data is divided into different data streams to perform window segmentation, technology annotation, and model matching in the created multiple parallel threads.
[0037] In this embodiment, the time when data is generated is uneven. A large amount of data may be generated in a certain period of time, or no data may be generated. Therefore, using the time gap between two adjacent data packets to divide the session is more suitable for actual rules.
[0038] In some implementations, the preset window rules may include:
[0039] Determine the first data packet of the current session, divide the data packets received within a preset time interval after the first data packet into the current session, and output the current session;
[0040] The first data packet after the preset time interval is used as the first data packet of the new session, and the jump execution is performed to divide the data packets received within the preset time interval after the first data packet into the current session.
[0041] In this embodiment, a preset time interval may be set in advance, and the data packets within each preset time interval may be divided into one session, so that the code is simpler and memory is saved.
[0042] Regarding step 102:
[0043] In some embodiments, the annotation tools include a Suricata threat detection tool for technically annotating network traffic data, a Sigma annotation tool for technically annotating log data, and a relationship extraction annotation tool for technically annotating based on the relationship between entities in network traffic data and log data.
[0044] In this embodiment, since network traffic data and log data are processed in different ways, different annotation tools are required, and in order to increase the flexibility and accuracy of annotation, a relationship extraction annotation tool is added.
[0045] Due to the increasing complexity and threats of network attacks, the means of ransomware attacks are becoming more abundant. More and more incidents show that ransomware attacks are changing from passive attacks to active attacks, and virus behaviors are no longer simple behaviors such as direct traversal and encryption of files, but gradually become compound viruses with various types of virus attributes, such as self-replication, autonomous propagation, chain execution, etc., using multiple sub-process divisions to damage the system. Therefore, the Suricata threat detection tool and the Sigma annotation tool may have undetectable attack techniques. This embodiment adds a relationship extraction annotation tool for technical annotation based on the relationship between entities in network traffic data and log data, and improves the annotation accuracy by identifying the joint relationship of each entity through the ATT&CK technology.
[0046] In some implementations, the Suricata threat detection tool performs technical annotations in the following manner:
[0047] Based on the ATT&CK knowledge graph, configure a rule set for the Suricata threat detection tool; wherein the rules in the rule set are at least keywords, regular expressions, and field matches;
[0048] Use Suricata threat detection tool to monitor network traffic data in the current session, and use rule sets to analyze and identify network traffic data;
[0049] The network traffic data that meets the rule set is marked as the corresponding ATTCK technology.
[0050] In this embodiment, Suricata can monitor network traffic and detect malicious activities, attack behaviors or abnormal traffic in real time according to a predefined rule set, and identify and mark the detected abnormal traffic using the ATTCK technology.
[0051] In some embodiments, the Sigma annotation tool performs technical annotation in the following manner:
[0052] Based on the ATT&CK knowledge graph, write Sigma rules for the Sigma annotation tool; Sigma rules are used for at least keywords, regular expressions, and field matching;
[0053] Use the Sigma annotation tool to perform keyword, regular expression, and field matching on the log data in the current session;
[0054] The log data matching the Sigma rule is marked as the corresponding ATTCK technology.
[0055] In this embodiment, Sigma is used to describe and detect the ATTCK technology in the log. Through the log annotation technology of Sigma rules, real-time monitoring and classification of the ATTCK technology in the log can be achieved.
[0056] In some implementations, the relationship extraction annotation tool performs technical annotation in the following manner:
[0057] First, you need to write a series of rules to define the relationship between entities. Rules can be defined based on words, parts of speech, syntactic dependencies, etc. For example, you can define a grammatical structure such as "X is Y" to represent a relationship and indicate which ATTCK technology this grammatical structure belongs to.
[0058] Next, analyze the conversation and identify the entities in it. Natural language processing techniques, such as word segmentation, part-of-speech tagging, and named entity recognition, can be used to identify entities in the conversation.
[0059] Then, the written rules are applied to the entities in the session, and the relationships between entities matching the rules are annotated according to the defined rules. For example, if the rule matches the relationship "X is Y", the relationship between X and Y is annotated as the relationship defined by the rule, and the ATTCK technology corresponding to the rule is annotated to the session.
[0060] Finally, based on the result of rule matching, the annotated relationships and technologies are extracted and stored in a database to facilitate the model matching in step 104 .
[0061] Regarding step 104:
[0062] In some implementations, step 104 may include:
[0063] Match each technology annotated in the current session with the pre-acquired attack chain model; wherein the attack chain model includes a number of technology nodes connected in sequence;
[0064] If each technical node in the attack chain model is matched, it is determined that the current session successfully matches the attack chain model, and the successfully matched attack chain model is output.
[0065] In this embodiment, an attack chain modeling editor is designed, which can be run directly in the browser to create an attack chain model in a few minutes. The editor provides a workspace for users to fill in information about attack actions and other background information. Then, users can write these contents into an attack chain process by drawing arrows to clearly indicate the sequence of attack techniques observed in the session.
[0066] Attack Chain Modeling Editor Figure 2 As shown in the figure, the attack chain model includes multiple technical nodes, and each technical node is connected by a connecting line with a one-way arrow to form an attack chain. By right-clicking the mouse in the workspace, opening the menu bar, and then selecting Create-Attack Flow-Action in sequence, a new technical node is created. Each technical node includes a technical ID, name, description, and confidence level, so as to quickly create an attack chain model. Some examples of the attack chain model of the ransomware Conti are shown below. Figure 3 As shown, there are 4 technical nodes in the figure, namely T1566.001 technical node, T159.007 technical node, T1105 technical node and T1218.001 technical node, and the malware is detection information.
[0067] By matching all the technical IDs marked in each session with the technical IDs in the technical nodes of the pre-acquired attack chain model; if each technical node in the attack chain model is matched, it is determined that the current session successfully matches the attack chain model, and the successfully matched attack chain model is output.
[0068] like Figure 4 , Figure 5 As shown, an embodiment of the present invention provides an attack chain generation device based on the ATT&CK knowledge graph. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, Figure 4 As shown, it is a hardware architecture diagram of a computing device where an attack chain generation device based on the ATT&CK knowledge graph is located according to an embodiment of the present invention. Figure 4In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 5 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides an attack chain generation device based on the ATT&CK knowledge graph, and the device includes:
[0069] An input unit 501 is used to input source data into the annotation tool in a session form according to a preset window rule; wherein the source data includes network traffic data and log data;
[0070] The annotation unit 502 is used to perform, for each session, the following steps: using an annotation tool to perform technical annotation on the data in the current session based on the ATT&CK knowledge graph;
[0071] The matching unit 503 is used to match the technology annotated in the current session with the pre-acquired attack chain model, and output the successfully matched attack chain model.
[0072] In one embodiment of the present invention, the window rules preset in the input unit 501 include:
[0073] Determine the first data packet of the current session, and calculate the time interval between each data packet input into the current session in real time and the next adjacent data packet;
[0074] If the time gap between the current data packet and the next data packet exceeds the preset time gap, the first data packet of the current session, the current data packet, and the data packets between the first data packet and the current data packet are split into the current session, and the current session is output at the same time;
[0075] The next data packet of the current data packet is used as the first data packet of the new session, and the jump execution calculates the time gap between each data packet input into the current session and the next adjacent data packet in real time.
[0076] In one embodiment of the present invention, the window rules preset in the input unit 501 include:
[0077] Determine the first data packet of the current session, divide the data packets received within a preset time interval after the first data packet into the current session, and output the current session;
[0078] The first data packet after the preset time interval is used as the first data packet of the new session, and the jump execution is performed to divide the data packets received within the preset time interval after the first data packet into the current session.
[0079] In one embodiment of the present invention, the annotation tools in the annotation unit 502 include a Suricata threat detection tool for technically annotating network traffic data, a Sigma annotation tool for technically annotating log data, and a relationship extraction annotation tool for technically annotating based on the relationship between entities in network traffic data and log data.
[0080] In one embodiment of the present invention, the Suricata threat detection tool in the annotation unit 502 performs technical annotation in the following manner:
[0081] Based on the ATT&CK knowledge graph, configure a rule set for the Suricata threat detection tool; wherein the rules in the rule set are at least keywords, regular expressions, and field matches;
[0082] Use the Suricata threat detection tool to monitor network traffic data in the current session, and use the rule set to analyze and identify the network traffic data;
[0083] The network traffic data that meets the rule set is marked as the corresponding ATTCK technology.
[0084] In one embodiment of the present invention, the Sigma annotation tool in the annotation unit 502 performs technical annotation in the following manner:
[0085] Based on the ATT&CK knowledge graph, write Sigma rules for the Sigma annotation tool; Sigma rules are used for at least keywords, regular expressions, and field matching;
[0086] Use the Sigma annotation tool to perform keyword, regular expression, and field matching on the log data in the current session;
[0087] The log data matching the Sigma rule is marked as the corresponding ATTCK technology.
[0088] In one embodiment of the present invention, the matching unit 503 is used to perform:
[0089] Match each technology annotated in the current session with each technology node of the pre-acquired attack chain model; wherein the attack chain model includes a plurality of technology nodes connected in sequence;
[0090] If each technical node in the attack chain model is matched, it is determined that the current session successfully matches the attack chain model, and the successfully matched attack chain model is output.
[0091] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on an attack chain generation device based on the ATT&CK knowledge graph. In other embodiments of the present invention, an attack chain generation device based on the ATT&CK knowledge graph may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0092] The information interaction, execution process and other contents between the units in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.
[0093] An embodiment of the present invention also provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, an attack chain generation method based on the ATT&CK knowledge graph in any embodiment of the present invention is implemented.
[0094] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes an attack chain generation method based on the ATT&CK knowledge graph in any embodiment of the present invention.
[0095] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.
[0096] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0097] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.
[0098] It should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0099] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0100] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0101] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for generating an attack chain based on ATT&CK knowledge graph, characterized in that: include: According to the preset window rules, the source data is input into the annotation tool in the form of a session; wherein the source data includes network traffic data and log data; For each session, execute: Use the annotation tool to perform technical annotation on the data in the current session based on the ATT&CK knowledge graph; Match the technology annotated in the current session with the pre-acquired attack chain model, and output the successfully matched attack chain model; The annotation tools include a Suricata threat detection tool for technically annotating the network traffic data, a Sigma annotation tool for technically annotating the log data, and a relationship extraction annotation tool for technically annotating the network traffic data and the relationship between entities in the log data; The Suricata threat detection tool is technically annotated in the following ways: Based on the ATT&CK knowledge graph, a rule set is configured for the Suricata threat detection tool; wherein the rules in the rule set are at least keywords, regular expressions, and field matches; Using the Suricata threat detection tool to monitor network traffic data in the current session, and using the rule set to analyze and identify the network traffic data; Annotate network traffic data that conforms to the rule set as corresponding ATTCK technology; The Sigma annotation tool performs technical annotation in the following way: Based on the ATT&CK knowledge graph, write Sigma rules for the Sigma annotation tool; wherein the Sigma rules are at least used for keyword, regular expression and field matching; Use the Sigma annotation tool to perform keyword, regular expression and field matching on the log data in the current session; The log data matching the Sigma rule is marked as the corresponding ATTCK technology; The relationship extraction and annotation tool performs technical annotation in the following way: Write rules to define relationships between entities based on words, parts of speech, and syntactic dependencies; Use natural language processing technology to analyze the conversation and identify entities in the current conversation; According to the defined rules, the relationship between entities matching the rules is annotated, and the ATTCK technology corresponding to the rule is annotated on the session; The pre-obtained attack chain models are created using the attack chain modeling editor. Each attack chain model is created in the following way: Get all the technical nodes of the current attack chain model and the attributes of each technical node; the attributes of each technical node include technical ID, name, description and confidence; For each technology node, right-click in the workspace of the attack chain modeling editor to open the menu bar, click Create, Attack Process, and Technology Action in sequence to create the technology node and set the properties of the technology node; The created technical nodes are connected by connecting lines with one-way arrows to form the current attack chain model.
2. The method according to claim 1, characterized in that The preset window rules include: Determine the first data packet of the current session, and calculate the time interval between each data packet input into the current session in real time and the next adjacent data packet; If the time gap between the current data packet and the next data packet exceeds the preset time gap, the first data packet of the current session, the current data packet, and the data packets between the first data packet and the current data packet are split into the current session, and the current session is output at the same time; The next data packet of the current data packet is used as the first data packet of the new session, and the calculation is jumped to execute the time gap between each data packet input in real time into the current session and the next adjacent data packet.
3. The method according to claim 1, characterized in that The preset window rules include: Determine the first data packet of the current session, divide the data packets received within a preset time interval after the first data packet into the current session, and output the current session; The first data packet after the preset time interval is used as the first data packet of the new session, and the step of dividing the data packets received within the preset time interval after the first data packet into the current session is executed.
4. The method according to claim 1, characterized in that: The technology of matching the current session annotation with the pre-acquired attack chain model and outputting the successfully matched attack chain model includes: Match each technology annotated in the current session with a pre-acquired attack chain model; wherein the attack chain model includes a plurality of technology nodes connected in sequence; If each technical node in the attack chain model is matched, it is determined that the current session successfully matches the attack chain model, and the successfully matched attack chain model is output.
5. An attack chain generation device based on ATT&CK knowledge graph, characterized in that: include: An input unit, used to input source data into the annotation tool in a session form according to a preset window rule; wherein the source data includes network traffic data and log data; The annotation unit is used to perform, for each session, the following steps: using the annotation tool to perform technical annotation on the data in the current session based on the ATT&CK knowledge graph; A matching unit, used to match the technology annotated in the current session with the pre-acquired attack chain model, and output the successfully matched attack chain model; The annotation tools in the annotation unit include the Suricata threat detection tool for technical annotation of network traffic data, the Sigma annotation tool for technical annotation of log data, and the relationship extraction annotation tool for technical annotation based on the relationship between entities in network traffic data and log data; The Suricata threat detection tool in the annotation unit is technically annotated in the following ways: Based on the ATT&CK knowledge graph, configure a rule set for the Suricata threat detection tool; wherein the rules in the rule set are at least keywords, regular expressions, and field matches; Use Suricata threat detection tool to monitor network traffic data in the current session, and use rule sets to analyze and identify network traffic data; The network traffic data that meets the rule set is marked as the corresponding ATTCK technology; The Sigma annotation tool in the annotation unit performs technical annotation in the following ways: Based on the ATT&CK knowledge graph, write Sigma rules for the Sigma annotation tool. Sigma rules are used for at least keyword, regular expression, and field matching. Use the Sigma annotation tool to perform keyword, regular expression, and field matching on the log data in the current session; The log data matching the Sigma rule is marked as the corresponding ATTCK technology; The relation extraction annotation tool described in the annotation unit performs technical annotation in the following way: Write rules to define relationships between entities based on words, parts of speech, and syntactic dependencies; Use natural language processing technology to analyze the conversation and identify entities in the current conversation; According to the defined rules, the relationship between entities matching the rules is annotated, and the ATTCK technology corresponding to the rule is annotated on the session; The attack chain models pre-acquired in the matching unit are created using the attack chain modeling editor. Each attack chain model is created in the following way: Get all the technical nodes of the current attack chain model and the attributes of each technical node; the attributes of each technical node include technical ID, name, description and confidence; For each technology node, right-click in the workspace of the attack chain modeling editor to open the menu bar, click Create, Attack Process, and Technology Action in sequence to create the technology node and set the properties of the technology node; The created technical nodes are connected by connecting lines with one-way arrows to form the current attack chain model.
6. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 4.
