Terminal security situation determination method and device, equipment and medium

By obtaining and matching attack behavior traceability graphs and terminal security logs, the threat of attack behavior to the terminal is evaluated, which solves the problem of detection equipment being unable to respond to new attack technologies in a timely manner, and improves the accuracy of terminal security situation determination and the ability to assess potential attacks. .

CN118802233APending Publication Date: 2024-10-18LIAONING MOBILE COMM +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311605655.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-27
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, detection equipment cannot quickly and promptly deploy new attack technologies or new vulnerabilities, resulting in low accuracy in determining the terminal security situation.

Method used

By obtaining attack behavior traceability graphs and terminal security logs, network threat intelligence is used to generate triples, match and evaluate the threat of attack behavior to the terminal, and then determine the terminal security posture.

Benefits of technology

It effectively avoids the lag problem of detection equipment detection capabilities compared with attack technology, improves the accuracy of terminal security situation determination, and provides effective assessment and early warning support for potential attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802233A_ABST
    Figure CN118802233A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal security situation determination method and device, equipment and a medium. The method comprises: obtaining an attack behavior traceability graph and a terminal security log, the attack behavior traceability graph being generated according to network threat intelligence, the attack behavior traceability graph comprising a plurality of triads, each triad comprising a source node, a target node and an edge, the edge is used for indicating an attack behavior initiated by the source node to the target node; according to the terminal security log, determining a prediction index that the terminal may be attacked; according to a matching result of the plurality of triads and the terminal security log, determining an evaluation index of threat of the attack behavior in the attack behavior traceability graph to the terminal; and determining the terminal security situation according to the prediction index and the evaluation index. According to the embodiment of the invention, the problem of hysteresis of the detection capability of the detection equipment compared with an attack technology can be effectively avoided, and the accuracy of determining the security situation of the terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of network security technology, and in particular, relates to a method, device, equipment and medium for determining terminal security situation. Background Art

[0002] With the emergence and popularization of computer networks, network security risks have gradually been exposed. Nowadays, networks are facing more and more attacks, and the attacks are becoming more and more hidden and long-term. In related technologies, a large number of detection devices are usually deployed to respond to attacks to determine the terminal security situation. However, the development of attack technology is usually ahead of the detection capability of detection equipment. When new attack technologies or new vulnerabilities are discovered, the detection capabilities for these new attacks cannot be deployed to the detection equipment in a timely and rapid manner, resulting in a low accuracy rate in determining the terminal security situation. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, device and medium for determining the security status of a terminal, which can improve the accuracy of determining the security status of a terminal.

[0004] In a first aspect, an embodiment of the present application provides a method for determining a terminal security situation, including:

[0005] Obtain an attack behavior tracing graph and a terminal security log, wherein the attack behavior tracing graph is generated based on network threat intelligence, and the attack behavior tracing graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node;

[0006] Determining, based on the terminal security log, a prediction indicator that the terminal may be attacked;

[0007] Determine, based on the matching results of the plurality of triples and the terminal security log, an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal;

[0008] The terminal security situation is determined according to the prediction index and the evaluation index.

[0009] In a second aspect, an embodiment of the present application provides a terminal security situation determination device, the device comprising:

[0010] An acquisition module is used to acquire an attack behavior traceability graph and a terminal security log, wherein the attack behavior traceability graph is generated based on network threat intelligence, and the attack behavior traceability graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node;

[0011] A first determination module, used to determine a prediction indicator that a terminal may be attacked based on the terminal security log;

[0012] A second determination module is used to determine an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal according to the matching results of the plurality of triples and the terminal security log;

[0013] The third determination module is used to determine the terminal security situation according to the prediction index and the evaluation index.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the terminal security situation determination method as described in any one of the embodiments of the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the terminal security situation determination method as described in any one of the embodiments of the first aspect are implemented.

[0016] The terminal security situation determination method, apparatus, device and medium of the embodiments of the present application, when a new attack technology or a new vulnerability is discovered, will be disclosed in the network threat intelligence (CTI), by extracting the attack behavior traceability graph from the network threat intelligence, and by matching the terminal security log with the triple of the traceability graph to determine the evaluation index of the attack behavior in the attack behavior traceability graph threatening the terminal, thereby determining the terminal security situation based on the evaluation index and the prediction index that the terminal may be attacked obtained by analyzing the terminal security log, which can effectively avoid the problem of the lag of the detection capability of the detection equipment compared with the attack technology, thereby improving the accuracy of the terminal security situation determination. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 It is a flowchart of a method for determining terminal security situation provided by an embodiment of the present application;

[0019] Figure 2 It is a structural diagram of a terminal security situation determination device provided in an embodiment of the present application;

[0020] Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0022] It should be noted that, in this article, relational terms such as first and second, etc. 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. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0023] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0024] Cyber ​​threat intelligence (CTI) is a term used to refer to valuable sources of information about cyber attacks, such as technical reports, white papers, blogs, and newsgroup reports. These reports describe many aspects of the attack in natural language, including the sequence of actions, the impact on the attacked system, and indicators of compromise (IOC).

[0025] Common Vulnerability Scoring System (CVSS) is a term used to denote an industry open standard designed to measure the severity of vulnerabilities and determine the urgency and importance of the response required.

[0026] The network is an important part of modern information technology infrastructure and provides great convenience for people to exchange information and share resources. With the emergence and popularization of computer networks, network security risks have gradually been exposed. Nowadays, the network is facing more and more attacks, and the attacks are becoming more and more hidden and long-term. In related technologies, a large number of detection devices are usually deployed to respond to attacks to determine the terminal security situation. However, the development of attack technology is usually ahead of the detection capability of detection equipment. When new attack technologies or new vulnerabilities are discovered, the detection capabilities for these new attacks cannot be deployed to the detection equipment in a timely and rapid manner, resulting in a low accuracy rate in determining the terminal security situation.

[0027] In order to solve the problems of related technologies, embodiments of the present application provide a method, apparatus, device and medium for determining terminal security status.

[0028] The following is a detailed description of the terminal security situation determination method provided by the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0029] Figure 1 FIG. 1 is a flow chart of a method 100 for determining terminal security status according to an embodiment of the present application. Figure 1 As shown, the terminal security situation determination method 100 may specifically include the following steps:

[0030] S101, obtaining an attack behavior tracing graph and a terminal security log, wherein the attack behavior tracing graph is generated according to network threat intelligence, and the attack behavior tracing graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node;

[0031] S102, determining a prediction indicator that the terminal may be attacked according to the terminal security log;

[0032] S103, determining an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal according to the matching results of the plurality of triples and the terminal security log;

[0033] S104: Determine the terminal security situation according to the prediction index and the evaluation index.

[0034] Therefore, when new attack techniques or new vulnerabilities are discovered, they will be disclosed in network threat intelligence. By extracting the attack behavior traceability graph from the network threat intelligence and matching the terminal security log with the triples of the traceability graph, the evaluation index of the threat posed by the attack behavior in the attack behavior traceability graph to the terminal is determined. Based on the evaluation index and the predictive index that the terminal may be attacked obtained by analyzing the terminal security log, the terminal security situation is determined. This can effectively avoid the problem of the lag of the detection capability of the detection equipment compared to the attack technology, thereby improving the accuracy of the determination of the terminal security situation.

[0035] The specific implementation methods of the above steps are introduced below.

[0036] In some embodiments, in step S101, since a large amount of descriptive information in the network threat intelligence has no direct relationship with the attack behavior, only a small part is related to the attack behavior. Therefore, the network threat intelligence is semantically processed, the content related to the attack behavior is extracted, and an attack behavior tracing diagram is generated, so that the terminal security situation can be subsequently determined based on the attack behavior tracing diagram.

[0037] In specific implementation, the complex long sentences in the network threat intelligence are converted into multiple short sentences, each of which represents a certain behavior performed by the attack subject on an attack object, and the relevant references in the text are parsed, and the modifying words (for example, adverbs and adjectives) in each short sentence are deleted. In this way, the text obtained after processing includes: system subjects (for example, processes), objects (for example, files, sockets) and actions (for example, execution), and the meaning of the text is clear and orderly, and because most of the redundant information is deleted, the semantics can be concise and clear.

[0038] In specific implementation, for the processed text, the entities related to the attack and the related attack behaviors between the entities are analyzed to construct an attack behavior traceability graph that can be used for traceability threat detection and assessment. It can be understood that the attack behavior traceability graph is a data structure composed of vertices (nodes) and edges (connections), that is, the attack behavior traceability graph includes several triples, each of which includes a source node, a target node, and an edge, where the edge is used to indicate the attack behavior launched by the source node to the target node.

[0039] That is, for each processed short sentence, if it has at least three roles, including a verb role (represented by the system call as a connector) and two entities, a triple is generated accordingly. The nodes represent entities related to the attack behavior such as processes, registries, etc., and the edges represent the operation behaviors (attack behaviors) between entities. Moreover, the direction of the edge is determined according to the direction of the system call and the system data flow.

[0040] For example, the triple can be represented as remote ip→process, where the source node remote ip of the triple represents the remote host ip address, the target node process of the triple represents the local related process, and the edge of the triple represents the remote host accessing the local through a network connection.

[0041] In some embodiments, before step S102, the acquired terminal security log is cleaned to remove the log files with missing data. Specifically, the terminal security log records the security events, operations and abnormal conditions of the terminal device, so that the security status and situation of the terminal device can be obtained based on the analysis, so as to timely discover and respond to various security events and threats and improve the security of the terminal device.

[0042] In some embodiments, in step S102, the terminal security log may include the following: login behavior on the terminal device, including the user's login name, login time, login results and other information. By analyzing the login information, abnormal login behavior can be discovered, such as frequent failed login attempts, login by illegal users, etc.; various system operations on the terminal device, such as file creation, modification and deletion, process start and stop, system configuration modification, etc., to track the user's behavior based on these operation information, thereby discovering abnormal operation behavior; various security events on the terminal device, such as virus infection, network attack, spread of malicious software, etc.; abnormal behavior on the terminal device, such as illegal network connection, suspicious file access, abnormal system resource usage, etc.

[0043] In addition, the terminal security log may also include: terminal vulnerability information, terminal security level and terminal attack information. Among them, terminal vulnerability information is used to indicate the vulnerability of the operating system or other software of the terminal device, and the terminal vulnerability information can be obtained by crawling; the terminal security level is used to indicate the security positioning of the terminal device itself; the terminal attack information is used to indicate the situation of the terminal device being attacked, which includes the source IP address, destination IP address, source port, destination port and attack time corresponding to several attack behaviors.

[0044] Therefore, the vulnerability impact value can be determined according to the terminal vulnerability information and the terminal security level; the attack impact value can be determined according to the terminal attack information; and the product of the vulnerability impact value and the attack impact value can be determined as a prediction indicator that the terminal may be attacked.

[0045] In specific implementation, the terminal security level W1 can be determined according to the purpose of the terminal device when it is deployed. For example, if the terminal device stores confidential data, the security level of the terminal device is high; if the terminal device is located in the public network and only transfers ordinary data, the security level of the terminal device is low. It is understandable that if the purpose of the terminal device changes later, the terminal security level W1 can be modified.

[0046] In specific implementation, the vulnerability impact value W2 can be determined by the following formula:

[0047]

[0048] Among them, P i represents the threat level index corresponding to the i-th vulnerability, where i is the vulnerability identifier. i , can be determined by querying in CVSS (Common Vulnerability Scoring System) according to the vulnerability identifier i.

[0049] During specific implementation, the specific process for determining the attack impact value may include: for each attack behavior, calculating the similarity with the remaining attack behaviors based on the source IP address, destination IP address, source port, destination port and attack time; determining the mean of the similarities as the impact degree corresponding to each attack behavior; and determining the sum of the impact degrees corresponding to the several attack behaviors as the attack impact value.

[0050] More specifically, the similarity S can be calculated according to the following formula: x,j :

[0051]

[0052] IP j (1) = IP x (1), IP x,j (1) = 1; IP j (1)≠IP x (1), IP x,j (1) = 0;

[0053] IP j (2) = IP x (2), IP x,j (2) = 1; IP j (2)≠IP x (2), IP x,j (2) = 0;

[0054] Port j (1) = Port x(1) Port x,j (1) = 1;

[0055] Port j (1)≠Port x (1) Port x,j (1) = 0;

[0056] Port j (2) = Port x (2) Port x,j (2) = 1;

[0057] Port j (2)≠Port x (2) Port x,j (2) = 0;

[0058] Among them, S x,j Indicates the similarity between the jth attack and the xth attack; IP j (1) represents the source IP address of the jth attack; IP j (2) represents the destination IP address of the jth attack; Port j (1) represents the source port of the jth attack; Port j (2) represents the destination port of the jth attack; T j represents the attack time of the jth attack; IP x (1) represents the source IP address of the xth attack; IP x (2) indicates the destination IP address of the xth attack; Port x (1) indicates the source port of the xth attack; Port x (2) represents the destination port of the xth attack; T x represents the attack time of the xth attack; α T Indicates the time interval threshold.

[0059] Furthermore, the attack impact value W3 is determined by the following formula:

[0060] W3=∑ j P j ;

[0061] Among them, P j It represents the impact degree corresponding to the j-th attack behavior, and j represents the attack identifier.

[0062] Therefore, the prediction index S that the terminal may be attacked can be expressed as: S = W2*W3.

[0063] In some embodiments, in step S103, based on several triples of the attack behavior tracing graph and the terminal security log, it is determined whether there is a log item in the terminal security log that matches any triple, that is, the matching results of several triples and the terminal security log are determined.

[0064] In some embodiments, when there is no log item matching any triple in the terminal security log, the evaluation index of the threat posed by the attack behavior in the attack behavior traceability graph to the terminal is determined to be a preset value. It can be understood that if there is no matching log item, it means that the attack behavior in the network threat intelligence does not exist in the terminal security log, so the preset value can be directly used as the numerical value corresponding to the evaluation index, for example, the evaluation index is determined to be 1.

[0065] In some embodiments, when there is a log item matching any triple in the terminal security log, the source node type, target node type, and edge type of the log item are determined; thus, based on the source node type, target node type, and edge type, an evaluation index of the threat posed to the terminal by the attack behavior in the attack behavior tracing graph is determined.

[0066] It can be understood that if there is a matching log item, it means that there is an attack behavior in the network threat intelligence in the terminal security log. Therefore, after obtaining the matching source node-edge-target node triple, the specific data of the source node-edge-target node triple in the log item is further determined to determine the evaluation index based on the specific data.

[0067] That is to say, the triples in the attack behavior traceability graph represent the behavioral characteristics of the threat standard, but in a specific attack, it will have specific attack characteristics. Therefore, in this embodiment, the behavioral characteristics of this attack are selected based on the standard characteristics, that is, the specific behavior value in the log item is assigned to the triple, and the source node-edge-target node of this attack is obtained, for example, the process and registry involved in this attack. That is, the specific source node type, target node type and edge type are determined.

[0068] In the specific implementation, according to the source node type and the edge type, the importance indicators corresponding to the source node type and the edge type are queried in a pre-established database; the importance indicator of the target node type is determined according to the preset level corresponding to the target node type and the importance indicator of the source node type; then, the product of the importance indicators corresponding to the source node type, the target node type and the edge type is determined as the evaluation indicator of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal.

[0069] Taking the triple of process A-behavior A-file A as an example, I1 is defined as the importance index corresponding to the type of process A, I2 is defined as the importance index corresponding to the type of behavior A, and I3 is defined as the importance index corresponding to the type of file A.

[0070] The type of a process describes the content of the code executed by the process. The type of a process can be pre-marked by the user and form a corresponding list. In addition, the list also provides the importance index corresponding to each type, and the list is stored in the database. Therefore, the type of process A can be determined by looking up the table in the database, and then the importance index I1 of the type can be obtained.

[0071] The type of behavior can include access and operation. Access is only access to the object, not involving operations such as writing and deleting. Operation is deleting the object. If behavior A is an access type, then I2 = 1. If behavior A is an operation type, then I2 = 2.

[0072] For the type of file, the importance level D1 of the file may be included, and the importance level D1 is set by the file generator. Specifically, the total number of times n1 that file A is accessed (including operations) may be determined, and then the average importance index of the processes involved in each access may be determined. if Then I3=D1, if but

[0073] Therefore, the evaluation index I of the threat posed by the attack behavior in the attack behavior tracing diagram to the terminal can be expressed as: I=I1*I2*I3.

[0074] In another embodiment, when the source node type does not exist in the database, the important default value of the source node is determined as the importance index I1. The important default value is determined according to the conditional probability of the target node and the edge.

[0075] Taking the triple of process A-behavior A-file A as an example, determine the probability P(A) of behavior A occurring in the historical time period and the probability P(B) of processing file A in the historical time period, and then determine the important default value of the source node by probability P(A) and probability P(B). The historical time period can be one month, one quarter, etc., which is not limited in this embodiment.

[0076] Specifically, for the probability P(A) of behavior A occurring in the historical time period, we can obtain the number N1 of all behaviors in the historical time period, and the number NA of behaviors A among all behaviors, then P(A) = NA / N1. It should be understood that the probability P(A) only indicates that behavior A has occurred, and does not limit the source node and the target node, that is, it can only indicate the possibility of behavior A occurring. The larger the value of the probability P(A), the more likely behavior A is to occur.

[0077] For the probability P(B) of processing file A in the historical time period, we can obtain the number of all processings N2 in the historical time period and the number of file A processed in all processings NB, then P(B) = NB / N2. It should be understood that the probability P(B) only indicates that file A has been processed, and does not limit the source node and edge. It can only indicate the possibility of processing file A. The larger the value of the probability P(B), the more likely it is that file A will be processed.

[0078] Then, the important default value can be determined by the following formula:

[0079] Important default value = P(B|A) = P(BA) / P(A) = I(1)*P(B) / P(A) = I(1)*P(B)*N3 / N4;

[0080] Wherein, P(B|A) represents the probability that the target node is file A under the premise of behavior A; I(1) represents the terminal security value, which can be the value obtained by performing a security assessment on the terminal; N3 represents the number of triplets whose target node is file A, and N4 represents the total number of triplets.

[0081] In some embodiments, in step S104, the product of the prediction index and the evaluation index is determined as the terminal security situation, and the terminal security situation R can be expressed as: R = I * S; further, when the terminal security situation is greater than a preset threshold, an early warning information is generated, and the early warning information is used to indicate that the terminal has a security threat. The preset threshold can be obtained by training the prediction model through sample data and sample labels of the terminal security log.

[0082] In this way, by extracting the attack behavior traceability diagram from the network threat intelligence and directly applying it to the terminal security log to determine the terminal security situation, it can effectively avoid the problem that the detection ability of the detection equipment lags behind the attack technology and improve the accuracy of the terminal security situation determination. In turn, it provides support for network decision makers and operators to evaluate the effectiveness of potential attacks, detect and prevent the continuation of network threat activities, so that network operators can take relevant measures against potential network threats.

[0083] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0084] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a terminal security situation determination device 200.

[0085] like Figure 2 As shown, the terminal security situation determination device 200 may include:

[0086] The acquisition module 201 is used to obtain an attack behavior traceability graph and a terminal security log, wherein the attack behavior traceability graph is generated according to network threat intelligence, and the attack behavior traceability graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node;

[0087] A first determination module 202, configured to determine a prediction indicator that a terminal may be attacked based on the terminal security log;

[0088] The second determination module 203 is used to determine the evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal according to the matching results of the plurality of triples and the terminal security log;

[0089] The third determination module 204 is used to determine the terminal security situation according to the prediction index and the evaluation index.

[0090] In some embodiments, the terminal security log includes terminal vulnerability information, terminal security level and terminal attack information. The terminal attack information includes the source IP address, destination IP address, source port, destination port and attack time corresponding to a number of attack behaviors.

[0091] In some embodiments, the first determination module 202 is specifically used to determine a vulnerability impact value based on the terminal vulnerability information and the terminal security level; determine an attack impact value based on the terminal attack information; and determine the product of the vulnerability impact value and the attack impact value as a predictive indicator that the terminal may be attacked.

[0092] In some embodiments, the first determination module 202 is further specifically used to calculate, for each attack behavior, the similarity with the remaining attack behaviors according to the source IP address, destination IP address, source port, destination port and attack time; determine the mean of the similarities as the impact degree corresponding to each attack behavior; and determine the sum of the impact degrees corresponding to the several attack behaviors as the attack impact value.

[0093] In some embodiments, the second determination module 203 is specifically used to determine whether there is a log item matching any one of the triples in the terminal security log based on the several triples and the terminal security log; when there is a log item matching any one of the triples in the terminal security log, determine the source node type, target node type and edge type of the log item; and determine, based on the source node type, target node type and edge type, an evaluation index of the threat posed to the terminal by the attack behavior in the attack behavior tracing graph.

[0094] In some embodiments, the second determination module 203 is further specifically used to determine that the evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal is a preset value when there is no log entry matching any of the triples in the terminal security log.

[0095] In some embodiments, the second determination module 203 is further specifically used to query the importance indicators corresponding to the source node type and edge type in a pre-established database according to the source node type and edge type; determine the importance indicator of the target node type according to the preset level corresponding to the target node type and the importance indicator of the source node type; and determine the product of the importance indicators corresponding to the source node type, target node type and edge type as an evaluation indicator of the threat posed to the terminal by the attack behavior in the attack behavior tracing graph.

[0096] In some embodiments, the second determination module 203 is further specifically used to determine the important default value of the source node as the importance index when the source node type does not exist in the database, and the important default value is determined according to the conditional probability of the target node and the edge.

[0097] In some embodiments, the third determination module 204 is specifically used to determine the product of the prediction index and the evaluation index as the terminal security situation; when the terminal security situation is greater than a preset threshold, generate warning information, and the warning information is used to indicate that there is a security threat to the terminal.

[0098] It should be noted that, for the convenience of description, the above device is described in various modules according to their functions. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0099] The device of the above embodiment is used to implement the corresponding terminal security situation determination method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0100] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device.

[0101] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided by this embodiment is shown.

[0102] The electronic device 300 may include a processor 301 and a memory 302 storing computer program instructions.

[0103] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0104] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.

[0105] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.

[0106] The processor 301 implements any one of the terminal security situation determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .

[0107] In some examples, the electronic device 300 may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0108] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0109] Bus 310 includes hardware, software or both, and the components of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0110] Exemplarily, the electronic device 300 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).

[0111] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a non-transitory computer-readable storage medium. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any of the terminal security situation determination methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.

[0112] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor execute the terminal security situation determination method. Corresponding to the execution subject corresponding to each step in each embodiment of the terminal security situation determination method, the processor that executes the corresponding step can belong to the corresponding execution subject.

[0113] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0114] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0115] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0116] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0117] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A method for determining terminal security situation, characterized in that: include: Obtain an attack behavior tracing graph and a terminal security log, wherein the attack behavior tracing graph is generated based on network threat intelligence, and the attack behavior tracing graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node; Determining, based on the terminal security log, a prediction indicator that the terminal may be attacked; Determine, based on the matching results of the plurality of triples and the terminal security log, an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal; The terminal security situation is determined according to the prediction index and the evaluation index.

2. The method according to claim 1, characterized in that Determining the evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal according to the matching results of the plurality of triples and the terminal security log includes: According to the plurality of triples and the terminal security log, determining whether there is a log entry in the terminal security log that matches any of the triples; In the case where there is a log item matching any of the triples in the terminal security log, determining a source node type, a target node type, and an edge type of the log item; An evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal is determined according to the source node type, the target node type and the edge type.

3. The method according to claim 2, characterized in that After determining, based on the plurality of triples and the terminal security log, whether there is a log entry in the terminal security log that matches any of the triples, the method further includes: In the case that there is no log entry matching any of the triples in the terminal security log, it is determined that the evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal is a preset value.

4. The method according to claim 1, characterized in that: Determining the terminal security situation according to the prediction index and the evaluation index includes: Determine the product of the prediction index and the evaluation index as the terminal security situation; When the terminal security situation is greater than a preset threshold, a warning message is generated, where the warning message is used to indicate that a security threat exists on the terminal.

5. The method according to claim 2, characterized in that: Determining, according to the source node type, the target node type, and the edge type, an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal includes: According to the source node type and the edge type, querying the importance indexes corresponding to the source node type and the edge type in a pre-established database; Determining the importance index of the target node type according to the preset level corresponding to the target node type and the importance index of the source node type; The product of the importance indexes corresponding to the source node type, the target node type and the edge type is determined as an evaluation index of the threat posed by the attack behavior to the terminal in the attack behavior tracing graph.

6. The method according to claim 5, characterized in that Before determining the importance index of the target node type according to the preset level corresponding to the target node type and the importance index of the source node type, the method further includes: In the case that the source node type does not exist in the database, an important default value of the source node is determined as the importance index, and the important default value is determined according to the conditional probability of the target node and the edge.

7. The method according to claim 1, characterized in that The terminal security log includes terminal vulnerability information, terminal security level and terminal attack information; Determining, based on the terminal security log, a prediction indicator that the terminal may be attacked, includes: Determine the vulnerability impact value according to the terminal vulnerability information and the terminal security level; Determining an attack impact value according to the terminal attack information; The product of the vulnerability impact value and the attack impact value is determined as a prediction indicator that the terminal may be attacked.

8. The method according to claim 7, characterized in that The terminal attack information includes the source IP address, destination IP address, source port, destination port and attack time corresponding to a number of attack behaviors; The determining the attack impact value according to the terminal attack information includes: For each attack behavior, the similarity with other attack behaviors is calculated according to the source IP address, destination IP address, source port, destination port and attack time; Determine the mean value of the similarities as the impact degree corresponding to each attack behavior; The sum of the impact degrees respectively corresponding to the plurality of attack behaviors is determined as an attack impact value.

9. A terminal security situation determination device, characterized in that: The device comprises: An acquisition module is used to acquire an attack behavior traceability graph and a terminal security log, wherein the attack behavior traceability graph is generated based on network threat intelligence, and the attack behavior traceability graph includes a plurality of triples, each of which includes a source node, a target node, and an edge, wherein the edge is used to indicate an attack behavior initiated by the source node to the target node; A first determination module, used to determine a prediction indicator that a terminal may be attacked based on the terminal security log; A second determination module is used to determine an evaluation index of the threat posed by the attack behavior in the attack behavior tracing graph to the terminal according to the matching results of the plurality of triples and the terminal security log; The third determination module is used to determine the terminal security situation according to the prediction index and the evaluation index.

10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor calls the computer program instructions, the terminal security situation determination method as described in any one of claims 1-8 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are called by the processor, the terminal security situation determination method according to any one of claims 1 to 8 is implemented.