TCP Flooding Attack Prevention via Session State Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing DDoS prevention techniques are limited in rapidly and accurately detecting and responding to TCP flooding attacks, relying on simple traffic measurement and pattern matching, which are inadequate in real-world scenarios.

Innovation Solution

A TCP flooding attack prevention method and apparatus that defines multiple session states based on packet type and direction, tracks these states for each flow, and responds to flooding attacks by identifying and mitigating specific types of TCP flooding attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If simple traffic measurement and pattern matching methods are used, then the detection and response process is simple, but the accuracy and speed of detecting TCP flooding attacks is insufficient

Engineering Contradiction:
Improvesimplicity of detection processVSAvoidaccuracy of attack detection
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent segments the packet processing into distinct phases: identifying packet type (SYN, ACK, FIN, etc.), determining packet direction (client-to-server or server-to-client), and tracking session states separately for each flow. This segmentation enables accurate detection of specific flooding patterns while maintaining manageable processing complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds multiple dimensions to packet analysis beyond simple traffic volume measurement. By introducing packet type classification, direction determination, and session state tracking, the system moves from one-dimensional traffic counting to multi-dimensional packet inspection, significantly improving detection accuracy

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Device complexity

If simple traffic measurement and pattern matching methods are used, then the system complexity is low, but the response speed and accuracy in real-world DDoS attacks is limited

Engineering Contradiction:
Improvecomplexity of prevention systemVSAvoidspeed of attack response
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent establishes session state tracking mechanisms in advance before attacks occur. By maintaining structured state information for each flow (including packet type, direction, and sequence numbers), the system is prepared to rapidly detect anomalies when attacks begin, reducing response time

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces session state information as an intermediary layer between raw packet data and attack detection logic. This intermediary structure organizes packet information in a way that facilitates rapid comparison against attack patterns, improving response speed without proportionally increasing system complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If packet direction and type are differentiated for tracking, then the accuracy of flooding attack detection is improved, but the processing complexity increases

Engineering Contradiction:
Improveaccuracy of flow trackingVSAvoidcomplexity of state management
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent divides the state tracking function into separate segments: one for tracking client-to-server packets, another for server-to-client packets, and separate state variables for different packet types (SYN, ACK, FIN). This segmentation allows accurate multi-dimensional tracking while keeping each individual state manager relatively simple

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different tracking criteria and state variables to different packet directions and types. Each packet category has its own specific state tracking mechanism tailored to its characteristics, allowing precise local analysis without requiring the entire system to handle all complexity uniformly

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8667585B2Transmission control protocol flooding attack prevention method and apparatus
Publication Date: 2014.03.04 GAGYOTECH
  • US8667585B2 patent drawing
  • US8667585B2 patent drawing
  • US8667585B2 patent drawing

AI summary

Disclosed herein is a Transmission Control Protocol (TCP) flooding attack prevention method. The TCP flooding attack prevention method includes identifying the type of a packet received at an intermediate stage between a client and a server; determining the direction of the packet; defining a plurality of session states based on the type and the direction of the packet; detecting a TCP flooding attack by tracking the session states for each flow; and responding to the TCP flooding attack based on the type of the TCP flooding attack.