Automatic detection and mitigation of denial of service attacks
The system addresses the inefficiencies of conventional network abuse detection by using real-time detection and classification to generate traffic rules, effectively mitigating network abuse with reduced false positives and human intervention.
Patent Information
- Application Number
- JP2023535466
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-11
- Filing Date
- 2021-12-09
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-12-09
AI Technical Summary
Conventional methods for detecting and mitigating network abuse, such as denial of service attacks, struggle with false positives, lack of fine-grained detection, and require human intervention, leading to inefficient and costly mitigation strategies.
A system and method that employs a detection model to identify network abuse in real-time, followed by a classification phase to generate network traffic rules that differentiate between legitimate and unauthorized traffic, reducing the impact of malicious traffic without human intervention.
Enables real-time detection and mitigation of network abuse with reduced false positives, allowing for automated and efficient management of network traffic rules, minimizing disruption and resource loss.
Smart Images

Figure 0007555494000001 
Figure 0007555494000006 
Figure 0007555494000007
Abstract
Description
[Technical field]
[0001] The present disclosure relates to automated detection and mitigation of network abuse, such as Denial of Service (DoS) attacks. [Background technology]
[0002] background Network abuse is typically defined as the use of a computer network for purposes prohibited by the network's acceptable use policy. A common example of network abuse is a denial of service (DoS) attack. A DoS attack occurs when legitimate users cannot access an information system, device, or other network resource due to the actions of one or more malicious actors. Affected services may include email, websites, online accounts (e.g., banking), or other services that rely on the affected computer or network. A DoS attack is typically accomplished by flooding a target host or network with network traffic until the target is unable to respond (e.g., crashes), preventing access for legitimate users. Many types of network abuse mimic legitimate traffic to avoid detection and mitigation. These attacks and other network abuses can cost organizations both time and money by making resources and services inaccessible. Summary of the Invention
[0003] overview One aspect of the disclosure provides a computer-implemented method that, when executed by data processing hardware, causes the data processing hardware to perform operations. The operations include obtaining a first set of network traffic messages representative of network traffic currently received by a network service. The operations also include determining, via a first model, whether network abuse is occurring based on the first set of network traffic messages. When network abuse is occurring, the operations include obtaining a second set of network traffic messages representative of network traffic currently received by the network service. The operations also include, for each network traffic message in the second set of network traffic messages, labeling, via a second model, the network traffic message as a fraudulent network traffic message involved in network abuse or a non-fraudulent network traffic message not involved in network abuse. The method includes generating, via a third model, at least one network traffic rule. Each network traffic rule is configured to be implemented by a firewall and, when implemented, configured to reduce an impact of the fraudulent network traffic messages.
[0004] Implementations of the present disclosure may include one or more of the following optional features: In some implementations, the first set of network traffic messages includes a plurality of network traffic windows. Each of the plurality of network traffic windows includes a subset of network traffic messages of the first set of network traffic messages that are associated with a different discrete portion of time. In some examples, the operations further include sampling a sampled set of network traffic messages from the subset of network traffic messages for each of the plurality of network traffic windows. The set of sampled network traffic messages represents an entirety of the subset of network traffic messages. Optionally, the operations further include storing characteristics of the set of sampled network traffic messages for each of the plurality of network traffic windows in a data structure.
[0005] In some implementations, determining whether network abuse is occurring includes a first model generating a fraud probability score and determining that the fraud probability score meets a fraud probability threshold. In some examples, the first model includes a neural network trained on the set of labeled network traffic messages. The operations may further include, after determining that network abuse is occurring, receiving feedback indicating that the network abuse occurring was either a false positive or actual network abuse, and updating the first model based on the feedback.
[0006] In some examples, the operations further include obtaining a set of historical network traffic messages representing network traffic received by the network service in the past. The set of historical network traffic messages may represent network traffic received by the network service prior to the network misuse. Labeling the network traffic messages as fraudulent network traffic messages involved in network misuse or non-fraudulent network traffic messages not involved in network misuse may be based on the set of historical network traffic messages. The operations may further include providing the generated at least one network traffic rule to a user associated with the network service and receiving an indication from the user to accept one of the generated at least one network traffic rule. The operations may also further include implementing the accepted network traffic rule indicated by the user.
[0007] Optionally, the operations further include receiving a user preference associated with the desired network traffic rule, and selecting one of the generated at least one network traffic rule based on the user preference. The operations also optionally further include implementing the selected network traffic rule. In some examples, the user preference includes an amount of non-abusive network traffic messages that may be affected by the selected network traffic rule. In some implementations, the network abuse includes a denial of service attack.
[0008] Another aspect of the present disclosure provides a system for detecting and mitigating network abuse. The system includes data processing hardware and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include obtaining a first set of network traffic messages representative of network traffic currently received by a network service. The operations also include determining, via a first model, whether network abuse is occurring based on the first set of network traffic messages. When network abuse is occurring, the operations include obtaining a second set of network traffic messages representative of network traffic currently received by the network service. The operations also include, for each network traffic message in the second set of network traffic messages, labeling, via a second model, the network traffic message as a fraudulent network traffic message involved in the network abuse or a non-fraudulent network traffic message not involved in the network abuse. The method includes generating, via a third model, at least one network traffic rule. Each network traffic rule is configured to be implemented by a firewall and, when implemented, configured to reduce an impact of the fraudulent network traffic message.
[0009] This aspect may include one or more of the following optional features: In some implementations, the first set of network traffic messages includes a plurality of network traffic windows. Each of the plurality of network traffic windows includes a subset of network traffic messages associated with a different discrete portion of time of the first set of network traffic messages. In some examples, the operations further include sampling a sampled set of network traffic messages from the subset of network traffic messages for each of the plurality of network traffic windows. The set of sampled network traffic messages represents an entirety of the subset of network traffic messages. Optionally, the operations further include storing characteristics of the set of sampled network traffic messages for each of the plurality of network traffic windows in a data structure.
[0010] In some implementations, determining whether network abuse is occurring includes a first model generating a fraud probability score and determining that the fraud probability score meets a fraud probability threshold. In some examples, the first model includes a neural network trained on the set of labeled network traffic messages. The operations may further include, after determining that network abuse is occurring, receiving feedback indicating that the network abuse occurring was either a false positive or actual network abuse, and updating the first model based on the feedback.
[0011] In some examples, the operations further include obtaining a set of historical network traffic messages representing network traffic received by the network service in the past. The set of historical network traffic messages may represent network traffic received by the network service prior to the network misuse. Labeling the network traffic messages as fraudulent network traffic messages involved in network misuse or non-fraudulent network traffic messages not involved in network misuse may be based on the set of historical network traffic messages. The operations may further include providing the generated at least one network traffic rule to a user associated with the network service and receiving an indication from the user to accept one of the generated at least one network traffic rule. The operations may also further include implementing the accepted network traffic rule indicated by the user.
[0012] Optionally, the operations further include receiving a user preference associated with the desired network traffic rule, and selecting one of the generated at least one network traffic rule based on the user preference. The operations also optionally further include implementing the selected network traffic rule. In some examples, the user preference includes an amount of non-abusive network traffic messages that may be affected by the selected network traffic rule. In some implementations, the network abuse includes a denial of service attack.
[0013] The details of one or more implementations of the disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages will become apparent from the description and drawings, and from the claims. [Brief description of the drawings]
[0014] [Figure 1] 1 is a schematic diagram of an example system for detecting and mitigating network fraud. [Diagram 2] 2 is a schematic diagram of an example network traffic window for a network traffic message. [Diagram 3] FIG. 2 is a schematic diagram of exemplary components of the system of FIG. 1. [Figure 4] FIG. 2 is a schematic diagram of additional exemplary components of the system of FIG. 1. [Diagram 5] FIG. 2 is a schematic diagram of user preferences for network traffic rules. [Figure 6] 4 is a flowchart of an example arrangement of operations for a method of detecting and mitigating network abuse. [Figure 7] FIG. 1 is a schematic diagram of an example computing device that may be used to implement the systems and methods described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Like reference numbers in the various drawings indicate like elements. Detailed Description As network services become increasingly ubiquitous, network abuse has become commonplace as well. Attacks such as Denial of Service (DoS) attacks are frequently used to deny access to resources and services to legitimate users. These attacks and other network abuse can cause significant disruption that costs organizations both time and money. Organizations and cloud service providers aggressively use network traffic rules to try to mitigate network abuse, but the attacks that exist are diverse, and many attacks appear to be legitimate traffic. Because blocking legitimate traffic defeats the purpose of mitigating network abuse, detecting and mitigating network abuse is generally a complex and labor-intensive endeavor.
[0016] Traditionally, network administrators implement network abuse defenses through a mixture of manual network traffic rules (e.g., put in place via a firewall) and through software-defined rules for specific applications. However, with the advent of off-premises, cloud-based services, network administrators now often instead rely on cloud provider infrastructure to manage and enforce network traffic rules and / or policies. Conventional techniques cannot address the problem with fine granularity. That is, some conventional techniques identify when an attack is occurring, but cannot identify which portions of the network traffic are part of the attack and which portions of the network traffic are legitimate. These techniques are typically poor at detecting whether an increase in traffic is network abuse or legitimate traffic, leading to false positives. In addition, conventional techniques lack any adequate scaling and instead are too computationally expensive to run live (i.e., "real-time") and / or require or depend on experts to react. Such experts generally have relatively slow reaction times and are expensive.
[0017] Implementations herein are directed to network abuse mitigators that split mitigation into a fast detection phase that determines when network abuse occurs in real time or near real time, and a relatively slower traffic classification phase. A detection algorithm operates continuously to detect when network abuse is in progress. Once the detection algorithm determines that network abuse is in progress, a signature generation algorithm classifies some or all of the network traffic as either normal (i.e., legitimate) or fraudulent traffic. The signature generation algorithm extracts key characteristics of the fraudulent traffic and generates one or more network traffic rules designed to reduce the impact of the fraudulent traffic (e.g., block the fraudulent traffic). Thus, in some implementations, the network abuse mitigator detects and mitigates network abuse in real time without the need for human intervention.
[0018] 1, in some implementations, an exemplary system 100 includes a remote system 140 that communicates with multiple remote computing devices 20, 20a-n via a network 112. The remote system 140 may be a single computer, multiple computers, or a distributed system (e.g., a cloud environment) having scalable / elastic computing resources 144 (e.g., data processing hardware) and / or storage resources 142 (e.g., memory hardware). The remote computing device 20 may be any network-connected computing device accessible via the network 112 (e.g., via the Internet).
[0019] The remote system 140 also includes one or more network services 30. The network services 30 provide network-related services for users 12 (e.g., customers, clients, administrators, etc. of the remote system 140) who communicate with the remote system 140 through the same or different network 112 via the user devices 10. The user devices 10 may correspond to any computing device, such as a desktop workstation, a laptop workstation, or a mobile device (i.e., a smartphone). The user devices 10 include computing resources 18 (e.g., data processing hardware) and / or storage resources 16 (e.g., memory hardware).
[0020] Network service 30 provides resources of a cloud network (e.g., remote system 140) to user 12 for services such as hosting, load balancing, routing, etc. For example, user 12 hosts a resource (e.g., a website) and network service 30 provides access to the resource to multiple remote computing devices 20 via the Internet (i.e., network 112) through the cloud environment of remote system 140. To help protect network service 30 from network abuse, remote system 140 executes network abuse mitigation unit 160.
[0021] The network abuse mitigation unit 160 monitors network traffic messages 22 communicated between the remote computing device 20 and the network service 30 for network abuse. Network abuse is defined as the use of a computer network in a manner prohibited by user policy. Typical network abuse includes acts such as denial of service (DoS) attacks, distributed denial of service (DDoS) attacks, page scraping, and credential stuffing attacks. Network abuse typically results in degradation or loss of service, which may cause significant disruption and loss of resources (e.g., time, money, etc.). For example, a DDoS attack is a malicious attempt to disrupt network traffic to a network service by overwhelming the network service (or its supporting infrastructure) with a large amount of network traffic. However, blocking legitimate traffic is difficult to mitigate because it would be the achievement of the goal of a DDoS attack, which is undesirable.
[0022] The network abuse mitigation component 160 includes a fraud detection component 300. The fraud detection component 300 obtains a first set 22a of network traffic messages 22 representing network traffic currently being received by the network service 30. That is, the fraud detection component 300 obtains real-time or near real-time network traffic messages 22 destined for the network service 30 from one or more of the remote computing devices 20. In some examples, the network traffic messages include some or all of the L7 (i.e., HTTP) header fields.
[0023] 2, in some examples, the first set of network traffic messages 22 includes multiple network traffic windows 210, 210a-n. As shown in the schematic diagram 200, each network traffic window 210 includes a subset of network traffic messages 22 associated with a different discrete portion of time of the first set of network traffic messages 22. In the schematic diagram 200, the x-axis indicates the passage of time, and each network traffic window 210 spans that portion of time. That is, when the first set of network traffic messages 22 includes all network traffic messages 22 captured by the fraud detector 300 over time, each network traffic window 210 represents a subset of those network traffic messages 22 received over a discrete portion of time (e.g., 15 seconds, 30 seconds, 1 minute, etc.). The "size" of each network traffic window 210 (i.e., the length of the discrete portion of time) may be uniform or may be dynamic based on changing traffic trends. For example, as the density of network traffic messages 22 increases, the size of one or more network traffic windows 210 may decrease.
[0024] In some implementations, for each of the multiple network traffic windows 210, the fraud detector 300 samples a set 22Sa-n of sampled network traffic messages 22 from the subset of network traffic messages 22 in the network traffic window 210. The set 22S of sampled network traffic messages represents the entirety of the subset of network traffic messages 22 in the network traffic window 210. That is, in some scenarios, the volume of network traffic messages 22 makes it infeasible or undesirable to analyze or process every network traffic message 22, and instead, the fraud detector 300 samples a representative set 22S of sampled network traffic messages to reduce the total number of network traffic messages 22 to analyze, while simultaneously preserving any characteristics or trends of the entire subset of network traffic messages 22 in the network traffic window 210. The fraud detector 300 may use any conventional sampling technique to obtain the set 22S of sampled network traffic messages.
[0025] Optionally, the fraud detector 300 stores characteristics of the set of sampled network traffic messages 22S for each of the multiple network traffic windows 210 in a data structure. That is, instead of storing the entirety of information associated with each of the sampled network traffic messages 22S for each network traffic window 210, the fraud detector 300 may extract certain characteristics (e.g., bandwidth, size, source address, destination address, region, etc.) from the set of sampled network traffic messages 22S to reduce the storage requirements of the set of sampled network traffic messages 22S. For example, the fraud detector 300 may store some or all of the header fields of the sampled network traffic messages 22S, or trends or aggregated statistics of values of one or more header fields of the sampled network traffic messages 22S. Optionally, the aggregated statistics use a probabilistic data structure (e.g., count-min sketch).
[0026] Referring again to FIG. 1 , the fraud detector 300, via the detection model 310, determines whether network abuse is occurring based on a first set of network traffic messages 22. That is, as discussed in more detail below, the fraud detector 300 determines whether network abuse is currently occurring based on processing the network traffic messages 22 with the detection model 310. The detection model 310 may incorporate any type of model including algorithms based on statistics or neural networks of the network traffic messages 22. In some examples, the fraud detector 300's fraud determination 302 depends on a single network traffic window 210. In other examples, the fraud detector 302 depends on multiple network traffic windows 210. That is, in these examples, the fraud detector includes sufficient memory to hold aspects of several numbers of previous network traffic windows 210 while determining whether network abuse is occurring in the current network traffic window 210. For example, the fraud detector 300 may determine whether network abuse is currently occurring based on the current network traffic window 210 and three previous network traffic windows 210.
[0027] In some implementations, the fraud detector 300 converts the first set of network traffic messages 22 into a set of time series before providing the data to the detection model 310. For example, the fraud detector 300 determines a distribution of one or more characteristics of the network traffic messages 22 (e.g., a distribution for each L7 header field) to determine a relative frequency of observations. The fraud detector 300 may determine differences based on these distributions in different network traffic windows 210, for example using Jensen-Shannon divergence, to generate the set of time series. The detection model 310 is trained to detect traffic anomalies in these time series that represent various characteristics and trends of the network traffic messages (e.g., current messages / second or various fields in the headers of the network traffic messages).
[0028] In some examples, the detection model 310 generates a fraud probability score 312. If the fraud detector 300 determines that the fraud probability score meets the fraud probability threshold, the fraud detector 300 determines that the detection model 310 has detected a current network abuse and sends a fraud verdict 302 to the message labeler 170.
[0029] Referring now to FIG. 3, in some examples, the detection model 310 includes a neural network (e.g., a long-short-term memory (LTSM) neural network) trained on a set of training network traffic samples 22T. In some implementations, each training network traffic sample 22T is labeled. That is, each training network traffic sample 22T includes a label indicating whether the training network traffic sample 22T is a sample that the detection model 310 should predict as an unauthorized network traffic sample or a legitimate network traffic sample. In some examples, a subset of the training network traffic samples 22T includes positive labels indicating legitimate network traffic samples, and a remaining subset of the training network traffic samples 22T includes negative labels indicating unauthorized network traffic samples. After the detection model 310 makes predictions for the labeled training network traffic samples 22T, the detection model 310 compares its predictions (e.g., via a loss formula) to the labels and adjusts parameters of the model 310 accordingly (e.g., via gradient descent) to learn to predict the appropriate labels. The training network traffic samples 22T may be simulated work traffic samples or historical network traffic samples, which may be network traffic messages previously received by the network service 30 that the detection model is trained to monitor and / or network traffic messages previously received by other network services.
[0030] In some implementations, the network abuse mitigation unit 160 receives feedback 320 after the fraud detection unit 300 generates a fraud decision 302 (i.e., the fraud detection unit 300 determines that network abuse is currently occurring) indicating whether network abuse was actually occurring when the fraud detection unit 300 made that decision. That is, the feedback 320 indicates whether the fraud detection unit 300 was correct or incorrect (i.e., a false positive). The network abuse mitigation unit 160 may receive the feedback 320 from the user 12 via the user device 10. For example, after the user 12 receives the notification 404 (FIG. 4) of network abuse, the user 12 investigates and determines that network abuse was or was not occurring and provides the feedback 320 accordingly. The remote system 140 may also provide the feedback 320. For example, after the fraud detection unit determines that network abuse is occurring, a more sophisticated and / or more time-consuming network traffic analysis unit may determine whether network abuse has occurred.
[0031] In some examples, the detection model 310 is updated only based on network traffic messages 22 received by the user 12 and the network service 30 associated with the detection model 310 (i.e., the network service that the detection model 310 is monitoring). In other examples, the detection model 310 is updated based on network traffic messages 22 received by other detection models 310 that monitor other network services 30. For example, a cloud environment may run many network services 30 and use many different detection models 310 to protect these network services 30. Each detection model 310 may receive different network traffic messages 22 that may be used to update the other detection models 310. In some examples, the user 12 may opt out or opt in to global detection model 310 updates.
[0032] The network abuse mitigation unit 160 may treat the feedback 320 as a label to apply to network traffic messages 22 obtained during the determined period of network abuse. That is, the network abuse mitigation unit 160 may update or fine-tune or retrain the detection model 310 based on the feedback samples 22F generated from the feedback 320 to improve the accuracy of the detection model 310.
[0033] 1 , while network abuse is occurring (i.e., the fraud detector 300 has sent a fraud verdict 302 to the message labeler 170), the message labeler 170 obtains a second set 22b of network traffic messages 22 that represent network traffic currently being received by the network service 30. In some examples, the second set of network traffic messages 22 is the same as the first set of network traffic messages 22 (i.e., the set of network traffic messages 22 obtained by the fraud detector 300). In other examples, the message labeler obtains an at least partially different set of network traffic messages 22. For example, the message labeler 170 obtains a more recent, or a larger, or a smaller set of network traffic messages 22.
[0034] The message labeler 170 also, in some examples, obtains a set of historical network traffic messages 22H. These historical network traffic messages 22H (or characteristics of the historical network traffic messages 22H) include network traffic messages 22 captured during one or previous network traffic windows 210 that may precede network misuse. For example, the fraud detector 300 may store a first set of network traffic messages 22 (or a set of sampled network traffic messages 22S or characteristics of the set of sampled network traffic messages 22S) from a previous period (e.g., 24 hours, 48 hours, etc.). The message labeler 170 obtains the set of historical network traffic messages 22H under the assumption that there is a high likelihood that the obtained set of historical network traffic messages 22H is associated primarily with legitimate traffic. That is, there is a high likelihood that no network misuse occurred during the period represented by the set of historical network traffic messages 22H, and therefore the historical network traffic messages 22H represent primarily legitimate traffic. Although not required, the set of historical network traffic messages 22H may improve the quality and / or accuracy of the message labeler 170 by providing the message labeler 170 with underlying context of the baseline traffic for the network service 30.
[0035] For each network traffic message 22 in the second set of network traffic messages, the message labeler 170, via the labeling model 172, uses the set of historical network traffic messages 22H to label each network traffic message as either a fraudulent network traffic message 22 involved in network misuse or a non-fraudulent network traffic message 22 not involved in network misuse. That is, the message labeler 170 labels each network traffic message 22 in the second set of network traffic messages 22 as either legitimate traffic or non-legitimate traffic (i.e., fraudulent traffic) based on the set of historical network traffic messages 22H that are primarily associated with legitimate traffic. Thus, the message labeler 170 generates a set of labeled network traffic messages 22L that includes a label (i.e., fraudulent or legitimate) for each of the network traffic messages 22 in the second set of network traffic messages 22.
[0036] In some implementations, the labeling model 172 uses the set of historical network traffic messages (or characteristics of the messages, such as the distribution of header fields) to determine baseline or normal traffic for the network service 30. The labeling model 172 may separate normal traffic from fraudulent traffic by mapping points into a multi-dimensional space (e.g., one dimension for each header field monitored by the network abuse mitigation unit 160) based on the probability of seeing a particular value in the set of historical network traffic messages 22H and the probability of seeing the same particular value in a second set of network traffic messages 22H (i.e., the current message). The labeling model 172 may cluster points in the multi-dimensional space to enable separation of normal and fraudulent traffic. In some implementations, the labeling model 172 measures the sum of the Jensen-Shannon divergence for each header field from the baseline distribution for the clusters of normal traffic and the clusters of fraudulent traffic. The labeling model 172 may determine that the clusters with higher Jensen-Shannon divergence are the clusters of fraudulent traffic.
[0037] In some examples, the network abuse mitigator 160 does not include the detection model 310 or the fraud detector 300, and the message labeler 170 does not receive the fraud determination 302. In this scenario, the message labeler 170 may function as the detection model 310 by determining that network abuse is occurring when a sufficient number of network traffic messages 22 are labeled as fraudulent. For example, the message labeler 170 may determine that network abuse is occurring when a certain total number or percentage of network traffic messages 22 meet a threshold.
[0038] The message labeler 170 sends a set of labeled network traffic messages 22L to the rule generator 400. The rule generator 400 generates, via the rule model 410, at least one network traffic rule 402 that, when implemented, reduces the impact of the fraudulent network traffic messages 22. That is, in some examples, the rule generator 400 receives the labeled network traffic messages 22L and derives a network traffic rule 402 that mitigates network abuse based on the labeled network traffic messages 22L. For example, the network traffic rule blocks or discards a portion of the labeled network traffic messages 22L that are labeled as fraudulent. The network traffic rule is optionally implemented in a firewall. In a particular example, the rule generator 400 may determine that a majority of the fraudulent labeled network traffic messages 22L originate from a particular region. In this scenario, the rule generator 400 may generate a network traffic rule 402 that blocks network traffic messages from the particular region. Network traffic rules 402 may block or divert network traffic messages 22 based on any number of characteristics (eg, header fields) of the network traffic messages 22 based on which characteristics are most common in abusive traffic.
[0039] Referring now to FIG. 4, the rule generator 400 includes a rule model 410, which is a rule generation algorithm that generates rules that are applicable network traffic rules 402. In general, the rule generator 400 attempts to generate rules that mitigate the maximum amount of fraudulent network traffic and affect the minimum amount of legitimate traffic. In some instances, these goals are in conflict; that is, in some instances of network abuse, the more fraudulent traffic that is blocked, the more legitimate traffic that is blocked as well. To this end, the rule generator 400, in some implementations, generates multiple network traffic rules 402, 402a-n. The network abuse mitigator 160 may send the multiple network traffic rules 402 to a user 12 associated with the network service 30 via the user device 10 along with a notification 404 indicating ongoing network abuse. In some instances, the network abuse mitigator 160 sends only the notification 404 to the user 12 and waits for a response from the user 12 before taking any action (e.g., generating one or more network traffic rules 402).
[0040] The user 12 may evaluate the impact of each proposed network traffic rule 402 on the current network traffic and select the network traffic rule 402 that is most acceptable to the user's goals or desires. The network abuse mitigation component 160 may include models, reports, and / or statistics that clearly show the user 12 the effect of each of the proposed network traffic rules 402. For example, a first network traffic rule 402 may block 95 percent of the fraudulent traffic, but also block 10 percent of the legitimate traffic, while a second network traffic rule 402 may block only 80 percent of the fraudulent traffic, but only 1 percent of the legitimate traffic.
[0041] The user 12 may provide an indication 406 indicating acceptance of one of the proposed generated network traffic rules 402 back to the network abuse mitigation unit 160. The rule implementer (e.g., a firewall) may implement the selected network traffic rule 402. In some examples, the network abuse mitigation unit 160 automatically implements one of the network traffic rules 402 without user intervention. For example, the rule generator 400 may provide a network traffic rule 402 with a highest score determined from various factors (e.g., amount of fraudulent traffic blocked, amount of legitimate traffic blocked, degradation of service, etc.), and the rule implementer 420 may immediately implement the generated network traffic rule 402. In some examples, the user 12 overrides the network traffic rule 402 at a later point in time by disabling the network traffic rule 402 or selecting a different network traffic rule 402.
[0042] 5, optionally, the network abuse mitigator 160 receives from the user 12 (e.g., via the user device 10) user preferences 510 associated with desired network traffic rules 402 or desired network traffic rule parameters. That is, the network abuse mitigator 160 may generate network traffic rules 402 and / or select which network traffic rules 402 to implement based on the user preferences 510. The user preferences may include parameters such as collateral damage susceptibility. Collateral damage refers to the amount of non-fraudulent or legitimate traffic affected by the network traffic rule. Thus, a user 12 with a high susceptibility to collateral damage has a strong aversion to blocking legitimate traffic, while a user 12 with a low susceptibility to collateral damage does not have a strong aversion to blocking legitimate traffic. This sensitivity may depend heavily on the type and nature of the network service 30 in addition to the preferences of the user 12.
[0043] Other user preferences 510 include resource provisioning (i.e., how many resources are allocated to the network service 30 and / or the user 12 and how many resources may be allocated to the network service 30), cost sensitivity (i.e., when the user 12 pays for the resources consumed by the network service 30 and / or its infrastructure), and impact sensitivity (i.e., how sensitive the user 12 is to a degradation or loss of access to the network service 30). Based on the user preferences 510, the network abuse mitigator 160 may select one of the multiple network traffic rules 402 generated by the rule generator 400, and the rule implementer 420 may automatically implement the selected network traffic rule 402 without human intervention.
[0044] 6 is a flowchart of an example arrangement of operations for a method 600 of automatically detecting and mitigating network abuse, such as a denial of service attack. The method 600 includes, at operation 602, obtaining a first set of network traffic messages 22 representing network traffic currently being received by the network service 30. At operation 604, the method 600 includes determining, via the first model 310, whether network abuse is occurring based on the first set of network traffic messages 22. When network abuse is occurring, the method 600 includes, at operation 606, obtaining a second set of network traffic messages 22 representing network traffic currently being received by the network service 30.
[0045] At operation 608, the method 600 includes, for each network traffic message 22 in the second set of network traffic messages 22, labeling the network traffic message 22 as a fraudulent network traffic message 22 involved in network misuse or a non-fraudulent network traffic message 22 not involved in network misuse via the second model 170. At operation 610, the method 600 includes generating at least one network traffic rule 402 via the third model 410. Each network traffic rule 402 is configured to be implemented by a firewall and, when implemented, configured to reduce an impact of the fraudulent network traffic message 22.
[0046] 7 is a schematic diagram of an exemplary computing device 700 that may be used to implement the systems and methods described herein. Computing device 700 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The components, their connections and relationships, and their functions shown herein are merely exemplary and are not intended to limit the implementation of the invention as described and / or claimed herein.
[0047] Computing device 700 includes a processor 710, a memory 720, a storage device 730, a high-speed interface / controller 740 that connects to memory 720 and high-speed expansion port 750, and a low-speed interface / controller 760 that connects to low-speed bus 770 and storage device 730. Each of components 710, 720, 730, 740, 750, and 760 are interconnected using various buses and may be implemented on a common motherboard or in other manners as desired. Processor 710 can process instructions for execution within computing device 700, including instructions stored in memory 720 or storage device 730, to display graphical information for a graphical user interface (GUI) on an external input / output device, such as a display 780 coupled to high-speed interface 740. In other implementations, multiple processors and / or multiple buses may be used along with multiple memories and types of memories as desired. Also, multiple computing devices 700 may be connected, with each device providing a portion of the required operations (eg, as a server bank, as a group of blade servers, or as a multi-processor system).
[0048] The memory 720 stores information non-transiently within the computing device 700. The memory 720 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. The non-transient memory 720 may be a physical device used to temporarily or permanently store programs (e.g., sequences of instructions) or data (e.g., program state information) for use by the computing device 700. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electronically erasable programmable read-only memory (EEPROM) (e.g., typically used for firmware such as boot programs). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), and disk or tape.
[0049] The storage device 730 can provide mass storage for the computing device 700. In some implementations, the storage device 730 is a computer-readable medium. In various different implementations, the storage device 730 may be an array of devices including a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid-state memory device, or a device in a storage area network or other configuration. In further implementations, the computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as the methods described above. The information carrier is a computer-readable or machine-readable medium, such as the memory 720, the storage device 730, or a memory on the processor 710.
[0050] The high-speed controller 740 manages bandwidth-intensive operations for the computing device 700, and the low-speed controller 760 manages less bandwidth-intensive operations. Such role assignments are merely exemplary. In some implementations, the high-speed controller 740 is coupled to a memory 720, a display 780 (e.g., through a graphics processor or accelerator), and a high-speed expansion port 750 that may accept various expansion cards (not shown). In some implementations, the low-speed controller 760 is coupled to a storage device 730 and a low-speed expansion port 790. The low-speed expansion port 790 may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet) and may be coupled, for example via a network adapter, to one or more input / output devices such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router.
[0051] Computing device 700 may be implemented in a number of different forms, as shown in the figure, such as as a standard server 700a or multiple times within a group of such servers 700a, as a laptop computer 700b, or as part of a rack server system 700c.
[0052] Various implementations of the systems and techniques described herein may be implemented in digital electronic and / or optical circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs executable and / or interpretable on a programmable system that includes at least one programmable processor, which may be special purpose or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0053] A software application (i.e., a software resource) may refer to computer software that causes a computing device to perform tasks. In some examples, a software application may be referred to as an "application," an "app," or a "program." Examples of applications include, but are not limited to, system diagnostic applications, system management applications, system maintenance applications, word processing applications, spreadsheet applications, messaging applications, media streaming applications, social networking applications, and gaming applications.
[0054] These computer programs (also known as programs, software, software applications or codes) contain machine instructions for a programmable processor and may be implemented in high-level procedural and / or object-oriented programming languages and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus and / or device (e.g., magnetic disk, optical disk, memory, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0055] The processes and logic flows described herein may be executed by one or more programmable processors, also referred to as data processing hardware, which execute one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be executed by special purpose logic circuitry, for example, an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). Processors suitable for executing computer programs include, by way of example, both general purpose and special purpose microprocessors, as well as any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory, or both. The essential elements of a computer are a processor for executing instructions, and one or more memory devices for storing instructions and data. Generally, a computer will also include one or more mass storage devices for storing data, such as, for example, a magnetic disk, a magneto-optical disk, or an optical disk, or be operatively coupled to receive data from or transfer data to the one or more mass storage devices, or both. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include, by way of example, all forms of non-volatile memory, media, and memory devices, including semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in, special purpose logic circuitry.
[0056] To provide for user interaction, one or more aspects of the present disclosure may be implemented on a computer having a display device, such as a CRT (cathode ray tube), LCD (liquid crystal display) monitor, or touch screen, for displaying information to a user, and optionally a keyboard and a pointing device, such as a mouse or trackball, by which a user can provide input to the computer. Other types of devices may be used to provide user interaction, for example, feedback provided to the user may be any form of sensory feedback, for example, visual feedback, auditory feedback, or tactile feedback, and input from the user may be received in any form, including acoustic input, speech input, or tactile input. In addition, the computer may interact with a user by sending documents to and receiving documents from a device used by the user, for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.
[0057] Although several implementations have been described, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. Accordingly, other implementations are within the scope of the following claims.
Claims
1. A computer-implemented method (600) that, when executed by data processing hardware (144), causes the data processing hardware (144) to perform operations, the operations including: Obtaining a first set of network traffic messages (22) representing network traffic currently being received by a network service (30); determining, via a first model (310), whether network abuse is occurring based on a first set of said network traffic messages (22); When said network abuse occurs, obtaining a second set of network traffic messages (22) representative of network traffic currently being received by the network service (30); for each network traffic message (22) in the second set (22) of network traffic messages, labeling the network traffic message (22) via a second model (172) as a fraudulent network traffic message (22) involved in the network misuse or a non-fraudulent network traffic message (22) not involved in the network misuse; The method (600) includes generating at least one network traffic rule (402) via the third model (410), each network traffic rule (402) configured to be implemented by a firewall and, when implemented, reducing an effect of the malicious network traffic message (22).
2. 2. The method (600) of claim 1, wherein the first set of network traffic messages (22) comprises a plurality of network traffic windows (210), each of the plurality of network traffic windows (210) comprising a subset of network traffic messages (22) of the first set of network traffic messages (22) associated with a different discrete portion of time.
3. 3. The method (600) of claim 2, wherein the operations further include sampling a set of sampled network traffic messages (22S) from the subset of network traffic messages (22) for each of the plurality of network traffic windows (210), the set of sampled network traffic messages (22S) representing an entirety of the subset of network traffic messages (22).
4. 4. The method of claim 3, wherein the operations further comprise storing characteristics of the set of sampled network traffic messages for each of the plurality of network traffic windows in a data structure.
5. Determining whether said network abuse has occurred includes: the first model (310) generating a fraud probability score (312); and determining that the fraud probability score (312) satisfies a fraud probability threshold.
6. The method (600) of any one of claims 1 to 5, wherein the first model (310) comprises a neural network trained on a set of labeled network traffic messages (22L).
7. The operation, after determining that the network misuse is occurring, comprises: receiving feedback (320) indicating that the occurring network abuse was either a false positive or an actual network abuse; The method (600) of any one of claims 1 to 6, further comprising: updating the first model (310) based on the feedback (320).
8. The operation further comprises: obtaining a set of historical network traffic messages (22H) representing network traffic previously received by said network service (30); the set of historical network traffic messages (22H) representing network traffic previously received by the network service (22H) prior to the network abuse; The method (600) of any one of claims 1 to 7, wherein labeling the network traffic message (22) as a fraudulent network traffic message (22) involved in the network abuse or a non-fraudulent network traffic message (22) not involved in the network abuse is based on the set of historical network traffic messages (22H).
9. The operation further comprises: providing said generated at least one network traffic rule (402) to a user (12) associated with said network service (30); receiving an indication from the user (12) to accept one of the at least one generated network traffic rule (402); Implementing the accepted network traffic rules (402) indicated by the user (12).
10. The operation further comprises: receiving user preferences (510) associated with desired network traffic rules (402); selecting one of the generated at least one network traffic rule (402) based on the user preferences (510); Implementing said selected network traffic rules (402).
11. 11. The method (600) of claim 10, wherein the user preferences (510) include an amount of non-illegal network traffic messages (22) that may be affected by the selected network traffic rule (402).
12. The method (600) of any one of claims 1 to 11, wherein the network abuse comprises a denial of service attack.
13. A system (100), comprising: Data processing hardware (144); and memory hardware (142) in communication with the data processing hardware (144), the memory hardware (142) storing instructions that, when executed on the data processing hardware (144), cause the data processing hardware (144) to perform operations, the operations including: Obtaining a first set of network traffic messages (22) representing network traffic currently being received by a network service (30); determining, via a first model (310), whether network abuse is occurring based on a first set of said network traffic messages (22); When said network abuse occurs, obtaining a second set of network traffic messages (22) representative of network traffic currently being received by the network service (30); for each network traffic message (22) in the second set (22) of network traffic messages, labeling the network traffic message (22) via a second model (172) as a fraudulent network traffic message (22) involved in the network misuse or a non-fraudulent network traffic message (22) not involved in the network misuse; The system (100) generates at least one network traffic rule (402) via the third model (410), each network traffic rule (402) configured to be implemented by a firewall and, when implemented, reduces an effect of the malicious network traffic message (22).
14. 14. The system (100) of claim 13, wherein the first set of network traffic messages (22) comprises a plurality of network traffic windows (210), each of the plurality of network traffic windows (210) comprising a subset of network traffic messages (22) of the first set of network traffic messages (22) associated with a different discrete portion of time.
15. 15. The system (100) of claim 14, wherein the operations further include sampling a set of sampled network traffic messages (22S) from the subset of network traffic messages (22) for each of the plurality of network traffic windows (210), the set of sampled network traffic messages (22S) representing an entirety of the subset of network traffic messages (22).
16. 16. The system (100) of claim 15, wherein the operations further comprise storing characteristics of the set of sampled network traffic messages (22S) for each of the plurality of network traffic windows (210) in a data structure.
17. Determining whether said network abuse has occurred includes: the first model (310) generating a fraud probability score (312); and determining that the fraud probability score satisfies a fraud probability threshold.
18. The system (100) of any one of claims 13 to 17, wherein the first model (310) comprises a neural network trained on a set of labeled network traffic messages (22L).
19. The operation, after determining that the network misuse is occurring, comprises: receiving feedback (320) indicating that the occurring network abuse was either a false positive or an actual network abuse; The system (100) of any one of claims 13 to 18, further comprising updating the first model (310) based on the feedback (320).
20. The operation further comprises: obtaining a set of historical network traffic messages (22H) representing network traffic previously received by said network service (30); the set of historical network traffic messages (22H) representing network traffic previously received by the network service (30) prior to the network abuse; The system (100) of any one of claims 13 to 19, wherein labeling the network traffic message (22) as a fraudulent network traffic message (22) involved in the network abuse or a non-fraudulent network traffic message (22) not involved in the network abuse is based on the set of historical network traffic messages (22H).
21. The operation further comprises: providing said generated at least one network traffic rule (402) to a user (12) associated with said network service (30); receiving an indication from the user (12) to accept one of the at least one generated network traffic rule (402); Implementing the accepted network traffic rules (402) indicated by the user (12).
22. The operation further comprises: receiving user preferences (510) associated with desired network traffic rules (402); selecting one of the generated at least one network traffic rule (402) based on the user preferences (510); Implementing the selected network traffic rules (402).
23. 23. The system (100) of claim 22, wherein the user preferences (510) include an amount of non-illegal network traffic messages (22) that may be affected by the selected network traffic rule (402).
24. The system (100) of any one of claims 13 to 23, wherein the network abuse comprises a denial of service attack.
Citation Information
Patent Citations
Ddos defense method and router device with ddos defense function
JP2005039721A
Fingerprint merging and risk level evaluation for network anomaly detection
US20160352765A1
Network anomaly detection
WO2020222872A1
