Monitoring device, monitoring method, and monitoring program

The monitoring device effectively addresses the ineffectiveness of conventional methods by generating features from sampled traffic to detect open ports and assess device status, enhancing monitoring efficiency and accuracy for Internet-connected devices.

WO2024209608A1PCT designated stage expired Publication Date: 2024-10-10NT T INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/014144
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-05
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

Conventional methods for monitoring Internet-connected devices using sampled traffic are ineffective due to coarse sampling, which fails to accurately detect open ports and potential vulnerabilities, leading to potential malware infections and unauthorized service exposure.

Method used

A monitoring device that generates features from sampled traffic data, determines the existence of open ports using rule-based and machine learning techniques, and assesses device status and malware infection by analyzing traffic patterns, enabling effective monitoring with limited resources.

Benefits of technology

The solution allows for detailed abnormality determination and efficient monitoring of devices using sampled traffic, improving processing efficiency and accurately detecting open ports and malware infections, even with incomplete TCP protocol traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023014144_10102024_PF_FP_ABST
    Figure JP2023014144_10102024_PF_FP_ABST
Patent Text Reader

Abstract

A monitoring device (10) includes a feature generation unit (11), an open port determination unit (12), an equipment state determination unit (13), and an infection determination unit (14). The feature generation unit (11) generates a feature of an equipment on the basis of sampled traffic, which is any one of traffic in a direction of transmission from the equipment and traffic in a direction of transmission to the equipment. The open port determination unit (12) determines, on the basis of the feature, whether or not an open port of the equipment exists. When an open port exists in the equipment, the equipment state determination unit (13) and the infection determination unit (14) determine a state regarding abnormality of the equipment on the basis of the feature.
Need to check novelty before this filing date? Find Prior Art

Description

Monitoring device, monitoring method, and monitoring program

[0001] The present invention relates to a monitoring device, a monitoring method, and a monitoring program.

[0002] Many devices, including IoT devices, are connected to the Internet, which allows users to provide and use various services.

[0003] On the other hand, in today's world where connecting to the Internet has become easy, users may not be aware that connected devices are inadvertently disclosing services or that the devices have vulnerabilities.

[0004] As a result, situations have arisen where devices connected to the Internet carelessly expose services, become infected with malware through attacks on vulnerabilities, or connect to suspicious destinations. To prevent such situations, it is necessary to monitor devices and take early action.

[0005] Conventionally, there is a method for monitoring devices, in which traffic information circulating on the Internet is passively analyzed to grasp the status of connected devices.

[0006] "Portscan Detection with Sampled NetFlow", [online], [Retrieved March 22, 2023], Internet (https: / / people.ac.upc.edu / pbarlet / papers / portscan-sampling.pdf)

[0007] However, the conventional techniques have a problem in that they may not be able to effectively monitor devices using sampled traffic.

[0008] For example, when passively collecting information about traffic circulating on the Internet, because the total amount of traffic is enormous, it is common to roughly sample and collect only packet headers.

[0009] Conventional methods rely on collecting traffic without missing any data, so coarse sampling is not sufficient for effective monitoring.

[0010] In order to solve the above-mentioned problems and achieve the objectives, the monitoring device is characterized by having a feature generation unit that generates features of the device based on sampled traffic, which is at least one of traffic sent from the device and traffic sent to the device, an open port determination unit that determines whether or not an open port exists in the device based on the features, and an abnormality determination unit that, if an open port exists in the device, determines an abnormality status of the device based on the features.

[0011] According to the present invention, it is possible to effectively monitor devices using sampled traffic.

[0012] FIG. 1 is a diagram showing an example of the configuration of a network system according to a first embodiment. FIG. 2 is a diagram showing an example of the configuration of a monitoring device according to the first embodiment. FIG. 3 is a diagram showing an example of a traffic record. FIG. 4 is a diagram showing an example of an outgoing traffic record. FIG. 5 is a diagram showing an example of an incoming traffic record. FIG. 6 is a flowchart showing the processing flow of the monitoring device according to the first embodiment. FIG. 7 is a diagram showing an example of the configuration of an open port determination unit according to a second embodiment. FIG. 8 is a diagram showing an example of the configuration of an equipment status determination unit according to the second embodiment. FIG. 9 is a diagram showing an example of a computer that executes a monitoring program.

[0013] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A monitoring device, a monitoring method, and a monitoring program according to the present invention will be described in detail below with reference to the accompanying drawings. However, the present invention is not limited to the following embodiments.

[0014] [Configuration of a network system according to the first embodiment] Fig. 1 is a diagram showing an example of the configuration of a network system according to the first embodiment. As shown in Fig. 1, the network system 1 includes a monitoring device 10, a device 21, a device 22, a device 23, and a device 24 connected to a network N. For example, the network N is the Internet.

[0015] The device 21 is a camera equipped with a communication function. The device 21 transmits captured images. The images transmitted by the device 21 are intended to be viewed only by the user of the device 22.

[0016] On the other hand, there are cases where the image transmitted by the device 21 can be viewed, unintentionally, from devices other than the device 22. This state is called service disclosure.

[0017] For example, if the device 21 has an open port, images may be acquired through the open port. Furthermore, the device 21 may be subject to attacks such as DDoS attacks and brute force attacks through the open port. Furthermore, the device 21 may be infected with malware through the open port.

[0018] The monitoring device 10 determines whether or not there is an open port in a device included in the network system 1. Furthermore, the monitoring device 10 determines whether or not there is an abnormality in a device that has an open port.

[0019] [Configuration of First Embodiment] The configuration of the monitoring device will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the configuration of the monitoring device according to the first embodiment.

[0020] 2, the monitoring device 10 includes a feature generation unit 11, an open port determination unit 12, a device state determination unit 13, an infection determination unit 14, and a display unit 15. The monitoring device 10 also stores a rule DB 16.

[0021] The feature generation unit 11 generates a feature of the device based on at least one of the sampled traffic, which is traffic sent from the device and traffic sent to the device.

[0022] The open port determining unit 12 determines whether or not the device has an open port based on the characteristics.

[0023] When an open port exists in a device, the device status determination unit 13 and the infection determination unit 14 determine the abnormality status of the device based on the characteristics. The device status determination unit 13 and the infection determination unit 14 are examples of an abnormality determination unit.

[0024] The display unit 15 displays on a screen the status of the device regarding an abnormality determined by the device status determination unit 13 and the infection determination unit 14. For example, the display unit 15 displays the IP address of the target device, and information indicating whether the device is under attack and whether the device is infected with malware.

[0025] The following describes in detail the operations of each step and each unit of the process executed by the monitoring device 10. Here, the monitoring device 10 performs each process on one of the devices included in the network system 1 (for example, the device 21).

[0026] 2, sampled traffic data is input to the monitoring device 10. The traffic data may be captures of sampled packets, header information of sampled packets, or flows of sampled packets.

[0027] Traffic data for honeypots (honeypot data) may be input to the monitoring device 10. A honeypot is a system that intentionally accepts unauthorized access from an attacker. A honeypot may be a device with an open port.

[0028] The feature generation unit 11 generates traffic features from the input traffic data. Here, it is assumed that the traffic data is input in a record format (traffic record) as shown in Fig. 3. Fig. 3 is a diagram showing an example of a traffic record.

[0029] Traffic is generated by the transmission and reception of one or more packets. As shown in Fig. 3, the traffic record includes the following items: "Time" which is the time or period when the traffic occurred, "SrcIP" which is the IP address of the source of the packet, "SrcPort" which is the port of the source of the packet, "DstIP" which is the IP address of the destination of the packet, "DstPort" which is the port of the destination of the packet, "Protocol" which indicates the protocol, "TCPFlag" which indicates the TCP protocol flag, "Packets" which indicates the number of packets, and "Bytes" which indicates the communication volume.

[0030] Each traffic record corresponds to a flow, which is statistical information about packets that share multiple items (source IP address, source port number, destination IP address, destination port number, protocol, etc.). However, each traffic record may correspond to a single packet.

[0031] The feature generation unit 11 extracts, from the input traffic records, traffic records corresponding to traffic sent from the target device and traffic sent to the target device, respectively. Here, the IP address of the target device is assumed to be "TA."

[0032] Figure 4 shows a traffic record for traffic sent from the target device, i.e., outgoing traffic. Figure 4 is a diagram showing an example of an outgoing traffic record. As shown in Figure 4, the traffic data for outgoing traffic all have the value "TA" for "SrcIP."

[0033] Figure 5 shows a traffic record for traffic sent to a target device, i.e., inbound (incoming) traffic. Figure 5 is a diagram showing an example of an incoming traffic record. As shown in Figure 5, the traffic data for incoming traffic all have a "DstIP" value of "TA."

[0034] Furthermore, there may be a plurality of target devices, in which case the feature generation unit 11 extracts outgoing direction traffic records and incoming direction traffic records for each of the target devices.

[0035] The feature generator 11 generates features for each of the outgoing and incoming directions, based on the presence of traffic records, filtering of values, and aggregation or calculation results. The feature generator 11 may also generate features that combine the features for the outgoing and incoming directions.

[0036] The feature generation unit 11 generates the following features. The feature generation unit 11 generates a numeric or binary (TRUE or FALSE) variable indicating each feature. Note that the features generated by the feature generation unit 11 are not limited to those included in the following examples.

[0037] (Features based on the existence of records) Incoming_srcport_80: A binary value indicating whether or not a traffic record exists with Incoming SrcPort set to 80. Incoming_srcport_80_tcpflag_ack: A binary value indicating whether or not a traffic record exists with Incoming SrcPort set to 80 and TCPFlag set to ACK.

[0038] (Features based on filter or aggregation results) Incoming_srcport_80_count: Number of traffic records for Incoming SrcPort 80. Incoming_srcport_80_rate: Rate of traffic records for Incoming SrcPort 80. Incoming_srcport_80_srcip_num: Number of SrcIP types in traffic records for Incoming SrcPort 80.

[0039] (Features based on calculation results) Incoming_bps: bps (bits per second) calculated from the incoming Byte, Packets, and Time values.

[0040] (Combination of Outgoing and Incoming characteristics) Incoming_Outgoing_byte_rate: Ratio of Incoming and Outgoing Byte values.

[0041] The open port determination unit 12 uses the features generated by the feature generation unit 11 to determine whether or not an open port exists in a device. If the rules stored in the rule DB 16 are satisfied, the open port determination unit 12 determines that an open port exists. Furthermore, "TP" is the port to be determined. Below, the conditional expressions are shown and each rule is explained. However, if only a variable is written in a conditional expression, it means that the variable (flag, etc.) is TRUE.

[0042] If there are traffic records for both the incoming and outgoing directions, the open port determining unit 12 makes a determination according to the following rules 1-1 to 1-5.

[0043] (Rule 1-1) There is a traffic record in which the outgoing SrcPort is TP and a SYN / ACK response (TCPFlag is SYN or ACK) is observed. Condition: Outgoing_SrcPort_TP_TCPFlag_SYNACK

[0044] (Rule 1-2) There is an incoming SYN communication addressed to port number TP, and an outgoing ACK response addressed to port number TP is observed. Conditional expression: Incoming_DstPort_TP_TCPFlag_SYN AND Outgoing_SrcPort_TP_Outgoing_TCPFlag_ACK

[0045] (Rule 1-3) In the incoming direction, ACK communications are observed from SrcIPs with a number equal to or greater than threshold T1 addressed to port number TP, and in the outgoing direction, ACK responses from port number TP are observed with DstIPs with a number equal to or greater than threshold T2. Conditional expression: Incoming_DstPort_TP_TCPFlag_ACK_srcip_num>T1 AND Outgoing_SrcPort_TP_TCPFlag_ACK_dstip_num>T2 In rule 1-3, in addition to srcip_num (total number of source IP addresses), byte_count (total bytes), packet_count (total packets), flow_count (number of records), etc. may also be used.

[0046] (Rule 1-4) The number of incoming traffic records destined for port number TP is greater than or equal to threshold T3, the number of outgoing records (number of flows) from port number TP is greater than or equal to T4, and the usage rate of port TP is greater than or equal to threshold T5. Conditional expression: Incoming_DstPort_TP_flow_num>T3 AND Outgoing_SrcPort_TP_flow_num>T4 AND Outgoing_SrcPort_TP_rate>T5 Rule 1-4 is valid when TCPFlag does not exist (when a protocol other than TCP, such as UDP, is used).

[0047] The open port determination unit 12 can determine whether a port is open even if the sampled traffic does not include response traffic conforming to the TCP protocol from the device's IP address, or even if there is traffic of a protocol other than the TCP protocol that has the device's IP address as the source or destination (destination).

[0048] (Rule 1-5) The number of outgoing flows is equal to or greater than threshold T6, the outgoing SrcPort TP is not a dynamic port, the outgoing DstPort is a dynamic port, and the proportion of port numbers TP is equal to or greater than threshold T7. Conditional expression: Outgoing_flow_count>T6 AND Outgoing_SrcPort_TP_NOT_DynamicPort AND Outgoing_DstPort_IS_DynamicPort AND Outgoing_SrcPort_TP_rate>T7 Rule 1-5 becomes more effective the higher the sampling rate when sampling traffic.

[0049] If only incoming traffic records exist, the open port determining unit 12 makes a determination according to the following rule 2-1: Note that the conditional expression in parentheses is optional and may not be used.

[0050] (Rule 2-1) The number of incoming flows is equal to or greater than the threshold T8, the TCP Flag of the incoming flow whose Destination Port is TP contains both SYN and TCP, and the ratio of port numbers TP is equal to or greater than the threshold T9. Condition: Incoming_flow_count > Threshold T10 AND Incoming_DstPort_TP_TCPFlag_SYN AND Incoming_DstPort_TP_TCPFlag_ACK AND Incoming_DstPort_TP_rate > Threshold T11 (AND Outgoing_flow_count = 0)

[0051] If only outgoing traffic records exist, the open port determining unit 12 makes a determination according to the following rule 3-1: Note that the conditional expression in parentheses is optional and may not be used.

[0052] (Rule 3-1) The number of outgoing flows is equal to or greater than the threshold T12, the TCP Flag of the outgoing flow whose SrcPort is TP contains both SYN and ACK, and the ratio of port number TP is equal to or greater than the threshold T13. Condition: Outgoing_flow_count>T12 AND Outgoing_SrcPort_TP_TCPFlag_SYN AND Outgoing_SrcPort_TP_TCPFlag_ACK AND Outgoing_SrcPort_TP_rate>T13 (AND Incoming_flow_count=0)

[0053] Rules 2-1 and 3-1 are effective when asymmetric routing exists or when the observation point is unable to collect traffic data for both the incoming and outgoing directions due to its circumstances.

[0054] In this way, the open port determination unit 12 can determine whether a port is an open port even if there is only traffic sent from the device's IP address or traffic sent to the device's IP address.

[0055] When the open port determination unit 12 determines that an open port exists in a device, the open port determination unit 12 may actually send a scan packet to the port determined to be an open port to determine whether the port is an open port, thereby enabling the open port determination unit 12 to more reliably determine whether the port is an open port.

[0056] Note that a method of actually scanning all ports to determine whether they are open ports requires a great deal of resources (such as processing time).By combining rule-based determination and determination through actual scanning, the open port determination unit 12 can make highly accurate determinations using limited resources.

[0057] [Device Status Determination] The device status determination unit 13 determines whether an attack is being carried out on the device based on the characteristics of traffic that is sent to the device and that is generated by accessing an open port.

[0058] The device state determination unit 13 determines whether the target device is under attack or not according to the following rules 4-1 and 4-2.

[0059] (Rule 4-1) When the bps of incoming traffic to an open port is equal to or greater than the threshold T31, the device state determination unit 13 determines that persistent scanning has been performed over a long period of time and that an attack such as a vulnerability attack or a brute force attack is being performed. Conditional formula: Incoming_DstPort_OP_bps>threshold T31

[0060] (Rule 4-2) If the amount of incoming traffic over a short period is equal to or greater than the threshold T31, the device status determination unit 13 determines that the device is the target of a DDoS attack. Note that the device status determination unit 13 may add a condition that the proportion of outgoing traffic is equal to or greater than the threshold T32, for example, and determine that the device is the target of a DDoS attack if the amount of incoming traffic is relatively large compared to the proportion of outgoing traffic. Conditional formula: Incoming_DstPort_OP_bps>T31 (AND Incoming_Outgoing_byte_rate>T32)

[0061] If the short-term traffic volume in the outgoing direction is equal to or greater than the threshold T33, the device status determination unit 13 determines that the device is being used as a springboard for a DDoS attack. Note that the device status determination unit 13 may add a condition that the traffic ratio in the incoming direction is equal to or greater than the threshold T34, for example, and determine that the device is being used as a springboard for a DDoS attack if the traffic volume in the outgoing direction is relatively large compared to the traffic ratio in the incoming direction. Conditional formula: Outgoing_SrcPort_OP_bps>T33 (AND Outgoing_Incoming_byte_rate>T34)

[0062] [Infection Determination] When it is determined that an attack is being carried out on a device, the infection determination unit 14 determines whether or not the device is infected with malware.

[0063] If the sampled traffic contains traffic that has the device's IP address as its source and is destined for an IP address in a pre-specified block (for example, the IP address of a suspicious server suspected of being malicious), the infection determination unit 14 determines that the device is infected with malware.

[0064] Even if a device communicates with a malicious IP address, it does not necessarily mean that the device is infected with malware. For example, the device may only be subject to scans, vulnerability attacks, or DDoS attacks from a malicious IP address, but may not be infected.

[0065] The infection determination unit 14 can determine whether or not a device is infected with malware by focusing on callbacks from malicious IP addresses through rule-based determination according to the following rules 5-1 to 5-4.

[0066] (Rule 5-1) If traffic data with TCPFlag=SYN is present in the outgoing direction of MA, which is a malicious IP address, the infection determination unit 14 determines that the device is infected. The infection determination unit 14 may also add a condition that the IP address of the device is not operating as a scanner (the rate of TCPFlag=SYN in the outgoing direction is less than the threshold T41). Condition formula: Outgoing_DstIP_MA_TCPFlag_SYN (AND Outgoing_TCP_Flag_SYN_rate <T41)

[0067] (Rule 5-2) If there is traffic data with TCPFlag=SYN or ACK from the malicious IP address MA (incoming direction), the infection determination unit 14 determines that the device is infected. In addition, the infection determination unit 14 may add a condition that the malicious IP address is not performing a SYN / ACK scan (the rate at which TCPFlags addressed to the malicious IP address in the outgoing direction exist is less than the threshold T42). Conditional formula: Incoming_SrcIP_MA_TCPFlag_SYNACK (AND Outgoing_SrcIP_MA_TCPFlag_rate <T42)

[0068] (Rule 5-3) If the number of traffic records with TCPFlag=ACK for both the device IP address TA and the malicious IP address MA is greater than the thresholds (T43, T44), the infection determination unit 14 determines that the device is infected. Conditional formula: Outgoing_DstIP_MA_TCPFlag_ACK_flow_num>T43 AND Incoming_SrcIP_MA_TCPFlag_ACK_flow_num>T44

[0069] (Rule 5-4) If the amount of communication between the device's IP address TA and the malicious IP address MA is greater than the thresholds (T45, T46), the infection determination unit 14 determines that the device is infected. This is because it is considered that not only a connection attempt but also actual data transmission and reception has occurred. Conditional formula: Outgoing_DstIP_MA_Bytes>T45 OR Incoming_SrcIP_MA_Bytes>T46

[0070] The flow of processing by the monitoring device 10 will be described with reference to Fig. 6. Fig. 6 is a flowchart showing the flow of processing by the monitoring device according to the first embodiment.

[0071] As shown in FIG. 6, first, the monitoring device 10 generates features of the sampled traffic data (step S101).

[0072] Next, the monitoring device 10 determines whether or not the target device has an open port based on the characteristics (step S102).

[0073] If no open port exists (step S103, No), the monitoring device 10 outputs the determination result (step S107). In this case, the monitoring device 10 outputs information notifying that no open port exists.

[0074] If an open port exists (Yes at step S103), the monitoring apparatus 10 determines whether the target device is under attack based on the characteristics (step S104).

[0075] If the monitoring device 10 determines that the target device is not under attack (No at step S105), the monitoring device 10 outputs the determination result (step S107). In this case, the monitoring device 10 outputs information to notify the target device that an open port exists but that the target device is not under attack.

[0076] If the monitoring device 10 determines that the target device is under attack (Yes in step S105), the monitoring device 10 determines whether the target device is infected with malware based on the characteristics (step S106), and then outputs the results of each determination (step S107).

[0077] [Effects of the First Embodiment] As described above, the monitoring device 10 includes a feature generation unit 11, an open port determination unit 12, a device status determination unit 13, and an infection determination unit 14. The feature generation unit 11 generates device features based on sampled traffic, which is at least one of traffic sent from the device and traffic sent to the device. The open port determination unit 12 determines whether or not the device has an open port based on the features. If the device has an open port, the device status determination unit 13 and the infection determination unit 14 determine the abnormality status of the device based on the features.

[0078] In this way, the monitoring device 10 determines open ports based on traffic characteristics. This allows the monitoring device 10 to perform more detailed abnormality determinations for devices suspected of having open ports based on limited traffic information obtained through sampling. As a result, the monitoring device 10 can effectively monitor devices using the sampled traffic.

[0079] The open port determination unit 12 determines whether or not an open port exists on the device when the sampled traffic does not contain any response traffic conforming to the TCP protocol from the device's IP address, when there is traffic of a protocol other than the TCP protocol with the device's IP address as the source or destination, or when there is only traffic sent from the device's IP address or traffic sent to the device's IP address.

[0080] This allows the monitoring device 10 to determine whether a port is open even when there is insufficient TCP protocol traffic or when only outgoing or incoming traffic is available.

[0081] The device state determination unit 13 determines whether an attack is being carried out on the device based on the characteristics of traffic that is sent to the device and that is generated by accessing an open port.

[0082] In this way, the monitoring device 10 can improve the efficiency of processing by determining the presence of the previous open port and determining whether an attack has occurred on a device suspected of having an open port.

[0083] If it is determined that an attack is being carried out on the device, the infection determination unit 14 determines whether the device is infected with malware. For example, if the sampled traffic contains traffic whose source is the IP address of the device and whose destination is an IP address in a pre-specified block, the infection determination unit 14 determines that the device is infected with malware.

[0084] In this way, the monitoring device 10 can make the process more efficient by determining whether or not a previous attack has been carried out before determining whether or not there is an infection.

[0085] Second Embodiment In the first embodiment, the monitoring device 10 determines the presence of an open port and whether a device is under attack using a rule-based method, whereas in the second embodiment, the monitoring device 10 determines the presence of an open port and whether a device is under attack using a machine learning method.

[0086] Fig. 7 is a diagram illustrating an example of the configuration of the open port determiner 12 according to the second embodiment. As illustrated in Fig. 7, the open port determiner 12 includes a learning unit 121, detection model information 122, a detection unit 123, and an extraction unit 124.

[0087] The detection model information 122 is information for constructing a detection model, which is a machine learning model for detecting anomalies. Here, the detection model is, for example, a one-class SVM, an isolation forest, etc. The detection model information 122 is parameters for constructing the detection model.

[0088] The learning unit 121 learns the detection model using the characteristics of a device that is known to have an open port or the characteristics of a device that is known to have no open port. The learning unit 121 updates the detection model information 122 through learning.

[0089] The detection unit 123 inputs the traffic characteristics of a device for which it is unknown whether or not an open port exists into a detection model constructed based on the detection model information 122, and obtains an anomaly detection result. The anomaly detection result is whether or not an open port exists.

[0090] When the detection model detects the presence of an open port, the extraction unit 124 extracts a port number from the features that contributed to the detection. For example, the detection model uses the features generated by the feature generation unit 11 as explanatory variables. At this time, the extraction unit 124 identifies the feature with the highest contribution rate among the features related to the source port number in the outgoing direction (for example, features whose variable name includes "Outgoing_SrcPort"). Then, the extraction unit 124 extracts the port number based on the identified feature.

[0091] For example, if the extraction unit 124 identifies a feature called "Outgoing_SrcPort_TP_TCPFlag_SYNACK," it extracts port numbers that satisfy the conditions for this feature. In this case, the extraction unit 124 extracts source ports for outgoing traffic records whose TCP Flag is SYN or ACK.

[0092] Fig. 8 is a diagram showing an example of the configuration of the device state determination unit according to the second embodiment. As shown in Fig. 8, the device state determination unit 13 includes a learning unit 131, determination model information 132, and a determination unit 133.

[0093] The judgment model information 132 is information for constructing a judgment model, which is a machine learning model for making a judgment. Here, the judgment model makes two-pattern judgments, success or failure, and therefore may be a model similar to a detection model for detecting anomalies (for example, one-class SVM, isolation forest, etc.). The judgment model information 132 is parameters for constructing the judgment model.

[0094] The learning unit 131 learns the judgment model using traffic data when login to the honeypot was possible (when the vulnerability attack was successful) and traffic data when login to the honeypot was impossible (when the vulnerability attack failed). The learning unit 131 updates the judgment model information 132 through learning.

[0095] The determination unit 133 inputs the characteristics of traffic from a device for which it is unknown whether it is under attack or whether the attack was successful or unsuccessful into a determination model constructed based on the determination model information 132, and obtains a determination result. The determination result indicates whether the device is under attack or not.

[0096] In this way, the device status determination unit 13 can determine whether the sampled traffic has successfully attacked the device by using a machine learning model that has learned the characteristics of traffic that has resulted in successful attacks on honeypots and the characteristics of traffic that has resulted in unsuccessful attacks on honeypots.

[0097] [System Configuration, etc.] The components of each device shown in the figure are conceptual functional units and do not necessarily have to be physically configured as shown. 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 part of the devices can be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc. Furthermore, all or any part of the processing functions performed by each device can be realized by a CPU (Central Processing Unit) and a program analyzed and executed by the CPU, or can be realized as hardware using wired logic. The program may be executed not only by the CPU but also by other processors such as a GPU.

[0098] Furthermore, among the processes described in this embodiment, 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 using 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 as desired unless otherwise specified.

[0099] [Program] In one embodiment, the monitoring device 10 can be implemented by installing a monitoring program that executes the above-described collection process as package software or online software on a desired computer. For example, by executing the above-described monitoring program on an information processing device, the information processing device can function as the monitoring device 10. The information processing device referred to here includes desktop and notebook personal computers. Other information processing devices also include mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone Systems), as well as slate terminals such as PDAs (Personal Digital Assistants).

[0100] The monitoring device 10 can also be implemented as a scan server that provides the above-described scan processing services to clients, with user terminal devices serving as clients. For example, the scan server is implemented as a server that receives seed information and IPv4 statistical information and outputs scan results. In this case, the scan server may be implemented as a web server or as a cloud that provides the above-described scan processing services through outsourcing.

[0101] 9 is a diagram showing an example of a computer that executes a monitoring 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.

[0102] 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 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.

[0103] 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 the processes of the monitoring device 10 are implemented as program modules 1093 in which computer-executable code is 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 monitoring device 10 are stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

[0104] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads 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 the processing of the above-described embodiment.

[0105] The program module 1093 and program data 1094 may not necessarily be stored in the hard disk drive 1090, but may also be stored in a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or a wide area network (WAN)). The program module 1093 and program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070.

[0106] N Network 1 Network system 10 Monitoring device 11 Feature generation unit 12 Open port determination unit 13 Device state determination unit 14 Infection determination unit 15 Display unit 16 Rule DB 121, 131 Learning unit 122 Detection model information 123 Detection unit 124 Extraction unit 132 Determination model information 133 Determination unit

Claims

1. A monitoring device comprising: a feature generation unit that generates features of a device based on sampled traffic, the feature being at least one of traffic sent from the device and traffic sent to the device; an open port determination unit that determines whether or not an open port exists on the device based on the features; and an abnormality determination unit that, if an open port exists on the device, determines an abnormality status of the device based on the features.

2. The monitoring device described in claim 1, characterized in that the open port determination unit determines whether or not an open port exists on the device when the sampled traffic does not contain any response traffic conforming to the TCP protocol from the IP address of the device, when there is traffic of a protocol other than the TCP protocol with the IP address of the device as the source or destination, or when there is only traffic sent from the IP address of the device or traffic sent to the IP address of the device.

3. The monitoring device described in claim 1, characterized in that the abnormality determination unit determines whether or not an attack is being carried out on the device based on the characteristics of traffic sent to the device and generated by access to the open port.

4. The monitoring device according to claim 3, characterized in that, when it is determined that an attack is being made against the device, the abnormality determination unit determines whether the device is infected with malware.

5. The monitoring device described in claim 4, characterized in that the abnormality determination unit determines that the device is infected with malware when the sampled traffic contains traffic that has the IP address of the device as its source and is destined for an IP address in a pre-specified block.

6. The monitoring device described in claim 1, characterized in that the anomaly determination unit determines whether the sampled traffic has succeeded in attacking the equipment using a machine learning model that has learned the characteristics of traffic that has resulted in successful attacks on honeypots and the characteristics of traffic that has resulted in unsuccessful attacks on honeypots.

7. A monitoring method executed by a monitoring device, comprising: a feature generation step of generating features of the device based on sampled traffic, the feature being at least one of traffic sent from the device and traffic sent to the device; an open port determination step of determining whether or not an open port exists in the device based on the features; and, if an open port exists in the device, an abnormality determination step of determining an abnormality-related state of the device based on the features.

8. A monitoring program that causes a computer to execute the following steps: a feature generation step for generating features of the device based on sampled traffic, the feature being at least one of traffic sent from the device and traffic sent to the device; an open port determination step for determining whether or not an open port exists on the device based on the features; and an abnormality determination step for determining an abnormality-related status of the device based on the features if an open port exists on the device.

Citation Information

Patent Citations

  • Risk port detection method and device, equipment and medium

    CN112995152A

  • Real-time detection of malicious activity through collaborative filtering

    US20200314119A1