Secure component, device, anomaly detection method, device protection method, and anomaly detection model generation method
A tamper-resistant anomaly detection model within a secure component on IoT devices addresses performance reduction and attacker exposure issues, providing effective malware protection through real-time detection.
Patent Information
- Application Number
- JP2023043421
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
AI Technical Summary
Existing anti-malware technologies, when installed on devices like IoT devices with limited processing power, can reduce device performance and expose malware detection mechanisms to attackers, making them vulnerable.
A secure component with an anomaly detection model using a state transition graph and tamper-resistant design that hides anti-malware logic, allowing for real-time anomaly detection without performance reduction and protecting against malware.
The solution effectively detects malware without reducing device performance and conceals detection mechanisms from attackers, ensuring robust protection.
Smart Images

Figure 2024132587000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a secure component, a device, an anomaly detection method, a device protection method, and an anomaly detection model generation method. [Background technology]
[0002] In recent years, cybersecurity threats have been increasing. One cybersecurity threat that cannot be ignored is malware, a type of software that behaves maliciously towards users.
[0003] In addition to anti-malware, new technologies are being introduced into today's anti-malware technologies. Anti-malware is installed on Windows-based PCs as so-called anti-virus software, and searches for files that have the characteristics of malware and takes measures such as isolating and removing them. Patent Document 1 discloses a method for scanning and cleaning a computer before installing part of the anti-malware if it is determined that the computer already contains malware. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 2017-21852 Summary of the Invention [Problem to be solved by the invention]
[0005] Recently, there has been a rapid increase in malware capable of attacking devices equipped with operating systems other than Windows, not limited to PCs equipped with Windows. Examples of such devices include devices equipped with Linux (registered trademark) (e.g., IoT devices). However, in the case of low-powered devices such as IoT devices, or if installing anti-malware on a device reduces processing power, installing anti-malware may degrade the device's performance. On the other hand, installing anti-malware on a PC or other device means that anti-malware technology exists in the software execution space, increasing the possibility that an attacker will analyze the anti-malware technology and expose the malware detection mechanism to the attacker.
[0006] The present invention has been made in consideration of the above circumstances, and aims to provide a secure component, a device, an anomaly detection method, a device protection method, and an anomaly detection model generation method that enable anti-malware technology to be concealed from attackers and that can provide protection against malware without degrading the performance of the device. [Means for solving the problem]
[0007] The present application includes multiple means for solving the above-mentioned problems, and as one example, a secure component includes an acquisition unit that acquires a data stream; an anomaly detection model that includes anomalous data patterns that indicate each of a plurality of anomalies and that defines a state transition to the anomalous data pattern through a plurality of internal states; a transition unit that inputs the data stream acquired by the acquisition unit to the anomaly detection model and transitions the internal state in correspondence with a partial data sequence included in the data stream; and a detection unit that detects an anomaly when a data sequence included in the data stream transitions to the anomalous data pattern. [Effects of the Invention]
[0008] The present invention allows for the concealment of anti-malware techniques from attackers and provides protection against malware without degrading device performance. [Brief explanation of the drawings]
[0009] [Figure 1] FIG. 2 is a diagram illustrating an example of a configuration of a device according to the present embodiment. [Figure 2] FIG. 1 is a diagram illustrating an example of a basic flow of anomaly detection. [Figure 3] FIG. 10 is a diagram showing an example of a method for constructing an anomaly detection graph 62. [Figure 4] FIG. 10 is a diagram illustrating an example of searching for an abnormal data pattern using an anomaly detection graph. [Figure 5] FIG. 10 illustrates an example of anomaly detection in network communication. [Figure 6] FIG. 1 illustrates an example of implementing EDR in conjunction with a security vendor. [Figure 7] FIG. 10 is a diagram illustrating an example of updating a detection target via a secure communication path. [Figure 8] FIG. 10 is a diagram illustrating an example of updating a detection target via a device. DETAILED DESCRIPTION OF THE INVENTION
[0010] The present invention will be described below with reference to the drawings illustrating embodiments thereof. FIG. 1 is a diagram showing an example of the configuration of a device 100 according to this embodiment. The device 100 is equipped with a secure component 50 that performs anomaly detection. In this embodiment, the device 100 is assumed to be, for example, an IoT device. However, the device 100 is not limited to an IoT device and may be a PC, a server, or a more powerful device than a PC or a server. A security vendor remotely manages the security of the device 100. Although anomaly detection itself is completed by the device 100 itself, greater security benefits can be achieved by collaborating with a security vendor.
[0011] The device 100 includes an OS (application execution platform) 20, an application (executable binary) 10, and a secure component 50.
[0012] The OS 20 is an execution platform that runs the application 10 within the device 100. In this embodiment, the OS 20 is assumed to be an OS (Operating System), but may be an execution platform other than an OS, such as a container execution platform.
[0013] The application 10 is an application that runs on the OS 20. The application cannot realize its functions by itself, but uses an API (Application Programming Interface) on the OS 20 to realize the required functions.
[0014] The secure component 50 is a tamper-resistant component that is installed in the device 100 and operates in a separate environment isolated from the OS 20 and the application 10. The secure component 50 corresponds to a secure element, a trusted platform module (TPM), a trusted execution environment, or an application on a trusted execution environment.
[0015] The OS 20 includes an application execution I / F 21, a network I / F 22, and an OS-secure component I / F 23.
[0016] The application execution I / F 21 is an I / F that the application 10 accesses to execute itself. All applications 10 execute their functions via the application execution I / F 21. The application execution I / F 21 includes all I / Fs on the OS 20 side that are provided so that the application 10 can execute functions on the OS 20. For example, in the case of Windows, the application execution I / F 21 includes APIs that are essential for application startup, such as CreateProcess, and file access APIs such as read and write, as well as all I / Fs on the OS that are necessary for the application 10 to realize its functions.
[0017] The network I / F 22 is an I / F used by the application 10 or the OS 20 to perform network communication with external devices.
[0018] The OS-secure component I / F 23 is an I / F through which the OS 20 communicates with the secure component 50. The OS-secure component I / F 23 differs depending on the form of the connected secure component 50, but if the secure component 50 is a secure element, it corresponds to a communication protocol such as ISO7816 or SPI (Serial Peripheral Interface), and if the secure component 50 is in a trusted environment such as TEE (Trusted Execution Environment), it corresponds to the API of the trusted environment. Furthermore, communication between the OS 20 and the secure component 50 may be encrypted using a secure channel or the like. Note that in this embodiment, encryption between the two is not specifically described for the sake of simplicity.
[0019] The secure component 50 includes a data input unit 51, an external notification unit 52, an abnormality detection unit 53, a secret communication unit 54, and an input data preprocessing unit 55.
[0020] The data input unit 51 has a function of receiving a data stream (binary data) input from the OS 20 via the OS-secure component I / F 23 .
[0021] The input data preprocessing unit 55 has a function of converting the data stream input from the data input unit 51 into a different format so that anomalies can be detected within the secure component 50. The processing performed by the input data preprocessing unit 55 varies depending on the anomaly to be detected, but basically, the input data preprocessing unit 55 performs conversion so that the data to be analyzed can be analyzed as plaintext. For example, when detecting malware as an anomaly, the input data preprocessing unit 55 removes packing and obfuscation applied to the malware. When detecting unauthorized network traffic as an anomaly, the input data preprocessing unit 55 decrypts the communication. There are cases where the input data preprocessing unit 55 does not perform preprocessing. Whether or not preprocessing by the input data preprocessing unit 55 is necessary may be set as appropriate depending on the content of the input data stream, preconfiguration of the secure component 50, agreement between the OS 20 and the secure component 50, etc.
[0022] The anomaly detection unit 53 has a function of detecting a plurality of anomalies simultaneously and in parallel based on a predetermined algorithm on the basis of the data stream input from the data input unit 51. Details of the anomaly detection unit 53 will be described later.
[0023] The external notification unit 52 has a function of notifying the OS 20 of an abnormality detected by the abnormality detection unit 53 .
[0024] The secret communication unit 54 has a function of communicating with a security vendor's EDR (Endpoint Detection and Response) server 200 via a network. The secret communication unit 54 notifies the anomaly detected by the anomaly detection unit 53, or receives content distributed from the EDR server 200. The secret communication unit 54 has a function of establishing end-to-end communication with the EDR server 200 located remotely on the network using TLS (Transport Layer Security) or the like. In this embodiment, the secret communication unit 54 itself has a network I / F (for example, Ethernet, WiFi, etc., all of which are registered trademarks), but the secret communication unit 54 may borrow a network I / F on the device side only for data transmission and reception.
[0025] Next, the abnormality detection unit 53 will be described.
[0026] In this embodiment, a state transition using a graph structure is used as an algorithm that can simultaneously detect multiple anomalies based on an input data stream. Note that the algorithm is not limited to this, and any algorithm may be used. For example, a learning model generated by machine learning may be used. It is desirable to adopt such a learning model as a model that grasps past input states for a series of data streams and then outputs results, such as an RNN (Recurrent Neural Network). The following describes a method using a state transition using a graph structure.
[0027] The anomaly detection unit 53 includes a data input buffer 61, an anomaly detection graph 62 as an anomaly detection model, a pattern discovery table 63, and an anomaly pattern logical expression table 64.
[0028] The data input buffer 61 is a memory area that stores a predetermined amount of data stream (binary data) input from the data input unit 51.
[0029] The anomaly detection graph 62 is a graph (tree structure) constructed based on an abnormal data pattern indicating an anomaly, and detects anomalies in parallel by transitioning within the graph according to partial data strings contained in the data stream.
[0030] The pattern discovery table 63 is a table that records the occurrence frequency of abnormal data patterns discovered as a result of transitions in the anomaly detection graph 62. In the example of Figure 1, abnormal data pattern 1 is "0001FEFF", abnormal data pattern 2 is "FFFE", abnormal data pattern 3 is "0100FF", and abnormal data pattern 4 is "FF0001".
[0031] The anomaly pattern logical expression table 64 is a table that associates the relationship between the anomalies to be detected and the abnormal data patterns recorded in the pattern discovery table 63 using conditional expressions (logical expressions). As shown in FIG. 1, in the anomaly pattern logical expression table 64, the conditional expression corresponding to anomaly 1 is "1 and 2," the conditional expression corresponding to anomaly 2 is "3," and the conditional expression corresponding to anomaly 3 is "1 and 4." What these mean is that if both abnormal data pattern 1 and abnormal data pattern 2 are found, anomaly 1 is considered to have occurred. If abnormal data pattern 3 is found, anomaly 2 is considered to have occurred. If both abnormal data pattern 1 and abnormal data pattern 4 are found, anomaly 3 is considered to have occurred.
[0032] Specifically, if both the abnormal data patterns "0001FEFF" and "FFFE" are found, it is assumed that abnormality 1 has occurred. If the abnormal data pattern "0100FF" is found, it is assumed that abnormality 2 has occurred. If both the abnormal data patterns "0001FEFF" and "FF0001" are found, it is assumed that abnormality 3 has occurred.
[0033] The actual phenomenon that each of Anomalies 1 to 3 signifies varies depending on the meaning of the input data stream. For example, if the byte sequence of an application (executable binary) is input as a data stream, the occurrence of an anomaly means that "the application in question is malware." Also, if the byte sequence of network traffic is input as a data stream, the occurrence of an anomaly means that "the communication in question is abnormal."
[0034] The security vendor has the role of collecting and analyzing anomalies transmitted over the network from the secure component 50 via the secure communication unit 54, and detecting and responding to security incidents in the device 100. The security vendor has an EDR server 200, a terminal device 210, and a security analyst.
[0035] The EDR server 200 is a server to which the secret communication unit 54 of the secure component 50 notifies anomaly information. The EDR server 200 accumulates anomaly information of the device 100. Note that while only one device 100 is illustrated in FIG. 1, the EDR server 200 can collect anomaly information from the secure components 50 of multiple devices 100. The EDR server 200 also distributes new anomaly detection data to the secure component 50. Note that a distribution server other than the EDR server 200 may distribute new anomaly detection data to the secure component 50.
[0036] A security analyst accesses the EDR server 200 using the terminal device 210 to determine whether a security incident has occurred. Note that the determination of whether a security incident has occurred may be made using a machine-learned learning model or other methods.
[0037] Next, we will explain the use cases. First, we will explain the basic flow of anomaly detection.
[0038] Figure 2 is a diagram showing an example of the basic flow of anomaly detection. Here, the anomaly to be detected is an anomaly in which "an application (executable binary) is malware." Below, each process in the diagram will be explained as #1 to #14.
[0039] #1 (Application Execution): The user instructs the execution of application 10, unaware that it is malware.
[0040] #2 (calling execution I / F): The application 10 calls the application execution I / F 21 of the OS 20 to execute itself.
[0041] #3 (Checking the executable binary): The OS 20 checks the application (executable binary) 10 that called the application execution I / F 21 .
[0042] #4 (Read executable binary): The OS 20 reads the executable binary of the application 10 as a byte sequence prior to execution.
[0043] #5 (sending data stream to secure component): The OS 20 sends the read byte sequence as a data stream to the secure component 50 via the OS-secure component I / F 23.
[0044] #6 (Transfer to input data pre-processing unit): The data input unit 51 transfers the received data stream to the input data pre-processing unit 55.
[0045] #7 (Input Data Preprocessing): The input data preprocessing unit 55 analyzes the transferred data stream and performs preprocessing as necessary. In this use case, if the received data stream shows signs of specific malware obfuscation or packing and it is determined that the received data stream cannot be analyzed as is, the input data preprocessing unit 55 performs deobfuscation and unpacking. The data stream processed by the input data preprocessing unit 55 is input sequentially to the data input buffer 61.
[0046] #8 (Input to anomaly detection graph): The secure component 50 inputs the received data stream into the anomaly detection graph 62 byte by byte.
[0047] #9 (State transition of anomaly detection graph): The anomaly detection graph 62 performs state transitions within the graph according to the input bytes. Details of the state transitions will be described later.
[0048] #10 (Discovery and recording of abnormal data pattern): When a specific abnormal data pattern is discovered as a result of a state transition, the anomaly detection graph 62 records the discovered abnormal data pattern in the pattern discovery table 63. Specifically, the number of times it has been discovered is incremented by one. In the example of Figure 2, the number of times abnormal data pattern 1 "0001FEFF" and abnormal data pattern 2 "FFFE" have been discovered is incremented from 0 to 1.
[0049] #11 (Identifying anomalies): Based on the number of times anomalies are found in the pattern discovery table 63, the logical formula in the anomaly pattern logical formula table 64 is evaluated, and if an anomaly that satisfies the conditions is found, it is deemed that the anomaly has occurred. In the example of Figure 2, as a result of evaluating the logical formula for anomaly 1, both anomaly data pattern 1 "0001FEFF" and anomaly data pattern 2 "FFFE" were detected in the input data stream, so a notification is sent that anomaly 1 has been detected.
[0050] #12 (External notification of abnormality): The abnormality detection unit 53 notifies the external notification unit 52 of the detection of abnormality 1, with the device-side OS as the notification target.
[0051] #13 (notify OS of abnormality): The secure component 50 notifies the OS 20 that abnormality 1 has been detected.
[0052] #14 (Application Operation Control): The OS 20 takes appropriate measures against the application 10 that has detected the abnormality. Specifically, the OS 20 stops the operation of the application 10, deletes it, or takes other appropriate measures.
[0053] As described above, the input data preprocessing unit 55 has a function as a determination unit that determines whether the acquired data stream can be divided into unit data strings (1-byte data), and a function that performs predetermined preprocessing on the data stream if the data stream cannot be divided into unit data strings, and inputs the data stream that has undergone the predetermined preprocessing to the anomaly detection graph 62. The predetermined preprocessing includes deobfuscation processing, unpacking processing, and decryption processing of encrypted communication content as described below.
[0054] Furthermore, based on an abnormality detected by the secure component 50, the device 100 can change the operation of at least one of the device 100 itself, the OS 20 running on the device 100, and the application 10.
[0055] Furthermore, based on an abnormality detected by the secure component 50, an abnormality in the device 100 that communicates with the secure component 50 can be detected.
[0056] The basic anomaly detection flow described above is a process in which, when the application 10 is executed, the binary data of the application 10 is input as a byte string to the secure component 50, and based on the input, the secure component 50 determines whether the application 10 is malware or not, and determines how to handle the application 10 based on the result of the determination.
[0057] Ideally, it would be best to complete the determination of whether or not an application is malware before it is executed, but if the secure component 50 is not powerful, the OS 20 may reduce the pre-execution processing of the application 10 by executing processes in parallel as in the following (1) to (3): (1) Execute pre-processing required for application execution (such as allocating memory) and sending a data stream to the secure component 50 in parallel, (2) Execute processing up to a process that may have a destructive effect, such as writing a file, in parallel and sending a data stream to the secure component 50, or (3) Execute the application and send a data stream to the secure component 50 in parallel without any particular constraints, but immediately stop them when an abnormality is detected.
[0058] Next, the behavior of the anomaly detection graph 62 will be described.
[0059] The anomaly detection graph 62 is a tree-structured graph constructed by sequentially registering the anomaly data patterns associated with each anomaly. The features of this graph structure are as follows (1) to (3).
[0060] (1) Each node, including the root, has a next node reference (also called the "first reference part") to a lower node of a data string that is formed by concatenating the data string it holds and the next byte (00 to FF) of the data string. Since there are 256 possible next bytes (00 to FF), there are 256 next node references. If there is no corresponding lower node, "No reference (Null)" is set.
[0061] Here, the next node reference holds 256 1-byte data values from 00 to FF for each node, and each 1-byte of data is called a "unit data string." Also, each node holds a data string, but since this data string is a part of the data stream, it is called a "partial data string." The length of the partial data string held by each node increases by 1 byte from the upper node to the lower node.
[0062] That is, the anomaly detection graph 62 has a tree structure including multiple nodes corresponding to multiple internal states, and the multiple nodes hold predetermined partial data strings. Upper nodes have next node references (first reference parts) that reference lower nodes through edges, and lower nodes hold partial data strings that include the partial data string held by the upper node as the first data string. The first data string is the first part of the partial data string. Furthermore, the next node reference holds a unit data string corresponding to the lower node it references, and the partial data string held by the lower node may be a partial data string obtained by concatenating the partial data string held by the upper node and the unit data string held by the next node reference. Note that in implementation, each next node reference does not necessarily have a unit data string, and the partial data string held by the lower node is not necessarily expressed by concatenating the partial data strings of the upper node.
[0063] (2) In the initial state of the construction of the anomaly detection graph 62, only the root node exists.
[0064] (3) Each node has a suffix reference (also called a "second reference part") to the node that matches the longest substring counted from the end, in addition to the next node reference. That is, each of the multiple nodes has a suffix reference that references the node that holds the longest matching substring when compared from the end of the substring held by the node itself.
[0065] 3 is a diagram showing an example of a method for constructing the anomaly detection graph 62. The processes in the diagram will be described below as #1 to #6.
[0066] #1 (Initial state): The initial state consists of only the root node.
[0067] #2 (Adding abnormal data pattern "0001FEFF"): From this point on, one byte is extracted from the abnormal data pattern to be added, and the partial data string is added as a node while tracing the next node reference corresponding to the extracted byte. In the case of the abnormal data pattern "0001FEFF", the first byte "00" is extracted, and the next node reference of the root node corresponding to the extracted byte "00" is traced, but since the next node reference is in the "no reference (Null)" state, a new node ("00") having the partial data string "00" is added, and a reference to the added node ("00") is added to the next node reference of the root node. Next, the second byte "01" of the abnormal data pattern "0001FEFF" is extracted, and the next node reference of the node ("00") corresponding to the extracted second byte "01" is traced. However, since the next node reference is in the "no reference (Null)" state, a new node ("0001") having the partial data string "0001" is added, and a reference to the added node ("0001") is added to the next node reference of the node ("00"). Next, the third byte "FE" of the abnormal data pattern "0001FEFF" is extracted, and the next node reference of the node ("0001") corresponding to the extracted third byte "FE" is traced. However, since this next node reference is in the "no reference (Null)" state, a new node ("0001FE") having the partial data string "0001FE" is added, and a reference to the added node ("0001FE") is added to the next node reference of the node ("0001"). Next, the last byte "FF" of the anomalous data pattern "0001FEFF" is extracted, and the next node reference of the node ("0001FE") corresponding to the extracted byte "FF" is traced. However, since this next node reference is in the "no reference (Null)" state, a new node ("0001FEFF") having the partial data string "0001FEFF" is added, and a reference to the added node ("0001FEFF") is added to the next node reference of the node ("0001FE"). In this way, the addition of next node references and nodes having partial data strings can be continued until a node having the same partial data string as the entire anomalous data pattern "0001FEFF" is added.
[0068] #3 (Adding abnormal data pattern "FFFE"): As with process #2 above, the first byte "FF" is extracted from the abnormal data pattern "FFFE" to be added, and the next node reference of the root node corresponding to the extracted byte "FF" is traced. However, since the next node reference is in the "Null" state, a new node ("FF") having the partial data string "FF" is added, and a reference to the added node ("FF") is added to the next node reference of the root node. Next, the last byte "FE" of the anomalous data pattern "FFFE" is extracted, and the next node reference of the node ("FF") corresponding to the extracted byte "FE" is traced. However, since the next node reference is in the "no reference (Null)" state, a new node ("FFFE") having the partial data string "FFFE" is added, and a reference to the added node ("FFFE") is added to the next node reference of the node ("FF"). In this way, the addition of next node references and nodes having partial data strings can be continued until a node having the same partial data string as the entire anomalous data pattern "FFFE" is added. Furthermore, when adding a new anomalous data pattern, tracing is always performed from the root node.
[0069] #4 (Adding abnormal data pattern "0100FF"): Same as the above-mentioned processes #2 and #3.
[0070] #5 (Adding abnormal data pattern "FF0001"): The first byte "FF" is extracted from the abnormal data pattern "FF0001" to be added, and the next node reference of the root node corresponding to the extracted byte "FF" is traced. Since the next node reference already exists, the node addition process is not performed, and the next node reference is traced to move to the node ("FF"). Next, the second byte "00" of the abnormal data pattern "FF0001" is extracted, and the next node reference of the node ("FF") corresponding to the extracted second byte "00" is traced. However, since the next node reference is in the "no reference (Null)" state, a new node ("FF00") having the partial data string "FF00" is added, and a reference to the added node ("FF00") is added to the next node reference of the node ("FF"). Next, the last byte "01" of the anomalous data pattern "FF0001" is extracted, and the next node reference of the node ("FF00") corresponding to the extracted byte "01" is traced, but since this next node reference is in the "no reference (Null)" state, a new node ("FF0001") having the partial data sequence "FF0001" is added, and a reference to the added node ("FF0001") is added to the next node reference of the node ("FF00"). In this way, the next node reference and the addition of nodes having partial data sequences can be continued until a node having the same partial data sequence as the entire anomalous data pattern "FFFE" is added.
[0071] #6 (Add suffix reference): After all abnormal data patterns have been added, suffix references are added for all nodes in the graph. A reference relationship is created for the node that holds the longest suffix of the partial data string held by each node. For example, in the case of node ("FF0001") (abnormal data pattern), the node with the longest matching suffix in the current anomaly detection graph 62 is node ("0001"), so the reference to that node is set as the suffix reference. Also, in the case of node ("0001FEFF") (abnormal data pattern), the node with the longest matching suffix in the current anomaly detection graph 62 is node ("FF"), so the reference to that node is set as the suffix reference. Note that if there is no node holding the longest suffix, the reference to the root node is set as the suffix reference.
[0072] As described above, the anomaly detection graph 62 has a tree structure including multiple nodes, and each node holds a predetermined partial data sequence. The anomaly detection graph 62 can be constructed (generated) such that a higher-level node has a next-node reference that references a lower-level node through an edge, the lower-level node holds a partial data sequence that includes, as its first data sequence, a partial data sequence that constitutes part of an anomalous data pattern held by the higher-level node, and the partial data sequence held by the lowest-level node constitutes an anomalous data pattern. The anomaly detection graph 62 may also be constructed (generated) such that a partial data sequence that combines a partial data sequence that constitutes part of an anomalous data pattern held by the higher-level node with a unit data sequence held by the next-node reference becomes a partial data sequence that constitutes part of an anomalous data pattern held by the lower-level node.
[0073] The anomaly detection graph 62 holds the anomalous data pattern and the partial data strings that make up part of the anomalous data pattern as a tree structure, and can trace the next partial data string from the next byte, and can also trace partial data strings that have the same suffix. Note that in Figure 3, the anomalous data pattern that corresponds to the search target pattern (the node that holds the anomalous data pattern) is shown in a bold frame.
[0074] Next, the operation when a data stream is input will be described. When an anomaly is detected, a parallel search for an abnormal data pattern is performed using the anomaly detection graph 62 constructed based on the input data stream.
[0075] Figure 4 is a diagram showing an example of searching for an abnormal data pattern using an anomaly detection graph 62. Below, each process in the diagram will be explained as #1 to #10. Figure 4 shows the transition of the internal state of anomaly detection graph 62 and the discovery of an abnormal data pattern when data is input one byte at a time from data input buffer 61 to the constructed anomaly detection graph 62.
[0076] #1 (input of "FF" from data input buffer): The anomaly detection unit 53 acquires the first byte "FF" of the data stream from the data input buffer 61, and performs a transition (state transition) of the internal state of the anomaly detection graph 62. The anomaly detection graph 62 starts searching from the root node. Here, by tracing the next node reference corresponding to the acquired byte "FF", a reference to node ("FF") is found, so the current position (search position) is transitioned to node ("FF"). Here, the internal state transitions from the root node to node ("FF").
[0077] #2 (input "FE" from data input buffer): Next, the anomaly detection unit 53 obtains the next byte "FE" from the data input buffer 61 and performs a transition (state transition) of the internal state of the anomaly detection graph 62. When the next node reference corresponding to the obtained byte "FE" is traced at node ("FF"), which is the current search position, a reference to node ("FFFE") is found, so the current position (search position) is transitioned to node ("FFFE"). Here, the internal state transitions from node ("FF") to node ("FFFE").
[0078] #3 (recording the discovery of abnormal data pattern "FFFE"): Since the current location node ("FFFE") is a node that holds the abnormal data pattern "FFFE," the abnormality detection unit 53 records the discovery of this abnormal data pattern in the pattern discovery table 63. In the example of Figure 4, the number of discoveries corresponding to the abnormal data pattern "FFFE" in the pattern discovery table 63 is changed from 0 to 1.
[0079] #4 (Tracing suffix nodes): The current node ("FFFE") is the lowest node and has no next node reference. Since it is not possible to trace any further next nodes (lower nodes), the search continues from the next byte onwards by tracing the suffix nodes. Here, since the suffix node of the current node ("FFFE") is the root node, the current position (search position) is transitioned to the root node. Here, the internal state has transitioned from node ("FFFE") to the root node.
[0080] #5 (input "00" from data input buffer): The anomaly detection unit 53 obtains the next byte "00" from the data input buffer 61 and performs a transition (state transition) of the internal state of the anomaly detection graph 62. The anomaly detection graph 62 starts searching from the root node. Here, by tracing the next node reference corresponding to the obtained byte "00", a reference to node ("00") is found, so the current position (search position) is transitioned to node ("00"). Here, the internal state has transitioned from the root node to node ("00").
[0081] #6 (input "01" from data input buffer): The anomaly detection unit 53 obtains the next byte "01" from the data input buffer 61 and performs a transition (state transition) of the internal state of the anomaly detection graph 62. When the anomaly detection graph 62 traces the next node reference corresponding to the obtained byte "01" at node ("00"), which is the current search position, it finds a reference to node ("0001"), and therefore transitions the current position (search position) to node ("0001"). Here, the internal state transitions from node ("00") to node ("0001").
[0082] #7 (input "FE" from data input buffer): The anomaly detection unit 53 obtains the next byte "FE" from the data input buffer 61 and makes a transition (state transition) of the internal state of the anomaly detection graph 62. When the anomaly detection graph 62 traces the next node reference corresponding to the obtained byte "FE" at node ("0001"), which is the current search position, it finds a reference to node ("0001FE"), so it makes the current position (search position) transition to node ("0001FE"). Here, the internal state has transitioned from node ("0001") to node ("0001FE").
[0083] #8 (input "FF" from data input buffer): The anomaly detection unit 53 obtains the next byte "FF" from the data input buffer 61 and makes a transition (state transition) of the internal state of the anomaly detection graph 62. When the anomaly detection graph 62 traces the next node reference corresponding to the obtained byte "FF" at the current search position, node ("0001FE"), it finds a reference to node ("0001FEFF"), so it makes the current position (search position) transition to node ("0001FEFF"). Here, the internal state has transitioned from node ("0001FE") to node ("0001FEFF").
[0084] #9 (recording the discovery of abnormal data pattern "0001FEFF"): Since the current location node ("0001FEFF") is a node that holds the abnormal data pattern "0001FEFF", the abnormality detection unit 53 records in the pattern discovery table 63 that the abnormal data pattern has been discovered. In the example of Figure 4, the number of discoveries corresponding to the abnormal data pattern "0001FEFF" in the pattern discovery table 63 is changed from 0 to 1.
[0085] #10 (Tracing suffix nodes): The current node ("0001FEFF") is the lowest node, and there is no next node reference. Since it is not possible to trace any further next nodes (lower nodes), the search continues from the next byte onwards by tracing the suffix nodes. Here, the suffix node of the current node ("0001FEFF") is node ("FF"), so the current position (search position) is transitioned to node ("FF"). Here, the internal state has transitioned from node ("0001FEFF") to node ("FF").
[0086] As described above, the secure component 50 includes an acquisition unit (data input unit 51) that acquires a data stream, an anomaly detection model (anomaly detection graph 62) that includes anomaly data patterns indicating each of a plurality of anomalies and specifies a state transition to the anomalous data pattern through a plurality of internal states, a transition unit (anomaly detection unit 53) that inputs the acquired data stream into the anomaly detection graph 62 and transitions the internal state in accordance with the partial data sequence included in the data stream, and a detection unit (anomaly detection unit 53) that detects an anomaly when a data sequence included in the data stream transitions to an anomalous data pattern.
[0087] As described above, the anomaly detection graph 62 has a tree structure including multiple nodes corresponding to multiple internal states. That is, the multiple internal states correspond to multiple nodes in the anomaly detection graph 62, where the search position (current position) transitions for each byte. The anomaly detection unit 53 (transition unit) transitions the nodes from the upper node to the lower node in correspondence with the partial data string. The partial data string is a data string extracted one byte at a time from the data stream, and the data length of the partial data string increases by one byte each time a transition is made to a lower node.
[0088] By using the anomaly detection graph 62 to search from the root node to lower nodes in the graph, the anomaly detection unit 53 can simultaneously search for multiple anomalous data patterns in parallel. To search for an anomalous data pattern, a host system, such as a rich OS, simply inputs the target data stream byte by byte into the anomaly detection graph 62. To identify an anomalous pattern, it is not necessary to input all of the target data. This eliminates the need to input the entire data stream, allowing anomalies to be detected during input. This enables protection against malware without degrading the performance of the device 100. Furthermore, the anomaly detection logic (anomaly detection unit 53) can be hidden within the secure component 50, preventing attackers, such as malware creators, from analyzing the detection pattern. This prevents attackers from having the means or know-how to bypass malware countermeasures, thereby concealing malware countermeasures from attackers.
[0089] Furthermore, the secure component 50 can process binary data that is the target of anomaly detection as a stream input. This allows anomaly detection to be performed in parallel with application execution, or anomaly detection can be performed by directly inputting network traffic as a stream, without having to consider waiting for processing on the secure component 50 side.
[0090] 4, the number of times each abnormal data pattern has been found is recorded in the pattern discovery table 63, and then it is confirmed whether the corresponding abnormal data patterns have been found according to the logical formula based on the contents of the abnormal pattern logical formula table 64. In the procedure shown in Fig. 4, all abnormal data patterns corresponding to abnormality 1 have been found by the time process #9 is completed, so the abnormality detection unit 53 can detect and notify the occurrence of an abnormality at this point.
[0091] As described above, the abnormality detection unit 53 (detection unit) can detect different types of abnormalities depending on the abnormal data pattern or combination of abnormal data patterns to which the data string included in the data stream has transitioned.
[0092] The timing at which the anomaly detection unit 53 notifies the occurrence of an anomaly can be set as appropriate according to the security policy for the device 100, etc. As an example, the notification can be made at the following timings (1) to (3): (1) Check the logical formula for each byte input and notify immediately when an anomaly is detected, (2) Check the logical formula when a predetermined input amount is exceeded and notify when an anomaly is detected, or (3) Check the logical formula for each byte, but notify when a randomly determined additional input amount is exceeded. This is a security policy that intentionally shifts the notification timing to prevent attackers from receiving information about abnormal data patterns.
[0093] Figure 5 shows an example of anomaly detection for network communications. In the "basic anomaly detection flow" shown in Figure 2, anomalies are detected by checking whether the executable binary is malware, but anomaly detection can also be performed for network communications. Each process in the figure will be explained below as #1 to #13.
[0094] #1 (Network communication initiated by an application): An application (assumed to be malware) calls the application execution I / F 21 of the OS 20 in order to perform undesirable communication with the outside, such as communication with a C&C server (C2 server). A C&C server is a server that controls a stepping stone computer or outputs commands in a cyber attack that uses a computer that has been infiltrated and taken over from the outside.
[0095] #2 (Communication to network I / F): The OS 20 transfers the requested communication content to the network I / F 22.
[0096] #3 (Transfer of network communication): The network I / F 22 transfers the communication content to the OS-secure component I / F 23 so that the secure component 50 can verify it.
[0097] #4 (sending data stream to secure component): The OS 20 sends the transferred communication content as a data stream to the secure component 50 via the OS-secure component I / F 23.
[0098] #5 (Transfer to input data pre-processing unit): The data input unit 51 transfers the received data stream to the input data pre-processing unit 55.
[0099] #6 (Input Data Preprocessing): The input data preprocessing unit 55 analyzes the transferred data stream and performs preprocessing as necessary. In this use case, if the received data stream (communication content) is encrypted, it performs processing such as decrypting it to obtain plain text. The data stream processed by the input data preprocessing unit 55 is input sequentially to the data input buffer 61.
[0100] #7 (Input to anomaly detection graph): The secure component 50 inputs the received data stream into the anomaly detection graph 62 byte by byte.
[0101] #8 (State transition of anomaly detection graph): The anomaly detection graph 62 performs state transition within the graph according to the input byte.
[0102] #9 (Discovery and recording of abnormal data pattern): When a specific abnormal data pattern is discovered as a result of a state transition, the anomaly detection graph 62 records the discovered abnormal data pattern in the pattern discovery table 63. Specifically, the number of times it has been discovered is incremented by one. In the example of Figure 5, the number of times abnormal data pattern 1 "0001FEFF" and abnormal data pattern 2 "FFFE" have been discovered is incremented from 0 to 1.
[0103] #10 (Identifying anomalies): Based on the number of times anomalies are found in the pattern discovery table 63, the logical formula in the anomaly pattern logical formula table 64 is evaluated, and if an anomaly that satisfies the conditions is found, it is deemed that the anomaly has occurred. In the example of Figure 5, as a result of evaluating the logical formula for anomaly 1, both anomaly data pattern 1 "0001FEFF" and anomaly data pattern 2 "FFFE" were detected in the input data stream, so a notification is sent that anomaly 1 has been detected.
[0104] #11 (External notification of abnormality): The abnormality detection unit 53 notifies the external notification unit 52 of the detection of abnormality 1, with the device-side OS as the notification target.
[0105] #12 (notify OS of abnormality): The secure component 50 notifies the OS 20 that abnormality 1 has been detected.
[0106] #13 (Stop communication and application operation): The OS 20 takes appropriate measures against the application 10 that detected the abnormality. Specifically, the OS 20 stops or deletes the application 10, and stops any undesirable network communication currently being performed.
[0107] 2, in the case of FIG. 5, when the secure component 50 is weak, the OS 20 may execute processes in parallel as in the following (1) to (3) to reduce the pre-execution processing of the application 10: (1) Execute pre-processing of communication (such as allocating a buffer) and transmission of a data stream to the secure component 50 in parallel, (2) Execute communication and transmission of a data stream to the secure component 50 in parallel without imposing any particular constraints, but immediately stop them when an abnormality is detected.
[0108] The verification of communication contents may be performed on contents to be sent to the outside or on contents to be received from the outside.
[0109] In the use cases described above, all security processing is completed within the device 100 alone, but by applying this mechanism, it is possible to realize a remote endpoint incident response, i.e., EDR, by notifying an external administrator of an abnormality via a secure communication channel. This can be achieved by detecting an abnormality on the secure component 50, specifying the security vendor's EDR server 200 as the notification destination, and then carrying out communication via a secure communication channel. EDR can be performed using a common procedure for both the aforementioned malware detection and anomaly detection in network communications, so the procedure after an anomaly is detected will be described below.
[0110] 6 is a diagram showing an example of EDR implementation in cooperation with a security vendor. The processes in the diagram will be explained below as #1 to #9.
[0111] #1 (Identifying anomalies): Based on the number of times anomalies are found in the pattern discovery table 63, the logical formula in the anomaly pattern logical formula table 64 is evaluated, and if an anomaly that satisfies the conditions is found, it is deemed that the anomaly has occurred. In the example of Figure 6, as a result of evaluating the logical formula for anomaly 1, both anomaly data pattern 1 "0001FEFF" and anomaly data pattern 2 "FFFE" were detected in the input data stream, so a notification is sent that anomaly 1 has been detected.
[0112] #2 (External notification of fraud): The anomaly detection unit 53 notifies the secret communication unit 54 of the detection of anomaly 1, with the EDR server 200 as the notification target.
[0113] #3 (notification of abnormality to EDR server): The secure component 50 notifies the EDR server 200 of the detection of abnormality 1 via a secure communication path.
[0114] #4 (Analysis of anomalies and incident response): The EDR server 200 accumulates the received anomalies and notifies security analysts of them, using them as input for analysis and incident response.
[0115] #5 (Device Remote Operation Instruction): As an incident response action, the security analyst inputs a remote operation instruction for the device 100 into the terminal device 210 and transfers it to the EDR server 200.
[0116] #6 (Send remote operation instruction): The EDR server 200 sends a remote operation instruction to the secure component 50 in which an abnormality has been detected.
[0117] #7 (Transfer to external notification unit): The secure component 50 decrypts the remote operation instruction received from the EDR server 200 and transfers it to the external notification unit 52.
[0118] #8 (Transfer of remote operation instruction to device): The external notification unit 52 transfers the remote operation instruction to the OS 20.
[0119] #9 (Implementation of remote operation instruction): The OS 20 performs security protection operations such as stopping the application 10 or cutting off network communication in accordance with the remote operation instruction received from the secure component 50.
[0120] The secure component 50 includes an establishment unit (secret communication unit 54) that establishes a secret communication path with the EDR server 200 (external device), and a notification unit (anomaly detection unit 53) that notifies the EDR server 200 of detected anomalies via the secret communication path.
[0121] The secure component 50 also includes an external notification unit 52 (output unit) that outputs the received remote operation instruction to the device 100 when the secure component 50 receives the remote operation instruction via a secret communication path.
[0122] Furthermore, the secure component 50 can protect the device 100 by receiving remote control instructions for the device 100 equipped with the secure component 50 based on an abnormality detected by the secure component 50 itself, and controlling the operation of the device 100 based on the received remote control instructions.
[0123] As described above, the secure component 50 itself functions as an agent in EDR, and therefore, for example, (1) EDR for an endpoint device can be performed without installing a special agent as an OS or application, (2) since it does not depend on a security vendor's specific agent, an EDR mechanism that is not dependent on a specific security vendor can be realized by changing the EDR server 200 to which it communicates, (3) by implementing the secure component 50 in hardware on the device 100, an EDR mechanism that is not dependent on the OS can be realized, and (4) since the agent is not exposed on the OS, analysis resistance is improved and attackers are not given an opportunity to bypass it, and other significant effects can be obtained.
[0124] Because malware activity changes extremely quickly, it is necessary to update the abnormal data patterns used for anomaly detection as quickly as possible. Below, an example is described in which the anomaly detection graph 62, pattern discovery table 63, and abnormality pattern logical expression table 64 (collectively referred to as "detection targets") within the secure component 50 are updated by utilizing the secure communication path of the secure component 50.
[0125] 7 is a diagram showing an example of updating of a detection target via a secret communication path. The processes in the diagram will be described below as #1 to #6.
[0126] #1 (Adding a new detection target): For newly discovered malware or unauthorized communications, a security analyst registers the anomaly detection data in the EDR server 200. The anomaly detection data is data for updating the detection targets (the anomaly detection graph 62, the pattern discovery table 63, and the anomaly pattern logical expression table 64).
[0127] #2 (Distribution by EDR Server): The EDR server 200 distributes the newly registered anomaly detection data to each secure component 50 subject to security management. Note that, for convenience, only one device 100 and one secure component 50 are illustrated in FIG. 7, but there may be multiple devices 100 and multiple secure components 50.
[0128] #3 (reception via a secure communication channel): The secure component 50 receives anomaly detection data from the EDR server 200 via its own secure communication channel.
[0129] #4 (notification to anomaly detection unit): The secure component 50 notifies the anomaly detection unit 53 of the received anomaly detection data.
[0130] #5 (Table update): Based on the anomaly detection data, the anomaly detection unit 53 adds an abnormal data pattern and anomalies to the pattern discovery table 63 and the anomaly pattern logical expression table 64. In the example of Figure 7, "FF0000" is newly added as abnormal data pattern 5, and then anomaly 4 is defined as a new anomaly (when both abnormal data pattern 3 and abnormal data pattern 5 are discovered).
[0131] #6 (Addition to anomaly detection graph): The anomaly detection unit 53 adds a new abnormal data pattern to the anomaly detection graph 62. For the addition of an abnormal data pattern, see FIG.
[0132] As described above, when the secure component 50 receives update data and an update instruction for updating the anomaly detection graph 62 via a secret communication path, the anomaly detection unit 53 (update unit) updates the anomaly detection graph 62 based on the received update data. Note that, as described above, the pattern discovery table 63 and the anomaly pattern logical expression table 64 can also be updated.
[0133] This enables the secure component 50 to detect the new anomaly 4 as a security anomaly. Note that it is also possible to change or delete information about an existing anomaly using the same procedure as in FIG.
[0134] 8 is a diagram showing an example of updating of a detection target via the device 100. Below, each process in the diagram will be explained as #1 to #6.
[0135] #1 (Adding a new detection target): The security analyst distributes (by handing over, mailing, etc.) the newly added anomaly detection data to the device maintenance personnel.
[0136] #2 (Input to OS): The device maintenance person inputs anomaly detection data to the OS 20 via an I / F opened by the OS 20, such as executing a dedicated application or an I / F dedicated to adding anomaly detection patterns. Here, it is assumed that the dedicated application is executed and the data is input to the application execution I / F 21.
[0137] #3 (transmission of anomaly detection data to secure component): The OS 20 transmits the anomaly detection data to the secure component 50 via the OS-secure component I / F 23 .
[0138] #4 (notification to anomaly detection unit): The secure component 50 notifies the anomaly detection unit 53 of the received anomaly detection data.
[0139] #5 (Table update): Based on the anomaly detection data, the anomaly detection unit 53 adds an abnormal data pattern and anomalies to the pattern discovery table 63 and the anomaly pattern logical expression table 64. In the example of Figure 8, "FF0000" is newly added as abnormal data pattern 5, and then anomaly 4 is defined as a new anomaly (when both abnormal data pattern 3 and abnormal data pattern 5 are discovered).
[0140] #6 (Addition to anomaly detection graph): The anomaly detection unit 53 adds a new abnormal data pattern to the anomaly detection graph 62. For the addition of an abnormal data pattern, see FIG.
[0141] As described above, when the anomaly detection unit 53 (update unit) of the secure component 50 acquires update data and an update instruction for updating the anomaly detection graph 62 from the device 100 equipped with the secure component 50, it can update the anomaly detection graph 62 based on the acquired update data. Note that, as described above, it is also possible to update the pattern discovery table 63 and the anomaly pattern logical expression table 64.
[0142] In particular, for devices that are difficult to update in bulk via a network, such as devices in remote locations or that operate offline, a means of manual update without going through a network is useful, and this embodiment also functions effectively for updating anomaly detection data offline.
[0143] According to this embodiment, by inputting a data stream of binary data, it is possible to detect multiple anomalies that may exist in the binary data type in parallel. As a result, anomalies can be detected on the secure component 50 simply by inputting the data stream to be processed from a host system such as a rich OS. Anomalies can be detected independently of the host system and without imposing a load, and protection against malware can be achieved without degrading device performance.
[0144] Furthermore, according to this embodiment, the logic for determining anomalies (the anomaly detection graph 62, the pattern discovery table 63, and the anomaly pattern logical expression table 64) is stored (concealed) in the tamper-resistant secure component 50, thereby preventing attackers such as malware creators from analyzing the detection patterns and providing attackers with bypass know-how.
[0145] (Supplementary Note 1) The secure component includes an acquisition unit that acquires a data stream; an anomaly detection model that includes anomalous data patterns that indicate each of a plurality of anomalies and that defines a state transition to the anomalous data pattern through a plurality of internal states; a transition unit that inputs the data stream acquired by the acquisition unit to the anomaly detection model and transitions the internal state in correspondence with a partial data sequence included in the data stream; and a detection unit that detects an anomaly when a data sequence included in the data stream transitions to the anomalous data pattern.
[0146] (Supplementary Note 2) In the secure component of Supplementary Note 1, the anomaly detection model has a tree structure including a plurality of nodes corresponding to the plurality of internal states, and the transition unit transitions the nodes from a higher node to a lower node of the plurality of nodes in correspondence with the partial data string.
[0147] (Supplementary Note 3) In the secure component of Supplementary Note 2, the plurality of nodes hold a predetermined partial data sequence, the upper node has a first reference unit that references a lower node through an edge, and the lower node holds a partial data sequence that includes the partial data sequence held by the upper node as a leading data sequence.
[0148] (Supplementary Note 4) In the secure component of Supplementary Note 2 or Supplementary Note 3, each of the plurality of nodes has a second reference unit that references the node that holds the longest matching partial data string when compared from the end of the partial data string that the node holds.
[0149] (Supplementary Note 5) In the secure component according to any one of Supplementary Note 1 to Supplementary Note 4, the detection unit detects different types of abnormalities depending on the abnormal data pattern or combination of abnormal data patterns to which the data string has transitioned.
[0150] (Supplementary Note 6) The secure component, in any one of Supplementary Note 1 to Supplementary Note 5, includes a determination unit that determines whether the data stream acquired by the acquisition unit can be divided into unit data sequences, and a pre-processing unit that performs predetermined pre-processing on the data stream if the data stream cannot be divided into unit data sequences, and inputs the data stream that has undergone the predetermined pre-processing to the anomaly detection model.
[0151] (Supplementary Note 7) The secure component according to any one of Supplementary Note 1 to Supplementary Note 6 includes an establishment unit that establishes a secret communication path with an external device, and a notification unit that notifies the external device of an abnormality detected by the detection unit via the secret communication path.
[0152] (Supplementary Note 8) The secure component in Supplementary Note 7 includes an output unit that, when receiving a remote operation instruction for a device equipped with the secure component via the secret communication path, outputs the received remote operation instruction to the device.
[0153] (Supplementary Note 9) In Supplementary Note 7 or Supplementary Note 8, the secure component includes an update unit that, when update data and an update instruction for updating the anomaly detection model are received via the secret communication path, updates the anomaly detection model based on the received update data.
[0154] (Supplementary Note 10) The secure component in any one of Supplementary Note 1 to Supplementary Note 9 includes an update unit that, when update data and an update instruction for updating the anomaly detection model are acquired from a device equipped with the secure component, updates the anomaly detection model based on the acquired update data.
[0155] (Supplementary Note 11) A secure component is any one of a secure element, a trusted platform module, or a trusted execution environment in any one of Supplements 1 to 10.
[0156] (Supplementary Note 12) The device is a device that communicates with the aforementioned secure component, and the device changes the behavior of at least one of the device itself, the OS running on the device, and an application based on an abnormality detected by the secure component.
[0157] (Supplementary Note 13) The anomaly detection method detects an anomaly in a device communicating with the secure component based on an anomaly detected by the secure component.
[0158] (Supplementary Note 14) The device protection method receives a remote operation instruction for a device equipped with the secure component based on an abnormality detected by the secure component, and controls the operation of the device based on the received remote operation instruction.
[0159] (Supplementary Note 15) An anomaly detection model generation method is a method for generating an anomaly detection model possessed by a secure component, wherein the anomaly detection model has a tree structure including a plurality of nodes, the plurality of nodes holding a predetermined partial data sequence, a higher-level node having a first reference unit that references a lower-level node through an edge, the lower-level node holding a partial data sequence that includes, as a leading data sequence, a partial data sequence that constitutes part of an anomalous data pattern held by the higher-level node, and the anomaly detection model is generated such that the partial data sequence held by the lowest-level node becomes the anomalous data pattern.
[0160] The matters described in each embodiment can be combined with each other. In addition, the independent claims and dependent claims described in the claims can be combined with each other in any combination, regardless of the reference format. Furthermore, although the claims use a format in which a claim references two or more other claims (multiple claim format), this is not limited to this format. A multiple claim (multi-multi claim) that references at least one other multiple claim may also be used. [Explanation of symbols]
[0161] 100 devices 10 Applications 20 OS 21 Application execution interface 22 Network I / F 23 OS-Secure Component I / F 50 Secure Components 51 Data Entry Section 52 External Notification Department 53 Abnormality detection unit 54 Secret Communications Department 55 Input data preprocessing section 61 Data Input Buffer 62 Anomaly detection graph 63 Pattern Discovery Table 64 Abnormal Pattern Logical Expression Table 200 EDR servers 210 Terminal Equipment
Claims
1. An acquisition unit for acquiring a data stream; an anomaly detection model including an abnormal data pattern indicating each of a plurality of anomalies and defining a state transition to the abnormal data pattern through a plurality of internal states; a transition unit that inputs the data stream acquired by the acquisition unit into the anomaly detection model and transitions the internal state in accordance with a partial data sequence included in the data stream; a detection unit that detects an abnormality when a data string included in the data stream transitions to the abnormal data pattern; Equipped with Secure components.
2. The anomaly detection model is a tree structure including a plurality of nodes corresponding to the plurality of internal states; The transition portion is transitioning the nodes from higher-level nodes to lower-level nodes of the plurality of nodes in accordance with the partial data string; The secure component of claim 1 .
3. The plurality of nodes include: A predetermined partial data string is held, the upper node has a first reference portion that references the lower node through an edge; The lower node holds a partial data string including, as a leading data string, the partial data string held by the upper node. The secure component of claim 2 .
4. Each of the plurality of nodes: a second reference section for referring to a node that holds a partial data string that matches the longest when compared from the end of the partial data string held by the second reference section; The secure component of claim 2 .
5. The detection unit is detecting different types of abnormalities according to the abnormal data pattern or a combination of abnormal data patterns to which the data string has transitioned; A secure component according to any one of claims 1 to 4.
6. a determination unit that determines whether the data stream acquired by the acquisition unit can be divided into unit data strings; a pre-processing unit that performs a predetermined pre-processing on the data stream if the data stream cannot be divided into unit data strings; Equipped with inputting the pre-processed data stream into the anomaly detection model; A secure component according to any one of claims 1 to 4.
7. an establishment unit for establishing a secret communication path with an external device; a notification unit that notifies the external device of the abnormality detected by the detection unit via the secret communication path; Equipped with A secure component according to any one of claims 1 to 4.
8. an output unit configured to, when receiving a remote operation instruction for a device equipped with the secure component via the secret communication path, output the received remote operation instruction to the device; A secure component as claimed in claim 7.
9. an update unit that, when receiving update data and an update instruction for updating the anomaly detection model via the secret communication path, updates the anomaly detection model based on the received update data. A secure component as claimed in claim 7.
10. an update unit that, when receiving update data and an update instruction for updating the anomaly detection model from the device equipped with the secure component, updates the anomaly detection model based on the received update data; A secure component according to any one of claims 1 to 4.
11. A Secure Element, a Trusted Platform Module, or a Trusted Execution Environment, A secure component according to any one of claims 1 to 4.
12. A device for communicating with a secure component according to any one of claims 1 to 4, comprising: The device comprises: changing the operation of at least one of the device itself, an OS running on the device, and an application based on the abnormality detected by the secure component; device.
13. detecting an abnormality in a device communicating with the secure component according to any one of claims 1 to 4 based on an abnormality detected by the secure component; Anomaly detection methods.
14. receiving a remote operation instruction for a device incorporating a secure component according to any one of claims 1 to 4, based on an abnormality detected by the secure component; Controlling the operation of the device based on the received remote operation instruction. How to protect your device.
15. A method for generating an anomaly detection model included in a secure component, comprising: The anomaly detection model is A tree structure including a plurality of nodes, The plurality of nodes include: A predetermined partial data string is held, the upper node has a first reference portion that references the lower node through an edge; the lower node holds a partial data sequence that includes, as a leading data sequence, a partial data sequence that constitutes a part of the abnormal data pattern held by the upper node; generating the anomaly detection model such that the partial data string held by the lowest-level node corresponds to the anomaly data pattern; Method for generating anomaly detection models.
Citation Information
Patent Citations
Malware risk scanner
JP2017021852A
Cited By
Bathroom mirror surface flatness detection equipment
CN122041701A
A bathroom mirror flatness detection device
CN122041701B
