# US 2017/0257386 A1 · Apparatus and method of detecting distributed reflection denial of service attack based on flow information

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0257386 A1
- Document ID: US20170257386A1
- Status: Published application
- Kind: A1
- Application number: 15/251,134
- Filed: 2016-08-30
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jung Tae KIM; Koo Hong KANG; Ik Kyun KIM
- Web page: https://patentgrep.com/patent/US20170257386A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1458: {Denial of Service}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed is an apparatus of detecting a distributed reflection denial of service attack, including: a monitoring unit obtaining flow information including an IP and a port number of a source, an IP and a port number of a destination of data, and the number and the sizes of packets; a memory unit storing a flow table in which the flow information of the data, the packet number and the packet size are input; and a control unit detecting the DRDoS attack by using at least one of the number and the size of packets of the first entry and the flow information of the first entry.

## Claims

### Claim 1

An apparatus of detecting a distributed reflection denial of service attack, the apparatus comprising:
a monitoring unit obtaining flow information including an IP of a source, a port number of the source, an IP of a destination, and a port number of the destination of data which flows at one point of a communication network, and the number and the sizes of packets;
a memory unit storing a flow table in which the flow information of the data, the packet number and the packet size are input; and
a control unit inputting the number and the sizes of packets of data obtained by the monitoring unit for a predetermined time as a first entry for each flow information in the flow table when at least one of the port number of the source and the port number of the destination of the data is a predetermined port number and
detecting the DRDoS attack by using at least one of the number of packets and the size of packet of the first entry and the flow information of the first entry.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the control unit determines a host having a destination IP item value of the first entry as a victim of the DRDoS attack when a source port number item value of the first entry is the predetermined port number, a packet number item value of the first entry is larger than a predetermined first value or a size item value of the first entry is larger than a predetermined second value.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the control unit determines the source IP item value of the first entry as an IP which an attacker of the DRDoS attack spoofs when the destination port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined third value.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the control unit determines a host having the destination IP item value as the victim of the DRDoS attack when the source port number item value of the first entry is the predetermined port number, the destination IP item value among the first entries input in the flow table is the same, and the number of first entries in which the source port number item value is the same is larger than a predetermined fourth value.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the control unit determines the destination IP item value as the IP which the attacker of the DRDoS attacks spoofs when the destination port number item value of the first entry is the predetermined port number, the source IP item value among the first entries input in the flow table is the same, and the number of first entries in which the destination port number item value is the same is larger than a predetermined fifth value.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the control unit newly generates the flow table every predetermined time to input the number and the sizes of packets of the data obtained by the monitoring unit for a predetermined time in the flow table generated as the first entry for each flow information,
generates F1, F2, F3, F4, and F5 items in the first entry,
grants 1 to the F1 value of the first entry when the source port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined sixth value,
grants 1 to the F2 value of the first entry when the source port number item value of the first entry is the predetermined port number and the packet size item value of the first entry is larger than a predetermined seventh value,
grants 1 to the F3 value of the first entry when the destination port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined eighth value,
calculates the number of first entries in which the destination IP item value is the same and the source port number item value is the same among the first entries input into the flow table and grants 1 to the F4 value of the first entry in which the destination IP item value is the same and the source port number item value is the same when the calculated number of first entries is larger than a predetermined 9-th value,
calculates the number of first entries in which the source IP item value is the same and the destination port number item value is the same among the first entries input into the flow table and grants 1 to the F5 value of the first entry in which the source IP item value is the same and the destination port number item value is the same when the calculated number of first entries is larger than a predetermined 10-th value,
generates an Acc flow table in the storage unit,
inputs F1 to F5 of the first entry of the flow table in the Acc flow table as the second entry for each flow information and aggregates and inputs the F1 to F5 values of the second entry having the same flow information, and
determines that the DRDoS attack occurs when at least one of F1 to F5 of the second entry in the Acc flow table is larger than a predetermined 11-th value whenever all of the first entries of the respective generated flow tables every predetermined time are to be input.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the control unit
generates an Aging item in the second entry,
whenever all of the first entries of the respective flow tables generated every predetermined time are input,
increases the Aging value of the second entry in which at least one value of F1 to F5 values increases among the second entries by 1,
decreases the Aging value of the second entry in which the F1 to F5 values are maintained among the second entries by 1, and
deletes the second entry in which the Aging value is 0 from the Acc flow table.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the flow information includes information indicating whether the data is a query packet and whether the data is a response packet, and
the control unit determines that the DRDoS attack occurs when the source IP and the port number of the query packet are the same as the destination IP and the port number of the response packet and the destination IP and the port number of the query packet are the same as the source IP and the port number of the response packet, and a difference between the number of query packets and the number of response packets is larger than a predetermined 12-th value for the predetermined time.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the flow information includes information indicating whether the data is a query packet and whether the data is a response packet, and
the control unit determines that the DRDoS attack occurs when the source IP and the port number of the query packet are not the same as the destination IP and the port number of the response packet or the destination IP and the port number of the query packet are not the same as the source IP and the port number of the response packet.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the monitoring unit and the control unit are provided in plural, and
the plurality of respective control units transmits and receives the stored flow table to and from each other and detects the DRDoS attack by further using the received flow table.

### Claim 11

A method of detecting a distributed reflection denial of service attack, the method comprising:
obtaining flow information including an IP of a source, a port number of the source, an IP of a destination, and a port number of the destination of data which flows at one point of a communication network, and the number and the sizes of packets;
inputting the number and the sizes of packets of data obtained for a predetermined time as a first entry for each flow information in the flow table when at least one of the port number of the source and the port number of the destination of the data is a predetermined port number; and
detecting the DRDoS attack by using at least one of the number of packets and the size of packet of the first entry and the flow information of the first entry.

### Claim 12 (depends on 11)

The method of claim 11, wherein in the detecting of the DRDoS attack, a host having a destination IP item value of the first entry is determined as a victim of the DRDoS attack when a source port number item value of the first entry is the predetermined port number, a packet number item value of the first entry is larger than a predetermined first value or a size item value of the first entry is larger than a predetermined second value.

### Claim 13 (depends on 11)

The method of claim 11, wherein in the detecting of the DRDoS attack, the source IP item value of the first entry is determined as an IP which an attacker of the DRDoS attack spoofs when the destination port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined third value.

### Claim 14 (depends on 11)

The method of claim 11, wherein in the detecting of the DRDoS attack, a host having the destination IP item value is determined as the victim of the DRDoS attack when the source port number item value of the first entry is the predetermined port number, the destination IP item value among the first entries input in the flow table is the same, and the number of first entries in which the source port number item value is the same is larger than a predetermined fourth value.

### Claim 15 (depends on 11)

The method of claim 11, wherein in the detecting of the DRDoS attack, a host having the destination IP item value is determined as the IP which the attacker of the DRDoS attacks spoofs when the destination port number item value of the first entry is the predetermined port number, the source IP item value among the first entries input in the flow table is the same, and the number of first entries in which the destination port number item value is the same is larger than a predetermined fifth value.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
newly generating the flow table every predetermined time to input the number and the sizes of packets of the data obtained by the monitoring unit for a predetermined time in the flow table generated as the first entry for each flow information;
generating F1, F2, F3, F4, and F5 items in the first entry and granting 1 to the F1 value of the first entry when the source port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined 6-th value, granting 1 to the F2 value of the first entry when the source port number item value of the first entry is the predetermined port number and the packet size item value of the first entry is larger than a predetermined 7-th value, granting 1 to the F3 value of the first entry when the destination port number item value of the first entry is the predetermined port number and the packet number item value of the first entry is larger than a predetermined 8-th value, calculating the number of first entries in which the destination IP item value is the same and the source port number item value is the same among the first entries input in the flow table, granting 1 to the F4 value of the first entry in which the destination IP item value is the same and the source port number item value is the same when the calculated number of first entries is larger than a predetermined 9-th value, and calculating the number of first entries in which the source IP item value is the same and the destination port number item value is the same among the first entries input in the flow table and granting 1 to the F5 value of the first entry in which the source IP item value is the same and the destination port number item value is the same when the calculated number of first entries is larger than a predetermined 10-th value;
generating an Acc flow table;
inputting F1 to F5 of the first entry of the flow table in the Acc flow table as the second entry for each flow information and aggregating and inputting the F1 to F5 values of the second entry having the same flow information; and
determining that the DRDoS attack occurs when at least one of F1 to F5 of the second entry in the Acc flow table is larger than a predetermined 11-th value whenever all of the first entries of the respective generated flow tables are input every predetermined time.

### Claim 17 (depends on 16)

The method of claim 16, wherein the generating of the Aging item in the second entry further includes
increasing the Aging value of the second entry in which at least one value of the F1 to F5 values increases among the second entries by 1 and decreasing the Aging value of the second entry in which the F1 to F5 values are maintained among the second entries by 1 whenever all of the first entries of the respective generated flow tables every predetermined time are input, and
deleting the second entry in which the Aging value is 0 from the Acc flow table.

### Claim 18 (depends on 11)

The method of claim 11, wherein the flow information includes information indicating whether the data is a query packet and whether the data is a response packet, and
in the detecting of the DRDoS attack,
it is determined that the DRDoS attack occurs when the source IP and the port number of the query packet are the same as the destination IP and the port number of the response packet and the destination IP and the port number of the query packet are the same as the source IP and the port number of the response packet, and a difference between the number of query packets and the number of response packets is larger than a predetermined 12-th value for the predetermined time.

### Claim 19 (depends on 11)

The method of claim 11, wherein the flow information includes information indicating whether the data is a query packet and whether the data is a response packet, and
in the detecting of the DRDoS attack,
it is determined that the DRDoS attack occurs when the source IP and the port number of the query packet are not the same as the destination IP and the port number of the response packet or the destination IP and the port number of the query packet are not the same as the source IP and the port number of the response packet.
