Feature calculation device, feature calculation method, and feature calculation program

The feature learning device enhances feature quality by generating network communication graphs, classifying nodes by distance, and combining learned models to address context variations in communication networks, resulting in improved feature accuracy and efficiency.

JP7548422B2Active Publication Date: 2024-09-10NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023520722
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2024-09-10
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

Conventional techniques face difficulties in learning high-quality features from communication networks due to varying node contexts with different distances, leading to decreased feature quality.

Method used

A feature learning device that generates a graph representing network communication, selects related nodes by a predetermined path length, classifies nodes into groups based on distance, learns a model for each group, and combines feature amounts to calculate high-quality node features.

Benefits of technology

Enables the learning of high-quality feature quantities from communication networks by accounting for varying node contexts, improving feature accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548422000001
    Figure 0007548422000001
  • Figure 0007548422000002
    Figure 0007548422000002
  • Figure 0007548422000005
    Figure 0007548422000005
Patent Text Reader

Abstract

In the present invention, a generation unit (15b) generates, using communication information between network nodes, a graph that represents communication between the nodes. A selection unit (15c) selects associated nodes, among the nodes of the generated graph, that are connected by a path having a prescribed length. A classification unit (15d) classifies the selected nodes that are within a prescribed distance on the path into a group that corresponds to the node-to-node distance. A learning unit (15e) learns, for each of the classified groups, a model (14a) that represents a feature quantity in the graph of the nodes within the group. A calculation unit (15f) synthesizes, for each of the selected nodes, feature quantities estimated using the model (14a) that has been learned for each group, thereby calculating a feature quantity.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] The structures of networks called botnets, which are made up of malicious servers hijacked by malicious programs, are diverse, and the shortest distance between the malicious servers also varies depending on the structure. In recent years, technology to detect the structure of such botnets has been expected. The features of a graph, in which IP hosts are nodes and end-to-end communications between IP hosts are edges, provide useful information for detecting the structure of a botnet.

[0003] A technique called graph embedding is known that learns the features of nodes from a communication graph consisting of network flow information. For example, it is possible to generate a path of nodes from a graph and learn the similarity between nodes within a certain number of hops on the path (see Non-Patent Document 1). [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Bryan Perozzi et al., “DeepWalk: Online Learning of Social Representations”, KDD '14, Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery, 2014 Summary of the Invention [Problem to be solved by the invention]

[0005] However, it is difficult to learn high-quality features with conventional techniques. For example, when focusing on a certain node, the contexts of adjacent nodes within a certain distance differ depending on the distance, so there is a problem that the quality of the obtained features decreases when nodes with different contexts are simultaneously learned.

[0006] The present invention has been made in view of the above, and has an object to learn high-quality features from a graph representing a communication network. [Means for solving the problem]

[0007] In order to solve the above-mentioned problems and achieve the object, the feature learning device of the present invention is characterized by having a generation unit that generates a graph representing communication between nodes using communication information between nodes of a network, a selection unit that selects related nodes connected by paths of a predetermined length from the nodes of the generated graph, a classification unit that classifies nodes within a predetermined distance on the path for the selected nodes into groups according to the distance between the nodes, a learning unit that learns a model that represents the features in the graph of each node in the group for each classified group, and a calculation unit that calculates features for each of the selected nodes by combining features estimated using the models learned for each group. Effect of the Invention

[0008] According to the present invention, it is possible to learn high-quality features from a graph representing a communication network. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a schematic diagram illustrating a schematic configuration of a feature calculation device. [Diagram 2] FIG. 2 is a diagram for explaining the processing of the feature calculation device. [Diagram 3] FIG. 3 is a diagram for explaining the processing of the feature calculation device. [Figure 4]FIG. 4 is a diagram for explaining the processing of the feature calculation device. [Diagram 5] FIG. 5 is a flowchart showing the procedure of the feature amount calculation process. [Figure 6] FIG. 6 is a diagram illustrating a computer that executes a feature amount calculation program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment. In addition, in the description of the drawings, the same parts are indicated by the same reference numerals.

[0011] [Feature Calculation Device Configuration] Fig. 1 is a schematic diagram illustrating an example of a schematic configuration of a feature calculation device. Figs. 2 to 4 are diagrams for explaining the processing of the feature calculation device. First, as illustrated in Fig. 1, a feature calculation device 10 is realized by a general-purpose computer such as a personal computer, and includes an input unit 11, an output unit 12, a communication control unit 13, a storage unit 14, and a control unit 15.

[0012] The input unit 11 is realized by input devices such as a keyboard and a mouse, and inputs various instruction information such as a command to start processing to the control unit 15 in response to an input operation by an operator. The output unit 12 is realized by a display device such as a liquid crystal display, a printing device such as a printer, or the like.

[0013] The communication control unit 13 is realized by a NIC (Network Interface Card) or the like, and controls communication between an external device such as a server via a network and the control unit 15. For example, the communication control unit 13 controls communication between the control unit 15 and a management device or the like that collects and manages communication information of the network.

[0014] The storage unit 14 is realized by a semiconductor memory element such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 14 stores in advance a processing program for operating the feature calculation device 10, data used during execution of the processing program, and the like, or temporarily stores the data each time processing is performed. For example, the storage unit 14 stores a model 14a of the processing result of the learning unit described later, and the like. The storage unit 14 may be configured to communicate with the control unit 15 via the communication control unit 13.

[0015] The control unit 15 is realized using a CPU (Central Processing Unit) or the like, and executes a processing program stored in a memory. As a result, the control unit 15 functions as an acquisition unit 15a, a generation unit 15b, a selection unit 15c, a classification unit 15d, a learning unit 15e, a calculation unit 15f, and an extraction unit 15g, as exemplified in FIG. 1. Note that each or some of these functional units may be implemented in different hardware. For example, the learning unit 15e and the calculation unit 15f may be implemented in different hardware. The control unit 15 may also include other functional units.

[0016] The acquisition unit 15a acquires the collected communication information of the network nodes. For example, the acquisition unit 15a acquires flow information of an IP host that is a processing target of a feature amount calculation process described later, via the input unit 11 or the communication control unit 13, from a management device that collects and manages the communication information of the network. The acquisition unit 15a may store the acquired data in the storage unit 14. Alternatively, the acquisition unit 15a may transfer the information to the generation unit 15b described below, without storing it in the storage unit 14.

[0017] The generating unit 15b generates a graph representing communication between nodes using communication information between nodes of a network. For example, as shown in Fig. 2, the generating unit 15b uses the acquired flow information of IP hosts to create a graph in which IP hosts are nodes and communications between IP hosts are edges. Fig. 2 illustrates a communication graph between a malicious (Bot) server and a C&C (Command and Control) server.

[0018] The selection unit 15c selects related nodes connected by paths of a predetermined length from among the nodes of the generated graph. For example, the selection unit 15c executes Random Walk a predetermined number of times with each node as a starting point, and generates a path of a predetermined length including the node for each starting node.

[0019] The classification unit 15d classifies nodes on the path within a predetermined distance from the selected node into groups according to the distance between the nodes. For example, for the graph shown in Fig. 2, the classification unit 15d classifies the node pair AC into a group with a distance of 1, the node pair AB into a group with a distance of 2, and the node pair AE into a group with a distance of 3, as shown in Fig. 3.

[0020] As shown in Fig. 4(a), the learning unit 15e learns a model 14a that represents a feature amount in a graph of each node in each group for each classified group. In this embodiment, the learning unit 15e learns a different model 14a for each classified group.

[0021] The learning unit 15e may further learn a common model 14a for a plurality of groups within a predetermined distance range among the classified groups. For example, among the groups illustrated in FIG. 4(a), a common model 14a may be learned for a plurality of groups with a distance of 2 or less, that is, a group with a distance of 1 and a group with a distance of 2. In this case, the learning unit 15e may be configured to learn a different model 14a for each group in principle, and may be able to select a plurality of groups for learning the common model 14a.

[0022] The calculation unit 15f calculates the feature amount for each selected node by combining the feature amounts estimated using the models 14a trained in each group. For example, as shown in FIG. 4(b), the calculation unit 15f combines all the feature amounts output by the models 14a trained in each group for each node to obtain the feature amount for the node.

[0023] The extraction unit 15g extracts the value of a dimension having an importance equal to or greater than a predetermined threshold value from among the calculated feature quantities. Specifically, the extraction unit 15g calculates the importance of each dimension of a feature vector representing the feature quantity of each node using teacher data and the trained model 14a. For example, the extraction unit 15g calculates the importance of each dimension by Random Forest. Then, as shown in FIG. 4(c), the extraction unit 15g selects only important dimensions having an importance equal to or greater than a predetermined threshold value, and sets them as the feature quantities of the node.

[0024] Moreover, the extraction unit 15g outputs the calculated feature amount of each node via the output unit 12. Note that instead of or in addition to the extraction unit 15g, the calculation unit 15f may output the calculated feature amount of each node.

[0025] [Feature calculation process] Next, the feature calculation process by the feature calculation device 10 according to this embodiment will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the procedure of the feature calculation process. The flowchart in Fig. 5 starts, for example, when an operation input is made to instruct the start of the feature calculation process.

[0026] First, the generation unit 15b generates a graph representing communication between nodes using communication information of the nodes of the network acquired by the acquisition unit 15a (step S1).

[0027] The selection unit 15c selects related nodes connected by paths of a predetermined length from among the nodes of the generated graph (step S2), and the classification unit 15d classifies nodes within a predetermined distance on the path to the selected nodes into groups according to the distance between the nodes (step S3).

[0028] Next, the learning unit 15e learns the model 14a representing the feature amount in the graph of each node in the group for each classified group (step S4).

[0029] At this time, the learning unit 15e learns a different model 14a for each classified group. Alternatively, the learning unit 15e may learn a common model 14a for a plurality of groups within a predetermined distance range among the classified groups.

[0030] Then, the calculation unit 15f calculates a feature amount for each of the selected nodes by combining the feature amounts estimated using the model 14a trained in each group (step S5).

[0031] In addition, the extraction unit 15g calculates the importance of each dimension of the feature vector representing the feature of each node by using the teacher data and the trained model 14a. Then, the extraction unit 15g extracts only important dimensions whose importance is equal to or greater than a predetermined threshold value, and sets them as the feature of the node (step S6).

[0032] Moreover, the extraction unit 15g outputs the feature amount of each node via the output unit 12 (step S7), whereby a series of feature amount calculation processes is completed.

[0033] As described above, in the feature calculation device 10, the generation unit 15b generates a graph representing communication between nodes using communication information between nodes of a network. The selection unit 15c selects related nodes connected by paths of a predetermined length from among the nodes of the generated graph. The classification unit 15d classifies nodes within a predetermined distance on the path from the selected node into groups according to the distance between the nodes. The learning unit 15e learns a model 14a representing the feature in the graph of each node in the group for each classified group. The calculation unit 15f then calculates the feature for each selected node by combining the feature estimated using the model 14a learned in each group.

[0034] In this way, the feature calculation device 10 divides the teacher data according to the distance between nodes, learns the similarity between nodes at each distance, and calculates the feature of each node by combining the feature of each node learned at each different distance. This makes it possible to calculate the feature of a node taking into account the difference in the context of adjacent nodes due to distance. Therefore, the feature calculation device 10 can learn high-quality feature from a graph representing a communication network.

[0035] Furthermore, the learning unit 15e learns a different model 14a for each classified group, which enables the feature calculation device 10 to learn the model 14a with higher accuracy.

[0036] Furthermore, the learning unit 15e learns a common model 14a for a plurality of groups within a predetermined distance range among the classified groups, which enables the feature calculation device 10 to learn the model 14a with high efficiency.

[0037] In addition, the extraction unit 15g uses the teacher data and the trained model 14a to calculate the importance of each dimension of the feature vector representing the feature of each node. Then, the extraction unit 15g extracts the value of the dimension with the importance equal to or greater than a predetermined threshold value from the calculated feature. This enables the feature calculation device 10 to efficiently calculate high-quality feature of each node.

[0038] [program] A program in which the process executed by the feature amount calculation device 10 according to the above embodiment is written in a language executable by a computer can also be created. As an embodiment, the feature amount calculation device 10 can be implemented by installing a feature amount calculation program for executing the feature amount calculation process as package software or online software on a desired computer. For example, the feature amount calculation program can be executed by an information processing device, so that the information processing device can function as the feature amount calculation device 10. In addition, the information processing device includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone System), and further slate terminals such as PDA (Personal Digital Assistant), etc. in its category. The function of the feature amount calculation device 10 may be implemented in a cloud server.

[0039] 6 is a diagram showing an example of a computer that executes a feature calculation program. The computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.

[0040] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1031. The disk drive interface 1040 is connected to a disk drive 1041. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1041. The serial port interface 1050 is connected to a mouse 1051 and a keyboard 1052, for example. The video adapter 1060 is connected to a display 1061, for example.

[0041] Here, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. Each piece of information described in the above embodiments is stored in the hard disk drive 1031 or memory 1010, for example.

[0042] The feature calculation program is stored in the hard disk drive 1031, for example, as a program module 1093 in which instructions to be executed by the computer 1000 are written. Specifically, the hard disk drive 1031 stores the program module 1093 in which each process executed by the feature calculation device 10 described in the above embodiment is written.

[0043] Furthermore, data used in information processing by the feature calculation program is stored as program data 1094, for example, in the hard disk drive 1031. Then, the CPU 1020 reads out the program module 1093 and the program data 1094 stored in the hard disk drive 1031 into the RAM 1012 as necessary, and executes each of the above-mentioned procedures.

[0044] Note that the program module 1093 and program data 1094 related to the feature calculation program are not limited to being stored in the hard disk drive 1031, and may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1041 or the like. Alternatively, the program module 1093 and program data 1094 related to the feature calculation program may be stored in another computer connected via a network such as a LAN (Local Area Network) or a WAN (Wide Area Network), and read by the CPU 1020 via the network interface 1070.

[0045] Although the embodiment to which the invention made by the present inventor is applied has been described above, the present invention is not limited by the description and drawings which form a part of the disclosure of the present invention according to the present embodiment. In other words, other embodiments, examples, operation techniques, etc. made by those skilled in the art based on the present embodiment are all included in the scope of the present invention. [Explanation of symbols]

[0046] 10. Feature Calculation Device 11 Input section 12 Output section 13 Communication control section 14 Storage section 14a model 15 Control section 15a Acquisition part 15b Generator 15c Selection section 15d Classification section 15e Learning Department 15f Calculation section 15g extraction part

Claims

1. a generation unit that generates a graph representing communications between the nodes using communication information between the nodes of the network; a selection unit that selects, from among the nodes of the generated graph, related nodes that are connected by paths of a predetermined length; a classification unit that classifies nodes on a path within a predetermined distance of the selected nodes into groups according to the distance between the nodes; a learning unit that learns a model representing a feature amount in the graph of each node in the group for each of the classified groups; a calculation unit that calculates a feature amount by combining feature amounts estimated using models trained in each group for each of the selected nodes; A feature calculation device comprising:

2. The feature calculation device according to claim 1 , wherein the learning unit learns a different model for each of the classified groups.

3. The feature calculation device according to claim 2 , wherein the learning unit learns a common model for a plurality of groups within a predetermined distance range from among the classified groups.

4. 2. The feature calculation device according to claim 1, further comprising an extraction unit that extracts, from the calculated feature values, a value of a dimension having an importance equal to or greater than a predetermined threshold value.

5. 5. The feature calculation device according to claim 4, wherein the extraction unit calculates the importance of each dimension of a feature vector representing the feature of each node by using teacher data and the learned model.

6. A feature calculation method executed by a feature calculation device, comprising: A generation step of generating a graph representing communications between the nodes using communication information between the nodes of the network; a selection step of selecting, from among the nodes of the generated graph, related nodes connected by paths of a predetermined length; a classification step of classifying nodes on a path within a predetermined distance of the selected nodes into groups according to the distance between the nodes; a learning step of learning a model representing a feature amount in the graph of each node in each group, for each of the classified groups; A step of calculating a feature amount by synthesizing the feature amounts estimated using the models trained in each group for each of the selected nodes; A feature calculation method comprising:

7. To your computer A generation step of generating a graph representing communications between the nodes using communication information between the nodes of the network; a selection step of selecting related nodes connected by paths of a predetermined length from among the nodes of the generated graph; a classification step of classifying nodes on a path within a predetermined distance of the selected nodes into groups according to the distance between the nodes; a learning step of learning a model representing a feature amount in the graph of each node in each group, for each of the classified groups; calculating a feature amount by combining the feature amounts estimated using the models trained in each group for each of the selected nodes; A feature calculation program that causes a user to execute the above steps.

Citation Information

Patent Citations

  • Detection method and detection device for network attack

    CN104506482A

  • Traffic anomaly sensing device, traffic anomaly sensing method, and traffic anomaly sensing program

    WO2019168072A1