Malware detection system attack prevention

By using an alert system based on call graph-based time series dynamic anomaly detection in the malware detection system, detecting and preventing data poisoning attacks, the problem of malware attackers cheating machine learning systems through data poisoning is solved, and the system's robustness is improved and accuracy of detection.

CN109145601BActive Publication Date: 2024-11-15INTEL CORP
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN201810528231.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-06-27
Filing Date
2018-05-25
Publication Date
2024-11-15
Estimated Expiration
2038-05-25

AI Technical Summary

Technical Problem

Malware attackers use data poisoning and spoofing machine learning systems, resulting in reduced classification accuracy and high false positive rates, affecting the effectiveness of machine learning systems.

Method used

An alert system based on call graph-based time series dynamic anomaly detection uses scan statistics by scanning the vertex neighborhood of the directed graph, detects data poisoning attacks, and alerts the machine learning system to adjust the model or block the attack.

Benefits of technology

Effectively prevent data poisoning attacks, improve the robustness of machine learning systems, reduce false positive rates, and enhance the detection capabilities of malware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109145601B_ABST
    Figure CN109145601B_ABST
Patent Text Reader

Abstract

Systems and methods may be used to prevent attacks on malware detection systems. A method may include: modeling a time series of directed graphs using an incoming binary file during training of a machine learning system, and detecting anomalies based on the directed graphs in the time series of directed graphs during a time window of the time series. The method may include providing an alert that the anomaly has corrupted the machine learning system. The method may include preventing or remediating corruption of the machine learning system.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Malware attacks on systems are prevalent and dangerous throughout the world. Extortion, theft, and ransomware plague users of infected systems. As malware attacks become more sophisticated, increasingly sophisticated techniques are being used to thwart attackers. Machine learning techniques are a way to train systems to prevent malware attacks. Automated machine learning techniques have proven powerful in malware detection. However, adversary malware attackers often attempt to poison malware training data, tricking machine learning systems into producing incorrect models. This results in degraded classification accuracy or high false positive rates, which affects the effectiveness of machine learning systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0002] In the accompanying drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar components in different views. The same reference numerals with different letter suffixes may represent different instances of similar components. The accompanying drawings generally illustrate various embodiments discussed in this document by way of example and not limitation.

[0003] Figure 1 A malware detection and alert system is shown in accordance with some embodiments.

[0004] Figure 2A A machine learning system is shown without an alert system enabled, according to some embodiments.

[0005] Figure 2B A machine learning system is shown that enables an alert system according to some embodiments.

[0006] Figure 3 A block diagram of an alert system for preventing data poisoning attacks is shown in accordance with some embodiments.

[0007] Figure 4 A diagram illustrating anomaly detection in accordance with some embodiments is shown.

[0008] Figure 5 A flow diagram illustrating a technique for preventing attacks on a malware detection system is shown, in accordance with some embodiments.

[0009] Figure 6 An example of a block diagram of a machine is generally shown on which any one or more of the techniques (eg, methodologies) discussed herein may be executed in accordance with some embodiments. DETAILED DESCRIPTION

[0010] Systems and methods for preventing attacks on malware detection systems are described herein. Systems and methods described herein are used to allow machine learning systems used to detect malware to not be poisoned by malware attacks. Machine learning systems can be trained to prevent malware attacks. However, in adversarial machine learning, subtle attacks on the machine learning system (e.g., while it is training) may cause the machine learning system to accept certain malware attacks as normal, non-threatening requests. For example, one type of attack involves slowly increasing the tolerance of a machine learning system to abnormal attacks over a period of time.

[0011] An attacker may probe a machine learning system to try to determine what algorithm the machine learning system is running, what parameters are set in the machine learning system, or what actions the machine learning system may allow or deny. An attacker may discover boundary decisions for the machine learning system in order to fit within the boundary to allow malware to pass through the machine learning system. The attack can be gradual and have slow changes. The attacker's goal is to trick the machine learning system into deciding that the malware it is sending is actually benign.

[0012] The systems and methods described herein provide an alert system for the malware detection system against attacks before a full-scale attack is launched on the malware detection system. The alert system can work on top of the machine learning system. The alert system alerts the machine learning system against attacks during the detection time of the attacker. In response to the alert, the machine learning system can reject input from the source of the attack, change the machine learning algorithm (to make it more robust or to enhance the robustness of the machine learning system), etc.

[0013] In an example, a malware attack on a machine learning system may include an induced attack that causes the machine learning system to tolerate more and more abnormal malware inputs. Eventually, after the machine learning system is sufficiently tolerant, the malware attack includes launching a full attack against a malicious file that is not blocked by the machine learning system due to the tolerance. The systems and methods described herein use a novel alert system based on dynamic anomaly detection on a time series of call graphs to prevent attacks. The alert system detects when a data poisoning attack has occurred and alerts the machine learning system to the attack. The machine learning system can then adjust the machine learning model or block the induced attack and prevent a full attack.

[0014] The alert system described herein can use scan statistics by scanning the neighborhood of a vertex of a directed graph. For each time window selected during the training of a machine learning system, the scan statistics can be checked, and if the scan statistics are too high, the alert system can indicate the possibility of a toxic attack that could damage the machine learning system.

[0015] The alarm system is designed to detect the time window in which the hostile adversary begins to poison the training malware data (which may damage the machine learning system), and then provide an alarm to the malware detection system to prevent the malware enemy from launching a full-scale attack. The alarm system models the incoming binary file as a time series of a directed graph. For example, the directed graph can be constructed so that the vertices are functions and the edges are call relationships between functions. In a dynamic setting, the alarm system can calculate locality statistics, scan a small time window of the incoming binary number, and derive scan statistics. The scan statistics can be used to perform change point identification for dynamic anomaly detection. The alarm system can provide calculations for different types of scan statistics, and the selection thereof can provide advantages for accurate detection depending on the structure of the binary number. In an example, one type of scan statistics can be easily calculated in a real-time streaming data environment. In another example, one type of scan statistics can be delayed (e.g., delayed for a period of time). In an example, the alarm system can implement fast and accurate alarms for data poisoning attacks and notify the machine learning system so that the learning model can be adjusted without being compromised.

[0016] Figure 1 A malware detection system and alert system 100 is shown in accordance with some embodiments. The malware detection system and alert system 100 includes a machine learning system 104 for malware detection and an alert system 102 including a processor 112 and a memory 114. The malware detection system and alert system 100 uses the machine learning system 104 to detect malware that is incoming to a local network or machine 106 from a wide area network (WAN) 108 (e.g., a network, the Internet, etc.).

[0017] The router 110 may send incoming data (e.g., a binary file or a system call) to the machine learning system 104 or the alarm system 102. In an example, the alarm system 102 may receive the data before the machine learning system 104. In another example, the machine learning system 140 may forward the data to the alarm system 102. In yet another example, the router 110 may send the data to both the machine learning system 104 and the alarm system 102.

[0018] exist Figure 1The calling function or other incoming binary files represented as A, B and C at different times in the figure can be sent from a remote address, router or device via WAN 108. The calling function is first received by router 110 and can be sent to machine learning system 104 (B) or alarm system 102 (C). In the example, when sent along the path represented by B, machine learning system 104 can send the calling function to alarm system 102. Machine learning system 104 is used for malware detection to prevent malware from entering the local network or machine 106.

[0019] The alert system 102 may use change point detection to determine whether calls to functions received within a time period show indications of an attempt to poison the machine learning system 104, which could damage the machine learning system 104. Change point detection may be used to identify anomalies in a dynamic setting. For example, change point detection may be incorporated into dynamic malware analysis by modeling incoming binary files as a time series of graphs and using locality-based scan statistics to identify when a data poisoning attack has occurred or is occurring.

[0020] In an induced attack that attempts to disrupt the machine learning system 104, the adversary intends to force the machine learning framework to learn the wrong model by gradually poisoning the training data set, which may damage the machine learning system 104. Once the machine learning system 104 shifts the decision boundary and produces an erroneous model, the adversary may launch a full-scale attack. The alarm system 102 detects when data contamination occurs (when it is occurring) and issues an alarm to the machine learning system 104 about the induced attack so that the machine learning system 104 can adjust its model in response. For example, one type of scan statistics implemented in the alarm system 102 can be computationally cheap, which allows fast anomaly detection in real-time streaming data environments.

[0021] In an example, the alarm system 102 can use domain expertise to enhance the response to induced attacks. The alarm system 102 can use statistically defined thresholds to detect anomalies in the default settings. Domain expertise can allow user-defined thresholds to leverage domain knowledge combined with automatic anomaly detection to improve accuracy. The alarm system 102 can identify new attack patterns from, for example, morphing malware. Specifically, the alarm system 102 can be used to predict the occurrence of subgroups that include call relationships between functions. While preventing malware attacks, the anomaly detection framework of the alarm system 102 can also be used to collect intelligence about new families or types of malware and pinpoint them.

[0022] Figure 2AA machine learning system 200 is shown without an alert system enabled, according to some embodiments. A machine learning system 200 without an alert system may be vulnerable to a full-blown attack launched after poisoning of the boundary conditions of the machine learning system 200 has occurred. For example, the machine learning system 200 may receive a series of function calls (e.g., a first function f1 202 at time t1) and be trained to detect malware attacks (e.g., by learning training rules to be added to the rule set y1 203). Over time, the function calls slowly increase the tolerance of the machine learning system 200 to malware attacks. Eventually, for example, at time t n At this point, the attacker can use the function call f n 204 conducts an attack, and the machine learning system allows the attack to pass under rule set yn 205. In the example, a 1-bit input parameter R (standing for resilience) can be used to activate or deactivate the alarm system. Figure 2A The scenario is shown when R = FALSE (ie the alarm system is turned off). Figure 2A The machine learning mechanisms in are susceptible to data poisoning attacks that can damage the machine learning system.

[0023] Figure 2B A machine learning system 200 is shown that enables an alert system according to some embodiments. Figure 2B , a scenario is shown when R=TRUE, and the alarm system detects a data poisoning attack via anomaly detection. The alarm system identifies function call f1 206 at time t1 as or potentially including a induced attack, and issues an alarm to the machine learning system 200, which may modify the rule set y1 208. At a later time ti, when function call fi 210 attempts a full-blown attack, the alarm system may send an alarm to the machine learning system 200 to prevent the attack. The machine learning system 200 may change or update the rule set yi 212 to remedy the function call fi 210 attack attempt, or may deny or avoid the attack attempt altogether. The input to the alarm system may include a time series of a call graph from incoming function calls. In the example, the vertices of the call graph are functions, and the directed edges of the call graph are call relationships between functions.

[0024] Figure 3A flow chart showing a technique 300 performed by an alarm system for preventing data poisoning attacks is shown according to some embodiments. Technique 300 includes an operation of modeling the input to a machine learning system as a time series of directed graphs at box 302. The time series (t, t+1, ... t+i) shown in box 302 includes a corresponding graph (G_t, G_(t+1) ... G_(t+i)) that depicts functions as vertices and calls as edges. The graph can have directed edges, such as the directed edges shown in box 302. For example, graph G_t shows vertices 304A-304C. The edges between vertices include an edge from vertex 304B to vertex 304A, and edges in two directions between vertices 304B and 304C. There is no edge connecting vertex 304A to vertex 304C. At time t+1, graph G(t+1) shows that the edge from vertex 304B to 304A is repeated, but there is no edge between vertex 304B and 304C.

[0025] Technique 300 includes an operation of calculating local statistics at box 306. The alarm system can scan multiple series of graphs and calculate local statistics for each time window based on the subgraph caused by the response neighborhood of the call function (e.g., vertex) in the graph. In an example, the local statistics can be calculated by determining the number of edges connected to the vertex. In another example, the local statistics can be calculated by determining the number of edges connected to the vertex (which is connected to the vertex). For example, at time t, vertex 304C is only connected to vertex 304B, and vertex 304B is further connected to vertex 304A only. The local statistics of the neighborhood of one vertex from vertex 304C include vertex 304C (distance zero vertices) and vertex 304B (distance one vertex). The total count of edges in this scenario is 2 for vertex 304C plus 3 for vertex 304B, which is 5 in total. In an example, the total count of edges can be calculated for each vertex in the graph in the scan area or time. In the example at time t+i, graph G_(t+i) includes vertex 304D, which is connected to three other vertices and has locality statistics 5+3+3+5 for a neighborhood from one vertex, for a total of 16. In another example, the neighborhood may include vertices that are two (or three, four, etc.) vertices away from a given vertex.

[0026] Technique 300 includes an operation of applying time normalization at box 308. Time normalization is applied to locality statistics to perform smoothing on a time series. For example, the total number of edges of a directed graph at a specific time corresponding to the locality statistics can be divided by each locality statistic. In another example, the average number of edges of a directed graph over a certain time window can be divided by the locality statistics. In the example shown in box 302, the locality statistic for vertex 304C at time t is 5, and the locality statistic for vertex 304D at time t+i is 16. Normalizing these values ​​based on the number of edges of the corresponding directed graph changes the values ​​to 5 / 9 and 16 / 12, respectively. The ratio of 16 to 5 is 3.2, while the ratio of 16 / 12 to 5 / 9 is 2.4. Normalizing the values ​​allows the alarm system to compare locality statistics at different times to determine whether a value is an outlier. In an example, the scan statistic for the graph at a given time is the maximum value of the normalized locality statistics.

[0027] Technique 300 includes operations for detecting anomalies and issuing alerts to a machine learning system at block 310. Large values ​​of the normalized statistical information indicate change points within a time window (e.g., discrete moments or time ranges within the time window). A change point can be identified when the normalized statistical information crosses a threshold. For example, an alert can be issued when the normalized statistical information exceeds a predetermined threshold. The threshold can be determined by a separate machine learning system or technique, can be based on a normalized statistical value of a controlled or known malware attack, or can be user defined.

[0028] Figure 4 A diagram 400 is shown illustrating anomaly detection according to some embodiments, for example to prevent poisoning of machine learning system data. Diagram 400 illustrates scan statistics of a directed graph over time. The scan statistics may include locality statistics as described herein and above, which may be normalized. For example, diagram 400 may be based on an incoming time series of executable files. An incoming executable file may be modeled as a time series of a call graph, i.e.:

[0029] G t ,G t+1 ,…,G t+T

[0030] Equation 1

[0031] The alert system may provide for the computation of one of two scan statistics S, defined as:

[0032]

[0033] Equation 2

[0034]

[0035] Equation 3

[0036] Where Ψ and Φ are locality statistics in Equation 2 and Equation 3, respectively, and S is the scan statistic in both equations. Either scan statistic can be used to generate graph 400. In Equation 2, the locality statistic Ψ t;k(v) Determined by N k (v; G t ) caused by G t The number of edges in the subgraph, N k (v; G t ) is defined as a set of vertices that are at most k away from vertex v. Ω is the scan area. Scan statistics S Ψ is the time-normalized local statistics Ψ t;k(v) The maximum value of , where F represents the time normalization function. In Equation 3, the local statistics Φ t;t′,k(v) Determined by N k (v; G t ) caused by G t′ The number of edges in the subgraph. Scan statistics S Φ is the time-normalized local statistics Φ t;t′,k(v) In this example, in a streaming environment, the alarm system can use Ψ t;k(v) , because it is easy to calculate in a real-time data environment. In another example, Equation 3 can be used, for example when real-time alerts are not necessary. In the example, Equation 3 represents scan statistics based on a directed graph from a previous time period t' before time t. For example, Equation 3 can determine the nearest neighbor based on the current time t directed graph, while counting the edges based on the previous time t' directed graph. In the example, Equation 3 can be more accurate than Equation 2, which may offset time delays that are inherent in Equation 3 but not inherent in Equation 2. The alarm system can apply time normalization to the results of Equation 2 or Equation 3. A set of locality statistics for each time window (e.g., the results of Equation 2 or Equation 3) can include multiple values, such as a value for each vertex in the directed graph.

[0037] The alarm system can retrieve the maximum value from the smoothed statistics at each time window (e.g., corresponding to the vertex with the highest normalized scan statistic). These maximum values ​​can be plotted as in graph 400. Graph 400 can be used to identify anomalies (e.g., anomalies 402 and 404), which may cause the alarm system to issue an alarm to the machine learning system. For example, anomalies 402 or 404 can be detected by comparing the maximum value plotted in graph 400 with a threshold value (e.g., shown at scan statistic 406 in graph 400). In another example, an average or weighted average (rather than a maximum value) such as a weighted geometric mean can be used to determine the combined scan statistics for a particular directed graph. In this example, the combined scan statistics can be plotted over time to derive graph 400.

[0038] Figure 5 A flow chart illustrating a technique 500 for preventing attacks on a malware detection system is shown in accordance with some embodiments. The technique 500 includes an optional operation 502 of training a machine learning system to detect malware attacks. The technique 500 includes an operation 504 of modeling a time series of a directed graph of inputs during training, for example, using an incoming binary file. The binary file may include calling functions. In an example, the vertices of the directed graph are functions, and the edges of the directed graph are calling relationships between functions of corresponding vertices connected by the edges. In another example, the directed graph is a call graph.

[0039] The technique 500 includes a decision operation 506 for determining whether a change point is detected. When a change point is not detected, the technique 500 may continue to monitor the input to the machine learning system for the change point by returning to operation 504. When a change point is detected, the technique 500 includes an operation 508 for detecting an anomaly based on a directed graph, for example, during a time window of a time series. In response to detecting an anomaly, the technique may include an operation 510 for providing an alert that the anomaly has poisoned the machine learning system or potentially poisoned the machine learning system. Operation 510 may send an alert to the machine learning system, and the machine learning system may adjust, stop, or change malware detection. For example, operation 502 may be restarted, adjusted, changed, stopped, etc. Providing an alert may include preventing one or more of the binaries from reaching the machine learning system. In an example, providing an alert includes blocking an IP address of a source of one or more of the binaries. In another example, providing an alert may include rolling back the machine learning system to a previous state before the first detected anomaly. For example, providing an alert may include indicating a moment or a previously saved state to which the machine learning system is to roll back. In another example, technique 500 may also include preventing at least one of the binary files from reaching the machine learning system, blocking an IP address of a source of at least one of the binary files, or causing the machine learning system to roll back execution to a previous state before the first detected anomaly.

[0040] In an example, the directed graph corresponds to a time window. In another example, the directed graph corresponds to a previous time window that occurred before the time window. In an example, the technique 500 may include an operation 512 of preventing the input from reaching the machine learning system in response to detecting the anomaly. In an example, the technique 500 may include an operation 514 of rolling back the machine learning system to a previous state in response to detecting the anomaly. In an example, the technique 500 may include an operation 516 of blocking an IP address of a source of the input in response to detecting the anomaly. After any of operations 512-516, the technique 500 may include returning to operation 502 for further training.

[0041] In an example, detecting anomalies may include deriving scan statistics for multiple subgraphs of a directed graph, the multiple subgraphs including corresponding vertices that are several connected edges away from each specific vertex in the directed graph. Change points of the scan statistics may be detected over a time window or over a previous time window. In an example, the change point represents an anomaly and corresponds to a value of the scan statistics above a threshold in the scan statistics. In an example, the scan statistics include a count, for example, a maximum value of the number of connected edges of a subgraph in a plurality of subgraphs over a time window, and wherein the several connected edges away from a specific vertex of the subgraph include a set of k nearest neighbor vertices of the specific vertex. In another example, the scan statistics include a count, for example, a maximum value of the number of connected edges of a subgraph in a plurality of subgraphs over a previous time window. In yet another example, the scan statistics include a weighted geometric mean of locality statistics derived over a time window and scan statistics derived over a previous time window. Deriving the scan statistics may include performing time normalization on the scan statistics to smooth the scan statistics over a time window or over a previous time window.

[0042] Figure 6 An example of a block diagram of a machine 600 according to some embodiments is generally shown, and any one or more of the techniques (e.g., methods) discussed herein can be executed on the machine 600. In alternative embodiments, the machine 600 can operate as a standalone device or can be connected (e.g., networked) to other machines. In a networked deployment, the machine 600 can operate in the capacity of a server machine, a client machine, or both in a server-client network environment. In an example, the machine 600 can act as a peer machine in a peer-to-peer (P2P) (or other distributed) network environment. The machine 600 can be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile phone, a network device, a network router, a switch or a bridge, or any machine capable of executing instructions (sequential or non-sequential) that specify the actions to be taken by the machine. In addition, although only a single machine is shown, the term "machine" should also be considered to include any collection of machines that execute one (or more) instruction sets for executing any one or more of the methods discussed herein, either individually or jointly, for example, cloud computing, software as a service (SaaS), other computer cluster configurations.

[0043] Examples as described herein may include a logic unit or multiple components, modules or mechanisms, or may be operated on. A module is a tangible entity (e.g., hardware) that can perform a specified operation when in operation. A module includes hardware. In an example, the hardware may be specifically configured to perform (e.g., hardwired) specific operations. In an example, the hardware may include a configurable execution unit (e.g., a transistor, a circuit, etc.) and a computer-readable medium containing instructions, wherein the instructions configure the execution unit to perform specific operations when in operation. Configuration may occur under the guidance of an execution unit or a loading mechanism. Therefore, when the device is operating, the execution unit is communicatively coupled to the computer-readable medium. In this example, the execution unit may be a member of more than one module. For example, under operation, the execution unit may be configured by a first instruction set to implement a first module at a point in time, and reconfigured by a second instruction set to implement a second module.

[0044] The machine (e.g., computer system) 600 may include a hardware processor 602 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), a main memory 604, and a static memory 606, some or all of which may communicate with each other via an interconnect (e.g., a bus) 608. The machine 600 may also include a display unit 610, an alphanumeric input device 612 (e.g., a keyboard), and a user interface (UI) navigation device 614 (e.g., a mouse). In an example, the display unit 610, the alphanumeric input device 612, and the UI navigation device 614 may be a touch screen display. The machine 600 may additionally include a storage device (e.g., a drive unit) 616, a signal generating device 618 (e.g., a speaker), a network interface device 620, and one or more sensors 621 (e.g., a global positioning system (GPS) sensor, a compass, an accelerometer, or other sensor). The machine 600 may include an output controller 628, such as a serial connection (e.g., a universal serial bus (USB)), a parallel connection, or other wired or wireless connection (e.g., infrared (IR), near field communication (NFC), etc.) for communicating with or controlling one or more peripheral devices (e.g., a printer, a card reader, etc.).

[0045] The storage device 616 may include a non-transitory machine-readable medium 622 on which is stored one or more sets of data structures or instructions 624 (e.g., software) embodying or used by any one or more of the techniques or functions described herein. The instructions 624 may also reside, completely or at least partially, within the main memory 604, within the static memory 606, or within the hardware processor 602 during execution thereof by the machine 600. In an example, one or any combination of the hardware processor 602, the main memory 604, the static memory 606, or the storage device 616 may constitute a machine-readable medium.

[0046] Although the machine-readable medium 622 is illustrated as a single medium, the term “machine-readable medium” may include a single medium or multiple media (eg, a centralized or distributed database, or associated caches and servers) configured to store one or more instructions 624 .

[0047] The term "machine-readable medium" may include any medium that is capable of storing, encoding, or carrying instructions for execution by the machine 600 and causing the machine 600 to perform any one or more of the techniques of the present disclosure, or capable of storing, encoding, or carrying data structures used by or associated with such instructions. Non-limiting examples of machine-readable media may include solid-state memory and optical and magnetic media. Specific examples of machine-readable media may include nonvolatile memory, such as semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

[0048] The instructions 624 may also be sent or received over a communication network 626 using a transmission medium via a network interface device 620 using any of a variety of transmission protocols (e.g., frame relay, Internet Protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), a mobile telephone network (e.g., a cellular network), a plain old telephone (POTS) network, and a wireless data network (e.g., a wireless network known as a wireless network). The Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards, known as The IEEE 802.16 family of standards), IEEE 802.15.4 family of standards, peer-to-peer (P2P) networks, etc. In an example, the network interface device 620 may include one or more physical jacks (e.g., Ethernet, coaxial, or telephone jacks) or one or more antennas to connect to the communication network 626. In an example, the network interface device 620 may include multiple antennas to communicate wirelessly using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) technology. The term "transmission medium" should be taken to include any intangible medium that can store, encode, or carry instructions executed by the machine 600, and includes digital or analog communication signals or other intangible media used to facilitate the transmission of such software.

[0049] Various notes and examples

[0050] Each of these non-limiting examples may stand alone or may be combined with one or more of the other examples in various permutations or combinations.

[0051] Example 1 is a method for preventing attacks on a malware detection system, the method comprising: modeling a time series of a directed graph using an incoming binary file during training of a machine learning system to detect malware attacks; detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; and providing an alert that the anomaly has damaged the machine learning system.

[0052] In Example 2, the subject matter of Example 1 includes, wherein the vertices of the directed graph are functions corresponding to the incoming binary files, and the edges of the directed graph are call relationships between the functions of the corresponding vertices connected by the edges.

[0053] In Example 3, the subject matter of Examples 1-2 includes, wherein the directed graph corresponds to a time window.

[0054] In Example 4, the subject matter of Examples 1-3 includes, wherein the directed graph corresponds to a previous time window occurring before the time window.

[0055] In Example 5, the subject matter of Examples 1-4 includes, wherein detecting anomalies includes: exporting scan statistics for multiple subgraphs of a directed graph, the multiple subgraphs including corresponding vertices that are a number of connecting edges away from a specific vertex in the directed graph; and detecting change points in the scan statistics within a time window, the change points representing anomalies and corresponding to values ​​of the scan statistics in the scan statistics that are above a threshold.

[0056] In Example 6, the subject matter of Example 5 includes, wherein the scan statistics include a count of a maximum value of the number of connecting edges of a subgraph in a plurality of subgraphs over a time window, and wherein the number of connecting edges away from a particular vertex of the subgraph includes a set of k nearest neighbor vertices of the particular vertex.

[0057] In Example 7, the subject matter of Examples 5-6 includes, wherein the scan statistics include a count of a maximum value of a number of connecting edges of a subgraph in the plurality of subgraphs over a previous time window.

[0058] In Example 8, the subject matter of Examples 5-7 includes, wherein the scan statistics include a weighted geometric mean of locality statistics derived over the time window and scan statistics derived over previous time windows.

[0059] In Example 9, the subject matter of Examples 5-8 includes, wherein deriving the scan statistics includes performing time normalization on the scan statistics to smooth the scan statistics over the time window.

[0060] In Example 10, the subject matter of Examples 1-9 includes, wherein the directed graph is a call graph.

[0061] In Example 11, the subject matter of Examples 1-10 includes preventing at least one of the binary files from reaching the machine learning system.

[0062] In Example 12, the subject matter of Examples 1-11 includes blocking an IP address of a source of at least one of the binary files.

[0063] In Example 13, the subject matter of Examples 1-12 includes causing the machine learning system execution to roll back to a previous state before a first detected anomaly.

[0064] Example 14 is at least one machine-readable medium comprising instructions for operation of a computing system, which instructions, when executed by a machine, cause the machine to perform the operations of any of the methods of Examples 1-13.

[0065] Example 15 is an apparatus comprising means for performing any of the methods of Examples 1-13.

[0066] Example 16 is a malware detection system for preventing toxic attacks, the malware detection system including an anomaly detection system for: modeling a time series of a directed graph using an incoming binary file during training of a machine learning system to detect malware attacks; detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; and providing an alert that the anomaly has damaged the machine learning system.

[0067] In Example 17, the subject matter of Example 16 includes, wherein the vertices of the directed graph are functions corresponding to the incoming binary files, and the edges of the directed graph are call relationships between the functions of the corresponding vertices connected by the edges.

[0068] In Example 18, the subject matter of Examples 16-17 includes, wherein the directed graph corresponds to a time window.

[0069] In Example 19, the subject matter of Examples 16-18 includes, wherein the directed graph corresponds to a previous time window occurring before the time window.

[0070] In Example 20, the subject matter of Examples 16-19 includes, wherein, in order to detect anomalies, the anomaly detection system performs the following operations: exporting scan statistics for multiple subgraphs of a directed graph, the multiple subgraphs including corresponding vertices that are a number of connecting edges away from a specific vertex in the directed graph; and detecting change points in the scan statistics within a time window, the change points representing anomalies and corresponding to values ​​of the scan statistics in the scan statistics that are above a threshold.

[0071] In Example 21, the subject matter of Example 20 includes, wherein the scan statistics include a count of a maximum value of the number of connecting edges of a subgraph in a plurality of subgraphs over a time window, and wherein the number of connecting edges away from a particular vertex of the subgraph includes a set of k nearest neighbor vertices of the particular vertex.

[0072] In Example 22, the subject matter of Examples 20-21 includes, wherein the scan statistics include a count of a maximum value of a number of connecting edges of a subgraph in the plurality of subgraphs over a previous time window.

[0073] In Example 23, the subject matter of Examples 20-22 includes, wherein the scan statistics include a weighted geometric mean of locality statistics derived over the time window and scan statistics derived over previous time windows.

[0074] In Example 24, the subject matter of Examples 20-23 includes, wherein, to derive the scan statistics, the anomaly detection system performs time normalization on the scan statistics to smooth the scan statistics over the time window.

[0075] In Example 25, the subject matter of Examples 16-24 includes, wherein the directed graph is a call graph.

[0076] In Example 26, the subject matter of Examples 16-25 includes, wherein the anomaly detection system is further used to prevent at least one of the binary files from reaching the machine learning system.

[0077] In Example 27, the subject matter of Examples 16-26 includes, wherein the anomaly detection system is further configured to block an IP address of a source of at least one of the binary files.

[0078] In Example 28, the subject matter of Examples 16-27 includes, wherein the anomaly detection system further causes the machine learning system to perform a rollback to a previous state before the first detected anomaly.

[0079] Example 29 is at least one machine-readable medium comprising instructions for preventing attacks on a malware detection system, which when executed by a machine causes the machine to perform the following operations: modeling a time series of a directed graph using an incoming binary file during training of a machine learning system to detect malware attacks; detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; and providing an alert that the anomaly has damaged the machine learning system.

[0080] In Example 30, the subject matter of Example 29 includes, wherein the vertices of the directed graph are functions corresponding to the incoming binary files, and the edges of the directed graph are call relationships between the functions of the corresponding vertices connected by the edges.

[0081] In Example 31, the subject matter of Examples 29-30 includes, wherein the directed graph corresponds to a time window.

[0082] In Example 32, the subject matter of Examples 29-31 includes, wherein the directed graph corresponds to a previous time window occurring before the time window.

[0083] In Example 33, the subject matter of Examples 29-32 includes, wherein detecting anomalies includes: exporting scan statistics for multiple subgraphs of a directed graph, the multiple subgraphs including corresponding vertices that are multiple connecting edges away from a specific vertex in the directed graph; and detecting change points in the scan statistics within a time window, the change points representing anomalies and corresponding to values ​​of the scan statistics in the scan statistics that are above a threshold.

[0084] In Example 34, the subject matter of Example 33 includes, wherein the scan statistics include a count of a maximum value of the number of connecting edges of a subgraph in a plurality of subgraphs over a time window, and wherein the number of connecting edges away from a particular vertex of the subgraph includes a set of k nearest neighbor vertices of the particular vertex.

[0085] In Example 35, the subject matter of Examples 33-34 includes, wherein the scan statistics include a count of a maximum value of a number of connecting edges of a subgraph in the plurality of subgraphs over a previous time window.

[0086] In Example 36, the subject matter of Examples 33-35 includes, wherein the scan statistics include a weighted geometric mean of locality statistics derived over the time window and scan statistics derived over previous time windows.

[0087] In Example 37, the subject matter of Examples 33-36 includes, wherein deriving the scan statistics includes performing time normalization on the scan statistics to smooth the scan statistics over a time window.

[0088] In Example 38, the subject matter of Examples 29-37 includes, wherein the directed graph is a call graph.

[0089] In Example 39, the subject matter of Examples 29-38 includes instructions for preventing at least one of the binary files from reaching the machine learning system.

[0090] In Example 40, the subject matter of Examples 29-39 includes instructions for blocking an IP address of a source of at least one of the binary files.

[0091] In Example 41, the subject matter of Examples 29-40 includes instructions for causing the machine learning system to execute a rollback to a previous state before a first detected anomaly.

[0092] Example 42 is an apparatus for preventing attacks on a malware detection system, the apparatus comprising: a unit for modeling a time series of a directed graph using an incoming binary file during training of a machine learning system to detect malware attacks; a unit for detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; and a unit for providing an alert that the anomaly has damaged the machine learning system.

[0093] In Example 43, the subject matter of Example 42 includes, wherein the vertices of the directed graph are functions corresponding to the incoming binary files, and the edges of the directed graph are call relationships between the functions of the corresponding vertices connected by the edges.

[0094] In Example 44, the subject matter of Examples 42-43 includes, wherein the directed graph corresponds to a time window.

[0095] In Example 45, the subject matter of Examples 42-44 includes, wherein the directed graph corresponds to a previous time window occurring before the time window.

[0096] In Example 46, the subject matter of Examples 42-45 includes, wherein the unit for detecting anomalies includes: a unit for deriving scan statistics for multiple subgraphs of a directed graph, the multiple subgraphs including corresponding vertices that are a number of connecting edges away from a specific vertex in the directed graph; and a unit for detecting change points in the scan statistics within a time window, the change points representing anomalies and corresponding to values ​​of the scan statistics in the scan statistics that are above a threshold.

[0097] In Example 47, the subject matter of Example 46 includes, wherein the scan statistics include a count of a maximum value of the number of connecting edges of a subgraph in a plurality of subgraphs over a time window, and wherein the number of connecting edges away from a particular vertex of the subgraph includes a set of k nearest neighbor vertices of the particular vertex.

[0098] In Example 48, the subject matter of Examples 46-47 includes, wherein the scan statistics include a count of a maximum value of a number of connecting edges of a subgraph in the plurality of subgraphs over a previous time window.

[0099] In Example 49, the subject matter of Examples 46-48 includes, wherein the scan statistics include a weighted geometric mean of a number of locality statistics derived over a time window and scan statistics derived over a previous time window.

[0100] In Example 50, the subject matter of Examples 46-49 includes, wherein the means for deriving the scan statistics includes means for performing time normalization on the scan statistics to smooth the scan statistics over the time window.

[0101] In Example 51, the subject matter of Examples 42-50 includes, wherein the directed graph is a call graph.

[0102] In Example 52, the subject matter of Examples 42-51 includes means for preventing at least one of the binary files from reaching the machine learning system.

[0103] In Example 53, the subject matter of Examples 42-52 includes means for blocking an IP address of a source of at least one of the binary files.

[0104] In Example 54, the subject matter of Examples 42-53 includes means for causing the machine learning system to execute a rollback to a previous state before a first detected anomaly.

[0105] Example 55 is at least one machine-readable medium comprising instructions that, when executed by a processing circuit, cause the processing circuit to perform operations implementing any of Examples 1-54.

[0106] Example 56 is an apparatus comprising means for implementing any of Examples 1-54.

[0107] Example 57 is a system for implementing any of Examples 1-54.

[0108] Example 58 is a method for implementing any of Examples 1-54.

[0109] Example 55 is at least one machine-readable medium comprising instructions that, when executed by a machine, cause the machine to perform the operations of any of the operations of Examples 1-54.

[0110] Example 56 is an apparatus comprising means for performing any of the operations of Examples 1-54.

[0111] Example 57 is a system for performing the operations of any of Examples 1-54.

[0112] Example 58 is a method for performing the operations of any of Examples 1-54.

[0113] The method examples described herein may be at least partially machine or computer-implemented. Some examples may include a computer-readable medium or machine-readable medium encoded with instructions, which may be operable to configure an electronic device to perform a method as described in the above examples. The implementation of such a method may include code, such as microcode, assembly language code, higher-level language code, etc. Such code may include computer-readable instructions for performing various methods. The code may form part of a computer program product. In addition, in an example, the code may be tangibly stored on one or more volatile, non-temporary, or non-volatile tangible computer-readable media, such as during execution or at other times. Examples of these tangible computer-readable media may include, but are not limited to: a hard disk, a removable disk, a removable optical disk (e.g., a compact disk and a digital video disk), a cassette, a memory card or stick, a random access memory (RAM), a read-only memory (ROM), etc.

Claims

1. A malware detection system for preventing toxic attacks, the malware detection system include: Anomaly detection systems are used to: Modeling time series of directed graphs using incoming binary files during training of machine learning systems to detect malware attacks; detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; as well as providing an alert that the anomaly has corrupted the machine learning system, The vertices of the directed graph are functions corresponding to the input binary file, and the edges of the directed graph are calling relationships between functions of corresponding vertices connected by the edges.

2. The malware detection system according to claim 1, in, The directed graph corresponds to the time window.

3. The malware detection system according to claim 1, in, The directed graph corresponds to a previous time window occurring before the time window.

4. The malware detection system according to claim 1, in, To detect the anomaly, the anomaly detection system performs the following operations: Exporting scan statistics for a plurality of subgraphs of the directed graph, the plurality of subgraphs including corresponding vertices that are a number of connecting edges away from a particular vertex in the directed graph; as well as A change point of the scan statistics within the time window is detected, the change point representing the anomaly and corresponding to a value of the scan statistics above a threshold in the scan statistics.

5. The malware detection system according to claim 4, in, The scan statistics include a count of a maximum value of the number of the connecting edges of a subgraph among the multiple subgraphs over the time window, and wherein the number of connecting edges away from a specific vertex of the subgraph includes a set of k nearest neighbor vertices of the specific vertex.

6. The malware detection system according to claim 4, in, The scan statistics include a count of a maximum value of the number of the connecting edges of a subgraph among the plurality of subgraphs over a previous time window.

7. The malware detection system according to claim 4, in, The scan statistics include a weighted geometric mean of locality statistics derived over the time window and scan statistics derived over previous time windows.

8. The malware detection system according to claim 4, in, To derive the scan statistics, the anomaly detection system performs time normalization on the scan statistics to smooth the scan statistics over the time window.

9. The malware detection system according to claim 1, in, The directed graph is a call graph.

10. A method for preventing attacks on a malware detection system, the method include: Modeling time series of directed graphs using incoming binary files during training of machine learning systems to detect malware attacks; detecting anomalies based on a directed graph in the time series of the directed graph during a time window of the time series; as well as providing an alert that the anomaly has corrupted the machine learning system, The vertices of the directed graph are functions corresponding to the input binary file, and the edges of the directed graph are calling relationships between functions of corresponding vertices connected by the edges.

11. The method according to claim 10, in, The directed graph corresponds to the time window.

12. The method according to claim 10, in, The directed graph corresponds to a previous time window occurring before the time window.

13. The method according to claim 10, in, Detecting the anomaly includes: deriving scan statistics for a plurality of subgraphs of the directed graph, the plurality of subgraphs comprising corresponding vertices that are a number of connected edges away from a particular vertex in the directed graph; and A change point of the scan statistics within the time window is detected, the change point representing the anomaly and corresponding to a value of the scan statistics above a threshold in the scan statistics.

14. The method according to claim 13, in, The scan statistics include a count of a maximum value of the number of the connecting edges of a subgraph among the multiple subgraphs over the time window, and wherein the number of connecting edges away from a specific vertex of the subgraph includes a set of k nearest neighbor vertices of the specific vertex.

15. The method according to claim 13, in, The scan statistics include a count of a maximum value of the number of the connecting edges of a subgraph among the plurality of subgraphs over a previous time window.

16. The method according to claim 13, in, The scan statistics include a weighted geometric mean of locality statistics derived over the time window and scan statistics derived over previous time windows.

17. The method according to claim 13, in, Deriving the scan statistics includes performing time normalization on the scan statistics to smooth the scan statistics over the time window.

18. The method according to claim 10, in, The directed graph is a call graph.

19. The method of claim 10, further comprising preventing at least one of the binary files from reaching the machine learning system.

20. The method of claim 10, further comprising blocking an IP address of a source of at least one of the binary files.

21. The method of claim 10, further comprising causing the machine learning system to perform a rollback to a previous state before a first detected anomaly.

22. At least one machine-readable medium comprising instructions for operation of a computing system, the instructions, when executed by a machine, causing the machine to perform the operations of any one of the methods of claims 10-21.

23. An apparatus for preventing attacks on a malware detection system, the apparatus comprising means for performing the method according to any one of claims 10-21.

24. A device for preventing attacks on a malware detection system, include: a memory for storing instructions; as well as A processor coupled to the memory, the instructions, when executed by the processor, perform the method according to any one of claims 10-21.

25. A computer program product comprising instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 10-21.

Citation Information

Patent Citations

  • Novel unwanted code detecting method based on characteristics of function call relationship graph

    CN102034042A

  • Malicious code capturing method and system

    CN102833240A

  • Computer virus analyzing system based on body and virus feature extraction method

    CN103679034A

  • Dynamic selection and loading of anti-malware signatures

    CN104798080A

  • Medical image classification method based on KAP digraph model

    CN105279508A