Labeling device, labeling method, and program
The labeling device automates the sorting and labeling of IDS/IPS monitoring data, addressing the challenge of handling vast amounts of general-purpose data and improving communication performance by reducing setup burdens.
Patent Information
- Application Number
- JP2023514283
- 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
Carriers face significant effort in sorting through vast amounts of general-purpose monitoring data from security vendors and setting up individual response methods for IDS/IPS, leading to communication performance deterioration.
A labeling device that divides monitoring data into groups based on characteristics, selects relevant data, and uses a learning model to assign labels, reducing the burden of setting work and improving data handling efficiency.
The solution reduces the burden of setting work for monitoring data and enhances communication performance by automating the labeling process, allowing for more efficient handling of IDS/IPS data.
Smart Images

Figure 0007544259000002 
Figure 0007544259000007 
Figure 0007544259000001
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 monitoring data is configured with how to respond when detected (save / notify / block, etc.), and the IDS / IPS responds according to the settings.
[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 result in 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 an object of the present invention is 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 first division unit that divides a first plurality of monitoring data, each of which indicates a characteristic of specific communication data, into a plurality of groups based on the respective characteristics; a selection unit that selects a portion of the monitoring data from each of the groups; and a learning unit that learns a model that takes the monitoring data as input and outputs the label corresponding to the monitoring data, based on the monitoring data selected by the selection unit and a label that indicates a method of dealing with the specific communication data, which has been input for the monitoring data. Effect of the Invention
[0011] This reduces the burden of setting up methods for dealing with monitoring 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. 2 is a diagram illustrating an example of the configuration of 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, a labeling model 13, and a grouping unit 14. 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 grouping unit 14 divides (classifies) a plurality of general-purpose monitoring data into a plurality of groups based on the characteristics of each of the general-purpose monitoring data. The grouping unit 14 also selects, from each group, general-purpose monitoring data to which a user is to assign a label (i.e., general-purpose monitoring data to be used as learning training data). 。
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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].
[0025] 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.
[0026] Other examples of feature vectors are as disclosed in Patent Document 2.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] FIG. 5 is a diagram for explaining the initial learning of the label attachment model 13. As shown in FIG.
[0031] At the time of initial learning, there is no learning training data for training the label assignment model 13. Therefore, the grouping unit 14 divides (classifies) a set of multiple general-purpose monitoring data provided by a security vendor during a predetermined period up to the time of initial learning (hereinafter referred to as "general-purpose monitoring data group X") into multiple groups based on the characteristics of each general-purpose monitoring data, and selects a portion of the general-purpose monitoring data from each group (S101). Hereinafter, the set of general-purpose monitoring data selected from each group is referred to as "representative data group X'".
[0032] FIG. 6 is a diagram showing an example of the configuration of general-purpose monitoring data. One line in FIG. 6 shows general-purpose monitoring data. The general-purpose monitoring data is data showing the 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. The values of these items can be said to be data showing the characteristics of the general-purpose monitoring data. Therefore, the grouping unit 14 classifies the general-purpose monitoring data group X into a plurality of groups based on the values of these items, and selects representative data from each group. Note that FIG. 6 shows that reference information is attached to each general-purpose monitoring data. The reference information is not used for automatic detection of threat data or division of general-purpose monitoring data into groups, but is information that is used as a reference when a communication carrier selects general-purpose monitoring data necessary for itself and determines a method of dealing with the general-purpose monitoring data. The reference information includes, for example, information on reports of cyber attacks (such as what malicious acts were performed by this threat data), information on malfunctions within the carrier (such as what damage occurred), etc. In this embodiment, the reference information is used as information that serves as a reference for labeling the general-purpose monitoring data, which will be described later.
[0033] The grouping by the grouping unit 14 may be performed using unsupervised machine learning. For example, the grouping may be performed by clustering. The number of representative data selected from each group (cluster) may be a fixed number such as one, or may be a predetermined ratio to the number of general-purpose monitoring data in each group. In the latter case, a relatively large number of representative data is selected from a group to which a relatively large number of general-purpose monitoring data groups belong. The selection of which general-purpose monitoring data is to be the representative data may be performed randomly or based on a predetermined rule. Examples of the predetermined rule include selecting the representative data at regular intervals in the sorting order of the general-purpose monitoring data in each group, selecting the first general-purpose monitoring data when each group is equally divided, and so on.
[0034] Next, the learning unit 11 accepts label input from the user for each representative data (general-purpose monitoring data) included in the representative data group X', and generates a labeled representative data group X' to which the input labels are assigned as learning training data (S102).
[0035] In this embodiment, the label value is "unnecessary", "save", "notify" or "block".
[0036] "Unnecessary" indicates that the general-purpose monitoring data to which the label is assigned is not necessary for the carrier.
[0037] "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.
[0038] "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.
[0039] For example, based on reference information regarding each representative data, the telecommunications carrier selects whether each general-purpose monitoring data included in the representative data group X' is necessary, marks unnecessary representative data as "unnecessary," and determines what action to take when necessary representative data is discovered that corresponds to that representative data.
[0040] In step S102, the learning unit 11 may output the reference information of each general-purpose monitoring data classified into the group to which each representative data belongs to, to the user by group. The output may be realized, for example, by displaying on a display device. In this way, the user can overview the reference information of similar general-purpose monitoring data for each group, and can easily assign labels of appropriate countermeasures corresponding to the system conditions.
[0041] In addition, since the representative data group X' is a result of extracting a portion of the general-purpose monitoring data group X, the workload of labeling by the user can be reduced.
[0042] Next, the learning unit 11 learns the labeling model 13 using the labeled representative data group X' as learning training data (S103), resulting in the generation of a trained labeling model 13a.
[0043] Next, operation using the trained labeling model 13a and re-training of the trained labeling model 13a will be described.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] Next, the grouping unit 14 divides (classifies) the group Y of general-purpose monitoring data with uncertain labels into multiple groups (clusters) based on the characteristics of each general-purpose monitoring data, and outputs the group division results (grouped group Y of general-purpose monitoring data with uncertain labels) (S202).
[0048] Next, the learning unit 11 accepts an 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 (S203). As a result, the uncertainly labeled general-purpose monitoring data group Y becomes a reliable labeled general-purpose monitoring data group Y (manual). That is, the label is manually corrected by the user, and labeled general-purpose monitoring data to which a correct label is assigned is generated. Note that, when the label is input by the user, the learning unit 11 may output reference information of each general-purpose monitoring data belonging to each group for the uncertainly labeled general-purpose monitoring data group Y. In this way, the user can overview the reference information of similar general-purpose monitoring data for each group, and can easily assign a label of an appropriate countermeasure corresponding to the system conditions.
[0049] 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 (S204).
[0050] The learning unit 11 also retrains the labeling model 13 using the reliably labeled general-purpose monitoring data group Y (automatic) and the reliably labeled general-purpose monitoring data group Y (manual) as training data (S205). As a result, the retrained labeling model 13b is generated. At this time, if the general-purpose monitoring data group Y does not include the general-purpose monitoring data group X, the labeled representative data group X' may be further added to the training data.
[0051] 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.
[0052] 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.
[0053] Next, step S103 in Fig. 5 and step S205 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 a (labeled) representative data group X' in the case of Fig. 5, and is a (reliably labeled) general-purpose monitoring data group Y (automatic or manual) in the case of Fig. 7.
[0054] 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).
[0055] 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).
[0056] 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.
[0057] 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.
[0058] As described above, according to the present embodiment, the grouping unit 14 can narrow down the general-purpose monitoring data to which the user manually assigns a label. As a result, the load of the work of setting a method of dealing with the monitoring data can be reduced. In addition, the label assignment model 13 can automatically assign a label to the general-purpose monitoring data. Furthermore, by re-learning the label assignment model 13, the classification accuracy can be improved.
[0059] In this embodiment, the grouping unit 14 is an example of a first division unit, a second division unit, and a selection unit. The learning unit 11 is also an example of a re-learning unit.
[0060] 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]
[0061] 10 Labeling device 11 Learning Department 12 Setting section 13 Labeling model 14 Grouping Section 20. Communications security monitoring equipment 100 Drive device 101 Recording media 102 Auxiliary storage 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 first division unit that divides a first plurality of monitoring data, each of which indicates a characteristic of specific communication data, into a plurality of groups based on each characteristic; a selection unit for selecting a portion of the monitoring data from each of the groups; a learning unit that learns a model that uses the monitoring data selected by the selection unit and a label that indicates a method of dealing with the specific communication data and that is input for the monitoring data, and outputs the label that corresponds to 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 second plurality of surveillance data, 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. a second division unit that divides the plurality of pieces of surveillance data, to which the labels determined by the model to be erroneous are output, into a plurality of groups based on respective features; the re-learning unit outputs, for each group divided by the second division unit, information serving as a reference for labeling the monitoring data belonging to the group to a user who inputs the second label.
3. The labelling device according to claim 2.
4. a first division step of dividing a first plurality of monitoring data, each of which indicates a characteristic of a particular communication data, into a plurality of groups based on the respective characteristics; a selection step for selecting a portion of the monitoring data from each of the groups; a learning step of learning a model that inputs the monitoring data and outputs the label corresponding to the monitoring data, based on the monitoring data selected in the selection step and a label that indicates a method of dealing with the specific communication data and that is input for 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 to be correct by the model has been outputted from among the second plurality of monitoring data, and second labeled monitoring data in which a second label inputted by a user has been outputted from the monitoring data in which the label determined to be incorrect by the model has been outputted; 5. The labeling method according to claim 4, wherein the labeling method is executed by a computer.
6. A second division step is performed by the computer to divide the plurality of monitoring data for which the label determined to be erroneous by the model is output into a plurality of groups based on the respective features; The re-learning step outputs, for each group divided in the second division step, information serving as a reference for labeling the monitoring data belonging to the group to a user who inputs the second label.
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
