Intranet host threat prediction method and system based on label calculation

By obtaining and aggregating tag records of intranet hosts from the tag library, establishing a graph structure, and using a threat prediction model to calculate the threat of intranet hosts, the problem of threat prediction for intranet hosts is solved, and efficient risk assessment and threat assessment reports are realized. generate.

CN113806753BActive Publication Date: 2024-09-13中孚安全技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111160277.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-09-13
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively predict and evaluate the threat of intranet hosts. It mainly focuses on the defense of network boundaries and ignores security threats from within the network.

Method used

By obtaining the host's tag record from the tag library, aggregate statistics and graph structure are established, the host threat prediction model is used to calculate the host's threat possibility, and a threat assessment report is generated.

Benefits of technology

It achieves efficient prediction and assessment of intranet host threats, provides new risk assessment ideas, is suitable for big data label modules, has high execution efficiency, clear steps and high reuse rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113806753B
    Figure CN113806753B
Patent Text Reader

Abstract

This invention proposes a tag-based threat prediction method and system for intranet hosts. The method includes: reading all tag records within a preset time period from a tag library; aggregating and statistically processing the data according to host entity and tag type; calculating the probability of each registered asset according to a preset formula and outputting a quantitative result; finally, summarizing the calculation results, assessing and comparing the probability of threat occurrence, and generating a report to guide subsequent protection. This invention achieves threat prediction for intranet hosts by analyzing accumulated tags, providing a new solution for risk assessment models in the field of intranet security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and more specifically to a method and system for predicting intranet host threats based on label calculation. Background Art

[0002] When it comes to network security, people will naturally think of virus damage and hacker attacks, but this is not the case. Conventional security defense concepts are often limited to defense at the gateway level, network boundaries (firewalls, vulnerability scanning, antivirus, IDS), etc. Important security facilities are generally concentrated in the computer room or network entrance. Under the close monitoring of these devices, security threats from outside the network are greatly reduced. On the contrary, security threats from hosts inside the network are a common problem reported by many security managers.

[0003] Threat is a comprehensive factor that includes the possibility of damage to the organization and assets and the potential consequences. The threat of the host is mainly analyzed from the historical alarms and anomalies. If there are more such records in the behavior, the host is considered to be more threatening. For example, frequent printing, port scanning or virus and trojan attacks, all of these behaviors can be generated through the corresponding rules. Dynamic labels are added to the corresponding host; in addition, the activity levels of different machines in the intranet are also different.

[0004] It can be seen that how to realize threat prediction of intranet hosts by analyzing the accumulated tags is a problem that we need to solve urgently. Summary of the invention

[0005] In view of the above problems, the object of the present invention is to provide a method and system for predicting intranet host threats based on label calculation.

[0006] To achieve the above object, the present invention is implemented through the following technical scheme: a method for predicting intranet host threats based on label calculation, comprising the following steps:

[0007] S1: Obtain tag records of all hosts within a preset time period from the tag library;

[0008] S2: aggregate and count tag records according to host entity and tag type;

[0009] S3: Based on the aggregated statistical results, the host threat prediction model is used to calculate the quantitative results of the threat probability of all intranet hosts;

[0010] S4: Based on the quantification results, the possibility of all host threats in the intranet is evaluated, and a corresponding threat assessment report is generated.

[0011] Furthermore, the tag record includes fields such as tag ID, host MAC, host IP, and timestamp.

[0012] Further, the step S1 comprises:

[0013] According to the registered asset list, obtain the tag records of all hosts within the preset time period from the tag library;

[0014] According to the record asset list, obtain all traffic access logs within the preset time period from the host's traffic quintuple.

[0015] Further, the step S2 comprises:

[0016] Determine the host label sequence based on the label records of all hosts;

[0017] Split the tag sequence for all hosts according to three preset time periods;

[0018] Take each host as a node and the access relationship between hosts as edges to establish a graph structure of intranet access data for all hosts.

[0019] Furthermore, the three preset time periods include:

[0020] The first period is the most recent week, that is, the number of days from the current time (0,7]);

[0021] The second period is from the most recent month to the most recent week, that is, the number of days from the current occurrence ranges from (7,30]);

[0022] The third period is more than one month, that is, the number of days from the current time is within the range of (30,∞].

[0023] Further, the establishment of graph-structured intranet access data for all hosts includes:

[0024] Based on the access frequency and traffic bytes, the weight of each edge is calculated;

[0025] Calculate the activity of each host according to the host activity formula.

[0026] Furthermore, the host activity formula is as follows:

[0027]

[0028] Among them, pi represents the i-th host, d is the decay factor, N is the number of hosts in the intranet, L(pj) is the number of out-degree edges of the j-th host, and M(pi) is the set of all hosts that have in-degree to pi.

[0029] Further, the step S3 comprises:

[0030] Based on the label sequences of all hosts, the label heat of all hosts is quantified;

[0031] The geometric mean of the label heat and host activity of all hosts is calculated as the quantitative result of the possibility of threat occurrence of the intranet host.

[0032] Furthermore, the quantification of the label heat of all hosts is achieved by the following formula:

[0033]

[0034] Among them, i is the i-th label, pj is the j-th host, Wi is the heat weight of the i-th label, n is the number of labels the host has been tagged with, Ci_1 is the cumulative frequency of the i-th label in the first period, Ci_2 is the cumulative frequency of the i-th label in the second period, and Ci_3 is the cumulative frequency of the i-th label in the third period.

[0035] Furthermore, the geometric mean of the label heat and host activity of all hosts is calculated by the following formula:

[0036]

[0037] in, is the label heat of the j-th host, and PR(pj) is the activity of the j-th host.

[0038] Correspondingly, the present invention also discloses an intranet host threat prediction system based on label calculation, comprising:

[0039] The acquisition module is used to obtain the tag records of all hosts within a preset time period from the tag library;

[0040] The preprocessing module is used to aggregate and count tag records according to host entities and tag types;

[0041] A model calculation module is used to calculate the quantified results of the threat occurrence possibility of all intranet hosts based on the aggregated statistical results and using the host threat prediction model;

[0042] The threat report generation module is used to evaluate the possibility of all host threats in the intranet according to the quantification results and generate a corresponding threat assessment report.

[0043] Compared with the prior art, the present invention has the following beneficial effects:

[0044] 1. The present invention is suitable for risk assessment of intranet assets with a big data tag module. It includes: reading all tag records within a preset time period from the tag library; aggregating and statistically processing the data according to the host entity and tag type; calculating all registered assets according to the preset formula and outputting a quantitative result of the possibility; finally, summarizing the calculation results, evaluating and comparing the possibility of threat occurrence, and then generating a report to guide subsequent protection.

[0045] 2. The steps of the present invention are clear and the reuse rate is high. Since tags are the highly condensed essence of log data, it is convenient to mine the association and importance between different behaviors, and reuse can be achieved, with high scalability based on time and users.

[0046] 3. The present invention has high execution efficiency because the processor only needs to be called once during the weight calculation process, and storage and retrieval are both performed in the memory.

[0047] 4. The present invention can provide a new solution for the risk assessment model in the field of intranet security.

[0048] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] 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 description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0050] Attached Figure 1 It is a method flow chart of a specific implementation mode of the present invention.

[0051] Attached Figure 2 It is a system structure diagram of a specific implementation mode of the present invention.

[0052] In the figure, 1 is the acquisition module; 2 is the preprocessing module; 3 is the model calculation module; and 4 is the threat report generation module. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0054] Embodiment 1:

[0055] like Figure 1 As shown, this embodiment provides an intranet host threat prediction method based on label calculation, comprising the following steps:

[0056] S1: Obtain tag records of all hosts within a preset time period from the tag library.

[0057] First, according to the record asset list, obtain the label records of all hosts within the preset time period from the label library; then, according to the record asset list, obtain all traffic access logs within the preset time period from the host's traffic quintuple. Among them, the label record label includes fields such as label ID, host MAC, host IP, and timestamp.

[0058] S2: Aggregate and count tag records according to host entity and tag type.

[0059] This step specifically includes:

[0060] 1. Determine the host's label sequence based on the label records of all hosts.

[0061] 2. Divide the label sequence for all hosts according to three preset time periods.

[0062] The three preset time periods include: the first time period, specifically the most recent week, that is, the number of days from the current occurrence ranges from (0 to 7]; the second time period, specifically the most recent month to the most recent week, that is, the number of days from the current occurrence ranges from (7 to 30]; the third time period, specifically beyond one month, that is, the number of days from the current occurrence ranges from (30 to ∞].

[0063] 3. Take each host as a node and the access relationship between hosts as edges to establish a graph structure of intranet access data for all hosts.

[0064] First, the weight of each edge is counted based on the access frequency and traffic bytes; then the activity of each host is calculated according to the host activity formula.

[0065] Activity refers to the frequency of a host's connection behavior in the intranet, which can also be regarded as the degree of centralization of a node in the network. When a host is more active, it connects to more resources, which greatly increases the possibility of risks such as host compromise and phishing Trojans.

[0066] Since the intranet topology is a natural graph structure, it is reasonable to use a graph model to calculate the activity of the host. Here, the connection frequency and traffic byte size are mainly used as statistical indicators to measure the edge weight.

[0067] The host activity formula is as follows:

[0068]

[0069] Among them, pi represents the i-th host, d is the decay factor, N is the number of hosts in the intranet, L(p j ) is the number of outgoing edges of the jth host, M(p i ) for all pairs p i The set of hosts that have indegree.

[0070] S3: Based on the aggregated statistical results, the host threat prediction model is used to calculate the quantitative results of the threat probability of all intranet hosts.

[0071] First, based on the label sequence of all hosts, the label heat of all hosts is quantified. Then, the geometric mean of the label heat and host activity of all hosts is calculated as the quantitative result of the threat possibility of the intranet host.

[0072] Tag popularity refers to the frequency of the corresponding tag in history. According to the time when the tag occurred, the ladder weight is set, and all the tag history records on each host are counted, and then the tag popularity of the host is quantified.

[0073] Therefore, quantifying the label heat of all hosts is achieved through the following formula:

[0074]

[0075] Among them, i is the i-th label, pj is the j-th host, Ci_1 is the cumulative frequency of the i-th label in the first period, Ci_2 is the cumulative frequency of the i-th label in the second period, and Ci_3 is the cumulative frequency of the i-th label in the third period. The weights of different periods are set to 1, 1 / 3, and 1 / 9, respectively, to indicate that recent events are more likely to cause threats again.

[0076] Finally, the geometric mean of the label heat and host activity of all hosts is calculated using the following formula:

[0077]

[0078] in, is the label heat of the j-th host, and PR(pj) is the activity of the j-th host.

[0079] This formula is an algorithm that combines the above two models to quantify the possibility of host threat occurrence. It is the final formula of the host threat prediction model based on the results of the above two sections.

[0080] S4: Based on the quantification results, the possibility of all host threats in the intranet is evaluated, and a corresponding threat assessment report is generated.

[0081] This embodiment provides a method for predicting intranet host threats based on tag calculation, including: reading all tag records within a preset time period from the tag library; aggregating and statistically processing the data according to the host entity and tag type; calculating all registered assets according to the preset formula and outputting a quantitative result of the possibility; finally, summarizing the calculation results, evaluating and comparing the possibility of the threat, and then generating a report to guide subsequent protection. This method predicts the threat of intranet hosts by analyzing the accumulated tags, providing a new solution for the risk assessment model in the field of intranet security.

[0082] Embodiment 2:

[0083] Based on the first embodiment, Figure 2 As shown, the present invention also discloses an intranet host threat prediction system based on label calculation, including: an acquisition module 1, a preprocessing module 2, a model calculation module 3 and a threat report generation module 4.

[0084] The acquisition module 1 is used to acquire the tag records of all hosts within a preset time period from the tag library.

[0085] The acquisition module 1 is specifically used for:

[0086] 1. Get data from the tag library. For the registered asset list, get all tag records within the preset time period. Including tag ID, host MAC, host IP, timestamp and other fields.

[0087] 2. Get data from the traffic quintuple. For the registered asset list, get all traffic access logs within the preset time period.

[0088] The preprocessing module 2 is used to aggregate and count the tag records according to the host entity and tag type.

[0089] The preprocessing module 2 is specifically used for:

[0090] 1. Aggregate the tag data by host to obtain all the tag sequences marked on each host after preprocessing.

[0091] 2. The tag data is layered according to time sequence, and the tag sequences are divided for all hosts based on the three different time periods mentioned above.

[0092] 3. Calculate the host activity based on the traffic quintuple. First, treat each host as a node and the access relationship as an edge to build a graph structure of intranet access data. Then, based on the access frequency and traffic bytes, count the weight of each edge and calculate the activity of each machine according to the host activity formula.

[0093] The model calculation module 3 is used to calculate the quantified result of the threat occurrence possibility of all intranet hosts based on the aggregated statistical results using the host threat prediction model.

[0094] The model calculation module 3 is specifically used for:

[0095] 1. Based on the results of aggregation and stratification, perform weighted sum calculation on different tags.

[0096] 2. Calculate the geometric mean of the host label heat and the host activity obtained in the data preprocessing phase.

[0097] The threat report generation module 4 is used to evaluate the possibility of all host threats in the intranet according to the quantification results and generate a corresponding threat assessment report.

[0098] The present embodiment provides an intranet host threat prediction system based on tag calculation, which can read all tag records within a preset time period from the tag library; aggregate and statistically process the data according to the host entity and tag type, and calculate all registered assets according to the preset formula and output a quantitative result of the possibility; finally, summarize the calculation results, evaluate and compare the possibility of threat occurrence, and then generate a report to guide subsequent protection.

[0099] In summary, the present invention realizes threat prediction of intranet hosts by analyzing accumulated tags.

[0100] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0101] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0102] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0104] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.

[0105] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.

[0106] Finally, 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 sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0107] The above is a detailed introduction to the intranet host threat prediction method and system based on label calculation provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A method for predicting intranet host threats based on label calculation, characterized in that: The steps include: S1: Obtain tag records of all hosts within a preset time period from the tag library; S2: aggregate and count tag records according to host entity and tag type; S3: Based on the aggregated statistical results, the host threat prediction model is used to calculate the quantitative results of the threat probability of all intranet hosts; S4: Based on the quantification results, the possibility of all host threats in the intranet is evaluated, and a corresponding threat assessment report is generated; The step S1 comprises: According to the registered asset list, obtain the tag records of all hosts within the preset time period from the tag library; According to the record asset list, obtain all traffic access logs within the preset time period from the host's traffic quintuple; The step S2 comprises: Determine the host label sequence based on the label records of all hosts; Split the tag sequence for all hosts according to three preset time periods; Take each host as a node and the access relationship between hosts as edges to build a graph structure of intranet access data for all hosts; The three preset time periods include: The first period, the number of days from the current time (0,7]); The second period is the number of days from the current time (7,30]); The third period is the number of days from the current time (30,∞]); The establishment of graph structure intranet access data for all hosts includes: Based on the access frequency and traffic bytes, the weight of each edge is calculated; Calculate the activity of each host according to the host activity formula.

2. The intranet host threat prediction method based on label calculation according to claim 1 is characterized in that: The step S3 comprises: Based on the label sequences of all hosts, the label heat of all hosts is quantified; The geometric mean of the label heat and host activity of all hosts is calculated as the quantitative result of the possibility of threat occurrence of the intranet host.

3. The intranet host threat prediction method based on label calculation according to claim 2 is characterized in that: The quantification of the label heat of all hosts is achieved by the following formula: in, is the weighted label heat of the jth host, i is the i-th label, p j is the jth host, is the heat weight of the i-th label, n is the number of labels that the j-th host has been labeled with, is the cumulative frequency of the i-th tag in the first period, is the cumulative frequency of the i-th tag in the second period, is the cumulative frequency of the i-th tag in the third period.

4. An intranet host threat prediction system based on label calculation, characterized in that: include: The acquisition module is used to obtain the tag records of all hosts within a preset time period from the tag library; The preprocessing module is used to aggregate and count tag records according to host entities and tag types; A model calculation module is used to calculate the quantified results of the threat occurrence possibility of all intranet hosts based on the aggregated statistical results and using the host threat prediction model; A threat report generation module is used to evaluate the possibility of all host threats in the intranet according to the quantification results and generate a corresponding threat assessment report; The acquisition module is specifically used for: According to the registered asset list, obtain the tag records of all hosts within the preset time period from the tag library; According to the record asset list, obtain all traffic access logs within the preset time period from the host's traffic quintuple; The preprocessing module is specifically used for: Determine the host label sequence based on the label records of all hosts; Split the tag sequence for all hosts according to three preset time periods; Take each host as a node and the access relationship between hosts as edges to build a graph structure of intranet access data for all hosts; The three preset time periods include: The first period, the number of days from the current time (0,7]); The second period is the number of days from the current time (7,30]); The third period is the number of days from the current time (30,∞]); The establishment of graph structure intranet access data for all hosts includes: Based on the access frequency and traffic bytes, the weight of each edge is calculated; Calculate the activity of each host according to the host activity formula.