WO2002021278A1 - Coordinated thwarting of denial of service attacks - Google Patents

Coordinated thwarting of denial of service attacks Download PDF

Info

Publication number
WO2002021278A1
WO2002021278A1 PCT/US2001/027244 US0127244W WO0221278A1 WO 2002021278 A1 WO2002021278 A1 WO 2002021278A1 US 0127244 W US0127244 W US 0127244W WO 0221278 A1 WO0221278 A1 WO 0221278A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network
traffic
victim
packets
Prior art date
Application number
PCT/US2001/027244
Other languages
French (fr)
Inventor
Marinus Frans Kaashoek
Edward W. Kohler, Jr.
Massimiliano Antonio Poletto
Robert T. Morris
Original Assignee
Mazu Networks, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazu Networks, Inc. filed Critical Mazu Networks, Inc.
Priority to AU2001292566A priority Critical patent/AU2001292566A1/en
Publication of WO2002021278A1 publication Critical patent/WO2002021278A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1458Denial of Service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/102Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measure for e-commerce
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Definitions

  • This invention relates to techniques to thwart network-related denial of service attacks.
  • an attacker sends a large volume of malicious traffic to a victim.
  • an attacker via a computer system connected to the Internet infiltrates one or a plurality of computers at various data centers. Often the attacker will access the Internet through an Internet Service Provider (ISP) .
  • ISP Internet Service Provider
  • the attacker by use of a malicious software program places the plurality of computers at the data centers under its control. When the attacker issues a command to the computers at the data centers, the machines send data out of the data centers at arbitrary times. These computers can simultaneously send large volumes of data over various times to the victim preventing the victim from responding to legitimate traffic.
  • a central controller system to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes a communication device to receive data from a plurality of monitors, over a hardened, redundant network and a computer system.
  • the computer system includes a process that executes on the computer system to analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
  • a method to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes receiving data from a plurality of monitors, over a hardened, redundant network and analyzing the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
  • a computer program product to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes instructions to cause a computer to receive data from a plurality of monitors, over a hardened, redundant network and analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
  • the control center analyzes data from gateways and data collectors to detect attacks on victim sites. It can identify the source of the attack and provides a mechanism to notify an administrator at the victim site to install a filter or filters at appropriate points to discard traffic associated with the attack.
  • the control center queries data collectors and asks which data collectors are seeing suspicious traffic being sent to the victim.
  • the control center can issue a query for packet data by victim destination address. Based collected information, the control center can then determine what data centers are performing the spoofing on the victim. The information is used to either automatically shutdown traffic having the victim's destination address at the appropriate gateways or is used to identify networks or data centers from which the attack is originating and to follow up with calls to the appropriate administrators.
  • FIG. 1 is a block diagram of networked computers showing an architecture to thwart denial of service attacks .
  • FIG. 2 is a block diagram depicting details of placement of a gateway.
  • FIG. 3 is a block diagram depicting details of placement of data collectors.
  • FIG. 4 is flow chart depicting a data collection process.
  • FIG. 5 is a flow chart depicting details of a control center.
  • FIG. 6 is a diagram depicting functional layers of a monitoring process.
  • FIG. 7 is a diagram depicting one technique to gather statistics for use in algorithms that determine sources of an attack.
  • FIG. 8 is a diagram depicting an alternative technique to gather statistics for use in algorithms that determine sources of an attack.
  • FIG. 9 is flow chart depicting a process to determine receipt of bad TCP traffic.
  • FIG. 10 is flow chart depicting a process to defend against setup time connection attacks.
  • the arrangement 10 is used to thwart denial of service attacks (DoS attacks) to thwart an attack on a victim data center 12, e.g., a web site or other network site under attack.
  • the victim 12 is coupled to the Internet 14 or other network.
  • the victim 12 has a web server located at a data center (not shown) .
  • An attacker via a computer system 16 that is connected to the Internet e.g., via an Internet 14 Service Provider (ISP) 18 or other approach, infiltrates one or a plurality of computers at various other sites or data centers 20a-20c.
  • ISP Internet 14 Service Provider
  • the attacker by use of a malicious software program 21 that is generally surreptitiously loaded on the computers of the data centers 20a-20c, places the plurality of computers in the data centers 20a- 20c under its control.
  • the data centers 20a-20c send data out at arbitrary times.
  • These data centers 20a-20c can simultaneously send large volumes of data at various times to the victim 12 to prevent the victim 12 from responding to legitimate traffic.
  • the arrangement 10 to protect the victim includes a control center 24 that communicates with and controls gateways 26 and data collectors 28 disposed in the network 14. The arrangement protects against DoS attacks via intelligent traffic analysis and filtering that is distributed throughout the network.
  • the control center 24 is coupled to the gateways 26 and data collectors 28 by a hardened, redundant network 30.
  • Gateways 26 and data collectors 28 are types of monitors that monitor and collect statistics on network traffic. In preferred embodiments, the network is inaccessible to the attacker.
  • the gateway 26 devices are located at the edges of the Internet 14, for instance, at the entry points of data centers. The gateway devices constantly analyze traffic, looking for congestion or traffic levels that indicate the onset of a DoS attack.
  • the data collectors 28 are located inter alia at major peering points and network points of presence (PoPs) . The data collectors 28 sample packet traffic, accumulate, and collect statistical information about network flows.
  • PoPs network points of presence
  • All deployed devices e.g., gateways 26 and data collectors 28 are linked to the central control center.
  • the control center aggregates traffic information and coordinates measures to track down and block the sources of an attack.
  • the arrangement uses a distributed analysis emphasizing the underlying characteristics of a DoS attack, i.e., congestion and slow server response, to produce a robust and comprehensive DoS solution.
  • this architecture 10 can stop new attacks rather than some solutions that can only stop previously seen attacks.
  • the distributed architecture 10 will frequently stop an attack near its source, before it uses bandwidth on the wider Internet 14 or congests access links to the targeted victim 12.
  • a virus is one way to get attacks started. When surfing the web page a user may download something, which contains a virus that puts the user' s computer under the control of some hacker. In the future, that machine can be one of the machines that launches the attack. The attacker only needs a sufficient amount of bandwidth to get a sufficient number of requests out to the victim 12 to be malicious.
  • FIG. 2 details of an exemplary deployment of a gateway is shown. Other deployments are possible and the details of such deployments would depend on characteristics of the site, network, cost and other considerations.
  • the gateway 26 is a program executing on a device, e.g., a computer 27 that is disposed at the edge of the data center 20 behind an edge router at the edge of the Internet 14.
  • a plurality of gateway devices are deployed at a corresponding plurality of locations, e.g., data centers or sites over the network, e.g., the Internet 14. There can be one gateway or a plurality of gateways at each data center, but that is not necessarily required.
  • the gateway 26 includes a monitoring process 32 (FIG. 6B) that monitors traffic that passes through the gateway as well as a communication process 33 that can communicate statistics collected in the gateway 26 with the data center 24.
  • the gateway uses a separate interface over a private, redundant network, such as a modem 39 to communicate with the control center 24 over the hardened network 30. Other interface types besides a modem are possible.
  • the gateway 26 can include processes 35 to allow an administrator to insert filters to filter out, i.e., discard packets that the device deems to be part of an attack, as determined by heuristics described below.
  • An attack can be designed to either overload the servers or overload some part of the network infrastructure inside the victim site 12.
  • the victim site 12 can include routers, switches, load balancers and other devices inside the data center that can be targeted by the attack.
  • a particularly troublesome attack causes overload of upstream bandwidth.
  • Upstream bandwidth is the capacity between the victim 12 data center 12a and one or a plurality of routers or switches belonging to the victim 12 data center's network service provider, which provides connectivity to the rest of the network, e.g., the Internet.
  • the victim site 12 can include a plurality of high bandwidth lines feeding a GSR (Gigabit Switch Router) .
  • GSR gigabit Switch Router
  • At the output of the GSR are exit ports to various parts of the data center.
  • the GSR is generally very high bandwidth and generally does not crash.
  • the gateway 26 is placed behind the GSR and across some or all of the output ports of the GSR into the data center. This configuration allows the gateway 26 to monitor and control some or all of the traffic entering the data center without the need to provide routing functionality.
  • a gateway 26 can tap a network line without being deployed physically in line, and it can control network traffic, for example, by dynamically installing filters on nearby routers.
  • the gateway 26 would install these filters on the appropriate routers via an out of band connection, i.e. a serial line or a dedicated network connection.
  • an out of band connection i.e. a serial line or a dedicated network connection.
  • Other arrangements are of course possible.
  • data collectors 28 are shown coupled to the network to tap or sample traffic from data centers 20a-20c. Although data collectors 28 can be dispersed throughout the network 14 they can be strategically disposed at peering points, i.e., points where network traffic from two or more different backbone providers meet. The data collectors 28 can also be disposed at points of presence (PoPs) . The data collectors 28 monitor and collect information pertaining to network traffic flow. The data collectors process statistics based on monitored network traffic that enters a peering point. Data collectors 28 include a monitoring process 32 (FIG. 6) as well as a communication process that communicates data to the control center over the hardened network 30. One or more data collector devices 28 use the monitoring process to monitor one or more lines that enter the peering point. Each data collector 28 would be able to monitor one or more lines depending on the specifics of how the network is configured and bandwidth requirements.
  • the gateway 26 and data collector 26- are typically software programs that are executed on devices such as computers, routers, or switches. In one arrangement, packets pass through the gateway 26 disposed at the data center 22a and are sampled by the data collector.
  • the data collector 26 performs 40 a sampling and statistic collection process 40.
  • the data collector samples 42 one (1) packet in every (n) packets and has counters to collect statistics about every packet.
  • the data collector 26 parses the information in the sampled packet.
  • Information collected includes source information 44, which may be fake or spoofed, e.g., not correct information. It will also include destination information 46, which generally is accurate information.
  • the data collector 28 collects that information but need not log the sampled packets.
  • the data collector 28 maintains a log over a period of time, e.g., in the last hour.
  • the log that the data collector 26 maintains is a log that specifies that the data collector has seen a certain number of packets, e.g., 10,000 packets of a particular kind, that apparently originated from a particular source (s) that are going to a particular destination.
  • the data collector 26 Based on rules 48 within the data collector 26, the data collector 26 analyzes 50 the collected statistics and may if necessary compose 52 a message that raises an alarm. Alternatively, the data collector can respond to queries concerning characteristics of traffic on the network. Typically, the queries can be for information pertaining to statistics. It can be in the form of an answer to a question e.g., how many packets of a type did the data collector see or it can be a request to down load via the hardened network, the entire contents of the log.
  • One rule is that when the data collector 26 starts sampling, the data collector periodically logs data and produces a log of a large plurality of different network flows over a period of time.
  • the control center 24 receives information from one or more gateways 26 and data collectors 28 and performs appropriate analysis using an analysis process 62.
  • the control center is a hardened site.
  • the control center 24 has multiple upstream connections so that even during an attack it will have other ways to couple to the network 30.
  • Several approaches can be used to harden the site.
  • One approach can use special software between the site and the Internet 14 to make it immune to attack.
  • An approach is to have a physically separate network 30 connected to all of the devices, e.g., gateways 26 and data collectors 28.
  • One exemplary embodiment of that physically separate network 30, which is hardened, is the telephone system.
  • each one of the data collectors 26 and gateways 26 includes an interface to the separate network, e.g., a modem.
  • the data center 26 also includes a corresponding interface to the separate network, e.g., a modem or a modem bank 60.
  • the redundant network 30 is not accessible to the attacker.
  • the redundant network 30 thus is available to communicate between the data center 24 and data collectors and gateways to coordinate response to an attack.
  • the network 30 used by the data center to communicate with the data collectors 26 and gateways 26 is not available to the attacker.
  • the control center could be resistant to attack and still be connected to the Internet 14.
  • the analysis process 62 that is executed on the control center 24 analyzes data from the gateways 26 and data collectors 28.
  • the analysis process 62 tries to detect attacks on victim sites.
  • the analysis process 62 views attacks as belonging to, e.g., one of three classes of attack. Herein these classes of attack are denoted as low-grade with spoofing, low-grade without spoofing and high-grade whether spoofing or non-spoofing.
  • a low-grade attack is an attack that does not take out upstream bandwidth.
  • a low-grade attack does not significantly overburden the links between the Internet 14 and the victim data center 12.
  • the low-grade non-spoofing attack is the simplest type of attack to defend against. It simply requires identifying the source of the attack and a mechanism to notify an administrator at the victim site to install a filter or filters at appropriate points to discard traffic containing the source address associated with the attack.
  • the control center 24 also includes a communication process 63 to send data to/from the gateways 26 and data collectors 28.
  • the gateway 26 at the victim 12 contacts the control center and notifies the control center 24 that the victim 12 data center is under a spoofing attack.
  • the gateway 26 identifies itself by network address (e.g., static IP address if on the Internet 14) , via a message to the control center 24.
  • the message sent over the hardened network 30 indicates the type of attack, e.g., an attack from addresses that the victim 12 cannot stop because it is a spoofing type of attack.
  • the control center queries data collectors 28 and asks which data collectors 28 are seeing suspicious traffic being sent to the victim 12.
  • the packets from the attacker will have faked source addresses that will be changing with time.
  • the control center can issue a query for this kind of packet by victim destination address.
  • the data collectors 28 reply with the information collected. Based on that collected information from the data collectors 28, the control center can then determine what data centers are performing the spoofing on the victim 12.
  • attack traffic there are two possible sources of attack traffic: either the attacker is behind a gateway 26 or not. If the attacker is behind a gateway 26, the control center issues a request to the appropriate gateway 26 to block the attacking traffic, e.g. by allowing the appropriate gateway 26 to discard traffic, e.g., packets that contain the victim 12 destination address. The gateway 26 stops that traffic in a transparent manner. If the attacker is not behind a gateway 26, data collectors 28 are used to provide information about possible locations of the attackers. The availability of information from data collectors 28 increases the speed with which attackers are discovered. The data collectors 28 are positioned at network switching points that see a high volume of traffic, which minimizes the required number of deployed data collectors .
  • the high-grade attacks are attacks that take out the link between the victim 12 data center and the Internet 14. With a high-grade attack it does not matter whether the victim 12 is spoofed or not. Under a high-grade attack, the attack requires cooperation just like the low grade spoofing attack. Thus, the same thwarting mechanism is used for either spoofing or non-spoofing, e.g., using information from the data collectors 28 to identify attacking networks. This information is used to either automatically shutdown traffic having the victim's destination address at the appropriate gateways 26 or is used to identify networks or data centers from which the attack is originating and to follow up with calls to the appropriate administrators.
  • a monitoring process 32 is shown.
  • the monitoring process 32 can be deployed on data collectors 28 as well as gateways 26.
  • the monitoring process 32 includes a process 32a to collect statistics of packets that pass by the data collectors 28 or through the gateways 26.
  • the monitoring process 32 also includes several processes 32b to identify, malicious traffic flows based on the collected statistics as further described below.
  • the gateways 26 and data collectors 28 are capable of looking at multiple levels of granularity.
  • the gateways 26 and data collectors have monitoring process 32 used to measure some parameter of traffic flow.
  • One goal of the gateways 26 and data collectors 28 is to measure some parameter of network traffic. This information collected by the gateways 26 and data collectors is used to trace the source of an attack.
  • One of the algorithms to measure parameters of traffic flow divides the traffic flow into buckets. For example, consider one simple parameter, the count of how many packets a data collector or gateway examines. An algorithm to track the count of this parameter starts with a predefined number of buckets, e.g., "N" buckets. The buckets are implemented as storage areas in the memory space of the data collector or gateway device. The algorithm will use some hash function "f(h)", which takes the packet and outputs an integer that corresponds to one of the buckets "B ⁇ -B N ". Statistics from the packets start accumulating in the buckets ⁇ B ⁇ _ B N " .
  • the buckets ⁇ B ⁇ _ B N " are configured with threshold values "Th." As the contents of the buckets Bi - B N reach the configured thresholds values "Th", (e.g., compare values of packet count or packet rate to threshold) , the monitoring process 32 deems that event to be of significance.
  • the monitoring process 32 takes that bucket, e.g., Bi and divides that bucket Bi into some other number M of new buckets Bn - B iM .
  • Each of the new buckets Bn - Bj. M contains values appropriately derived from the original bucket Bi.
  • the hash function is extended to map to N+M-l h ⁇ N+ -l" values, rather than the original N values.
  • An attack designed to use the algorithm of FIG. 6 against a gateway 26 or a data collector 28 might send packets in such a fashion as to explode the number of buckets. Since each bucket consumes memory space, the attack can be designed to consume all available memory and crash the device, e.g., computer on which the monitoring process 32 executes. There are ways of preventing that type of attack on the monitoring process 32. One way is to make the hash function change periodically, e.g., randomly. Also the hash function is secret so that the packets are reassigned to different buckets in ways unknown to the attackers.
  • a second method is that instead of using just thresholds and values inside a given bucket, the monitoring process 32 also sets thresholds on the number of buckets. As the gateway 26 or data collector 28 approaches a bucket threshold "Th", the gateway 26 or data collector 28 have the ability to take several buckets Bi _ B 3 and divide them in more buckets Bi _ B 4 or combine them into fewer bucket Bi _ B 2 .
  • variable number of buckets The function of the variable number of buckets is to dynamically adjust the monitoring process to the amount of traffic and number of flows, so that the monitoring device (e.g., gateway 26 or data collector 28) is not vulnerable to DoS attacks against its own resources.
  • the variable number of buckets also efficiently identifies the source (s) of attack by breaking down traffic into different categories (buckets) and looking at the appropriate parameters and thresholds in each bucket.
  • traffic is monitored at multiple levels of granularity, from aggregate to individual flows. Multilevel analysis can be applied to all types of monitoring (i.e. TCP packet ratios, repressor traffic, etc.
  • the resulting per-flow monitoring is resilient to denial-of- service attacks. If the number of buckets exceeds a given memory limit (for example, due to a many-flow spoofing attack) , several fine-grain buckets can be aggregated into a single coarse-grain bucket.
  • the hash function for placing packets into traffic buckets is secret and changes periodically, thwarting attacks based on carefully chosen addresses.
  • an attacker actually spoofs packets from all possible addresses.
  • An IP address for example is 32 bits long. This address length allows for approximately 4 billion possible random addresses and makes it impossible for the gateway at the victim site 12 to identify the attacker.
  • the gateway 26 calls the control center, indicates the address of the gateway 26, and conveys that the gateway 26 is receiving unreasonably high levels of random traffic.
  • the control center 24 contacts the data collectors 28.
  • the control center 24 analyzes the statistics collected by the data collectors 28 to try to determine the source of the traffic.
  • Egress filtering is a recommended Internet 14 best practice procedure that does not allow any packets out of a network unless the source address belongs to that network. Egress filtering prevents hosts on that network from sending out packets with completely random source addresses.
  • the space of usable fake addresses is limited by the size of the host's network address space, and may range up to 24 bits rather than the full 32 bits. If an attacker is attacking from a network that performs egress filtering, then all the attack traffic reaching a victim will fall into a smaller number of buckets, those corresponding to the source network address. In this way, the gateway 26 can identify the approximate source of the attack without necessarily relying on the control center or data collectors.
  • the gateway 26 can detect DoS attacks and identify malicious flows or source addresses using at least one or more of the following methods including: analyzing packet ratios of TCP-like traffic; analyzing "repressor" traffic for particular types of normal traffic; performing TCP handshake analysis; performing various types of packet analysis at packet layers 3-7; and logging/historical analysis.
  • the Transmission Control Protocol is a protocol in which a connection between two hosts, a client C, e.g. a web browser, and a server S, e.g. a web server, involves packets traveling in both directions, between C and S and between S and C.
  • a client C e.g. a web browser
  • a server S e.g. a web server
  • TCP Transmission Control Protocol
  • C sends data to S and S receives it
  • S replies with an ACK (“acknowledgement”) packet. If C does not receive the ACK, it will eventually try to retransmit the data to S, to implement TCP's reliable delivery property.
  • a server S will acknowledge (send an ACK) for every packet or every second packet.
  • the monitoring process in the gateway 26 can examine 82 a ratio of incoming to outgoing TCP packets for a particular set of machines, e.g. web servers.
  • the monitoring process can compare 84 the ratio to a threshold value.
  • the monitoring process can store 86 this ratio, time stamp it, etc. and conduct an ongoing analysis 88 to determine over time for example how much and how often it exceeds that ratio.
  • This ratio is one of the parameters measured using the multiple-bucket algorithm described previously.
  • the gateway 26 divides traffic into multiple buckets, e.g. by source network address, and tracks the ratio of ingoing to outgoing traffic for each bucket. As the ratio for one bucket becomes skewed, the gateway 26 may subdivide that bucket to obtain a more detailed view. The gateway 26 raises 90 a warning or alarm to the data center 24 and/or to the administrators at the victim site 12.
  • Repressor traffic refers to any network traffic that is indicative of problems or a potential attack in a main flow of traffic.
  • a gateway 26 may use repressor traffic analysis to identify such problems and stop or repress a corresponding attack.
  • repressor traffic is ICMP port unreachable messages. These messages are generated by an end host when it receives a packet on a port that is not responding to requests. The message contains header information from the packet in question.
  • the gateway 26 can analyze the port unreachable messages and use them to generate logs for forensic purposes or to selectively block future messages similar to the ones that caused the ICMP messages.
  • a TCP connection between two hosts on the network is initiated via a three-way handshake.
  • the client e.g. C
  • sends the server e.g. S
  • a SYN "synchronize" packet
  • S replies with a SYN ACK ("synchronize acknowledgment") packet
  • the client C replies to the SYN ACK with an ACK (“acknowledgment”) packet.
  • appropriate states to manage the connection are established on both sides.
  • a server is sent many SYN packets but the attacking site never responds to the corresponding SYN ACKs with ACK packets.
  • the resulting "half-open" connections take up state on the server and can prevent the server from opening up legitimate connections until the half-open connection expires, which usually takes 2-3 minutes.
  • an attacker can effectively prevent a server from serving any legitimate connection requests.
  • a gateway 26 can defend against SYN flood attacks.
  • the gateway forwards 102 a SYN packet from a client to a server.
  • the gateway forwards 104 a resulting SYN ACK packet from a server to client and immediately sends 106 ACK packet to the server, closing a three-way handshake.
  • the gateway maintains the resulting connection for a timeout period 108. If the ACK packet does not arrive from client to server 110, the gateway sends 112 a RST ("reset") to the server to close the connection. If the ACK arrives 114, gateway forwards 116 the ACK and forgets 118 about the connection, forwarding subsequent packets for that connection.
  • a variable timeout 120 period can be used.
  • variable time out period can be inversely proportional to number of connections for which a first ACK packet from client has not been received. If gateway 26 is placed inline in the network, when number of non-ACK'ed connections reaches a configurable threshold 122, the gateway will not forward any new SYNs until it finishes sending RSTs for those connections .
  • a gateway 26 can similarly keep track of ratios of SYNs to SYN ACKs and SYN ACKs to ACKs, and raise appropriate alarms when a SYN flood attack situation occurs.
  • Layer 3-7 analysis With layer 3-7 analysis, the gateway 26 looks at various traffic properties at network packet layers 3 through 7 to identify attacks and malicious flows. These layers are often referred to as layers of the Open System Interconnection (OSI) reference model and are network, transport, session, presentation and application layers respectively. Some examples of characteristics that the gateway may look for include: 1. Unusual amounts of IP fragmentation, or fragmented IP packets with bad or overlapping fragment offsets.
  • OSI Open System Interconnection
  • TCP segments advertizing unusually small window sizes, which may indicate load on server, or TCP ACK packets not belonging to a known connection.
  • the gateways 26 and data collectors 28 keep statistical summary information of traffic over different periods of time and at different levels of detail.
  • a gateway 26 may keep mean and standard deviation for a chosen set of parameters across a chosen set of time-periods.
  • the parameters may include source and destination host or network addresses, protocols, types of packets, number of open connections or of packets sent in either direction, etc.
  • Time periods for statistical aggregation may range from minutes to weeks.
  • the device will have configurable thresholds and will raise warnings when one of the measured parameters exceeds the corresponding threshold.
  • the gateway 26 can also log packets. In addition to logging full packet streams, the gateway 26 has the capability to log only specific packets identified as part of an attack (e.g., fragmented UDP packets or TCP SYN packets that are part of a SYN flood attack) . This feature of the gateway 26 enables administrators to quickly identify the important properties of the attack. Building a DoS-resistant network
  • the network of gateways 26, data collectors 28, and control center 24 are made DoS resistant by combining and applying several techniques. These techniques include the use of SYN cookies and "hashcash" to make devices more resistant to SYN floods and other attacks that occur at connection setup time. Also, the data center can use authentication and encryption for all connections. Private/public key pairs are placed on machines before deployment to avoid man-in-the-middle attacks.
  • the control center 24 can have multiple physical connections from different upstream network service providers.
  • the network over which the data center communicates between gateways and data collectors is a private redundant network that is inaccessible to attackers.
  • gateways/data collectors Information exchange between gateways/data collectors and the control center is efficient by transferring only statistical data or minimal header information, and by compressing all data.
  • APPENDIX A includes Click code for monitor software.
  • APPENDIX B sets out additional modules for a Click Router that pertains to thwarting DoS attacks.
  • Click is a modular software router system developed by The Massachusetts Institute of Technology' s Parallel and Distributed Operating Systems group.
  • a Click router is an interconnected collection of modules or elements used to control a router' s behavior when implemented on a computer system. Other embodiments are within the scope of the appended claims.
  • ds_sniffer Sniffer(mazu_ds); syn_sniffer :: Sniffer(mazu_syn); tcp_sniffer :: Sniffer(mazu_tcp); ntcp_sniffer :: Sniffer(mazu_ntcp);
  • ntcpjratemon IPRateMonitor(PACKETS, 0, 1, 100, 4096, false); is_tcp_to_victim [1] -> ntcp_monitor :: NonTCPMonitor -> ntcp_t :: Tee(2); ntcp_t [0] -> [0] ntcpjratemon [0] -> Discard; ntcp_t [1] -> [1] ntcpjratemon; //
  • victim network is 1.0.0.0/8 (ethl, 00:C0:95:E2:A8:A0) // world network is 2.0.0.0/8 (eth2, 00:C0:95:E2:A8:A1) and // 3.0.0.0/8 (eth3, 00:C0:95:E1:B5:38)
  • indevl -> from /ictim_counter : Counter -> cl; cl [0] -> arl -> outljsl; cl [l] -> t; cl [2] -> Strip(14) -> MarklPHeader -> fromj/ictim; cl [3] -> Discard; t[0] -> [1] arpql jprio; t[l] -> [l] arpql_sl; t[2] -> [1] arpql_s2; indev2 :: PollDevice(eth2); c2 :: Classifier (12/0806 20/0001, 12/0806 20/0002, 12/0800, -); indev2 -> from_attackers_counter :: Counter -> c2; c2 [0] -> ar2 -> out2; c2 [l] -> t; c2 [2] -> Strip(14)
  • tcpsynproxy // TCPSYNProxy(MAX_CONNS, THRESH, MIN_TIMEOUT, MAX TTMEOUT, PASSIVE); tcpsynproxy :: TCPSYNProxy(128, 4, 8, 80, $monitor); input [0] -> [0] tcpsynproxy [0] -> [0] output; input [1] -> [1] tcpsynproxy [1] -> [1] output; tcpsynproxy [2] -> GetIPAddress(16) -> [2] output;
  • bad_addr_filter Classified 12/$vnet, // port 0: victim network address
  • -> is jcmpjxagjpackets :: Classifier(6/0000, -); isjcmp jxagjpackets [1] -> [1] output; isjcmp jxagjpackets [0]
  • dyn_saddr_filter : AddrFilter(SRC, 32); isjcmp jredirect [1] -> dyn_saddrj- ⁇ lter; bad_addr_filter [17] -> dyn_saddrj lter; dyn_saddr_filter [0] -> [0] output; dyn saddrj- ⁇ lter [1] -> [1] output;
  • AdaptiveShaper is a push element that shapes input traffic from input port 0 to output port 0. Packets are shaped based on "repressive" traffic from input port 1 to output port 1. Each repressive packet increases a multiplicative factor f by REPRESSJtfEIGHT. Each input packet is killed instead of pushed out with f * DROPJ? probability. After each dropped packet, f is decremented by 1.
  • AdaptiveSplitter attempts to split RATE number of packets per second for each address. It takes the fwd_rate annotation set by IPRateMonitor (n) , and calculates a split probability based on that rate. The split probability attempts •to guarantee RATE number of packets per second. That is, the lower the fwd_rate, the higher the split probability.
  • DST/SRC specifies which IP address (dst or src) to filter.
  • N is the maximum number of IP addresses to filter at any time. Packets passed the filter goes to output 0. Packets rejected by the filter goes to output 1.
  • AddrFilter looks at addresses in the IP header of the packet, not the annotation. It requires an IP header annotation ( MarklPHeader (n) ) .
  • addr mask duration is the number of seconds to filter packets from this IP address. If 0 is given as a duration, filtering is removed. For example, "18.26.4.0 255.255.255.0 10" would filter out all packets with dst or source address 18.26.4.* for 10 seconds. New addresses push out old addresses if more than N number of filters already exist.
  • AttackLog - Click element maintains a log of attack packets in SAVEJTILE.
  • AttackLog SAVEJTILE, INDEXJTILE, MULTIPLIER, PERIOD
  • DESCRIPTION Maintains a log of attack packets in SAVEJTILE. Expects packets with ethernet headers, but with the first byte of the ethernet header replaced by an attack bitmap, set in kernel. AttackLog classifies each packet by the type of attack, and maintains an attack rate for each type of attack. The attack rate is the arrival rate of attack packets multiplied by MULTIPLIER.
  • AttackLog writes a block of data into SAVEJTILE once every PERIOD number of seconds. Each block is composed of entries of the following format: delimiter (0s) 4 bytes time 4 bytes attack type 2 bytes attack rate 4 bytes ip header and payload (padded) 86 bytes
  • a circular timed index file is kept in INDEXJTILE along side the attacklog. See Circularlndex (n) .
  • Circularlndex - Click element writes a timed circular index into a file.
  • Circularlndex writes an entry into a circular index file periodically.
  • the entry contains a 32 bit time stamp and a 64 bit offset into another file.
  • the following functions are exported by Circularlndex. int initialize (String FILE, unsigned PERIOD, unsigned WRAP) - Use FILE as the name of the circular file. Writes entry into circular file once every PERIOD number of seconds. WRAP is the number of writes before wrap around. If WRAP is 0, the file is never wrapped around. void write_entry (long long offset) - Write entry into index file. Use offset as the offset in the entry.
  • NAME DiscardToDevice - Click element drops all packets, gives skbs to device.
  • DESCRIPTION Discards all packets received on its single input. Gives all skbuffs to specified device.
  • TUNNEL is a /proc file in the handler directory of the KUTunnel element.
  • SIZE specifies size of the buffer to use (if packet in kernel has larger size, it is dropped) .
  • BURST specifies the maximum number of packets to push each time FromTunnel runs .
  • TCPMonitor (n) element At TCPMONITOR_IN and TCPMONITOR_OUT .
  • Aggregate rates are gathered once every MONITORJPERIOD number of seconds. They are averaged and saved to SAVEJTILE once every SAVEJPERIOD number of seconds. The following entry is written to SAVEJTILE for both incoming and outgoing traffic: delimiter (0s) 4 bytes time 4 bytes type (0 for incoming traffic, 1 for outgoing traffic) 4 bytes packet rate of tcp traffic 4 bytes byte rate of tcp traffic 4 bytes rate of fragmented tcp packets 4 bytes rate of tcp syn packets 4 bytes rate of tcp fin packets 4 bytes rate of tcp ack packets 4 bytes rate of tcp rst packets 4 bytes rate of tcp psh packets 4 bytes rate of tcp urg packets 4 bytes packet rate of non-tcp traffic 4 bytes byte rate of non-tcp traffic 4 bytes rate of fragmented non-tcp traffic 4 bytes rate of
  • OxFFFFFFFFFFFF After the two entries, an additional delimiter of OxFFFFFF is written. SAVEJPERIOD must be a multiple of MONITOR_PERIOD. A circular timed index is kept along side the stats file. See Circularlnde (n) .
  • ICMP ECHO/IP packet Encapsulates each incoming packet in a ICMP ECHO/IP packet with source address SADDR and destination address DADDR.
  • the ICMP and IP checksums are calculated if CHECKSUM? is true; it is true by default.
  • NAME KUTunnel - Click element stores packets in a FIFO queue that userlevel Click elements pull from.
  • DESCRIPTION Stores incoming packets in a first-in-first-out queue. Drops incoming packets if the queue already holds CAPACITY packets. The default for CAPACITY is 1000. Allows user- level elements to pull from queue via ioctl.
  • a log file is a circular buffer containing packet records of the following form:
  • Time is the number of seconds and milliseconds since the
  • Length is the length (in bytes) of the subsequent logged packet data.
  • One or more packet records constitute one packet sequence.
  • INDEXFILE maintains control data for LOGFILE. It contains a sequence of sequence control blocks of the following form:
  • I date (4 bytes) I offset (sizeof off ;) I length (sizeof off t)
  • Date is a number of seconds since the Epoch. Offset points to the beginning of the packet sequence, i.e. to the earliest packet record having a time no earlier than date. Length is the number of bytes in the packet sequence. IDXCOALESC is the number of coalescing packets that a control block always cover. Default is 1024. Sequence control blocks are always stored in increasing chronological order; offsets need not be in increasing order, since LOGFILE is a circular buffer.
  • PACKETSIZE is the amount of packet data stored in the log. By default, the first 120 (128-6-2) bytes are logged and the remainder is discarded. Note that PACKETSIZE is the amount of data logged before compression.
  • Packet records are buffered in memory and periodically written to LOGFILE as a packet sequence.
  • WRITEPERIOD is the number of seconds that should elapse between writes to LOGFILE. Default is 60.
  • INDEXFILE is updated every time a sequence of buffered packet records is written to LOGFILE.
  • the date in the sequence control block is the time of the first packet record of the sequence, with milliseconds omitted.
  • PACKETFREQ is an estimate of the number of packets per second that will be passing through Logger. Combined with WRITEPERIOD, this is a hint of buffer memory requirements.
  • PACKETFREQ is 1000. Since by default WRITEPERIOD is 60 and each packet record is at most 128 bytes, Logger normally allocates 7500KB of memory for the buffer. Logger will grow the memory buffer as needed up to a maxi- mum of MAXBUFSIZE KB, at which point the buffered packet records are written to disk even if WRITEPERIOD seconds have not elapsed since the last write. Default MAXBUFSIZE is 65536 (64MB) .
  • MonitorSRCl6 SAVEJTILE, INDEXJTILE, MULTIPLIER, PERIOD, WRAP
  • DESCRIPTION Examines src address of packets passing by. Collects statistics for each 16 bit IP address prefix. The following data structure is written to SAVEJTILE for every 16 bit IP address prefix every PERIOD number of seconds. delimiter (0s) (4 bytes) time (4 bytes) addr (4 bytes) tcp rate (4 bytes) non tcp rate (4 bytes) percent of tcp (1 byte) percent of tcp frag (1 byte) percent of tcp syn (1 byte) percent of tcp fin (1 byte) percent of tcp ack (1 byte) percent of tcp rst (1 byte) percent of tcp psh (1 byte) percent of tcp urg (1 byte) percent of non tcp frag (1 byte) percent of udp (1 byte) percent of icmp (1 byte) reserved (1 byte)
  • WARP specifies the number of writes before wrap-around. For example, if PERIOD is 60, WARP is 5, then every 5 minutes, the stats file wrap around.
  • a timed circular index is maintained along side the statistics file in INDEX FILE. See Circularlndex (n) .
  • RandomTCPIPEncap (DA BITS [DP SEQN ACKN CHECKSUM SA MASK]) PROCESSING TYPE Agnostic
  • RandomTCPIPEncap (1.0.0.2 4)
  • RandomUDPIPEncap SADDR SPORT DADDR DPORT PROB [CHECKSUM?] [, •••]
  • DESCRIPTION Encapsulates each incoming packet in a UDP/IP packet with source address SADDR, source port SPORT, destination address DADDR, and destination port DPORT.
  • the UDP checksum is calculated if CHECKSUM? is true; it is true by default.
  • PROB gives the relative chance of this argument be used over others .
  • the RandomUDPIPEncap element adds both a UDP header and an IP header.
  • Each argument specifies a single UDP/IP header. The element will randomly pick one argument. The relative probabilities are determined by PROB .
  • the Strip (n) element can be used by the receiver to get rid of the encapsulation header.
  • RandomUDPIPEncap (1.0.0.1 1234 2.0.0.2 1234 1 1,
  • NAME RateWarn - Click element classifies traffic and sends out warnings when rate of traffic exceeds specified rate.
  • RateWarn (RATE, WARNFREQ)
  • DESCRIPTION RateWarn has three output ports. It monitors the rate of packet arrival on input port 0. Packets are forwarded to output port 0 if rate is below RATE. If rate exceeds RATE, it sends out a warning packet WARNFREQ number of seconds apart on output port 2 in addition to forwarding all traffic through output port 1.
  • FWD_WEIGHT, REV_WEIGHT, and THRESH are integers. P is a decimal between 0 and 1. Otherwise, packet is forwarded on output port 0.
  • RatioShaper (1, 2, 100, .2); if fwd_rate_anno more than twice as big as rev_rate_anno, and both rates are above 100, drop packets with an initial probability of 20 percent.
  • RoundRobinUDPIPEncap (n) , RoundRobinTCPIPEncap (n) , UDPIPEn- cap(n) , SetlPChecksum (n) , SetUDPTCPChecksum (n) , SetlPAd- dress (n), StorelPAddress (n)
  • DESCRIPTION Encapsulates each incoming packet in a TCP/IP packet with source address SA, source port SP (if 0, a random one is generated for each packet) , destination address DA, and destination port DP (if 0, a random one is generated for each packet), and control bits BITS. If SEQN and ACKN specified are non-zero, they are used. Otherwise, they are randomly generated for each packet. IP and TCP checksums are calculated if CHECKSUM is true; it is true by default. SEQN and ACKN should be in host order.
  • the RoundRobinTCPIPEncap element adds both a TCP header and an IP header.
  • Each argument specifies a single TCP/IP header.
  • the element will cycle through the headers in round-robin order.
  • the Strip (n) element can be used by the receiver to get rid of the encapsulation header.
  • ROUNDROBINUDPIPENCAP (n) ROUNDROBINUDPIPENCAP (n)
  • DESCRIPTION Encapsulates each incoming packet in a UDP/IP packet with source address SADDR, source port SPORT, destination address DADDR, and destination port DPORT.
  • the UDP and IP checksums are calculated if CHECKSUM? is true; it is true by default. If either DPORT or SPORT is 0, the port will be randomly generated for each packet .
  • the RoundRobinUDPIPEncap element adds both a UDP header and an IP header. You can give as many arguments as you'd like. Each argument specifies a single UDP/IP header. The element will cycle through the headers in round-robin order.
  • the Strip (n) element can be used by the receiver to get rid of the encapsulation header.
  • NAME StoreSniffFlags - Click element; stores sniff flags annotation in packet
  • Output 0 are TCP traffic
  • output 1 are non-TCP traffic.
  • DESCRIPTION Help settup a three way TCP handshake from A to B by supplying the last ACK packet to the SYN ACK B sent prematurely, and send RST packets to B later if no ACK was received from A. Expects IP encapsulated TCP packets, each with its ip header marked ( MarklPHeader (n) or ChecklPHeader (n) ) .
  • TCPSYNProxy also examines SYN packets from A. When a SYN packet from A is received, if there are more than MAXJ-ONNS number of outstanding 3 way connections per destination (daddr + dport) , reject the SYN packet. If MAX CONNS is 0, no maximum is set. The duration from sending an ACK packet to B to sending a RST packet to B decreases exponentially as the number of outstanding connections to B increases pass 2 ⁇ THRESHOLD. The minimum timeout is MINJTIMEOUT. If the number of outstanding half-open connections is above 2 ⁇ THRESHOLD, the timeout is max (MINJTIMEOUT, MAXJTIMEOUT » (N » THRESHOLD))
  • N is the number of outstanding half-open connec- tions. For example, let the MINJTIMEOUT value be 4 seconds, the MAXJTIMEOUT value be 90 seconds, and THRESHOLD be 3. Then when N ⁇ 8, timeout is 90. When N ⁇ 16, timeout is 45. When N ⁇ 24, timeout is 22 seconds. When N ⁇ 32, timeout is 11 seconds. When N ⁇ 64, timeout is 4 seconds. Timeout period does not decrement if the threshold is 0.
  • TCPSYNProxy has two inputs, three outputs. All inputs and outputs take in and spew out packets with IP header. Input 0 expects TCP packets from A to B. Input 1 expects TCP packets from B to A. Output 0 spews out packets from A to B. Output 1 spews out packets from B to A. Output 2 spews out the ACK and RST packets generated by the element . If PASSIVE is true (it is not by default), monitor TCP three-way handshake instead of actively setting it up. In APPENDIX B

Abstract

A system architecture for thwarting denial of service attacks (10) on a victim data center (12) is described. The victim (12) is coupled to the Internet (14) or other network. An attacker via computer system (16) that is connected to the Internet e.g., via an Internet (14) Service Provider (18), infiltrates one or a plurality of computers at various other sites or data centers (20a-20c). The arrangement (10) to protect the victim control center (24) that communicates with and controls gateways (26) and data collectors (28) disposed in the network (14). The control center (24) is couped to the gateways (26) and data collectors (28) by a hardened, redundant network (30). The gateways (26) and data collectors (28) constantly analize traffic, looking for congestion or traffic levels that indicate an attack on the Internet or network (14).

Description

COORDINATED THWARTING OF DENIAL OF SERVICE ATTACKS
Background
This invention relates to techniques to thwart network-related denial of service attacks.
In denial of service attacks, an attacker sends a large volume of malicious traffic to a victim. In one approach an attacker, via a computer system connected to the Internet infiltrates one or a plurality of computers at various data centers. Often the attacker will access the Internet through an Internet Service Provider (ISP) . The attacker by use of a malicious software program places the plurality of computers at the data centers under its control. When the attacker issues a command to the computers at the data centers, the machines send data out of the data centers at arbitrary times. These computers can simultaneously send large volumes of data over various times to the victim preventing the victim from responding to legitimate traffic.
Summary According to an aspect of the present invention, a central controller system to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes a communication device to receive data from a plurality of monitors, over a hardened, redundant network and a computer system. The computer system includes a process that executes on the computer system to analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic. According to an additional aspect of the present invention, a method to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes receiving data from a plurality of monitors, over a hardened, redundant network and analyzing the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
According to an additional aspect of the present invention, a computer program product to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network includes instructions to cause a computer to receive data from a plurality of monitors, over a hardened, redundant network and analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
One or more aspects of the invention may provide some or all of the following advantages. Aspects of the invention provide a distributed rather than a point solution to thwarting denial of service attacks. The control center analyzes data from gateways and data collectors to detect attacks on victim sites. It can identify the source of the attack and provides a mechanism to notify an administrator at the victim site to install a filter or filters at appropriate points to discard traffic associated with the attack. The control center queries data collectors and asks which data collectors are seeing suspicious traffic being sent to the victim. The control center can issue a query for packet data by victim destination address. Based collected information, the control center can then determine what data centers are performing the spoofing on the victim. The information is used to either automatically shutdown traffic having the victim's destination address at the appropriate gateways or is used to identify networks or data centers from which the attack is originating and to follow up with calls to the appropriate administrators.
Brief description of the drawings FIG. 1 is a block diagram of networked computers showing an architecture to thwart denial of service attacks . FIG. 2 is a block diagram depicting details of placement of a gateway.
FIG. 3 is a block diagram depicting details of placement of data collectors.
FIG. 4 is flow chart depicting a data collection process.
FIG. 5 is a flow chart depicting details of a control center.
FIG. 6 is a diagram depicting functional layers of a monitoring process. FIG. 7 is a diagram depicting one technique to gather statistics for use in algorithms that determine sources of an attack.
FIG. 8 is a diagram depicting an alternative technique to gather statistics for use in algorithms that determine sources of an attack.
FIG. 9 is flow chart depicting a process to determine receipt of bad TCP traffic.
FIG. 10 is flow chart depicting a process to defend against setup time connection attacks.
Detailed Description Referring to FIG. 1, an arrangement 10 to thwart denial of service attacks (DoS attacks) is shown. The arrangement 10 is used to thwart an attack on a victim data center 12, e.g., a web site or other network site under attack. The victim 12 is coupled to the Internet 14 or other network. For example, the victim 12 has a web server located at a data center (not shown) . An attacker via a computer system 16 that is connected to the Internet e.g., via an Internet 14 Service Provider (ISP) 18 or other approach, infiltrates one or a plurality of computers at various other sites or data centers 20a-20c. The attacker by use of a malicious software program 21 that is generally surreptitiously loaded on the computers of the data centers 20a-20c, places the plurality of computers in the data centers 20a- 20c under its control. When the attacker issues a command to the data centers 20a-20c, the data centers 20a-20c send data out at arbitrary times. These data centers 20a-20c can simultaneously send large volumes of data at various times to the victim 12 to prevent the victim 12 from responding to legitimate traffic. The arrangement 10 to protect the victim includes a control center 24 that communicates with and controls gateways 26 and data collectors 28 disposed in the network 14. The arrangement protects against DoS attacks via intelligent traffic analysis and filtering that is distributed throughout the network. The control center 24 is coupled to the gateways 26 and data collectors 28 by a hardened, redundant network 30. Gateways 26 and data collectors 28 are types of monitors that monitor and collect statistics on network traffic. In preferred embodiments, the network is inaccessible to the attacker. The gateway 26 devices are located at the edges of the Internet 14, for instance, at the entry points of data centers. The gateway devices constantly analyze traffic, looking for congestion or traffic levels that indicate the onset of a DoS attack. The data collectors 28 are located inter alia at major peering points and network points of presence (PoPs) . The data collectors 28 sample packet traffic, accumulate, and collect statistical information about network flows.
All deployed devices e.g., gateways 26 and data collectors 28 are linked to the central control center. The control center aggregates traffic information and coordinates measures to track down and block the sources of an attack. The arrangement uses a distributed analysis emphasizing the underlying characteristics of a DoS attack, i.e., congestion and slow server response, to produce a robust and comprehensive DoS solution. Thus, this architecture 10 can stop new attacks rather than some solutions that can only stop previously seen attacks. Furthermore, the distributed architecture 10 will frequently stop an attack near its source, before it uses bandwidth on the wider Internet 14 or congests access links to the targeted victim 12.
A virus is one way to get attacks started. When surfing the web page a user may download something, which contains a virus that puts the user' s computer under the control of some hacker. In the future, that machine can be one of the machines that launches the attack. The attacker only needs a sufficient amount of bandwidth to get a sufficient number of requests out to the victim 12 to be malicious. Referring to FIG. 2, details of an exemplary deployment of a gateway is shown. Other deployments are possible and the details of such deployments would depend on characteristics of the site, network, cost and other considerations. The gateway 26 is a program executing on a device, e.g., a computer 27 that is disposed at the edge of the data center 20 behind an edge router at the edge of the Internet 14. Additional details on the gateway 26 are discussed below and in the APPENDIX A. In a preferred embodiment, a plurality of gateway devices are deployed at a corresponding plurality of locations, e.g., data centers or sites over the network, e.g., the Internet 14. There can be one gateway or a plurality of gateways at each data center, but that is not necessarily required.
The gateway 26 includes a monitoring process 32 (FIG. 6B) that monitors traffic that passes through the gateway as well as a communication process 33 that can communicate statistics collected in the gateway 26 with the data center 24. The gateway uses a separate interface over a private, redundant network, such as a modem 39 to communicate with the control center 24 over the hardened network 30. Other interface types besides a modem are possible. In addition, the gateway 26 can include processes 35 to allow an administrator to insert filters to filter out, i.e., discard packets that the device deems to be part of an attack, as determined by heuristics described below.
An attack can be designed to either overload the servers or overload some part of the network infrastructure inside the victim site 12. Thus, the victim site 12 can include routers, switches, load balancers and other devices inside the data center that can be targeted by the attack. A particularly troublesome attack causes overload of upstream bandwidth. Upstream bandwidth is the capacity between the victim 12 data center 12a and one or a plurality of routers or switches belonging to the victim 12 data center's network service provider, which provides connectivity to the rest of the network, e.g., the Internet.
For an exemplary configuration, the victim site 12 can include a plurality of high bandwidth lines feeding a GSR (Gigabit Switch Router) . At the output of the GSR are exit ports to various parts of the data center. The GSR is generally very high bandwidth and generally does not crash. The gateway 26 is placed behind the GSR and across some or all of the output ports of the GSR into the data center. This configuration allows the gateway 26 to monitor and control some or all of the traffic entering the data center without the need to provide routing functionality.
Alternatively, a gateway 26 can tap a network line without being deployed physically in line, and it can control network traffic, for example, by dynamically installing filters on nearby routers. The gateway 26 would install these filters on the appropriate routers via an out of band connection, i.e. a serial line or a dedicated network connection. Other arrangements are of course possible.
Referring to FIG. 3, data collectors 28 are shown coupled to the network to tap or sample traffic from data centers 20a-20c. Although data collectors 28 can be dispersed throughout the network 14 they can be strategically disposed at peering points, i.e., points where network traffic from two or more different backbone providers meet. The data collectors 28 can also be disposed at points of presence (PoPs) . The data collectors 28 monitor and collect information pertaining to network traffic flow. The data collectors process statistics based on monitored network traffic that enters a peering point. Data collectors 28 include a monitoring process 32 (FIG. 6) as well as a communication process that communicates data to the control center over the hardened network 30. One or more data collector devices 28 use the monitoring process to monitor one or more lines that enter the peering point. Each data collector 28 would be able to monitor one or more lines depending on the specifics of how the network is configured and bandwidth requirements.
The gateway 26 and data collector 26- are typically software programs that are executed on devices such as computers, routers, or switches. In one arrangement, packets pass through the gateway 26 disposed at the data center 22a and are sampled by the data collector.
Referring to FIG. 4, the data collector 26 performs 40 a sampling and statistic collection process 40. The data collector samples 42 one (1) packet in every (n) packets and has counters to collect statistics about every packet. The data collector 26 parses the information in the sampled packet. Information collected includes source information 44, which may be fake or spoofed, e.g., not correct information. It will also include destination information 46, which generally is accurate information. The data collector 28 collects that information but need not log the sampled packets. The data collector 28 maintains a log over a period of time, e.g., in the last hour. As an example, the log that the data collector 26 maintains is a log that specifies that the data collector has seen a certain number of packets, e.g., 10,000 packets of a particular kind, that apparently originated from a particular source (s) that are going to a particular destination.
Based on rules 48 within the data collector 26, the data collector 26 analyzes 50 the collected statistics and may if necessary compose 52 a message that raises an alarm. Alternatively, the data collector can respond to queries concerning characteristics of traffic on the network. Typically, the queries can be for information pertaining to statistics. It can be in the form of an answer to a question e.g., how many packets of a type did the data collector see or it can be a request to down load via the hardened network, the entire contents of the log. One rule is that when the data collector 26 starts sampling, the data collector periodically logs data and produces a log of a large plurality of different network flows over a period of time.
Referring to FIG. 5, a deployment for the control center 24 is shown. The control center 24 receives information from one or more gateways 26 and data collectors 28 and performs appropriate analysis using an analysis process 62. The control center is a hardened site.
The control center 24 has multiple upstream connections so that even during an attack it will have other ways to couple to the network 30. Several approaches can be used to harden the site. One approach can use special software between the site and the Internet 14 to make it immune to attack. An approach is to have a physically separate network 30 connected to all of the devices, e.g., gateways 26 and data collectors 28. One exemplary embodiment of that physically separate network 30, which is hardened, is the telephone system. Thus, each one of the data collectors 26 and gateways 26 includes an interface to the separate network, e.g., a modem. The data center 26 also includes a corresponding interface to the separate network, e.g., a modem or a modem bank 60.
With this approach, the redundant network 30 is not accessible to the attacker. The redundant network 30 thus is available to communicate between the data center 24 and data collectors and gateways to coordinate response to an attack. In essence, the network 30 used by the data center to communicate with the data collectors 26 and gateways 26 is not available to the attacker. Alternatively, if less than complete assurance is required, the control center could be resistant to attack and still be connected to the Internet 14.
The analysis process 62 that is executed on the control center 24 analyzes data from the gateways 26 and data collectors 28. The analysis process 62 tries to detect attacks on victim sites. The analysis process 62 views attacks as belonging to, e.g., one of three classes of attack. Herein these classes of attack are denoted as low-grade with spoofing, low-grade without spoofing and high-grade whether spoofing or non-spoofing.
A low-grade attack is an attack that does not take out upstream bandwidth. A low-grade attack does not significantly overburden the links between the Internet 14 and the victim data center 12. The low-grade non-spoofing attack is the simplest type of attack to defend against. It simply requires identifying the source of the attack and a mechanism to notify an administrator at the victim site to install a filter or filters at appropriate points to discard traffic containing the source address associated with the attack.
With a low-grade spoofing-type attack, an attacker sends an IP-packet to a destination but fakes the source address. There is no way to enforce use of an accurate source address by a sender. During a spoofing attack, each one of the attacking machines will send a packet with a fake, e.g., randomly selected or generated source address. Under this type of attack, the victim 12 alone cannot thwart the attack. An administrator at the victim 12 can try to put a filter on a router to stop the packets. However, there is no way for the administrator to guess what the random address of the next packet will be.
The control center 24 also includes a communication process 63 to send data to/from the gateways 26 and data collectors 28. The gateway 26 at the victim 12 contacts the control center and notifies the control center 24 that the victim 12 data center is under a spoofing attack. The gateway 26 identifies itself by network address (e.g., static IP address if on the Internet 14) , via a message to the control center 24. The message sent over the hardened network 30 indicates the type of attack, e.g., an attack from addresses that the victim 12 cannot stop because it is a spoofing type of attack. The control center queries data collectors 28 and asks which data collectors 28 are seeing suspicious traffic being sent to the victim 12.
The packets from the attacker will have faked source addresses that will be changing with time. However, the control center can issue a query for this kind of packet by victim destination address. The data collectors 28 reply with the information collected. Based on that collected information from the data collectors 28, the control center can then determine what data centers are performing the spoofing on the victim 12.
In the present configuration, there are two possible sources of attack traffic: either the attacker is behind a gateway 26 or not. If the attacker is behind a gateway 26, the control center issues a request to the appropriate gateway 26 to block the attacking traffic, e.g. by allowing the appropriate gateway 26 to discard traffic, e.g., packets that contain the victim 12 destination address. The gateway 26 stops that traffic in a transparent manner. If the attacker is not behind a gateway 26, data collectors 28 are used to provide information about possible locations of the attackers. The availability of information from data collectors 28 increases the speed with which attackers are discovered. The data collectors 28 are positioned at network switching points that see a high volume of traffic, which minimizes the required number of deployed data collectors .
The high-grade attacks are attacks that take out the link between the victim 12 data center and the Internet 14. With a high-grade attack it does not matter whether the victim 12 is spoofed or not. Under a high-grade attack, the attack requires cooperation just like the low grade spoofing attack. Thus, the same thwarting mechanism is used for either spoofing or non-spoofing, e.g., using information from the data collectors 28 to identify attacking networks. This information is used to either automatically shutdown traffic having the victim's destination address at the appropriate gateways 26 or is used to identify networks or data centers from which the attack is originating and to follow up with calls to the appropriate administrators.
Referring to FIG. 6, a monitoring process 32 is shown. The monitoring process 32 can be deployed on data collectors 28 as well as gateways 26. The monitoring process 32 includes a process 32a to collect statistics of packets that pass by the data collectors 28 or through the gateways 26. The monitoring process 32 also includes several processes 32b to identify, malicious traffic flows based on the collected statistics as further described below. Referring to FIG. 7, the gateways 26 and data collectors 28 are capable of looking at multiple levels of granularity. The gateways 26 and data collectors have monitoring process 32 used to measure some parameter of traffic flow. One goal of the gateways 26 and data collectors 28 is to measure some parameter of network traffic. This information collected by the gateways 26 and data collectors is used to trace the source of an attack.
One of the algorithms to measure parameters of traffic flow divides the traffic flow into buckets. For example, consider one simple parameter, the count of how many packets a data collector or gateway examines. An algorithm to track the count of this parameter starts with a predefined number of buckets, e.g., "N" buckets. The buckets are implemented as storage areas in the memory space of the data collector or gateway device. The algorithm will use some hash function "f(h)", which takes the packet and outputs an integer that corresponds to one of the buckets "Bι-BN". Statistics from the packets start accumulating in the buckets λλBχ _ BN" . The buckets ΛBχ _ BN" are configured with threshold values "Th." As the contents of the buckets Bi - BN reach the configured thresholds values "Th", (e.g., compare values of packet count or packet rate to threshold) , the monitoring process 32 deems that event to be of significance. The monitoring process 32 takes that bucket, e.g., Bi and divides that bucket Bi into some other number M of new buckets Bn - BiM. Each of the new buckets Bn - Bj.M contains values appropriately derived from the original bucket Bi. Also, the hash function is extended to map to N+M-l h→N+ -l" values, rather than the original N values.
An attack designed to use the algorithm of FIG. 6 against a gateway 26 or a data collector 28 might send packets in such a fashion as to explode the number of buckets. Since each bucket consumes memory space, the attack can be designed to consume all available memory and crash the device, e.g., computer on which the monitoring process 32 executes. There are ways of preventing that type of attack on the monitoring process 32. One way is to make the hash function change periodically, e.g., randomly. Also the hash function is secret so that the packets are reassigned to different buckets in ways unknown to the attackers.
Referring to FIG. 8, a second method is that instead of using just thresholds and values inside a given bucket, the monitoring process 32 also sets thresholds on the number of buckets. As the gateway 26 or data collector 28 approaches a bucket threshold "Th", the gateway 26 or data collector 28 have the ability to take several buckets Bi _ B3 and divide them in more buckets Bi _ B4 or combine them into fewer bucket Bi _ B2.
The function of the variable number of buckets is to dynamically adjust the monitoring process to the amount of traffic and number of flows, so that the monitoring device (e.g., gateway 26 or data collector 28) is not vulnerable to DoS attacks against its own resources. The variable number of buckets also efficiently identifies the source (s) of attack by breaking down traffic into different categories (buckets) and looking at the appropriate parameters and thresholds in each bucket. Thus, with multi-level analysis as discussed in FIGS. 6 and 7, traffic is monitored at multiple levels of granularity, from aggregate to individual flows. Multilevel analysis can be applied to all types of monitoring (i.e. TCP packet ratios, repressor traffic, etc. discussed below) except TCP SYN proxying (because the latter requires per-connection monitoring of all half-open connections as discussed below) . The monitoring process 32 has the gateway 26 or the data collectors 28 keep track of a metric (such as packet ratio) for each of n traffic buckets. (If n=l, the monitoring process 32 tracks the metric for all traffic in the aggregate.) The monitoring process 32 places packets into buckets according to a hash function of the source or destination address. If the metric in any bucket exceeds a given "suspicious" threshold, that bucket is split into several smaller buckets, and the metric is tracked individually for each new bucket. In the limit, each bucket can correspond to a single flow (source address/port and destination address/port pair) . The resulting per-flow monitoring is resilient to denial-of- service attacks. If the number of buckets exceeds a given memory limit (for example, due to a many-flow spoofing attack) , several fine-grain buckets can be aggregated into a single coarse-grain bucket. The hash function for placing packets into traffic buckets is secret and changes periodically, thwarting attacks based on carefully chosen addresses.
In the worst case, an attacker actually spoofs packets from all possible addresses. An IP address, for example is 32 bits long. This address length allows for approximately 4 billion possible random addresses and makes it impossible for the gateway at the victim site 12 to identify the attacker. In that worst case, the gateway 26 calls the control center, indicates the address of the gateway 26, and conveys that the gateway 26 is receiving unreasonably high levels of random traffic. The control center 24 contacts the data collectors 28. The control center 24 analyzes the statistics collected by the data collectors 28 to try to determine the source of the traffic. Egress filtering is a recommended Internet 14 best practice procedure that does not allow any packets out of a network unless the source address belongs to that network. Egress filtering prevents hosts on that network from sending out packets with completely random source addresses. Rather, the space of usable fake addresses is limited by the size of the host's network address space, and may range up to 24 bits rather than the full 32 bits. If an attacker is attacking from a network that performs egress filtering, then all the attack traffic reaching a victim will fall into a smaller number of buckets, those corresponding to the source network address. In this way, the gateway 26 can identify the approximate source of the attack without necessarily relying on the control center or data collectors.
Several methods can be used separately or in combination to identify, malicious traffic flows. For example, the gateway 26 can detect DoS attacks and identify malicious flows or source addresses using at least one or more of the following methods including: analyzing packet ratios of TCP-like traffic; analyzing "repressor" traffic for particular types of normal traffic; performing TCP handshake analysis; performing various types of packet analysis at packet layers 3-7; and logging/historical analysis.
Packet ratios for TCP-like traffic.
The Transmission Control Protocol (TCP) is a protocol in which a connection between two hosts, a client C, e.g. a web browser, and a server S, e.g. a web server, involves packets traveling in both directions, between C and S and between S and C. When C sends data to S and S receives it, S replies with an ACK ("acknowledgement") packet. If C does not receive the ACK, it will eventually try to retransmit the data to S, to implement TCP's reliable delivery property. In general, a server S will acknowledge (send an ACK) for every packet or every second packet.
Referring to FIG. 9, the monitoring process in the gateway 26 can examine 82 a ratio of incoming to outgoing TCP packets for a particular set of machines, e.g. web servers. The monitoring process can compare 84 the ratio to a threshold value. The monitoring process can store 86 this ratio, time stamp it, etc. and conduct an ongoing analysis 88 to determine over time for example how much and how often it exceeds that ratio. As the ratio grows increasingly beyond 2:1, it is an increasing indication that the machines are receiving bad TCP traffic, e.g. packets that are not part of any established TCP connection, or that they are too overloaded to acknowledge the requests. This ratio is one of the parameters measured using the multiple-bucket algorithm described previously.
The gateway 26 divides traffic into multiple buckets, e.g. by source network address, and tracks the ratio of ingoing to outgoing traffic for each bucket. As the ratio for one bucket becomes skewed, the gateway 26 may subdivide that bucket to obtain a more detailed view. The gateway 26 raises 90 a warning or alarm to the data center 24 and/or to the administrators at the victim site 12.
Repressor traffic The phrase "repressor traffic" as used herein refers to any network traffic that is indicative of problems or a potential attack in a main flow of traffic. A gateway 26 may use repressor traffic analysis to identify such problems and stop or repress a corresponding attack.
One example of repressor traffic is ICMP port unreachable messages. These messages are generated by an end host when it receives a packet on a port that is not responding to requests. The message contains header information from the packet in question. The gateway 26 can analyze the port unreachable messages and use them to generate logs for forensic purposes or to selectively block future messages similar to the ones that caused the ICMP messages.
TCP handshake analysis
A TCP connection between two hosts on the network is initiated via a three-way handshake. The client, e.g. C, sends the server, e.g. S, a SYN ("synchronize") packet. S the server replies with a SYN ACK ("synchronize acknowledgment") packet. The client C replies to the SYN ACK with an ACK ("acknowledgment") packet. At this point, appropriate states to manage the connection are established on both sides.
During a TCP SYN flood attack, a server is sent many SYN packets but the attacking site never responds to the corresponding SYN ACKs with ACK packets. The resulting "half-open" connections take up state on the server and can prevent the server from opening up legitimate connections until the half-open connection expires, which usually takes 2-3 minutes. By constantly sending more SYN packets, an attacker can effectively prevent a server from serving any legitimate connection requests.
Referring to FIG. 10, in an active configuration, a gateway 26 can defend against SYN flood attacks. During connection setup, the gateway forwards 102 a SYN packet from a client to a server. The gateway forwards 104 a resulting SYN ACK packet from a server to client and immediately sends 106 ACK packet to the server, closing a three-way handshake. The gateway maintains the resulting connection for a timeout period 108. If the ACK packet does not arrive from client to server 110, the gateway sends 112 a RST ("reset") to the server to close the connection. If the ACK arrives 114, gateway forwards 116 the ACK and forgets 118 about the connection, forwarding subsequent packets for that connection. A variable timeout 120 period can be used. The variable time out period can be inversely proportional to number of connections for which a first ACK packet from client has not been received. If gateway 26 is placed inline in the network, when number of non-ACK'ed connections reaches a configurable threshold 122, the gateway will not forward any new SYNs until it finishes sending RSTs for those connections .
In a passive configuration, a gateway 26 can similarly keep track of ratios of SYNs to SYN ACKs and SYN ACKs to ACKs, and raise appropriate alarms when a SYN flood attack situation occurs.
Layer 3-7 analysis. With layer 3-7 analysis, the gateway 26 looks at various traffic properties at network packet layers 3 through 7 to identify attacks and malicious flows. These layers are often referred to as layers of the Open System Interconnection (OSI) reference model and are network, transport, session, presentation and application layers respectively. Some examples of characteristics that the gateway may look for include: 1. Unusual amounts of IP fragmentation, or fragmented IP packets with bad or overlapping fragment offsets.
2. IP packets with obviously bad source addresses, or ICMP packets with broadcast destination addresses. 3. TCP or UDP packets to unused ports.
4. TCP segments advertizing unusually small window sizes, which may indicate load on server, or TCP ACK packets not belonging to a known connection.
5. Frequent reloads that are sustained at a rate higher than plausible for a human user over a persistent HTTP connection.
Logging and historical traffic analysis
The gateways 26 and data collectors 28 keep statistical summary information of traffic over different periods of time and at different levels of detail. For example, a gateway 26 may keep mean and standard deviation for a chosen set of parameters across a chosen set of time-periods. The parameters may include source and destination host or network addresses, protocols, types of packets, number of open connections or of packets sent in either direction, etc. Time periods for statistical aggregation may range from minutes to weeks. The device will have configurable thresholds and will raise warnings when one of the measured parameters exceeds the corresponding threshold.
The gateway 26 can also log packets. In addition to logging full packet streams, the gateway 26 has the capability to log only specific packets identified as part of an attack (e.g., fragmented UDP packets or TCP SYN packets that are part of a SYN flood attack) . This feature of the gateway 26 enables administrators to quickly identify the important properties of the attack. Building a DoS-resistant network
The network of gateways 26, data collectors 28, and control center 24 are made DoS resistant by combining and applying several techniques. These techniques include the use of SYN cookies and "hashcash" to make devices more resistant to SYN floods and other attacks that occur at connection setup time. Also, the data center can use authentication and encryption for all connections. Private/public key pairs are placed on machines before deployment to avoid man-in-the-middle attacks. The control center 24 can have multiple physical connections from different upstream network service providers. The network over which the data center communicates between gateways and data collectors is a private redundant network that is inaccessible to attackers.
Information exchange between gateways/data collectors and the control center is efficient by transferring only statistical data or minimal header information, and by compressing all data.
This application includes an APPENDIX A attached hereto and incorporated herein by reference. APPENDIX A includes Click code for monitor software.
This application also includes an APPENDIX B attached hereto and incorporated herein by reference. APPENDIX B sets out additional modules for a Click Router that pertains to thwarting DoS attacks. "Click" is a modular software router system developed by The Massachusetts Institute of Technology' s Parallel and Distributed Operating Systems group. A Click router is an interconnected collection of modules or elements used to control a router' s behavior when implemented on a computer system. Other embodiments are within the scope of the appended claims.
APPENDIX A network monitor/defender
// // Has two operating modes: if MONITOR is defined, it momtors the network
// instead of defending against DDoS attacks.
//
// ICMP_RATE specifies how many ICMP packets allowed per second. Default is
// 500. UDP_NF_RATE specifies how many non- fragmented UDP (and other non- TCP
// non-ICMP) packets allowed per second. Default is 3000. UDP_F_RATE specifies
// how many fragmented UDP (and other non-TCP non-ICMP) packets allowed per
// second. Default is 1000. All the SNIFF rates specify how many bad packets
// sniffed per second. //
// For example, if MONITOR is not defiend, and all SNIFF rates are 0, then the
// configuration defends against DDoS attacks, but does not report bad
// packets.
// // can read:
// - tcp_monitor: aggregate rates of different TCP packets
// - ntcp_monitor: aggregate rates of different non TCP packets
// - icmp_unreach_counter: rate of ICMP unreachable pkts
// - tcpjratemon: incoming and outgoing TCP rates, grouped by non-local hosts // - ntcp_ratemon: incoming UDP rates, grouped by non-local hosts
//
// Note: handles full fast ethemet, around 134,500 64 byte packets, from
// attacker.
// //
// TODO:
// - fragmented packet monitor
#ifhdefICMP_RATE #define ICMP_RATE 500
#endif
#ifiιdefUDP_NF_RATE #defme UDP_NF_RATE 2000 #endif
#ifhdefUDP_F_RATE #define UDP_F_RATE 1000
#endif
#ifiιdef SUSP_SNIFF
#define SUSP_SNIFF 100 // # of suspicious pkts sniffed per sec #endif
#ifiιdefTCP_SNIFF
#defme TCP_SNIFF 100 // # of TCP flood pkts sniffed per sec #endif
#ifhdefICMP_SNIFF #define ICMP_SNIFF 75 // # of ICMP flood pkts sniffed per sec #endif
#ifndefUDP_NF_SNIFF #defme UDP_NF_SNIFF 75 // # of non-frag UDP flood pkts sniffed per sec #endif #ifi defUDP_F_SNIFF
#defme UDP_F_SNIFF 75 // # of frag UDP flood pkts sniffed per sec #endif
#include "if.click"
#include "sampler.click"
#include "sniffer. click" ds_sniffer :: Sniffer(mazu_ds); syn_sniffer :: Sniffer(mazu_syn); tcp_sniffer :: Sniffer(mazu_tcp); ntcp_sniffer :: Sniffer(mazu_ntcp);
#include "synkill.click" #ifdefMONITOR tcpsynldll :: SYNKill(true);
#else tcpsynldll :: SYNKill(false);
#endif
//
// discards suspicious packets
//
#include "ds. click" ds :: DetectSuspicious(Ol); from_world -> ds; ds [0] -> is_tcp_to_victim :: IPClassifier(tcp, -); #ifdef MONITOR ds [1] -> ds_split :: RatedSampler(SUSP_SNIFF); #else ds [1] -> ds_split :: RatedSplitter(SUSP_SNIFF); #endif ds_split [1] -> ds_sniffer; ds_sρlit [0] #ifdefMONITOR -> is_tcp_to_victim; #else
-> Discard; #endif //
// monitor TCP ratio
//
#include "monitor, click" tcpjratemon :: TCPTrafficMonitor; is_tcp_to_victim [0] -> tcp_monitor :: TCPMonitor -> [0] tcpjratemon; from_victim -> is_tcp_to_world :: IPClassifier(tcp, -); is_tcp_to__world [0] -> [1] tcpjratemon;
//
// enforce correct TCP ratio
// check cpjratio :: RatioShaρer(l, 2,40,0.2); tcpjratemon [0] -> check _tcpj:atio;
#ifdef MONITOR check_tcp_ratio [1] -> tcpjsplit :: RatedSampler(TCP SNIFF); #else check cpjratio [1] -> tcp_split :: RatedSρlitter(TCP SNIFF); #endif tcpjsplit [1] -> tcp_sniffer; tcpjsplit [0]
#ifdefMONITOR -> [0] tcpsynldll; #else -> Discard; #endif //
// prevent SYN bomb
// check _tcpj:atio [0] -> [0] tcpsynldll; tcpjratemon [1] -> [1] tcpsyrikill; tcpsynldll [0] -> to_victim_sl; tcpsynldll [1] -> to -vorld; tcpsynldll [2]
#ifdefMONITOR -> syn_sniffer;
Idle -> to_victimjprio; #else
-> tcpsynkilljs lit :: Tee(2) tcpsynldll ϋplit [0] -> to_victimjprio; tcpsynldll _split [1] -> syn_sniffer;
#endif
//
// monitor all non TCP traffic
// ntcpjratemon :: IPRateMonitor(PACKETS, 0, 1, 100, 4096, false); is_tcp_to_victim [1] -> ntcp_monitor :: NonTCPMonitor -> ntcp_t :: Tee(2); ntcp_t [0] -> [0] ntcpjratemon [0] -> Discard; ntcp_t [1] -> [1] ntcpjratemon; //
// rate limit ICMP traffic
// ntcpjratemon [1] -> isjcmp :: IPClassifier(icmp, -); isjcmp [0] -> icmp_split :: RatedSplitter (ICMPjRATE); icmp_split [1] -> to_victim 32; icmpjsplit [0] -> icmp_sample :: RatedSampler (ICMPJSNIFF); icmp_sample [1] -> ntcp_sniffer; icmp 3ample [0]
#ifdefMONITOR -> to _victim 32;
#else -> Discard;
#endif
■ 21 ■ //
// rate limit other non TCP traffic (mostly UDP)
// isjcmp [1] -> isjxag :: Classifier(6/0000, -); isjxag [0] -> udp_split :: RatedSplitter (UDP_NF_RATE); udp_sρlit [0] -> udp_sample :: RatedSampler (UDPjNF_SNIFF); udp_sample [1] -> ntcp_sniffer; udpjsample [0]
#ifdefMONITOR -> to /ictim_s2;
#else -> Discard;
#endif isjxag [1] -> udp_f_split :: RatedSplitter (UDP_F_RATE); udp_f_split [0] -> udp_f_sample : : RatedSampler (UDP_F SNIFF); udp_f_sample [1] -> ntcp _sniffer; udp_f_sample [0] #ifdefMONITOR -> to_victim_s2; #else
-> Discard; #endif
// // further shape non-TCP traffic with ICMP dest unreachable packets
// is_tcp_to_world [1] -> isjcmp jinreach :: IPClassifier(icmp type 3, -); isjcmpjinreach [1] -> to vorld; isjcmpjinreach [0]
-> icmp_unreach_counter :: Counter;
#ifi defMONITOR icmp_unreach_counter -> icmperr_sample :: RatedSampler (UNREACH SNIFF); icmperr _sample [1] -> ntcp -niffer; icmperr_catcher :: AdaptiveShaper(.l, 50); udp split [1] -> [0] icmperr_catcher [0] -> to ictim_s2; udp_f_split [1] -> [0] icmperr_catcher; icmpeπr - ample [0] -> [1] icmperr_catcher [1] -> tojvorld; #else udp_split [1] -> to ΛCtϊm_s2; udpjf_split [1] -> to_victim_s2; icmp _unreach_counter [0] -> to vorld;
#endif
= if. click
//
// input/output ethernet interface for router //
// this configuration file leaves the following elements to be hooked up:
//
// from ictim: packets coming from victim
// from vorld: packets coming from world // to -vorld: packets going to world
// to_victimjprio: high priority packets going to victim
// to_victim 3l : best effort packets going to victim, tickets = 4
// to_victim_s2: best effort packets going to victim, tickets = 1
// // see bridge.click for a simple example of how to use this configuration.
// victim network is 1.0.0.0/8 (ethl, 00:C0:95:E2:A8:A0) // world network is 2.0.0.0/8 (eth2, 00:C0:95:E2:A8:A1) and // 3.0.0.0/8 (eth3, 00:C0:95:E1:B5:38)
// ethernet input/output, forwarding, and arp machinery tol :: ToLinux; t :: Tee(6); t[5] -> tol; arpql rio :: ARPQuerier(l.0.0.1, 00:C0:95:E2:A8:A0) arpql_sl :: ARPQuerier(l.0.0.1, 00:C0:95:E2:A8:A0) arpql_s2 :: ARPQuerier(1.0.0.1, 00:C0:95:E2:A8:A0) arl :: ARPResponder(l.0.0.1/32 00:C0:95:E2:A8:A0) arpq2 :: ARPQuerier(2.0.0.1, 00:C0:95:E2:A8:A1); ar2 :: ARPResponder(2.0.0.1/32 00:C0:95:E2:A8:A1); arpq3 :: ARPQuerier(3.0.0.1, 00:C0:95:E1:B5:38); ar3 :: ARPResponder(3.0.0.1/32 00:C0:95:E1:B5:38); psched :: PrioSched; ssched :: StrideSched (4,1); outl_sl :: Queue(256) -> [0] ssched; outl_s2 :: Queue(256) -> [1] ssched; outl jprio :: Queue(256) -> [0] psched; ssched -> [1] psched; psched[0] -> to /ictim_counter :: Counter -> todevl :: ToDevice(ethl); out2 :: Queue(1024) -> todev2 :: ToDevice(eth2); out3 :: Queue(1024) -> todev3 :: ToDevice(eth3); to /ictim jprio :: Counter -> tvpc :: Classified 16/01, -); tvpc [0] -> [Ojarpql jprio -> outl jprio; tvpc [1] -> Discard; to /ictim_sl :: Counter -> tvslc :: Classified 16/01, -); tvslc [0] -> [0]arpql_sl -> outljsl; tvslc [1] -> Discard; to_victim s2 :: Counter -> tvs2c :: Classified 16/01, -); tvs2c [0] -> [0]arpql_s2 -> outl_s2; tvs2c [1] -> Discard; to_world : : Counter -> twc : : Classified 16/02, 16/03, -); twc [0] -> [0]arpq2 -> out2; twc [1] -> [0]arpq3 -> out3; twc [2] -> Discard; fromj/ictim :: GetIPAddress(16); from_world :: GetIPAddress(16); indevl :: PollDevice(ethl); cl :: Classifier (12/0806 20/0001, 12/0806 20/0002,
12/0800,
-); indevl -> from /ictim_counter :: Counter -> cl; cl [0] -> arl -> outljsl; cl [l] -> t; cl [2] -> Strip(14) -> MarklPHeader -> fromj/ictim; cl [3] -> Discard; t[0] -> [1] arpql jprio; t[l] -> [l] arpql_sl; t[2] -> [1] arpql_s2; indev2 :: PollDevice(eth2); c2 :: Classifier (12/0806 20/0001, 12/0806 20/0002, 12/0800, -); indev2 -> from_attackers_counter :: Counter -> c2; c2 [0] -> ar2 -> out2; c2 [l] -> t; c2 [2] -> Strip(14) -> MarldPHeader -> from vorld; c2 [3] -> Discard; t[3] -> [1] arpq2; indev3 :: PollDevice(eth3); c3 :: Classifier (12/0806 20/0001, 12/0806 20/0002,
12/0800,
-); indev3 -> c3; c3 [0] -> ar3 -> out3; c3 [1] -> t; c3 [2] -> Strip(14) -> MarldPHeader -> fromjvorld; c3 [3] -> Discard; t[4] -> [1] arpq3; ScheduleInfo(todevl 10, indevl 1, todev2 10, indev2 1, todev3 10, indev3 1);
= sampler, click
elementclass RatedSampler { $rate | input -> s :: RatedSplitter($rate); s [0] -> [0] output; s [l] -> t :: Tee; t [0] -> [0] output; t [1] -> [1] output;
}; elementclass ProbSampler { $ρrob I input -> s :: ProbSplitter($prob); s [0] -> [0] output; s[l]->t::Tee; t [0] -> [0] output; t [1] -> [1] output;
};
= sniffer.click
// setup a sniffer device, with a testing IP network address //
// argument: name of the device to setup and send packet to elementclass Sniffer { $dev | FromLinux($dev, 192.0.2.0/24) -> Discard; input -> sniffer_ctr :: Counter -> ToLinuxSniffers($dev);
};
// note: ToLinuxSniffers take 2 us = synkill.click
//
// SYN ill
//
// argument: true if monitor only, false if defend //
// expects: input 0 - TCP packets with IP header to victim network
// input 1 - TCP packets with IP header to rest of internet
//
// action: protects against SYN flood by prematurely finishing the three way // handshake protocol.
//
// outputs: output 0 - TCP packets to victim network
// output 1 - TCP packets to rest of internet
// output 2 - control packets (created by TCPSYNProxy) to victim // elementclass SYNKill { $monitor |
// TCPSYNProxy(MAX_CONNS, THRESH, MIN_TIMEOUT, MAX TTMEOUT, PASSIVE); tcpsynproxy :: TCPSYNProxy(128, 4, 8, 80, $monitor); input [0] -> [0] tcpsynproxy [0] -> [0] output; input [1] -> [1] tcpsynproxy [1] -> [1] output; tcpsynproxy [2] -> GetIPAddress(16) -> [2] output;
};
== ds.click
//
// DetectSuspicious
//
// argument: takes in the victim network address and mask, for example: // DetectSuspicious(121A0400%FFFFFF00)
//
// expects: IP packets.
//
// action: detects packets with bad source addresses; // detects direct broadcast packets;
// detects ICMP redirects.
//
// outputs: output 0 push out accepted packets, unmodified;
// output 1 push out rejected packets, xmmodified. // elementclass DetectSuspicious { $vnet I // see http://www.ietf.org/internet-drafts/draft-m--ni ing-dsua-03.txt for a // list of bad source addresses to block out. we also block out packets with // broadcast dst addresses. bad_addr_filter :: Classified 12/$vnet, // port 0: victim network address
12/00, // port 1 : 0.0.0.0/8 (special purpose)
12/7F, // port 2: 127.0.0.0/8 (loopback)
12/OA, // port 3: 10.0.0.0/8 (private network)
12/AC10%FFF0, // port 4: 172.16.0.0/12 (private network) 12/C0A8, // port 5: 192.168.0.0/16 (private network)
12/A9FE, // port 6: 169.254.0.0/16 (autoconf addr)
12/C0000200%FFFFFF00, // port 7: 192.0.2.0/24 (testing addr) 12/E0%F0, // port 8: 224.0.0.0/4 (class D - multicast)
12 F0%F0, // port 9: 240.0.0.0/4 (class E - reserved) 12/00FFFFFF%00FFFFFF, // port 10: broadcast saddr X.255.255.255 12/00OOFFFF%O000FFFF, // port 11 : broadcast saddr X.Y.255.255 12/000000FF%000000FF, //port 12: broadcast saddr X.Y.Z.255 16/00FFFFFF%00FFFFFF, // port 13: broadcast daddr X.255.255.255 16/0000FFFF%0000FFFF, // port 14: broadcast daddr X.Y.255.255 16/000000FF%000000FF, // port 15: broadcast daddr X.Y.Z.255
9/01, // port 16: ICMP packets
-); input -> bad_addr _filter; bad_addr_filter [0] -> [1] output bad_addr_filter [1] -> [1] output: bad_addr_filter [2] -> [1] output bad_addrj lter [3] -> [1] output: bad_addrj lter [4] -> [1] output: bad_addr_filter [5] -> [1] output: bad_addrj-ilter [6] -> [1] output bad_addr_filter [7] -> [1] output: bad_addrj lter [8] -> [1] output; bad_addr_filter [9] -> [1] output: bad_addr_filter [10] -> [1] output bad_addr_filter [11] -> [1] output bad_addr_filter [12] -> [1] output: bad_addr_filter [13] -> [1] output bad_ad r_filter [14] -> [1] output bad_addrj lter [15] -> [1] output
// ICMP rules: drop all fragmented and redirect ICMP packets bad αddrjfϊlter [16]
-> is jcmpjxagjpackets :: Classifier(6/0000, -); isjcmp jxagjpackets [1] -> [1] output; isjcmp jxagjpackets [0]
-> isjcmp edirect :: IPClassifier(icmp type 5, -); isjcmp jredirect [0] -> [1] output;
// finally, allow dynamic filtering of bad src addresses we discovered // elsewhere in our script. dyn_saddr_filter :: AddrFilter(SRC, 32); isjcmp jredirect [1] -> dyn_saddrj-ϊlter; bad_addr_filter [17] -> dyn_saddrj lter; dyn_saddr_filter [0] -> [0] output; dyn saddrj-ϊlter [1] -> [1] output;
}; : monitor, click
// // TCPTrafficMonitor //
// expects: input 0 takes TCP packets w IP header for the victim network; // input 1 takes TCP packets w IP Header from the victim network.
// action: monitors packets passing by // outputs: output 0 - packets for victim network, unmodified; // output 1 - packets from victim network, unmodified.
// elementclass TCPTrafficMonitor { // fwd annotation = rate of src_addr, rev annotation = rate of dst_addr tcpjm :: IPRateMonitor(PACKETS, 0, 1, 100, 4096, true);
// monitor all TCP traffic to victim, monitor non-RST packets from victim input [0] -> [0] tcpjrm [0] -> [0] output; input [1] -> il_tcp_rst :: IPClassifier(rst, -); il_tcp_rst[0] -> [1] output; il_tcp_rst[l] -> [1] tcpjrm [1] -> [1] output;
};
200945Q5.doc
APPENDIXB
Appendix listing of additional Click modules ("elements"). ADAPTIVESHAPER (n) ADAPTIVESHAPER (n)
NAME
AdaptiveShaper - Click element
SYNOPSIS AdaptiveShaper (DROPJ?, REPRESSJΛTEIGHT)
PROCESSING TYPE Push DESCRIPTION
AdaptiveShaper is a push element that shapes input traffic from input port 0 to output port 0. Packets are shaped based on "repressive" traffic from input port 1 to output port 1. Each repressive packet increases a multiplicative factor f by REPRESSJtfEIGHT. Each input packet is killed instead of pushed out with f * DROPJ? probability. After each dropped packet, f is decremented by 1.
EXAMPLES
ELEMENT HANDLERS drop_prob (read/write) value of DROP P
repress -eight (read/write) value of REPRESS WEIGHT
SEE ALSO PacketShaper (n) , RatioShaper (n)
APPENDIXB
ADAPTIVESPLITTER (n) ADAPTIVESPLITTER (n)
NAME AdaptiveSplitter - Click element
SYNOPSIS
AdaptiveSplitter (RATE) PROCESSING TYPE Push
DESCRIPTION
AdaptiveSplitter attempts to split RATE number of packets per second for each address. It takes the fwd_rate annotation set by IPRateMonitor (n) , and calculates a split probability based on that rate. The split probability attempts •to guarantee RATE number of packets per second. That is, the lower the fwd_rate, the higher the split probability.
Splitted packets are on output port 1. Other packets are on output port 0.
EXAMPLES
AdaptiveSplitter (10) ;
SEE ALSO
IPRateMonitor (n)
APPENDIX B
ADDRFILTER (n) ADDRFILTER (n)
NAME AddrFilter - Click element
SYNOPSIS
AddrFilter (DST/SRC, N) PROCESSING TYPE Push
DESCRIPTION
Filters out IP addresses given in write handler. DST/SRC specifies which IP address (dst or src) to filter. N is the maximum number of IP addresses to filter at any time. Packets passed the filter goes to output 0. Packets rejected by the filter goes to output 1. AddrFilter looks at addresses in the IP header of the packet, not the annotation. It requires an IP header annotation ( MarklPHeader (n) ) .
EXAMPLES
AddrFilter (DST, 8)
Filters by dst IP address, up to 8 addresses.
ELEMENT HANDLERS table ( (read) )
Dumps the list of addresses to filter and
add ( (write) )
Expects a string "addr mask duration", where addr is an IP address, mask is a net ask, and duration is the number of seconds to filter packets from this IP address. If 0 is given as a duration, filtering is removed. For example, "18.26.4.0 255.255.255.0 10" would filter out all packets with dst or source address 18.26.4.* for 10 seconds. New addresses push out old addresses if more than N number of filters already exist.
reset ( (write) )
Resets on write.
SEE ALSO
Classifier (n) , MarklPHeader (n) APPENDIXB
ATTACKLOG (n) ATTACKLOG (n)
NAME
AttackLog - Click element; maintains a log of attack packets in SAVEJTILE.
SYNOPSIS
AttackLog (SAVEJTILE, INDEXJTILE, MULTIPLIER, PERIOD)
PROCESSING TYPE Agnostic
DESCRIPTION Maintains a log of attack packets in SAVEJTILE. Expects packets with ethernet headers, but with the first byte of the ethernet header replaced by an attack bitmap, set in kernel. AttackLog classifies each packet by the type of attack, and maintains an attack rate for each type of attack. The attack rate is the arrival rate of attack packets multiplied by MULTIPLIER.
AttackLog writes a block of data into SAVEJTILE once every PERIOD number of seconds. Each block is composed of entries of the following format: delimiter (0s) 4 bytes time 4 bytes attack type 2 bytes attack rate 4 bytes ip header and payload (padded) 86 bytes
100 bytes Entries with the same attack type are written out together. A delimiter of OxFFFFFFFF is written to the end of each block.
A circular timed index file is kept in INDEXJTILE along side the attacklog. See Circularlndex (n) .
SEE ALSO Circularlnde (n) APPENDIXB
CIRCULARINDEX(n) CIRCULARINDEX(n)
NAME
Circularlndex - Click element; writes a timed circular index into a file.
SYNOPSIS
Circularlndex
DESCRIPTION
Circularlndex writes an entry into a circular index file periodically. The entry contains a 32 bit time stamp and a 64 bit offset into another file. The following functions are exported by Circularlndex. int initialize (String FILE, unsigned PERIOD, unsigned WRAP) - Use FILE as the name of the circular file. Writes entry into circular file once every PERIOD number of seconds. WRAP is the number of writes before wrap around. If WRAP is 0, the file is never wrapped around. void write_entry (long long offset) - Write entry into index file. Use offset as the offset in the entry.
SEE ALSO
GatherRates (n) MonitorSRC16(n)
APPENDIXB
DISCARDTODEVICE (n) DISCARDTODEVICE (n)
NAME DiscardToDevice - Click element; drops all packets, gives skbs to device.
SYNOPSIS
DiscardToDevice (DEVICE)
PROCESSING TYPE Agnostic
DESCRIPTION Discards all packets received on its single input. Gives all skbuffs to specified device.
APPENDIX B
FILTERTCP(n) FILTERTCP(n)
NAME FilterTCP - Click element
SYNOPSIS
FilterTCP () PROCESSING TYPE Push
DESCRIPTION
Expects TCP/IP packets as input.
APPEND--X B
FROMTUNNEL (n) FROMTUNNEL (n)
NAME FromTunnel - Click element
SYNOPSIS
FromTunnel (TUNNEL, SIZE, BURST) PROCESSING TYPE Push
DESCRIPTION
Grab packets from kernel KUTunnel element . TUNNEL is a /proc file in the handler directory of the KUTunnel element. SIZE specifies size of the buffer to use (if packet in kernel has larger size, it is dropped) . BURST specifies the maximum number of packets to push each time FromTunnel runs .
EXAMPLES
FromTunnel ( /proc/click/tunnel/config)
APPENDIXB
GATHERRATES (n) GATHERRATES (n)
NAME GatherRates - Click element
SYNOPSIS
GatherRates (SAVEJTILE, INDEXJTILE, TCPMONITOR_IN, TCPMONI- TOR OUT, MONITOR PERIOD, SAVE PERIOD) ;
PROCESSING TYPE Agnostic
DESCRIPTION Gathers aggregate traffic rates from TCPMonitor (n) element at TCPMONITOR_IN and TCPMONITOR_OUT .
Aggregate rates are gathered once every MONITORJPERIOD number of seconds. They are averaged and saved to SAVEJTILE once every SAVEJPERIOD number of seconds. The following entry is written to SAVEJTILE for both incoming and outgoing traffic: delimiter (0s) 4 bytes time 4 bytes type (0 for incoming traffic, 1 for outgoing traffic) 4 bytes packet rate of tcp traffic 4 bytes byte rate of tcp traffic 4 bytes rate of fragmented tcp packets 4 bytes rate of tcp syn packets 4 bytes rate of tcp fin packets 4 bytes rate of tcp ack packets 4 bytes rate of tcp rst packets 4 bytes rate of tcp psh packets 4 bytes rate of tcp urg packets 4 bytes packet rate of non-tcp traffic 4 bytes byte rate of non-tcp traffic 4 bytes rate of fragmented non-tcp traffic 4 bytes rate of udp packets 4 bytes rate of icmp packets • 4 bytes rate of all other packets 4 bytes
72 bytes
After the two entries, an additional delimiter of OxFFFFFFFF is written. SAVEJPERIOD must be a multiple of MONITOR_PERIOD. A circular timed index is kept along side the stats file. See Circularlnde (n) .
SEE ALSO
TCPMonitor (n) Circularlndex (n) APPENDIXB
ICMPPINGENCAP (n) ICMPPINGENCAP (n)
NAME ICMPPINGEncap - Click element
SYNOPSIS
ICMPPINGEncap (SADDR, DADDR [, CHECKSUM?]) DESCRIPTION
Encapsulates each incoming packet in a ICMP ECHO/IP packet with source address SADDR and destination address DADDR. The ICMP and IP checksums are calculated if CHECKSUM? is true; it is true by default.
EXAMPLES
ICMPPINGEncap (1.0.0.1, 2.0.0.2)
APPENDIX B
KUTUNNEL (n) KUTUNNEL (n)
NAME KUTunnel - Click element; stores packets in a FIFO queue that userlevel Click elements pull from.
SYNOPSIS
KUTunnel ( [CAPACITY] )
PROCESSING TYPE Push
DESCRIPTION Stores incoming packets in a first-in-first-out queue. Drops incoming packets if the queue already holds CAPACITY packets. The default for CAPACITY is 1000. Allows user- level elements to pull from queue via ioctl.
ELEMENT HANDLERS length (read-only)
Returns the current number of packets in the queue.
highwater_length (read-only)
Returns the maximum number of packets that have ever been in the queue at once.
capacity (read/write)
Returns or sets the queue's capacity.
drops (read-only)
Returns the number of packets dropped so far.
SEE ALSO
Queue (n) APPENDIXB
LOGGER (n) LOGGER (n)
NAME
Logger - Click element
SYNOPSIS
Logger (LOGFILE, INDEXFILE [, LOCKFILE, COMPRESS?, LOGSIZE, PACKETSIZE, WRITEPERIOD, IDXCOALESC, PACKETFREQ, MAXBUF- SIZE ] )
PROCESSING TYPE Agnostic
DESCRIPTION
Has one input and one output .
Write packets to log file LOGFILE. A log file is a circular buffer containing packet records of the following form:
I time (6 bytes) |
I length (2 bytes) | I packet data |
Time is the number of seconds and milliseconds since the
Epoch at which a given packet was seen. Length is the length (in bytes) of the subsequent logged packet data.
One or more packet records constitute one packet sequence.
INDEXFILE maintains control data for LOGFILE. It contains a sequence of sequence control blocks of the following form:
I date (4 bytes) I offset (sizeof off ;) I length (sizeof off t)
Date is a number of seconds since the Epoch. Offset points to the beginning of the packet sequence, i.e. to the earliest packet record having a time no earlier than date. Length is the number of bytes in the packet sequence. IDXCOALESC is the number of coalescing packets that a control block always cover. Default is 1024. Sequence control blocks are always stored in increasing chronological order; offsets need not be in increasing order, since LOGFILE is a circular buffer.
COMPRESS? (true, false) determines whether packet data is logged in compressed form. Default is true. APPENDIXB
LOGSIZE specifies the maximum allowable log file size, in KB. Default is 2GB. LOGSIZE=0 means "grow as necessary".
PACKETSIZE is the amount of packet data stored in the log. By default, the first 120 (128-6-2) bytes are logged and the remainder is discarded. Note that PACKETSIZE is the amount of data logged before compression.
Packet records are buffered in memory and periodically written to LOGFILE as a packet sequence. WRITEPERIOD is the number of seconds that should elapse between writes to LOGFILE. Default is 60. INDEXFILE is updated every time a sequence of buffered packet records is written to LOGFILE. The date in the sequence control block is the time of the first packet record of the sequence, with milliseconds omitted.
PACKETFREQ is an estimate of the number of packets per second that will be passing through Logger. Combined with WRITEPERIOD, this is a hint of buffer memory requirements.
By default, PACKETFREQ is 1000. Since by default WRITEPERIOD is 60 and each packet record is at most 128 bytes, Logger normally allocates 7500KB of memory for the buffer. Logger will grow the memory buffer as needed up to a maxi- mum of MAXBUFSIZE KB, at which point the buffered packet records are written to disk even if WRITEPERIOD seconds have not elapsed since the last write. Default MAXBUFSIZE is 65536 (64MB) .
APPENDIX B
MONITORSRC16(n) MONITORSRC16 (n)
NAME
MonitorSRC16 - Click element
SYNOPSIS
MonitorSRCl6 (SAVEJTILE, INDEXJTILE, MULTIPLIER, PERIOD, WRAP)
PROCESSING TYPE Agnostic
DESCRIPTION Examines src address of packets passing by. Collects statistics for each 16 bit IP address prefix. The following data structure is written to SAVEJTILE for every 16 bit IP address prefix every PERIOD number of seconds. delimiter (0s) (4 bytes) time (4 bytes) addr (4 bytes) tcp rate (4 bytes) non tcp rate (4 bytes) percent of tcp (1 byte) percent of tcp frag (1 byte) percent of tcp syn (1 byte) percent of tcp fin (1 byte) percent of tcp ack (1 byte) percent of tcp rst (1 byte) percent of tcp psh (1 byte) percent of tcp urg (1 byte) percent of non tcp frag (1 byte) percent of udp (1 byte) percent of icmp (1 byte) reserved (1 byte)
32 bytes TCP and non TCP rates are multiplied by MULTIPLIER. An additional delimiter of OxFFFFFFFF is written at the end of a block of entries.
WARP specifies the number of writes before wrap-around. For example, if PERIOD is 60, WARP is 5, then every 5 minutes, the stats file wrap around.
A timed circular index is maintained along side the statistics file in INDEX FILE. See Circularlndex (n) .
SEE ALSO
Circularlndex (n) APPENDIXB
RANDOMTCPIPENCAP (n) RANDOMTCPIPENCAP (n)
NAME RandomTCPIPEncap - Click element
SYNOPSIS
RandomTCPIPEncap (DA BITS [DP SEQN ACKN CHECKSUM SA MASK]) PROCESSING TYPE Agnostic
DESCRIPTION
Encapsulates each incoming packet in a TCP/IP packet with random source address and source port, destination address DA, and control bits BITS. If BITS is -1, control bits are also generated randomly. If destination port DP, sequence number SEQN, or ack number ACKN is specified and non-zero, it is used. Otherwise, it is generated randomly for each packet. IP and TCP checksums are calculated if CHECKSUM is true; it is true by default. SEQN and ACKN should be in host order. SA and MASK are optional IP address; if they are specified, the source address is computed as ( (random () & MASK) | SA) .
EXAMPLES
RandomTCPIPEncap (1.0.0.2 4)
SEE ALSO
RoundRobinTCPIPEncap (n) , RandomUDPIPEncap (n)
APPENDIXB
RANDOMUDPIPENCAP (n) RANDOMUDPIPENCAP (n)
NAME
RandomUDPIPEncap - Click element
SYNOPSIS
RandomUDPIPEncap (SADDR SPORT DADDR DPORT PROB [CHECKSUM?] [, •••])
PROCESSING TYPE Agnostic
DESCRIPTION Encapsulates each incoming packet in a UDP/IP packet with source address SADDR, source port SPORT, destination address DADDR, and destination port DPORT. The UDP checksum is calculated if CHECKSUM? is true; it is true by default.
PROB gives the relative chance of this argument be used over others .
The RandomUDPIPEncap element adds both a UDP header and an IP header.
You can a maximum of 16 arguments. Each argument specifies a single UDP/IP header. The element will randomly pick one argument. The relative probabilities are determined by PROB .
The Strip (n) element can be used by the receiver to get rid of the encapsulation header. EXAMPLES
RandomUDPIPEncap (1.0.0.1 1234 2.0.0.2 1234 1 1,
1.0.0.2 1093 2.0.0.2 1234 2 1)
Will send about twice as much UDP/IP packets with 1.0.0.2 as its source address than packets with 1.0.0.1 as its source address.
SEE ALSO
Strip (n), UDPIPEncap (n) , RoundRobinUDPIPEncap (n) APPENDIX B
RATEWARN (n) RATEWARN (n)
NAME RateWarn - Click element; classifies traffic and sends out warnings when rate of traffic exceeds specified rate.
SYNOPSIS
RateWarn (RATE, WARNFREQ)
PROCESSING TYPE Push
DESCRIPTION RateWarn has three output ports. It monitors the rate of packet arrival on input port 0. Packets are forwarded to output port 0 if rate is below RATE. If rate exceeds RATE, it sends out a warning packet WARNFREQ number of seconds apart on output port 2 in addition to forwarding all traffic through output port 1.
SEE ALSO
PacketMeter (n)
APPENDIX B
RATIOSHAPER (n) RATIOSHAPER (n)
NAME RatioShaper - Click element
SYNOPSIS
RatioShaper (FWD_WEIGHT, REV_WEIGHT, THRESH, P) PROCESSING TYPE Push
DESCRIPTION
RatioShaper shapes packets based on fwd_rate_anno and rev_rate_anno rate annotations set by IPRateMonitor (n) .
If either annotation is greater than THRESH, and FWD fEIGHT*fwd_rate_anno > REV_WEIGHT*rev_rate_anno, the packet is moved onto output port 1 with a probability of min(l,
P*(fwd rate anno*FWD WEIGHT) /(rev rate anno*REV WEIGHT))
FWD_WEIGHT, REV_WEIGHT, and THRESH are integers. P is a decimal between 0 and 1. Otherwise, packet is forwarded on output port 0.
EXAMPLES RatioShaper (1, 2, 100, .2); if fwd_rate_anno more than twice as big as rev_rate_anno, and both rates are above 100, drop packets with an initial probability of 20 percent.
ELEMENT HANDLERS fwd -eight (read/write) value of FWD WEIGHT
rev -eight (read/write) value of REV WEIGHT
thresh (read/write) value of THRESH
drop_prob (read/write) value of P
SEE ALSO
Block (n), IPRateMonitor (n) APPENDIXB
REPORTACTIVITY (n) REPORTACTIVITY (n)
NAME ReportActivity - Click element
SYNOPSIS
ReportActivity (SAVEJTILE, IDLE) PROCESSING TYPE Agnostic
DESCRIPTION
Write into SAVEJTILE a 32 bit time value followed by an ASCII representation of that time stamp whenever a packet comes by. If IDLE number of seconds pass by w/o a packet, removes the file.
APPENDIX B
ROUNDROBINSETIPADDRESS (n) ROUNDROBINSETIPADDRESS (n)
NAME RoundRobinSetlPAddress - Click element
SYNOPSIS
RoundRobinSetlPAddress (ADDR [, ... ] ) PROCESSING TYPE Agnostic
DESCRIPTION
Set the destination IP address annotation of each packet with an address chosen from the configuration string in round robin fashion. Does not compute checksum (use SetΙPChecksum(n) or SetUDPTCPChecksum(n) ) or encapsulate the packet with headers (use RoundRobinUDPIPEncap (n) or RoundRobinTCPIPEncap (n) with bogus address).
EXAMPLES
RoundRobinUDPIPEncap (2.0.0.2 0.0.0.0 0 0 0)
-> RoundRobinSetlPAddress (1.0.0.2, 1.0.0.3, 1.0.0.4) -> StorelPAddress (12)
-> SetlPChecksum -> SetUDPTCPChecksum this configuration segment places an UDP header onto each packet, with randomly generated source and destination ports. The destination IP address is 2.0.0.2, the source IP address is 1.0.0.2, or 1.0.0.3, or 1.0.0.4. Both IP and UDP checksum are computed.
SEE ALSO
RoundRobinUDPIPEncap (n) , RoundRobinTCPIPEncap (n) , UDPIPEn- cap(n) , SetlPChecksum (n) , SetUDPTCPChecksum (n) , SetlPAd- dress (n), StorelPAddress (n)
APPENDIXB
ROUNDROBINTCPIPENCAP (n) ROUNDROBINTCPIPENCAP (n)
NAME RoundRobinTCPIPEncap - Click element
SYNOPSIS
RoundRobinTCPIPEncap (SA DA BITS [SP DP SEQN ACKN CHECKSUM] [, •••])
PROCESSING TYPE Agnostic
DESCRIPTION Encapsulates each incoming packet in a TCP/IP packet with source address SA, source port SP (if 0, a random one is generated for each packet) , destination address DA, and destination port DP (if 0, a random one is generated for each packet), and control bits BITS. If SEQN and ACKN specified are non-zero, they are used. Otherwise, they are randomly generated for each packet. IP and TCP checksums are calculated if CHECKSUM is true; it is true by default. SEQN and ACKN should be in host order. The RoundRobinTCPIPEncap element adds both a TCP header and an IP header.
You can give as many arguments as you'd like. Each argument specifies a single TCP/IP header. The element will cycle through the headers in round-robin order.
The Strip (n) element can be used by the receiver to get rid of the encapsulation header. EXAMPLES
RoundRobinTCPIPEncap (2.0.0.2 1.0.0.2 4 1022 1234 42387492 2394839 1,
2.0.0.2 1.0.0.2 2)
SEE ALSO
Strip (n) , RoundRobinUDPIPEncap (n)
APPENDD B
ROUNDROBINUDPIPENCAP (n) ROUNDROBINUDPIPENCAP (n)
NAME RoundRobinUDPIPEncap - Click element
SYNOPSIS
RoundRobinUDPIPEncap (SADDR DADDR [SPORT DPORT CHECKSUM?] [, -..])
PROCESSING TYPE Agnostic
DESCRIPTION Encapsulates each incoming packet in a UDP/IP packet with source address SADDR, source port SPORT, destination address DADDR, and destination port DPORT. The UDP and IP checksums are calculated if CHECKSUM? is true; it is true by default. If either DPORT or SPORT is 0, the port will be randomly generated for each packet .
The RoundRobinUDPIPEncap element adds both a UDP header and an IP header. You can give as many arguments as you'd like. Each argument specifies a single UDP/IP header. The element will cycle through the headers in round-robin order.
The Strip (n) element can be used by the receiver to get rid of the encapsulation header.
EXAMPLES
RoundRobinUDPIPEncap (2.0.0.2 1.0.0.2 1234 1002 1,
2.0.0.2 1.0.0.2 1234)
SEE ALSO Strip (n), UDPIPEncap (n)
APPENDIXB
SETSNIFFFLAGS (n) SETSNIFFFLAGS (n)
NAME
SetSniffFlags - Click element; sets sniff flags annotation.
SYNOPSIS
SetSniffFlags (FLAGS [, CLEAR])
PROCESSING TYPE Agnostic
DESCRIPTION Set the sniff flags annotation of incoming packets to
FLAGS bitwise or with the old flags . if CLEAR is true
(false by default) , the old flags are ignored.
APPENDIX B
SETUDPTCPCHECKSUM (n) SETUDPTCPCHECKSUM (n)
NAME SetUDPTCPChecksum - Click element
SYNOPSIS
SetUDPTCPChecksum ( ) PROCESSING TYPE Agnostic
DESCRIPTION
Expects an IP packet as input. Calculates the ICMP, UDP or TCP header's checksum and sets the checksum header field. Does not modify packet if it is not an ICMP, UDP, or TCP packet.
SEE ALSO
SetlPChecksum (n)
APPENDIXB
STORESNIFFFLAGS (n) STORESNIFFFLAGS (n)
NAME StoreSniffFlags - Click element; stores sniff flags annotation in packet
SYNOPSIS
StoreSniffFlags (OFFSET)
PROCESSING TYPE Agnostic
DESCRIPTION Copy the sniff flags annotation into the packet at offset OFFSET .
APPENDIXB
TCPMONITOR (n) TCPMONITOR (n)
NAME TCPMonitor - Click element
SYNOPSIS
TCPMonitor ( ) PROCESSING TYPE Push
DESCRIPTION
Monitors and splits TCP traffic. Output 0 are TCP traffic, output 1 are non-TCP traffic. Keeps rates of TCP, TCP BYTE, SYN, ACK, PUSH, RST, FIN, URG, and fragmented packets. Also keeps rates of ICMP, UDP, non-TCP BYTE, and non- TCP fragmented traffic.
ELEMENT HANDLERS rates (read) dumps rates
APPENDIXB
TCPSYNPROXY (n) TCPSYNPROXY (n)
NAME TCPSYNProxy - Click element
SYNOPSIS
TCPSYNProxy (MAXJCONNS, THRESHOLD, MINJTIMEOUT, MAXJTIMEOUT [, PASSIVE])
PROCESSING TYPE Push
DESCRIPTION Help settup a three way TCP handshake from A to B by supplying the last ACK packet to the SYN ACK B sent prematurely, and send RST packets to B later if no ACK was received from A. Expects IP encapsulated TCP packets, each with its ip header marked ( MarklPHeader (n) or ChecklPHeader (n) ) .
Aside from responding to SYN ACK packets from B, TCPSYNProxy also examines SYN packets from A. When a SYN packet from A is received, if there are more than MAXJ-ONNS number of outstanding 3 way connections per destination (daddr + dport) , reject the SYN packet. If MAX CONNS is 0, no maximum is set. The duration from sending an ACK packet to B to sending a RST packet to B decreases exponentially as the number of outstanding connections to B increases pass 2ΛTHRESHOLD. The minimum timeout is MINJTIMEOUT. If the number of outstanding half-open connections is above 2ΛTHRESHOLD, the timeout is max (MINJTIMEOUT, MAXJTIMEOUT » (N » THRESHOLD))
Where N is the number of outstanding half-open connec- tions. For example, let the MINJTIMEOUT value be 4 seconds, the MAXJTIMEOUT value be 90 seconds, and THRESHOLD be 3. Then when N < 8, timeout is 90. When N < 16, timeout is 45. When N < 24, timeout is 22 seconds. When N < 32, timeout is 11 seconds. When N < 64, timeout is 4 seconds. Timeout period does not decrement if the threshold is 0.
TCPSYNProxy has two inputs, three outputs. All inputs and outputs take in and spew out packets with IP header. Input 0 expects TCP packets from A to B. Input 1 expects TCP packets from B to A. Output 0 spews out packets from A to B. Output 1 spews out packets from B to A. Output 2 spews out the ACK and RST packets generated by the element . If PASSIVE is true (it is not by default), monitor TCP three-way handshake instead of actively setting it up. In APPENDIX B
this case, no ACK or RST packets will be sent. When an outstanding SYN times out, the SYN ACK packet is sent out of output port 2. No packets on port 0 are modified or dropped in this operating mode .
EXAMPLES
... -> ChecklPHeaderO -> TCPSYNProxy (128, 3, 10, 90) ->
ELEMENT HANDLERS summary (read)
Returns number of ACK and RST packets sent and number of SYN packets rejected.
table (read)
Dumps the table of half-opened connections.
reset (write)
Resets on write.
SEE ALSO
MarklPHeader (n) , ChecklPHeader (n)
APPENDIX B
TCPSYNRESP(n) TCPSYNRESP (n)
NAME TCPSYNResp - Click element
SYNOPSIS
TCPSYNResp () PROCESSING TYPE Push
DESCRIPTION
Takes in TCP packet, if it is a SYN packet, return a SYN ACK. This is solely for debugging and performance tunning purposes. No checksum is done. Spews out original packet on output 0 untouched. Spews out new packet on output 1.

Claims

What is claimed is:
1. A central controller system to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network comprises: a communication device to receive data from a plurality of monitors, over a hardened, redundant network; a computer system, the computer system comprising: a process that executes on the computer system to analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
2. The system of claim 1 wherein the computer system further comprises: an analysis and filtering process to identify malicious traffic and to eliminate the malicious traffic from entering the victim data center.
3. The system of claim 1 wherein the data analyzed by the control center is sampled packet traffic and/or accumulated and collected statistical information about network flows .
4. The system of claim 1 wherein the control center aggregates traffic information and coordinates measures to locate and block the sources of an attack.
5. The system of claim 1 wherein the control center is a hardened site.
6. The system of claim 1 wherein the analysis process executed on the control center analyzes data from gateways and data collectors dispersed throughout the network.
7. The system of claim 1 wherein the analysis process classifies attacks and determines a response based on the class of attack.
8. The system of claim 7 wherein the classes of attack are denoted as low-grade with spoofing, low-grade without spoofing and high-grade whether spoofing or non-spoofing.
9. A method to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network comprises: receiving data from a plurality of monitors, over a hardened, redundant network; and analyzing the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
10. The method of claim 9 further comprising: determining a filtering process to eliminate the malicious traffic from entering the victim data center.
11. The method of claim 9 further comprising: aggregating traffic information and coordinating measures to locate and block the sources of an attack.
12. The method of claim 9 wherein receiving and analyzing are performed by a control center coupled to the data collectors via the hardened, redundant network.
13. The method of claim 9 wherein plurality of monitoring devices are data collectors dispersed throughout the network and at least one gateway device that is disposed adjacent the victim site to protect the victim and wherein analyzing comprises: analyzing at a control center data from the at least one gateway and the data collectors dispersed throughout the network.
14. The method of claim 9 wherein analyzing comprises: classifying attacks and determining a response based on the class of attack.
15. The method of claim 14 wherein the classes of attack are denoted as low-grade with spoofing, low-grade without spoofing and high-grade whether spoofing or non-spoofing.
16. The method of claim 14 further comprising: sending requests to gateways and/or data collectors for data pertaining to an attack.
17. The method of claim 14 further comprising: sending requests to gateways and/or data collectors for requests to install filters to filter out attacking traffic.
18. A computer program product to coordinate thwarting denial of service attacks on a victim data center that is coupled to a network comprises instructions to cause a computer to: receive data from a plurality of monitors, over a hardened, redundant network; and analyze the data from the plurality of monitors to determine network traffic statistics that can identify malicious network traffic.
19. The computer program product of claim 18 wherein instructions to receive and analyze are performed by a control center coupled to data collectors via a hardened, redundant network.
PCT/US2001/027244 2000-09-07 2001-09-04 Coordinated thwarting of denial of service attacks WO2002021278A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2001292566A AU2001292566A1 (en) 2000-09-07 2001-09-04 Coordinated thwarting of denial of service attacks

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US23075900P 2000-09-07 2000-09-07
US60/230,759 2000-09-07
US09/931,291 2001-08-16
US09/931,291 US7278159B2 (en) 2000-09-07 2001-08-16 Coordinated thwarting of denial of service attacks

Publications (1)

Publication Number Publication Date
WO2002021278A1 true WO2002021278A1 (en) 2002-03-14

Family

ID=26924531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/027244 WO2002021278A1 (en) 2000-09-07 2001-09-04 Coordinated thwarting of denial of service attacks

Country Status (3)

Country Link
US (1) US7278159B2 (en)
AU (1) AU2001292566A1 (en)
WO (1) WO2002021278A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070048A1 (en) 2004-12-29 2006-07-06 Nokia Corporation Limiting traffic in communications systems

Families Citing this family (80)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040073617A1 (en) 2000-06-19 2004-04-15 Milliken Walter Clark Hash-based systems and methods for detecting and preventing transmission of unwanted e-mail
US7278159B2 (en) 2000-09-07 2007-10-02 Mazu Networks, Inc. Coordinated thwarting of denial of service attacks
US7398317B2 (en) * 2000-09-07 2008-07-08 Mazu Networks, Inc. Thwarting connection-based denial of service attacks
US7043759B2 (en) * 2000-09-07 2006-05-09 Mazu Networks, Inc. Architecture to thwart denial of service attacks
US7124440B2 (en) * 2000-09-07 2006-10-17 Mazu Networks, Inc. Monitoring network traffic denial of service attacks
US7702806B2 (en) * 2000-09-07 2010-04-20 Riverbed Technology, Inc. Statistics collection for network traffic
US7743134B2 (en) * 2000-09-07 2010-06-22 Riverbed Technology, Inc. Thwarting source address spoofing-based denial of service attacks
US7970886B1 (en) * 2000-11-02 2011-06-28 Arbor Networks, Inc. Detecting and preventing undesirable network traffic from being sourced out of a network domain
US20020165956A1 (en) * 2001-05-07 2002-11-07 Peter Phaal Traffic driven scheduling of active tests
EP1267545B1 (en) * 2001-06-14 2008-08-20 International Business Machines Corporation Intrusion detection in data processing system
EP1315066A1 (en) * 2001-11-21 2003-05-28 BRITISH TELECOMMUNICATIONS public limited company Computer security system
US7743415B2 (en) * 2002-01-31 2010-06-22 Riverbed Technology, Inc. Denial of service attacks characterization
US7213264B2 (en) 2002-01-31 2007-05-01 Mazu Networks, Inc. Architecture to thwart denial of service attacks
US8132250B2 (en) 2002-03-08 2012-03-06 Mcafee, Inc. Message profiling systems and methods
US7694128B2 (en) 2002-03-08 2010-04-06 Mcafee, Inc. Systems and methods for secure communication delivery
US7693947B2 (en) * 2002-03-08 2010-04-06 Mcafee, Inc. Systems and methods for graphically displaying messaging traffic
US20030172291A1 (en) 2002-03-08 2003-09-11 Paul Judge Systems and methods for automated whitelisting in monitored communications
US8561167B2 (en) 2002-03-08 2013-10-15 Mcafee, Inc. Web reputation scoring
US7903549B2 (en) 2002-03-08 2011-03-08 Secure Computing Corporation Content-based policy compliance systems and methods
US7458098B2 (en) * 2002-03-08 2008-11-25 Secure Computing Corporation Systems and methods for enhancing electronic communication security
US7870203B2 (en) * 2002-03-08 2011-01-11 Mcafee, Inc. Methods and systems for exposing messaging reputation to an end user
US7124438B2 (en) * 2002-03-08 2006-10-17 Ciphertrust, Inc. Systems and methods for anomaly detection in patterns of monitored communications
US20060015942A1 (en) 2002-03-08 2006-01-19 Ciphertrust, Inc. Systems and methods for classification of messaging entities
US8578480B2 (en) * 2002-03-08 2013-11-05 Mcafee, Inc. Systems and methods for identifying potentially malicious messages
US7140041B2 (en) * 2002-04-11 2006-11-21 International Business Machines Corporation Detecting dissemination of malicious programs
GB2394382A (en) * 2002-10-19 2004-04-21 Hewlett Packard Co Monitoring the propagation of viruses through an Information Technology network
GB2391419A (en) 2002-06-07 2004-02-04 Hewlett Packard Co Restricting the propagation of a virus within a network
US7886365B2 (en) 2002-06-11 2011-02-08 Panasonic Corporation Content-log analyzing system and data-communication controlling device
US7420929B1 (en) 2002-07-02 2008-09-02 Juniper Networks, Inc. Adaptive network flow analysis
US7251215B1 (en) * 2002-08-26 2007-07-31 Juniper Networks, Inc. Adaptive network router
US8191136B2 (en) * 2002-11-04 2012-05-29 Riverbed Technology, Inc. Connection based denial of service detection
US7774839B2 (en) * 2002-11-04 2010-08-10 Riverbed Technology, Inc. Feedback mechanism to minimize false assertions of a network intrusion
US20050033989A1 (en) * 2002-11-04 2005-02-10 Poletto Massimiliano Antonio Detection of scanning attacks
US7363656B2 (en) * 2002-11-04 2008-04-22 Mazu Networks, Inc. Event detection/anomaly correlation heuristics
US7827272B2 (en) * 2002-11-04 2010-11-02 Riverbed Technology, Inc. Connection table for intrusion detection
US8504879B2 (en) * 2002-11-04 2013-08-06 Riverbed Technology, Inc. Connection based anomaly detection
US7716737B2 (en) * 2002-11-04 2010-05-11 Riverbed Technology, Inc. Connection based detection of scanning attacks
US7461404B2 (en) * 2002-11-04 2008-12-02 Mazu Networks, Inc. Detection of unauthorized access in a network
US8479057B2 (en) * 2002-11-04 2013-07-02 Riverbed Technology, Inc. Aggregator for connection based anomaly detection
US20040156388A1 (en) * 2003-02-07 2004-08-12 Lockheed Martin Corporation System for maintaining quality of service
US7853250B2 (en) 2003-04-03 2010-12-14 Network Security Technologies, Inc. Wireless intrusion detection system and method
US7796515B2 (en) * 2003-04-29 2010-09-14 Hewlett-Packard Development Company, L.P. Propagation of viruses through an information technology network
US9106479B1 (en) 2003-07-10 2015-08-11 F5 Networks, Inc. System and method for managing network communications
US9032095B1 (en) 2004-01-06 2015-05-12 Juniper Networks, Inc. Routing device having multiple logical routers
GB2431316B (en) * 2005-10-12 2008-05-21 Hewlett Packard Development Co Propagation of malicious code through an information technology network
US7664855B1 (en) * 2004-05-05 2010-02-16 Juniper Networks, Inc. Port scanning mitigation within a network through establishment of an a prior network connection
US7929534B2 (en) * 2004-06-28 2011-04-19 Riverbed Technology, Inc. Flow logging for connection-based anomaly detection
US7546635B1 (en) 2004-08-11 2009-06-09 Juniper Networks, Inc. Stateful firewall protection for control plane traffic within a network device
US7760653B2 (en) * 2004-10-26 2010-07-20 Riverbed Technology, Inc. Stackable aggregation for connection based anomaly detection
US8635690B2 (en) 2004-11-05 2014-01-21 Mcafee, Inc. Reputation based message processing
WO2006056239A1 (en) * 2004-11-29 2006-06-01 Telecom Italia S.P.A. Method and system for managing denial of service situations
GB2422505A (en) * 2005-01-20 2006-07-26 Agilent Technologies Inc Sampling datagrams
US7937480B2 (en) 2005-06-02 2011-05-03 Mcafee, Inc. Aggregation of reputation data
US8874477B2 (en) 2005-10-04 2014-10-28 Steven Mark Hoffberg Multifactorial optimization system and method
JP4512196B2 (en) * 2005-10-20 2010-07-28 アラクサラネットワークス株式会社 Abnormal traffic detection method and packet relay apparatus
US8266696B2 (en) * 2005-11-14 2012-09-11 Cisco Technology, Inc. Techniques for network protection based on subscriber-aware application proxies
US9794272B2 (en) * 2006-01-03 2017-10-17 Alcatel Lucent Method and apparatus for monitoring malicious traffic in communication networks
US7610622B2 (en) * 2006-02-06 2009-10-27 Cisco Technology, Inc. Supporting options in a communication session using a TCP cookie
US8001601B2 (en) * 2006-06-02 2011-08-16 At&T Intellectual Property Ii, L.P. Method and apparatus for large-scale automated distributed denial of service attack detection
US8763114B2 (en) 2007-01-24 2014-06-24 Mcafee, Inc. Detecting image spam
US7949716B2 (en) 2007-01-24 2011-05-24 Mcafee, Inc. Correlation and analysis of entity attributes
US7779156B2 (en) 2007-01-24 2010-08-17 Mcafee, Inc. Reputation based load balancing
US8179798B2 (en) 2007-01-24 2012-05-15 Mcafee, Inc. Reputation based connection throttling
US8214497B2 (en) 2007-01-24 2012-07-03 Mcafee, Inc. Multi-dimensional reputation scoring
US20080196104A1 (en) * 2007-02-09 2008-08-14 George Tuvell Off-line mms malware scanning system and method
US8185930B2 (en) 2007-11-06 2012-05-22 Mcafee, Inc. Adjusting filter or classification control settings
US8045458B2 (en) 2007-11-08 2011-10-25 Mcafee, Inc. Prioritizing network traffic
US8160975B2 (en) 2008-01-25 2012-04-17 Mcafee, Inc. Granular support vector machine with random granularity
US8589503B2 (en) 2008-04-04 2013-11-19 Mcafee, Inc. Prioritizing network traffic
US8339959B1 (en) 2008-05-20 2012-12-25 Juniper Networks, Inc. Streamlined packet forwarding using dynamic filters for routing and security in a shared forwarding plane
US8955107B2 (en) * 2008-09-12 2015-02-10 Juniper Networks, Inc. Hierarchical application of security services within a computer network
US8914878B2 (en) 2009-04-29 2014-12-16 Juniper Networks, Inc. Detecting malicious network software agents
US8789173B2 (en) * 2009-09-03 2014-07-22 Juniper Networks, Inc. Protecting against distributed network flood attacks
US8369345B1 (en) 2009-11-13 2013-02-05 Juniper Networks, Inc. Multi-router system having shared network interfaces
US8621638B2 (en) 2010-05-14 2013-12-31 Mcafee, Inc. Systems and methods for classification of messaging entities
US8966622B2 (en) * 2010-12-29 2015-02-24 Amazon Technologies, Inc. Techniques for protecting against denial of service attacks near the source
US9122877B2 (en) 2011-03-21 2015-09-01 Mcafee, Inc. System and method for malware and network reputation correlation
US9251535B1 (en) 2012-01-05 2016-02-02 Juniper Networks, Inc. Offload of data transfer statistics from a mobile access gateway
US8931043B2 (en) 2012-04-10 2015-01-06 Mcafee Inc. System and method for determining and using local reputations of users and hosts to protect information in a network environment
US9628503B2 (en) 2014-01-17 2017-04-18 F5 Networks, Inc. Systems and methods for network destination based flood attack mitigation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5796942A (en) * 1996-11-21 1998-08-18 Computer Associates International, Inc. Method and apparatus for automated network-wide surveillance and security breach intervention
US5886643A (en) * 1996-09-17 1999-03-23 Concord Communications Incorporated Method and apparatus for discovering network topology
US5892903A (en) * 1996-09-12 1999-04-06 Internet Security Systems, Inc. Method and apparatus for detecting and identifying security vulnerabilities in an open network computer communication system
US5991881A (en) * 1996-11-08 1999-11-23 Harris Corporation Network surveillance system
US6088804A (en) * 1998-01-12 2000-07-11 Motorola, Inc. Adaptive system and method for responding to computer network security attacks
US6108782A (en) * 1996-12-13 2000-08-22 3Com Corporation Distributed remote monitoring (dRMON) for networks

Family Cites Families (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9405406D0 (en) * 1994-03-18 1994-05-04 Netcomm Ltd Atm cell switch
ES2174050T3 (en) * 1996-01-12 2002-11-01 Ibm ANONYMOUS EXCHANGE AND INFORMATION SECURITY IN A NETWORK.
US6034945A (en) * 1996-05-15 2000-03-07 Cisco Technology, Inc. Method and apparatus for per traffic flow buffer management
US5793753A (en) * 1996-09-17 1998-08-11 Coherent Communications Systems Corp. Telecommunications network management observation and response system
US6167027A (en) * 1997-09-09 2000-12-26 Cisco Technology, Inc. Flow control technique for X.25 traffic in a high speed packet switching network
US6061341A (en) * 1997-12-16 2000-05-09 Telefonaktiebolaget Lm Ericsson (Publ) Use of transmission control protocol proxy within packet data service transmissions in a mobile network
US6442694B1 (en) * 1998-02-27 2002-08-27 Massachusetts Institute Of Technology Fault isolation for communication networks for isolating the source of faults comprising attacks, failures, and other network propagating errors
US6279113B1 (en) * 1998-03-16 2001-08-21 Internet Tools, Inc. Dynamic signature inspection-based network intrusion detection
US6738814B1 (en) * 1998-03-18 2004-05-18 Cisco Technology, Inc. Method for blocking denial of service and address spoofing attacks on a private network
US6725378B1 (en) * 1998-04-15 2004-04-20 Purdue Research Foundation Network protection for denial of service attacks
US6370116B1 (en) * 1998-05-26 2002-04-09 Alcatel Canada Inc. Tolerant CIR monitoring and policing
US6282546B1 (en) * 1998-06-30 2001-08-28 Cisco Technology, Inc. System and method for real-time insertion of data into a multi-dimensional database for network intrusion detection and vulnerability assessment
US6304262B1 (en) * 1998-07-21 2001-10-16 Raytheon Company Information security analysis system
US6269401B1 (en) * 1998-08-28 2001-07-31 3Com Corporation Integrated computer system and network performance monitoring
US6807667B1 (en) * 1998-09-21 2004-10-19 Microsoft Corporation Method and system of an application program interface for abstracting network traffic control components to application programs
US6308214B1 (en) * 1998-09-23 2001-10-23 Inktomi Corporation Self-tuning dataflow I/O core
US6321338B1 (en) * 1998-11-09 2001-11-20 Sri International Network surveillance
US6301668B1 (en) * 1998-12-29 2001-10-09 Cisco Technology, Inc. Method and system for adaptive network security using network vulnerability assessment
FI108601B (en) * 1999-01-05 2002-02-15 Nokia Corp Dissemination of QoS mapping information in a packet radio network
US6578147B1 (en) * 1999-01-15 2003-06-10 Cisco Technology, Inc. Parallel intrusion detection sensors with load balancing for high speed networks
US6487666B1 (en) * 1999-01-15 2002-11-26 Cisco Technology, Inc. Intrusion detection signature analysis using regular expressions and logical operators
US6381649B1 (en) * 1999-02-05 2002-04-30 Pluris, Inc. Data flow monitoring at a network node using periodically incremented counters for comparison to predetermined data flow thresholds
US6609205B1 (en) * 1999-03-18 2003-08-19 Cisco Technology, Inc. Network intrusion detection signature analysis using decision graphs
US6591306B1 (en) * 1999-04-01 2003-07-08 Nec Corporation IP network access for portable devices
US6678827B1 (en) * 1999-05-06 2004-01-13 Watchguard Technologies, Inc. Managing multiple network security devices from a manager device
DE69935138T2 (en) 1999-08-20 2007-11-22 International Business Machines Corp. System and method for optimizing the performance and availability of a DHCP service
US6597661B1 (en) * 1999-08-25 2003-07-22 Watchguard Technologies, Inc. Network packet classification
US6735702B1 (en) * 1999-08-31 2004-05-11 Intel Corporation Method and system for diagnosing network intrusion
US6363489B1 (en) * 1999-11-29 2002-03-26 Forescout Technologies Inc. Method for automatic intrusion detection and deflection in a network
US6389448B1 (en) * 1999-12-06 2002-05-14 Warp Solutions, Inc. System and method for load balancing
US6597957B1 (en) * 1999-12-20 2003-07-22 Cisco Technology, Inc. System and method for consolidating and sorting event data
US6775657B1 (en) * 1999-12-22 2004-08-10 Cisco Technology, Inc. Multilayered intrusion detection system and method
US6816910B1 (en) * 2000-02-17 2004-11-09 Netzentry, Inc. Method and apparatus for limiting network connection resources
US7039641B2 (en) * 2000-02-24 2006-05-02 Lucent Technologies Inc. Modular packet classification
US7237138B2 (en) * 2000-05-05 2007-06-26 Computer Associates Think, Inc. Systems and methods for diagnosing faults in computer networks
US6789203B1 (en) * 2000-06-26 2004-09-07 Sun Microsystems, Inc. Method and apparatus for preventing a denial of service (DOS) attack by selectively throttling TCP/IP requests
US6353385B1 (en) * 2000-08-25 2002-03-05 Hyperon Incorporated Method and system for interfacing an intrusion detection system to a central alarm system
US20020116491A1 (en) * 2000-09-01 2002-08-22 Boyd Eric L. Method and system for probing a network
US7702806B2 (en) * 2000-09-07 2010-04-20 Riverbed Technology, Inc. Statistics collection for network traffic
US7743134B2 (en) * 2000-09-07 2010-06-22 Riverbed Technology, Inc. Thwarting source address spoofing-based denial of service attacks
US7043759B2 (en) * 2000-09-07 2006-05-09 Mazu Networks, Inc. Architecture to thwart denial of service attacks
US7398317B2 (en) * 2000-09-07 2008-07-08 Mazu Networks, Inc. Thwarting connection-based denial of service attacks
US7278159B2 (en) 2000-09-07 2007-10-02 Mazu Networks, Inc. Coordinated thwarting of denial of service attacks
US7836498B2 (en) * 2000-09-07 2010-11-16 Riverbed Technology, Inc. Device to protect victim sites during denial of service attacks
US20020032871A1 (en) * 2000-09-08 2002-03-14 The Regents Of The University Of Michigan Method and system for detecting, tracking and blocking denial of service attacks over a computer network
US20020032793A1 (en) * 2000-09-08 2002-03-14 The Regents Of The University Of Michigan Method and system for reconstructing a path taken by undesirable network traffic through a computer network from a source of the traffic
US20020038339A1 (en) * 2000-09-08 2002-03-28 Wei Xu Systems and methods for packet distribution
US20020103886A1 (en) * 2000-12-04 2002-08-01 International Business Machines Corporation Non-local aggregation of system management data
US6691213B1 (en) * 2001-02-28 2004-02-10 Western Digital Ventures, Inc. Computer system and method for accessing a protected partition of a disk drive that lies beyond a limited address range of a host computer's BIOS
US7107619B2 (en) * 2001-08-31 2006-09-12 International Business Machines Corporation System and method for the detection of and reaction to denial of service attacks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892903A (en) * 1996-09-12 1999-04-06 Internet Security Systems, Inc. Method and apparatus for detecting and identifying security vulnerabilities in an open network computer communication system
US5886643A (en) * 1996-09-17 1999-03-23 Concord Communications Incorporated Method and apparatus for discovering network topology
US5991881A (en) * 1996-11-08 1999-11-23 Harris Corporation Network surveillance system
US5796942A (en) * 1996-11-21 1998-08-18 Computer Associates International, Inc. Method and apparatus for automated network-wide surveillance and security breach intervention
US6108782A (en) * 1996-12-13 2000-08-22 3Com Corporation Distributed remote monitoring (dRMON) for networks
US6088804A (en) * 1998-01-12 2000-07-11 Motorola, Inc. Adaptive system and method for responding to computer network security attacks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SNAPP ET AL.: "A system for distributed intrusion detection", COMPCON SPRING '91, DIGEST OF PAPERS, March 1991 (1991-03-01), DAVIS, CA, pages 170 - 176, XP002906031 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070048A1 (en) 2004-12-29 2006-07-06 Nokia Corporation Limiting traffic in communications systems
EP1839149A1 (en) * 2004-12-29 2007-10-03 Nokia Corporation Limiting traffic in communications systems
EP1839149A4 (en) * 2004-12-29 2010-02-24 Nokia Corp Limiting traffic in communications systems

Also Published As

Publication number Publication date
US7278159B2 (en) 2007-10-02
AU2001292566A1 (en) 2002-03-22
US20020095492A1 (en) 2002-07-18

Similar Documents

Publication Publication Date Title
US7043759B2 (en) Architecture to thwart denial of service attacks
WO2002021278A1 (en) Coordinated thwarting of denial of service attacks
US7124440B2 (en) Monitoring network traffic denial of service attacks
WO2002021296A1 (en) Statistics collection for network traffic
US7743134B2 (en) Thwarting source address spoofing-based denial of service attacks
US7836498B2 (en) Device to protect victim sites during denial of service attacks
US7398317B2 (en) Thwarting connection-based denial of service attacks
US7743415B2 (en) Denial of service attacks characterization
CN108063765B (en) SDN system suitable for solving network security
US6973040B1 (en) Method of maintaining lists of network characteristics
Abdelsayed et al. An efficient filter for denial-of-service bandwidth attacks
US7657934B2 (en) Architecture to thwart denial of service attacks
Chang Defending against flooding-based distributed denial-of-service attacks: a tutorial
US7331060B1 (en) Dynamic DoS flooding protection
Yang et al. A DoS-limiting network architecture
Bogdanoski et al. Analysis of the SYN flood DoS attack
US20030145231A1 (en) Architecture to thwart denial of service attacks
Huang et al. FSDM: Fast recovery saturation attack detection and mitigation framework in SDN
Mopari et al. Detection and defense against DDoS attack with IP spoofing
Mohammadi et al. Practical extensions to countermeasure dos attacks in software defined networking
Bala et al. Quality based Bottom-up-Detection and Prevention Techniques for DDOS in MANET
Hayashi et al. Method for detecting low-rate attacks on basis of burst-state duration using quick packet-matching function
Strother Denial of service protection the nozzle
Kim et al. High-speed router filter for blocking TCP flooding under DDoS attack
Thang et al. Synflood spoofed source DDoS attack defense based on packet ID anomaly detection with bloom filter

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref document number: 2003106403

Country of ref document: RU

Kind code of ref document: A

Format of ref document f/p: F

ENP Entry into the national phase

Ref document number: 2003105807

Country of ref document: RU

Kind code of ref document: A

Format of ref document f/p: F

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP