Analytical device, analytical system, analytical method, and analytical program

The network traffic sensor clusters and calculates an average model for IoT devices, addressing inappropriate model updates and temporary behavior changes, enhancing anomaly detection efficiency and reducing machine load.

JP7533753B2Active Publication Date: 2024-08-14NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023500242
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-18
Publication Date
2024-08-14
Estimated Expiration
2041-02-18

AI Technical Summary

Technical Problem

Conventional IoT device communication anomaly detection systems face challenges in updating normal communication models appropriately, leading to over-detection and failure in learning due to temporary changes in communication behavior, which can increase machine load and risk misclassification.

Method used

A network traffic sensor that clusters normal communication models, calculates an average model for the majority cluster, and notifies sensors of model appropriateness, allowing for dynamic updates based on clustering results.

Benefits of technology

Enables accurate and efficient application of appropriate normal communication models, reducing over-detection and improving learning resilience to temporary changes, while minimizing machine load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533753000012
    Figure 0007533753000012
  • Figure 0007533753000010
    Figure 0007533753000010
  • Figure 0007533753000003
    Figure 0007533753000003
Patent Text Reader

Abstract

A server (100) acquires normal communication models from a sensor (20) which monitors communications of an IoT device. The server (100) then clusters the acquired normal communication models into normal communication model groups with the same device type and same feature value values. Then, the server (100) uses the clustering results, calculates a majority cluster, which is the cluster with the highest the number of normal communication models, and calculates an average model of the normal communication model group belonging to the majority cluster. Further, the server (100) notifies the sensor (20), from which the normal communication models were acquired, of the average model and of assignment information that indicates whether or not said normal communication models belong to the majority cluster.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an analysis device, an analysis system, an analysis method, and an analysis program. [Background technology]

[0002] Conventionally, technologies have been proposed to detect anomalies in communication of IoT (Internet of Things) devices. For example, a network traffic sensor (hereinafter, abbreviated as sensor) learns a normal communication model that indicates normal communication using features such as the number of packets sent and the number of destination IP addresses in communication from an IoT device. Then, the sensor uses the learned normal communication model to detect abnormal communication behavior caused by, for example, malware infection of an IoT device.

[0003] In learning this normal communication model, various feature quantities during normal communication are learned for each model of target IoT device using normal distribution. For example, the sensor starts learning the normal communication model using various feature quantities of the IoT device's communication, and when it determines that the communication behavior has stabilized, it ends learning the normal communication model (see Patent Document 1). Then, the sensor uses the learned normal communication model to detect anomalies in the IoT device's communication. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-213103 A Summary of the Invention [Problem to be solved by the invention]

[0005] Conventionally, when a sensor detects an anomaly in communication with an IoT device based on a normal communication model, the sensor investigates the detection alert information. If the detected communication turns out to be normal, the sensor administrator updates the normal communication model to prevent the recurrence of false positives.

[0006] In such cases, it may be difficult for the administrator to determine whether or not to update the normal communication model based on the detection alert information alone. As a result, the administrator may not be able to properly update the normal communication model, which may result in a recurrence of false positives.

[0007] Furthermore, in the conventional technology, among the features of communication data, those whose temporal increase and decrease are stable can be used to train a normal communication model. However, even if a feature can be used to train a normal communication model, if a temporary change in communication behavior occurs during the training period due to user operation or the like, the normal communication model cannot be trained. In this case, measures such as excluding the feature from monitoring and re-training the normal communication model are required.

[0008] Possible solutions to these problems include, for example, lengthening the learning time of the normal communication model or observing as many communication behaviors as possible when learning the normal communication model. However, the above methods have a high risk of learning abnormal communication behaviors as well. Another problem is that the learning process increases the load on the machine.

[0009] Therefore, an object of the present invention is to solve the above-mentioned problems and to support the application of an appropriate normal communication model in a sensor. [Means for solving the problem]

[0010] In order to solve the above-mentioned problems, the present invention is characterized by comprising an acquisition unit that acquires, from each network traffic sensor monitoring communication of an IoT (Internet of Things) device, a normal communication model that indicates characteristics of normal communication of the IoT device and is used for monitoring the communication; a calculation unit that clusters a group of normal communication models related to the same feature value from the acquired group of normal communication models, calculates a majority cluster that is the cluster with the largest number of normal communication models using the clustering result, and calculates an average model of the group of normal communication models belonging to the majority cluster; and a notification unit that notifies the network traffic sensor from which the normal communication model was acquired of attribution information indicating whether the normal communication model belongs to the majority cluster and the average model. Effect of the Invention

[0011] According to the present invention, it is possible to assist in applying an appropriate normal communication model in a sensor. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram illustrating an overview of a system including an analysis device (server) of this embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a configuration of a server. [Diagram 3] FIG. 3 is a diagram illustrating an example of the configuration of a sensor. [Figure 4] FIG. 4 is a diagram for explaining the generation of normal communication models and the definition of the difference between normal communication models. [Diagram 5] FIG. 5 is a diagram for explaining success and failure in learning of the normal communication model. [Figure 6] FIG. 6 is a diagram illustrating an example of a processing procedure of the learning phase of the system in a case where the sensor has successfully learned the normal communication model. [Figure 7] FIG. 7 is a diagram illustrating an example of a processing procedure of the learning phase of the system when the sensor fails to learn the normal communication model. [Figure 8] FIG. 8 is a diagram illustrating an example of a processing procedure in the operation phase of the system. [Figure 9] FIG. 9 is a diagram illustrating an example of a processing procedure of the learning phase of the system in a case where the sensor has successfully learned the normal communication model. [Figure 10] FIG. 10 is a diagram illustrating an example of a processing procedure of the learning phase of the system when the sensor fails to learn the normal communication model. [Figure 11] FIG. 11 is a diagram illustrating an example of a processing procedure in the operation phase of the system. [Figure 12] FIG. 12 is a diagram illustrating an example of the configuration of a computer that executes an analysis program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, a mode (embodiment) for carrying out the present invention will be described with reference to the drawings. The present invention is not limited to the embodiment described below.

[0014] [overview] First, an overview of an analysis system including an analysis device (server) of this embodiment will be described with reference to Fig. 1. The analysis system (system) 1 includes a plurality of network traffic sensors (sensors) 20 and a server 100.

[0015] The sensor 20 has a normal communication model that indicates the characteristics of normal communication for each model and feature of an IoT (Internet of Things) device. Note that the feature used in the normal communication model is, for example, the number of packets sent per unit time, the number of destination IP addresses, the port number, the number of bytes of a packet, etc., in communication of an IoT device.

[0016] The sensor 20, for example, learns a normal communication model for each communication feature of each model of the IoT device to be monitored, and uses the learned normal communication model to monitor whether the communication of the IoT device to be monitored is normal or not.

[0017] The sensor 20, for example, learns a normal communication model regarding the number of destination IPs (number of destination IP addresses) in communication with an IoT device of model A, and uses the learned normal communication model to monitor whether communication with the IoT device of model A is normal or not.

[0018] The server 100 acquires normal communication models of IoT devices from each of the sensors 20. Then, the server 100 clusters the acquired normal communication models such that similar models belong to the same cluster.

[0019] For example, the server 100 clusters the acquired normal communication models related to the number of destination IP addresses of IoT devices of model A into clusters 1, 2, and 3 as shown in Fig. 1. Then, the server 100 calculates the cluster (majority cluster) to which the largest number of normal communication models belong among these clusters.

[0020] Thereafter, the server 100 notifies each of the sensors 20 from which the normal communication model was obtained whether or not the normal communication model obtained from that sensor 20 belongs to the majority cluster.

[0021] Furthermore, the server 100 calculates an average model of the group of normal communication models belonging to the majority cluster, and notifies each of the sensors 20 of the calculated average model.

[0022] In this way, the server 100 can notify each sensor 20 of whether the normal communication model held in the sensor 20 is appropriate. Also, the server 100 can notify each sensor 20 of an appropriate normal communication model.

[0023] [Configuration example] [server] Next, a configuration example of the server 100 will be described with reference to Fig. 2. The server 100 includes a communication unit 110, a storage unit 120, and a control unit 130. The communication unit 110 is an interface for performing data communication with an external device (for example, a sensor 20) via a network.

[0024] The storage unit 120 stores data referred to when the control unit 130 executes various processes and data generated by the control unit 130. For example, the storage unit 120 stores normal communication models acquired from each sensor 20 and cluster information (information indicating the results of clustering a group of normal communication models, majority clusters, etc.) generated by the control unit 130. In addition, for example, the storage unit 120 stores, for each sensor 20, information on the normal communication model applied by that sensor 20.

[0025] The control unit 130 is responsible for overall control of the server 100. The control unit 130 includes an acquisition unit 131, a calculation unit 132, a determination unit 133, and a notification unit 134.

[0026] The acquisition unit 131 acquires, from the sensor 20, a normal communication model used by the sensor 20 to monitor communication of an IoT device.

[0027] The normal communication model, for example, as indicated by reference numeral 401 in “(2) Generation of normal communication model” in FIG. 4, indicates a statistical value of the appearance frequency of the number of transmitted packets per unit time in an IoT device.

[0028] The normal communication model may include, for example, as shown in reference numeral 402, information such as identification information of the model of the target IoT device, features used to calculate the statistical value (e.g., src_pkts (number of sent IP packets)), distribution type of the statistical value (e.g., normal (normal distribution)), parameters (e.g., mean value and standard deviation), etc.

[0029] Returning to the description of Fig. 2, the calculation unit 132 clusters a group of normal communication models related to the same model and the same feature amount among the normal communication models acquired by the acquisition unit 131. For example, when a new normal communication model is acquired by the acquisition unit 131, the calculation unit 132 clusters a group of normal communication models related to the same model and the same feature amount as the normal communication model, including the normal communication model.

[0030] Then, the calculation unit 132 calculates a majority cluster, which is a cluster having the largest number of normal communication models, based on the result of the clustering. The calculation unit 132 also calculates an average model of the normal communication models belonging to the majority cluster. For example, the calculation unit 132 calculates a normal communication model corresponding to the center of gravity of the normal communication models belonging to the majority cluster as the average model.

[0031] When the calculation unit 132 performs clustering of the normal communication models, for example, KL divergence is used. For example, as shown in "(3) Definition of Difference Between Normal Communication Models" in Fig. 4, the calculation unit 132 compares a normal communication model called p(x) with a normal communication model called q(x) using KL div (KL divergence, see formula (1)). Then, the calculation unit 132 performs clustering so that similar normal communication models belong to the same cluster.

[0032]

number

[0033] Furthermore, when the acquisition unit 131 acquires a normal communication model after parameter update from the sensor 20, the calculation unit 132 re-clusters a group of normal communication models related to the same feature amount as the feature amount of the normal communication model, including the normal communication model after parameter update.The calculation unit 132 then re-calculates the majority cluster using the result of the above clustering.The calculation unit 132 also re-calculates an average model of the group of normal communication models belonging to the majority cluster after recalculation.

[0034] Returning to the description of Fig. 2, the determination unit 133 determines whether or not the normal communication model acquired by the acquisition unit 131 belongs to the majority cluster calculated by the calculation unit 132. Furthermore, the notification unit 134 notifies the sensor 20 from which the normal communication model was acquired of information indicating the result of the determination by the determination unit 133 (information on belonging to the majority cluster) and the average model of the group of normal communication models belonging to the majority cluster calculated by the calculation unit 132.

[0035] Furthermore, when the calculation unit 132 recalculates the majority cluster, the determination unit 133 determines whether or not each of the normal communication models acquired from each sensor 20 belongs to the recalculated majority cluster. Then, when the determination unit 133 determines that any of the normal communication models does not belong to the recalculated majority cluster, the notification unit 134 notifies the sensor 20 from which the normal communication model was acquired that the normal communication model is out of the majority cluster and of the recalculated average model.

[0036] [Sensor] Next, a configuration example of the sensor 20 will be described with reference to Fig. 3. The sensor 20 includes a communication unit 21, a storage unit 22, and a control unit 23. The communication unit 21 is an interface for performing data communication with an external device (e.g., an IoT device or a server 100) via a network.

[0037] The storage unit 22 stores data referred to when the control unit 23 executes various processes and data generated by the control unit 23. For example, the storage unit 22 stores a normal communication model generated by the control unit 23 and an average model received from the server 100.

[0038] The control unit 23 includes a learning unit 231 , a monitoring unit 232 , a transmitting / receiving unit 233 , a determining unit 234 , and a model management unit 235 .

[0039] The learning unit 231 learns a normal communication model based on the feature quantities (e.g., the number of packets transmitted per time, the IP address of the communication destination, the port number, the number of bytes of the packet, etc.) of the communication data of the IoT device to be monitored acquired via the communication unit 21. The learned normal communication model is stored in the storage unit 22.

[0040] An example of learning a normal communication model will be described with reference to Fig. 4. Here, for example, a case of learning (generating) a normal communication model regarding the number of transmitted packets of an IoT device of model A will be described.

[0041] First, the learning unit 231 counts the statistical amount of communication data of the IoT device of model A ((1)). For example, the learning unit 231 counts the number of packets transmitted by the IoT device of model A per unit time.

[0042] Next, the learning unit 231 generates a normal communication model based on the count result of the statistical amount of communication data of the IoT device of model A obtained in (1) ((2)). For example, the learning unit 231 obtains a statistical value of the appearance frequency of the number of transmitted packets per hour based on the number of transmitted packets per hour of the IoT device of model A obtained in (1), and generates normal communication models indicated by reference numerals 401 and 402.

[0043] Note that the learning unit 231 may fail to learn the normal communication model. For example, if a temporary change occurs in the communication behavior during the learning period of the normal communication model, the learning unit 231 may not be able to learn the normal communication model. In other words, the learning unit 231 may fail to learn the normal communication model. In that case, the transmitting / receiving unit 233 notifies the server 100 that the sensor 20 has failed to learn the normal communication model.

[0044] Returning to the description of Fig. 3, the monitoring unit 232 monitors the communication of the IoT device to be monitored using the normal communication model or the average model in the storage unit 22. For example, the monitoring unit 232 monitors whether the communication of the IoT device to be monitored is normal or not using the normal communication model. Note that when monitoring the communication of the IoT device, the monitoring unit 232 may monitor using a combination of the normal communication model and an abnormal communication model (a model that indicates the characteristics of abnormal communication).

[0045] The transmitting / receiving unit 233 transmits and receives various data to and from the server 100. For example, when the learning unit 231 learns a new normal communication model or when parameters of the normal communication model are updated, the transmitting / receiving unit 233 transmits the new normal communication model or the normal communication model after the parameters are updated to the server 100.

[0046] Furthermore, when the learning unit 231 fails to learn the normal communication model, the transmission / reception unit 233 transmits information to that effect to the server 100. The information is, for example, information indicating which model of IoT device and which feature amount the learning unit 231 failed to learn the normal communication model for.

[0047] Furthermore, the transmitting / receiving unit 233 receives a notification (majority cluster membership information) of whether or not the normal communication model being applied to its own sensor 20 belongs to the majority cluster from the server 100. Furthermore, the transmitting / receiving unit 233 receives from the server 100 an average model of the normal communication models belonging to the majority cluster.

[0048] The determination unit 234 determines, based on the majority cluster membership information received from the server 100, whether or not to change the normal communication model currently being applied to the sensor 20 of its own.

[0049] For example, if the attribution information indicates that the normal communication model learned by the sensor 20 (i.e., the normal communication model currently being applied) belongs to the majority cluster, the judgment unit 234 judges that the currently applied normal communication model should be applied as is.

[0050] On the other hand, for example, when the belonging information indicates that the applied normal communication model does not belong to the majority cluster, the normal communication model is updated or the average model received from the server 100 is applied. Whether to update the normal communication model or apply the average model is determined by, for example, an instruction input by an administrator of the sensor 20.

[0051] The model management unit 235 manages the normal communication model applied by the monitoring unit 232. For example, when an instruction to update the normal communication model is input from the administrator of the sensor 20 via the communication unit 21, the model management unit 235 makes the learning unit 231 re-learn the normal communication model. Then, the model management unit 235 changes the normal communication model applied by the monitoring unit 232 to the re-learned normal communication model.

[0052] Furthermore, for example, when an instruction to apply the average model of the normal communication model is input from an administrator of the sensor 20 via the communication unit 21, the model management unit 235 changes the normal communication model applied by the monitoring unit 232 to the average model.

[0053] [On success and failure in learning] Here, the success and failure of learning the normal communication model in the learning unit 231 will be described with reference to Fig. 5. Here, the case where the feature used in learning the normal communication model is the number of destination IP addresses per time in communication of an IoT device will be described as an example. Also, in the learned normal communication model, the feature value will be described as having a normal distribution.

[0054] For example, the learning unit 231 connects to an IoT device of model A ((1): device connection), and learns a normal communication model based on the feature amount of the communication data of the IoT device ((2): learning). Here, if the value of the cumulative number of destination IP addresses per time in the communication of the IoT device fits, for example, the fitting curve shown in (2), the learning unit 231 can generate a normal communication model ((3): generation of normal communication model). In other words, the learning unit 231 succeeds in learning the normal communication model.

[0055] On the other hand, if the value of the cumulative number of destination IP addresses per time in the communication of the IoT device does not fit, for example, the fitting curve shown in (2) of Fig. 5, the learning unit 231 cannot generate a normal communication model. In other words, the learning unit 231 fails to learn the normal communication model.

[0056] [Example of processing procedure] [overview] Next, an example of the processing procedure of the system 1 will be described. The processing procedure of the system 1 is divided into (1) a learning phase and (2) an operation phase. (1) The learning phase is, for example, a phase in which a new sensor 20 is added to the system 1, and a normal communication model learned in the sensor 20 is added to the server 100. (2) The operation phase is a phase in which a normal communication model is updated in an existing sensor 20 in the system 1, and the updated normal communication model is added to the server 100.

[0057] [Learning phase (if learning of the normal communication model is successful)] First, an example of the processing procedure of the system 1 in the (1) learning phase will be described with reference to Fig. 6. Here, an example of the processing procedure of the system 1 in the case where the sensor 20 has succeeded in learning the normal communication model will be described.

[0058] (1) The sensor 20 acquires communication data of an IoT device (IoT device of model A).

[0059] (2) The sensor 20 performs statistical processing of the features of the acquired communication data, thereby learning a normal communication model of the number of packets transmitted by the IoT device of model A.

[0060] (3) When the sensor 20 succeeds in learning the normal communication model, the sensor 20 transmits the learned normal communication model (model to be determined) to the server 100.

[0061] (4) The server 100 clusters the normal communication model group of the number of packets transmitted by the IoT device of model A, including the judgment target model transmitted from the sensor 20. Then, the server 100 calculates a majority cluster using the clustering result, and calculates an average model of the normal communication model group belonging to the majority cluster.

[0062] (5) Depending on the result of the clustering of the normal communication models, the server 100 notifies the sensor 20 of the following:

[0063] (5-a) When the server 100 determines that the model to be judged belongs to the majority cluster, the server 100 notifies the sensor 20 from which the model to be judged was acquired of the attribution information indicating that the model to be judged belongs to the majority cluster. The server 100 also notifies the sensor 20 of the average model of the majority cluster.

[0064] This allows the administrator of the sensor 20 to confirm that there is no problem with the application of the normal communication model learned by the sensor 20.

[0065] (5-b) If the server 100 determines that the model to be judged does not belong to the majority cluster, it notifies the sensor 20 from which the model to be judged was obtained of attribution information indicating that the model to be judged does not belong to the majority cluster.

[0066] This allows the administrator of the sensor 20 to know whether the normal communication model learned by the sensor 20 is appropriate or not. Furthermore, when the normal communication model learned by the sensor 20 is not appropriate, the sensor 20 can acquire an appropriate normal communication model (average model).

[0067] [Learning phase (if the normal communication model fails)] Next, an example of a processing procedure of the system 1 when the sensor 20 fails to learn the normal communication model in the (1) learning phase will be described with reference to FIG.

[0068] (1) The sensor 20 acquires communication data of an IoT device (IoT device of model A).

[0069] (2) The sensor 20 performs statistical processing of the features of the acquired communication data, thereby learning a normal communication model of the number of packets transmitted by the IoT device of model A.

[0070] (3) When the sensor 20 fails to learn the normal communication model, the sensor 20 transmits information to the server 100 indicating that the learning of the normal communication model has failed. For example, the information indicates that the learning of the normal communication model regarding the number of transmitted packets of the IoT device of model A has failed.

[0071] (4) The server 100 clusters the normal communication models of the number of packets transmitted by the IoT device of model A, calculates a majority cluster using the clustering results, and calculates an average model of the normal communication models belonging to the majority cluster.

[0072] (5) The server 100 transmits the average model calculated in (4) to the sensor 20. This allows the sensor 20 to acquire an appropriate normal communication model (average model) even if the sensor 20 fails to learn the normal communication model.

[0073] [Operation Phase] Next, an example of a processing procedure of the system 1 in the (2) operation phase will be described with reference to Fig. 8. Here, a case will be described where the sensor 20B shown in Fig. 8 updates a parameter of a normal communication model of the number of transmitted packets of an IoT device of model A.

[0074] (1) The sensor 20B updates the parameters of the normal communication model of the number of packets transmitted by the IoT device of model A.

[0075] (2) The sensor 20B transmits the updated normal communication model to the server 100.

[0076] (3) The server 100 re-clusters the normal communication model group of the number of transmitted packets of the IoT device of model A, including the updated normal communication model transmitted from the sensor 20B. The server 100 also uses the clustering result to re-calculate the majority cluster, and re-calculate the average model of the normal communication model group belonging to the majority cluster.

[0077] (4) When the recalculation of the majority cluster results in a normal communication model being outside the majority cluster, the server 100 notifies the sensor 20 (e.g., sensor 20A) from which the normal communication model was obtained that the normal communication model has deviated from the majority cluster. The server 100 also notifies the sensor 20 (e.g., sensor 20A) from which the normal communication model was obtained of the calculated average model of the majority cluster. The notification that the normal communication model has deviated from the majority cluster may include information indicating to what extent the normal communication model has deviated from the majority cluster.

[0078] This allows the administrator of the sensor 20 to know whether the normal communication model learned by the sensor 20 has become inappropriate. In addition, when the normal communication model learned by the sensor 20 has become inappropriate, an appropriate normal communication model (average model) can be acquired.

[0079] [Example of processing procedure] [detail] Next, an example of a processing procedure of the system 1 will be described in detail with reference to FIGS.

[0080] [Learning phase (if learning of the normal communication model is successful)] An example of a processing procedure of the learning phase in a case where the sensor 20 has succeeded in learning the normal communication model will be described with reference to FIG.

[0081] First, when the sensor 20 connects to the device A (the IoT device to be monitored) (S10), the learning unit 231 learns the normal communication model (S11). When the sensor 20 completes learning the normal communication model, it determines whether or not to permit cooperation with the server 100 (S12). For example, when the sensor 20 receives an input from the administrator of the sensor 20 indicating that cooperation with the server 100 is permitted, it determines that cooperation with the server 100 is permitted (Yes in S12). Then, the transmitting / receiving unit 233 of the sensor 20 transmits authentication information of the server 100 and the normal communication model learned in S11 to the server 100 (S13).

[0082] On the other hand, for example, when the sensor 20 does not receive an input from the administrator of the sensor 20 to permit cooperation with the server 100, it determines that cooperation with the server 100 is not permitted (No in S12). In this case, the learning unit 231 of the sensor 20, for example, learns the normal communication model by the sensor 20 alone (S24).

[0083] After S13, when the acquisition unit 131 of the server 100 receives the server authentication information and the normal communication model from the sensor 20, it registers the cooperation permission information of the sensor 20 in the storage unit 120 (S14). Then, the calculation unit 132 of the server 100 clusters the normal communication models including the normal communication model transmitted in S13 (S15). Furthermore, the calculation unit 132 uses the clustering result to calculate a majority cluster and calculates an average model of the majority cluster. Furthermore, the determination unit 133 determines whether the normal communication model transmitted in S13 belongs to the majority cluster.

[0084] After S15, the notification unit 134 of the server 100 transmits the result of the judgment by the judgment unit 133 (information on the belonging of the normal communication model to the majority cluster) and the average model to the sensor 20 that transmitted the normal communication model in S13 (S16).

[0085] After S16, the transmitter / receiver 233 of the sensor 20 receives the majority cluster membership information and the average model related to the normal communication model transmitted in S13 from the server 100 (S17: Acquire information from server). After that, the determination unit 234 determines whether or not to use the average model based on the majority cluster membership information received in S17 (S18).

[0086] For example, if the majority cluster membership information indicates that the normal communication model sent in S13 does not belong to the majority cluster, the determination unit 234 determines to use the average model (Yes in S18). Then, the model management unit 235 changes the normal communication model applied by the monitoring unit 232 to the average model (S19: Apply average model). Then, the process proceeds to S21.

[0087] On the other hand, for example, when the information on belonging to the majority cluster indicates that the normal communication model belongs to the majority cluster, the determination unit 234 determines not to use the average model (No in S18). Then, the model management unit 235 sets the normal communication model applied by the monitoring unit 232 to the normal communication model learned in S11 (S20: Apply learned normal communication model). Then, proceed to S21.

[0088] In S21, the transmitting / receiving unit 233 transmits application information of the normal communication model to the server 100 (S21). The application information of the normal communication model is, for example, information indicating whether the normal communication model learned by the sensor 20 is to be applied or whether the average model is to be applied in the sensor 20. Note that, when the sensor 20 applies the normal communication model learned by the sensor 20, the sensor 20 transmits the normal communication model application information including the learned normal communication model.

[0089] After S21, the acquisition unit 131 of the server 100 updates the normal communication model information (information indicating the normal communication model applied by each sensor 20) in the storage unit 120 based on the application information of the normal communication model transmitted from the sensor 20 in S21 (S22). Then, the process proceeds to S41 in Fig. 11. The process of S41 in Fig. 11 will be described later.

[0090] By the system 1 performing the above processing, the administrator of the sensor 20 can know whether the normal communication model learned by the sensor 20 is appropriate or not. Furthermore, if the normal communication model learned by the sensor 20 is not appropriate, an appropriate normal communication model (average model) can be acquired.

[0091] [Learning phase (if learning of the normal communication model fails)] Next, an example of a processing procedure of the learning phase in a case where the sensor 20 fails to learn the normal communication model will be described with reference to FIG.

[0092] First, when the sensor 20 connects to device A (a monitoring target IoT device) (S30), the learning unit 231 learns a normal communication model (S31). If the sensor 20 fails to learn the normal communication model, the sensor 20 determines whether or not to permit cooperation with the server 100 (S32). For example, when the sensor 20 receives an input from the administrator of the sensor 20 indicating that cooperation with the server 100 is permitted, the sensor 20 determines that cooperation with the server 100 is permitted (Yes in S32).

[0093] Then, the transmitter / receiver 233 of the sensor 20 transmits the authentication information of the server 100 and learning failure information of the normal communication model (information indicating that learning of the normal communication model has failed) to the server 100 (S33). As described above, the learning failure information of the normal communication model is information indicating which model of IoT device and for which feature amount learning of the normal communication model has failed.

[0094] On the other hand, for example, if the sensor 20 does not receive an input from the administrator of the sensor 20 to permit cooperation with the server 100, it determines that cooperation with the server 100 is not permitted (No in S32). Then, the sensor 20 performs anomaly detection of the IoT device, for example, by another means (S40).

[0095] After S33, when the acquisition unit 131 of the server 100 receives the server authentication information and the normal communication model from the sensor 20, it registers the cooperation permission information of the sensor 20 in the storage unit 120 (S34). After that, the notification unit 134 reads out from the storage unit 120 the average model of the normal communication model of the model and feature amounts indicated in the learning failure information of the normal communication model, and transmits it to the sensor 20 (S35).

[0096] After S35, the transmitting / receiving unit 233 of the sensor 20 receives the average model from the server 100 (S36: Obtain information from server). Thereafter, the model management unit 235 applies the average model received in S36 as a normal communication model to be used by the monitoring unit 232 (S37). Then, the transmitting / receiving unit 233 transmits application information of the normal communication model to the server 100 (S38).

[0097] After S38, the acquisition unit 131 of the server 100 updates the normal communication model information in the storage unit 120 based on the application information of the normal communication model transmitted from the sensor 20 in S38 (S39). Then, the process proceeds to S41 in Fig. 11. The process of S41 in Fig. 11 will be described later.

[0098] By performing the above processing, the system 1 can acquire an appropriate normal communication model (average model) even if the sensor 20 fails to learn the normal communication model.

[0099] [Operation Phase] An example of a processing procedure in the operation phase will be described with reference to Fig. 11. First, when the server 100 detects that a parameter of a normal communication model has been changed in the sensor 20 under its control (S41), the calculation unit 132 re-clusters the normal communication models (S42).

[0100] For example, when the acquisition unit 131 of the server 100 receives a normal communication model after parameter update from any of the sensors 20, the calculation unit 132 re-clusters a group of normal communication models related to the same model and the same feature amount as the updated normal communication model, including the updated normal communication model. Then, the calculation unit 132 uses the clustering result to re-calculate the majority cluster. Furthermore, the calculation unit 132 re-calculates the average model of the majority cluster.

[0101] After S42, the determination unit 133 of the server 100 determines whether or not there is a normal communication model outside the majority cluster as a result of the process of S42 (S43). Here, if the determination unit 133 determines that there is no normal communication model outside the majority cluster (No in S43), the process returns to S41.

[0102] On the other hand, if the determination unit 133 determines that there is a normal communication model that is out of the majority cluster (Yes in S43), the notification unit 134 transmits the belonging information to the majority cluster and the average model to the sensor 20 that is the transmission source of the normal communication model that is out of the majority cluster (S44). Then, the process proceeds to S45.

[0103] The majority cluster belonging information transmitted in S44 is information indicating that the normal communication model applied to the sensor 20 is out of the majority cluster. The majority cluster belonging information may also include a value indicating how far the normal communication model is out of the majority cluster. The processes of S45 to S50 are similar to the processes of S17 to S22 in FIG. 9, and therefore will not be described.

[0104] By the system 1 performing the above process, the administrator of the sensor 20 can know whether or not the normal communication model learned by the sensor 20 is no longer appropriate. Furthermore, when the normal communication model learned by the sensor 20 is no longer appropriate, the sensor 20 can acquire an appropriate normal communication model (average model).

[0105] [Other embodiments] In the above-described embodiment, the server 100 notifies the sensor 20 from which the normal communication model was obtained of the majority cluster membership information and the average model, regardless of whether the normal communication model belongs to the majority cluster or not, but this is not limited to the above.

[0106] For example, the notification unit 134 of the server 100 may notify the sensor 20 from which a normal communication model belonging to the majority cluster has been obtained of the majority cluster membership information, and may notify the sensor 20 from which a normal communication model not belonging to the majority cluster has been obtained of the majority cluster membership information and the average model. In other words, the notification unit 134 of the server 100 may not notify the sensor 20 from which a normal communication model belonging to the majority cluster has been obtained of the average model.

[0107] In addition, the notification unit 134 of the server 100 is notified of the majority cluster membership information to the sensor 20, but is not limited to this. For example, the notification unit 134 may notify the sensor 20 that if the normal communication model learned by the sensor 20 belongs to the majority cluster, there is no problem in applying the normal communication model, and if the normal communication model does not belong to the majority cluster, it may notify the sensor 20 that relearning or updating of the normal communication model is necessary.

[0108] [System configuration, etc.] In addition, each component of each unit shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of it can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. Furthermore, each processing function performed by each device can be realized in whole or in part by a CPU and a program executed by the CPU, or can be realized as hardware using wired logic.

[0109] Furthermore, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.

[0110] [program] The server 100 can be implemented by installing a program as package software or online software on a desired computer. For example, the program can be executed by an information processing device, causing the information processing device to function as the server 100. The information processing device here includes desktop or notebook personal computers. In addition, the information processing device also includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone System), and further terminals such as PDA (Personal Digital Assistant), etc.

[0111] The server 100 can also be implemented as a server device that provides services related to the above-mentioned processes to a client, the client being a terminal device used by a user. In this case, the server device may be implemented as a Web server, or may be implemented as a cloud that provides services related to the above-mentioned processes by outsourcing.

[0112] 12 is a diagram showing an example of a computer that executes an analysis program. The computer 1000 includes, for example, a memory 1010 and a CPU 1020. The computer 1000 also includes 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.

[0113] The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.

[0114] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the programs that define each process executed by the above-mentioned server 100 are implemented as program modules 1093 in which computer-executable codes are written. The program modules 1093 are stored, for example, in the hard disk drive 1090. For example, the program modules 1093 for executing processes similar to those of the functional configuration of the server 100 are stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

[0115] Data used in the processing of the above-described embodiment is stored as program data 1094 in, for example, the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary and executes them.

[0116] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070. [Explanation of symbols]

[0117] 1 System 20 Sensors 21,110 Communications Department 22,120 storage unit 23,130 Control section 100 Servers 131 Acquisition Department 132 Calculation section 133,234 Judgment section 134 Notification Department 231 Learning Department 232 Monitoring Department 233 Transmitter / Receiver 235 Model Management Department

Claims

1. An acquisition unit that acquires, from each network traffic sensor that monitors communication of an IoT device, a normal communication model that indicates characteristics of normal communication of the IoT device and is used for monitoring the communication; A calculation unit that performs clustering of normal communication models related to the same feature amount among the acquired normal communication models, calculates a majority cluster which is a cluster having the largest number of normal communication models using a result of the clustering, and calculates an average model of the normal communication models belonging to the majority cluster; a notification unit that notifies a network traffic sensor from which the normal communication model is obtained of the average model and belonging information indicating whether the normal communication model belongs to the majority cluster; An analytical device comprising:

2. The notification unit is The attribution information is notified to a network traffic sensor that has acquired a normal communication model belonging to the majority cluster, and the attribution information and the average model are notified to a network traffic sensor that has acquired a normal communication model not belonging to the majority cluster.

2. The analysis device according to claim 1 .

3. When the acquisition unit acquires the normal communication model after parameter update from the network traffic sensor, The calculation unit is re-clustering a group of normal communication models having the same feature quantities as the feature quantities of the normal communication model, including the normal communication model after the parameter update, to recalculate the majority cluster, and recalculate an average model of the group of normal communication models belonging to the majority cluster after the recalculation; The notification unit is If any of the normal communication models falls outside the majority cluster after recalculation, the network traffic sensor from which the normal communication model was obtained is notified of attribution information indicating that the normal communication model falls outside the majority cluster and the recalculated average model.

2. The analysis device according to claim 1 .

4. When the acquisition unit acquires a notification from the network traffic sensor that learning of a normal communication model of an IoT device has failed, The notification unit is Notifying the network traffic sensor of an average model of a majority cluster of normal communication models related to the same feature as the feature of the normal communication model that failed to learn.

2. The analysis device according to claim 1 .

5. The feature amount is In the communication of an IoT device, at least one of the following is included: the number of packets sent per unit time, the number of destination IP addresses, the number of destination port numbers, and the number of bytes of packets.

2. The analysis device according to claim 1 .

6. An analysis system including a network traffic sensor and an analysis device that analyzes a normal communication model learned in the network traffic sensor, The network traffic sensor includes: A learning unit that learns a normal communication model that indicates characteristics of normal communication of an IoT device; a monitoring unit that monitors communication of the IoT device using the learned normal communication model or the normal communication model notified from the analysis device; The analysis device comprises: An acquisition unit that acquires, from each network traffic sensor that monitors communication of an IoT device, a normal communication model that indicates characteristics of normal communication of the IoT device and is used for monitoring the communication; A calculation unit that performs clustering of normal communication models related to the same feature amount among the acquired normal communication models, calculates a majority cluster which is a cluster having the largest number of normal communication models using a result of the clustering, and calculates an average model of the normal communication models belonging to the majority cluster; a notification unit that notifies a network traffic sensor from which the normal communication model is obtained of the average model and belonging information indicating whether the normal communication model belongs to the majority cluster; An analysis system comprising:

7. An analytical method performed by an analytical device, comprising: A step of acquiring, from each network traffic sensor that monitors communication of an Internet of Things (IoT) device, a normal communication model that is used for monitoring the communication and indicates characteristics of normal communication of the IoT device; A step of clustering a group of normal communication models related to the same feature amount from the acquired group of normal communication models, calculating a majority cluster which is a cluster having the largest number of normal communication models using a result of the clustering, and calculating an average model of the group of normal communication models belonging to the majority cluster; notifying a network traffic sensor from which the normal communication model is obtained of the average model and belonging information indicating whether the normal communication model belongs to the majority cluster; An analytical method comprising the steps of:

8. A step of acquiring, from each network traffic sensor that monitors communication of an Internet of Things (IoT) device, a normal communication model that is used for monitoring the communication and indicates characteristics of normal communication of the IoT device; A step of clustering a group of normal communication models related to the same feature amount from the acquired group of normal communication models, calculating a majority cluster which is a cluster having the largest number of normal communication models using a result of the clustering, and calculating an average model of the group of normal communication models belonging to the majority cluster; notifying a network traffic sensor from which the normal communication model is obtained of the average model and belonging information indicating whether the normal communication model belongs to the majority cluster; An analysis program for running the above on a computer.

Citation Information

Patent Citations

  • Abnormality detection system and abnormality detection method

    JP2015108898A

  • Determination device, determination method, and determination program

    JP2019213103A

  • Plant monitoring model creation device, plant monitoring model creation method, and plant monitoring model creation program

    JP2020187616A

  • Control device, control method, and control program

    WO2020250319A1