Labeling device, labeling method, and program
The labeling device automates the labeling of monitoring data to reduce the effort required by telecommunications carriers in sorting and responding to security threats, enhancing communication performance.
Patent Information
- Application Number
- JP2023514284
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-15
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-04-15
AI Technical Summary
Telecommunications carriers face significant effort in sorting out individual monitoring data from vast amounts of general-purpose monitoring data provided by security vendors and setting up appropriate responses, leading to communication performance deterioration.
A labeling device that assigns labels to monitoring data indicating necessity and appropriate actions, utilizing a learning unit to model monitoring data and a setting unit to configure communication security monitoring devices based on these labels.
Reduces the burden of setting work for handling monitoring data and improves communication performance by automating the sorting and response process.
Smart Images

Figure 0007544260000008 
Figure 0007544260000007 
Figure 0007544260000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a labeling device, a labeling method, and a program. [Background technology]
[0002] Communication security monitoring devices such as IDS (Intrusion Detection System) and IPS (Intrusion Prevention System) are installed in the communication path to monitor communication data, detect malicious communication data (threat data), and deal with it (save / notify / block, etc.) (Figure 1).
[0003] IDS / IPS is configured with a list of threat data (monitoring data) that should be detected, and detects threat data by comparing communication data with the monitoring data. The method of dealing with the detection of a threat (save / notify / block, etc.) is configured for the monitoring data, and the IDS / IPS responds according to that setting.
[0004] IDS / IPS monitoring data is provided by security vendors that provide IDS / IPS. The security vendors' monitoring data (hereafter referred to as "general purpose monitoring data") is comprehensive and huge in volume, in order to be general purpose.
[0005] If telecommunications carriers that use and operate IDS / IPS use general-purpose monitoring data from security vendors as is, they will have to compare communications data with a huge amount of general-purpose monitoring data, which will cause degradation of communications performance, such as communication delays.
[0006] Therefore, the communication carrier selects only the necessary monitoring data (hereinafter referred to as "individual monitoring data") according to the conditions of its own communication system, and also sets a countermeasure for its own communication system. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Patent Publication 2019-174988 [Patent Document 2] Patent Publication No. 2020-024513 [Patent Document 3] Patent Publication No. 2020-160642 Summary of the Invention [Problem to be solved by the invention]
[0008] For telecommunications carriers who apply and operate IDS / IPS, sorting through individual monitoring data from the vast amounts of general-purpose monitoring data provided by security vendors and setting individual countermeasures requires a large amount of work.
[0009] The present invention has been made in consideration of the above-mentioned points, and has an object to reduce the burden of the work of setting methods for dealing with monitoring data. [Means for solving the problem]
[0010] In order to solve the above problem, the labeling device has a learning unit that learns a model that uses as input monitoring data and outputs the label corresponding to the monitoring data based on a first monitoring data group in which each of a plurality of monitoring data indicating characteristics of specific communication data is assigned a label indicating whether the monitoring data is necessary and how to deal with the specific communication data, and a setting unit that sets the monitoring data from the first monitoring data group that has been assigned a label indicating that it is necessary in a monitoring device that monitors communication data based on the monitoring data. Effect of the Invention
[0011] This reduces the burden of setting up ways to deal with monitored data. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram for explaining IDS / IPS. [Diagram 2]1 is a diagram illustrating an example of a hardware configuration of a labeling device 10 according to an embodiment of the present invention. [Diagram 3] 1 is a diagram illustrating an example of a functional configuration of a labeling device 10 according to an embodiment of the present invention. [Figure 4] FIG. 2 is a diagram illustrating an example of a functional configuration of a label attachment model 13. [Diagram 5] FIG. 2 is a diagram for explaining initial learning of the label attachment model 13. [Figure 6] FIG. 13 is a diagram showing an example of the configuration of labeled general-purpose monitoring data. [Figure 7] FIG. 13 is a diagram for explaining operation using the trained labeling model 13a and re-training of the trained labeling model 13a. [Figure 8] FIG. 2 is a diagram for explaining a learning procedure of the label attachment model 13. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 2 is a diagram showing an example of a hardware configuration of a labeling device 10 in an embodiment of the present invention. The labeling device 10 in Fig. 2 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a processor 104, and an interface device 105, which are all connected to each other via a bus B.
[0014] A program for realizing the processing in the label application device 10 is provided by a recording medium 101 such as a CD-ROM. When the recording medium 101 storing the program is set in the drive device 100, the program is installed from the recording medium 101 via the drive device 100 into the auxiliary storage device 102. However, the program does not necessarily have to be installed from the recording medium 101, but may be downloaded from another computer via a network. The auxiliary storage device 102 stores the installed program as well as necessary files, data, etc.
[0015] When an instruction to start a program is received, the memory device 103 reads out and stores the program from the auxiliary storage device 102. The processor 104 is a CPU or a GPU (Graphics Processing Unit), or a CPU and a GPU, and executes functions related to the labeling device 10 in accordance with the program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network.
[0016] Fig. 3 is a diagram showing an example of a functional configuration of the labeling device 10 according to the embodiment of the present invention. In Fig. 3, the labeling device 10 includes a learning unit 11, a setting unit 12, and a labeling model 13. Each of these units is realized by a process executed by a processor 104 of one or more programs installed in the labeling device 10.
[0017] The label assignment model 13 is a model that receives as input a collection (hereinafter referred to as a "general-purpose monitoring data group") of monitoring data (hereinafter referred to as "general-purpose monitoring data") provided by a security vendor, and outputs a classification result of the monitoring data and a judgment result on whether the classification result is correct or incorrect. The classification result is output in the form of a label. A label is information that indicates the necessity of the general-purpose monitoring data to which the label is assigned and how to deal with it. The label assignment model 13 assigns a label as a classification result to the input general-purpose monitoring data.
[0018] The learning unit 11 causes the labeling model 13 to learn the correspondence between each piece of general-purpose monitoring data included in the general-purpose monitoring data group and the label for that general-purpose monitoring data. In this embodiment, initial learning and re-learning are performed as the learning of the labeling model 13. In the initial learning, labels for the general-purpose monitoring data used as learning training data are manually assigned by the user.
[0019] The setting unit 12 determines whether or not the monitoring data is necessary based on the label indicated by the classification result for the monitoring data, and sets the necessary monitoring data in the communication security monitoring device 20. The communication security monitoring device 20 is, for example, an IDS (Intrusion Detection System) or an IPS (Intrusion Prevention System). That is, the communication security monitoring device 20 monitors communication data based on the set monitoring data, detects (discovers) specific communication data corresponding to the monitoring data, and executes processing on the specific communication data according to the countermeasure indicated by the label attached to the monitoring data.
[0020] Fig. 4 is a diagram showing an example of a functional configuration of the labeling model 13. As shown in Fig. 4, the labeling model 13 includes three models: a classification estimation unit 131, a classification estimation process observation unit 132, and an error determination unit 133. Each of these units may be similar to the functional units of the same name described in Patent Document 2.
[0021] Specifically, the classification estimation unit 131 estimates the labels of the input general-purpose monitoring data and outputs the labels as classification results. The classification estimation unit 131 can be realized using artificial intelligence-related techniques such as SVM, neural networks, Bayesian networks, and decision trees.
[0022] The classification estimation process observation unit 132 observes the calculation process (estimation process) when the classification estimation unit 131 estimates the labels of the general-purpose monitoring data, acquires data of the estimation process, converts the data into a feature vector, and outputs the feature vector to the error determination unit 133.
[0023] For example, when the classification estimation unit 131 estimates labels using a neural network, the classification estimation process observation unit 132 may output values output from each node (activation function) of each intermediate layer and output layer of the neural network as a feature vector. For example, when the values of each node in the intermediate layer are 0.5, 0.4, and 0.7, and the values of each node in the output layer are 0.2, 0.7, and 0.1, the feature vector can be configured as [0.5 0.4 0.7 0.2 0.7 0.1].
[0024] Alternatively, when the classification estimation unit 131 estimates a label using a decision tree, the classification estimation process observation unit 132 observes the route by which the classification is determined and constructs a feature vector. For example, when a certain label is estimated through a route from node 1 to node 3 to node 6, the classification estimation process observation unit 132 may output [1 0 1 0 0 1 0 0 0] indicating the route as a feature vector. In this example, the subscripts of the elements of the vector correspond to the node numbers of the decision tree, and the feature vector is constructed such that if the node has been passed through, a 1 is entered in the element corresponding to the node, and if not, a 0 is entered.
[0025] Other examples of feature vectors are as disclosed in Patent Document 2.
[0026] The error determining unit 133 receives the feature vector from the classification estimation process observing unit 132, and determines whether the label estimated by the classification estimation unit 131 is "correct" or "incorrect" based on the feature vector.
[0027] There is no particular limitation on the method of configuring the error determination unit 133. For example, the error determination unit 133 can determine whether the label estimated by the classification estimation unit 131 is "correct" or "incorrect" by determining whether a specific value of a feature vector (particularly, a value of an output layer of a neural network or a vote number of a random forest) exceeds a threshold.
[0028] The error determination unit 133 may be configured with a model that is commonly used in the field of machine learning. For example, the error determination unit 133 can be configured with an SVM, a neural network, or the like. When using these models, the error determination unit 133 can be implemented by tuning the parameters of the model through supervised learning.
[0029] FIG. 5 is a diagram for explaining the initial learning of the label attachment model 13. As shown in FIG.
[0030] At the time of initial learning, there is no learning training data for training the label assignment model 13. Therefore, the learning unit 11 accepts input of labels from a user for all or some of a set of multiple general-purpose monitoring data (hereinafter referred to as "general-purpose monitoring data group X") provided by a security vendor during a predetermined period up to the time of initial learning, and generates, as learning training data, a labeled general-purpose monitoring data group X to which the input labels are assigned (S101). When the targets to which labels are assigned are limited to some of the general-purpose monitoring data, the part may be selected at random, for example.
[0031] Fig. 6 is a diagram showing an example of the configuration of labeled general-purpose monitoring data. One row in Fig. 6 shows labeled general-purpose monitoring data. One piece of labeled general-purpose monitoring data includes general-purpose monitoring data and a label. The general-purpose monitoring data is data that indicates characteristics of specific (e.g., malicious) communication data (threat data), and includes, for example, a protocol, a source address, a source port, a destination address, a destination port, and communication content data.
[0032] In this embodiment, the label value is "unnecessary", "save", "notify" or "block".
[0033] "Unnecessary" indicates that the general-purpose monitoring data to which the label is assigned is not necessary for the carrier.
[0034] "Save," "Notify," and "Block" are labels that are assigned to general monitoring data that is necessary for the telecommunications carrier. In other words, "Save," "Notify," and "Block" indicate that the general monitoring data to which the label is assigned is necessary for the telecommunications carrier, and also indicate how to deal with the discovery of communication data that corresponds to the general monitoring data.
[0035] "Store" indicates that the communication data is stored. "Notify" indicates that the detection of the communication data is notified to the communication carrier. "Block" indicates that the communication data is blocked.
[0036] For example, a telecommunications carrier, based on other information related to the general-purpose monitoring data (such as reports of cyber attacks or information about malfunctions within the carrier), selects whether or not each piece of general-purpose monitoring data included in general-purpose monitoring data group X is necessary, marks unnecessary general-purpose monitoring data as "unnecessary," and determines what action to take when communications data corresponding to necessary general-purpose monitoring data is discovered.
[0037] The setting unit 12 extracts general-purpose monitoring data to which a label other than "unnecessary" has been assigned (hereinafter referred to as "labeled individual monitoring data") from the labeled general-purpose monitoring data group X, and sets each labeled individual monitoring data in the communication security monitoring device 20 (S102). At this time, the setting unit 12 specifies a countermeasure to be taken when communication data corresponding to each labeled individual monitoring data is found, based on the label assigned to each labeled individual monitoring data, and sets the countermeasure in the communication security monitoring device 20.
[0038] On the other hand, the learning unit 11 learns the labeling model 13 using the labeled general-purpose monitoring data group X as learning training data (S103), thereby generating a trained labeling model 13a.
[0039] Next, operation using the trained labeling model 13a and re-training of the trained labeling model 13a will be described.
[0040] 7 is a diagram for explaining operation using the trained labeling model 13a and re-learning of the trained labeling model 13a. The re-learning is performed in parallel with the operation using the trained labeling model 13a.
[0041] 7 shows an example of operation and re-learning of the trained labeling model 13a when a new set of multiple general-purpose monitoring data (hereinafter, referred to as "general-purpose monitoring data group Y") is provided by a security vendor after the trained labeling model 13a is generated. Note that the general-purpose monitoring data group Y may include the general-purpose monitoring data group X or may be only new data.
[0042] First, each piece of general-purpose monitoring data included in the general-purpose monitoring data group Y is input to the trained labeling model 13a (S201). The trained labeling model 13a outputs, for each piece of general-purpose monitoring data, a label for the general-purpose monitoring data and a judgment result of whether the label is correct or not. The judgment result of whether the label is correct or not is "correct" or "incorrect." Hereinafter, a general-purpose monitoring data group related to a label whose judgment result of whether the label is correct is referred to as a "reliable labeled general-purpose monitoring data group Y (automatic)," and a general-purpose monitoring data group related to a label whose judgment result of whether the label is correct is referred to as an "uncertain labeled general-purpose monitoring data group Y." Note that "(automatic)" in "reliable labeled general-purpose monitoring data group Y (automatic)" is a convenient identification information for distinguishing it from a reliable labeled general-purpose monitoring data group Y (manual) which is generated manually by a user and will be described later.
[0043] The learning unit 11 accepts input of a correct label from the user for each piece of labeled general-purpose monitoring data included in the uncertainly labeled general-purpose monitoring data group Y, and corrects (replaces) the assigned label with the label input by the user (S202). As a result, the uncertainly labeled general-purpose monitoring data group Y becomes a reliable labeled general-purpose monitoring data group Y (manual). In other words, since the label is manually corrected by the user, labeled general-purpose monitoring data to which a correct label is assigned is generated.
[0044] The setting unit 12 extracts general-purpose monitoring data (hereinafter referred to as "labeled individual monitoring data") that has a label other than "unnecessary" from the group of reliably labeled general-purpose monitoring data Y (automatic) and the group of reliably labeled general-purpose monitoring data Y (manual), and sets each labeled individual monitoring data in the communication security monitoring device 20 (S203).
[0045] The learning unit 11 also retrains the labeling model 13 using the group Y of reliably labeled general-purpose monitoring data (automatic) and the group Y of reliably labeled general-purpose monitoring data (manual) as training data (S204). As a result, a retrained labeling model 13b is generated.
[0046] In addition, when the general-purpose monitoring data group Y includes the general-purpose monitoring data group X, the learned labeling model 13a can be retrained using the reliably labeled general-purpose monitoring data group Y based on these as training data. The greater the number of training data, the higher the learning effect and the higher the possibility of obtaining a correct result. Even if the general-purpose monitoring data group Y is only new data, new training data can be obtained. Retraining using new training data can be expected to improve the performance of the labeling model 13.
[0047] Thereafter, when a new set of general-purpose monitoring data is provided by a security vendor, operation is performed using the retrained labeling model 13b according to the same procedure as in FIG. 7, and retraining is performed on the retrained labeling model 13b.
[0048] Next, step S103 in Fig. 5 and step S204 in Fig. 7 will be described in detail. Fig. 8 is a diagram for explaining the learning procedure of the labeling model 13. The (labeled) general-purpose monitoring data group Z in Fig. 8 is the (labeled) general-purpose monitoring data group X in the case of Fig. 5, and is the (reliably labeled) general-purpose monitoring data group Y (automatic or manual) in the case of Fig. 7.
[0049] First, the learning unit 11 uses a group of labeled general-purpose monitoring data Z to cause the classification estimation unit 131 to learn the correspondence between the general-purpose monitoring data and the labels (S301).
[0050] Next, the learning unit 11 inputs the general-purpose monitoring data group Z to the trained classification estimation unit 131 (S302). The classification estimation unit 131 outputs a list of labels estimated for each general-purpose monitoring data included in the general-purpose monitoring data group Z (hereinafter referred to as an "estimated label list") (S303). At this time, the classification estimation process observation unit 132 acquires data on the label estimation process for each of the general-purpose monitoring data (S304), and outputs a feature vector for each of the data (S305).
[0051] Next, the learning unit 11 compares a list of correct labels (hereinafter referred to as the "correct label list") assigned to each labeled generalized monitoring data included in the labeled generalized monitoring data group Z with the estimated label list for each element of the list (i.e., for each label corresponding to the same generalized monitoring data), and generates a list indicating whether each label included in the estimated label list is correct or incorrect (hereinafter referred to as the "correct / incorrect list") (S306). The correct / incorrect list is a list of 1s or 0s, such as "1011...", where 0 indicates a correct label and 1 indicates an incorrect label.
[0052] Next, the learning unit 11 causes the error determining unit 133 to learn the correspondence between the list of feature vectors and the correct / incorrect list (S307). As a result, the error determining unit 133 has completed learning. The learning of the error determining unit 133 is also described in detail in Patent Document 2.
[0053] As described above, according to the present embodiment, the labeling model 13 can automatically label general-purpose monitoring data. As a result, the load of setting a method for dealing with the monitoring data can be reduced. Furthermore, by re-learning the labeling model 13, the classification accuracy can be improved.
[0054] In the present embodiment, the learning unit 11 is also an example of a re-learning unit.
[0055] Although the embodiment of the present invention has been described in detail above, the present invention is not limited to such specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0056] 10 Labeling device 11 Learning Department 12 Setting section 13 Labeling model 13a Pre-trained labeling model 13b Retrained labeling model 20. Communications security monitoring equipment 100 Drive device 101 Recording media 102 Auxiliary storage device 103 Memory device 104 processors 105 Interface device 131 Classification estimation part 132 Classification and Estimation Process Observation Unit 133 Error judgment unit B Bus
Claims
1. a learning unit that learns a model that receives a plurality of monitoring data, each of which indicates a characteristic of specific communication data, and outputs the label corresponding to the monitoring data, based on a first monitoring data group in which a label indicating whether the monitoring data is necessary and a method of dealing with the specific communication data is assigned to each of the plurality of monitoring data; a setting unit that sets monitoring data, which is labeled as being necessary among the first monitoring data group, in a monitoring device that monitors communication data based on the monitoring data; A label application device comprising:
2. the learning unit learns the model by receiving the monitoring data as an input and outputting the label corresponding to the monitoring data and a judgment result of whether the label is true or false; a re-learning unit that re-learns the model based on first labeled surveillance data in which a first label that indicates that the model is correct has been outputted from the surveillance data included in a second surveillance data group, and second labeled surveillance data in which a second label input by a user has been outputted from the surveillance data in which the label that the model has determined to be incorrect has been outputted; 2. The labeling device according to claim 1, further comprising:
3. the setting unit sets the first labeled monitoring data and the second labeled monitoring data in the monitoring device; 3. The labelling device according to claim 2.
4. a learning procedure for learning a model that inputs a plurality of monitoring data, each of which indicates a characteristic of specific communication data, based on a first monitoring data group in which a label indicating whether the monitoring data is necessary and a method of dealing with the specific communication data is assigned to the plurality of monitoring data, and the model outputs the label corresponding to the monitoring data; a setting step of setting monitoring data, which is labeled as being necessary among the first monitoring data group, in a monitoring device that monitors communication data based on the monitoring data; A labeling method characterized in that the above steps are executed by a computer.
5. the learning step includes learning the model using the monitoring data as input and outputting the label corresponding to the monitoring data and a judgment result of whether the label is true or false; a re-learning step of re-learning the model based on first labeled monitoring data in which a first label determined by the model to be correct has been assigned to the monitoring data in which a first label determined by the model to be correct has been output, among the monitoring data included in a second monitoring data group, and second labeled monitoring data in which a second label input by a user has been assigned to the monitoring data in which a label determined by the model to be incorrect has been output; 5. The labeling method according to claim 4, wherein the labeling method is executed by a computer.
6. the setting step includes setting the first labeled monitoring data and the second labeled monitoring data in the monitoring device; 6. The labeling method according to claim 5.
7. 7. A program for causing a computer to execute the labeling method according to claim 4.
Citation Information
Patent Citations
Security rule evaluation device and security rule evaluation system
JP2018077607A
Threat information evaluation device and threat information evaluation method and program
JP2019174988A
Error determination device, error determination method, and program
JP2020024513A
Determination method, information processing device and determination program
JP2020149090A
Error determination device, error determination method and program
JP2020160642A
