IP Library Granted Patent US 12,563,091
Granted Patent B2
US 12,563,091 · App. 18/632,058 · Granted Feb 24, 2026

System and method for detecting patterns in structured fields of network traffic packets

Inventor: Steinthor Bjarnason (Fjerdingby, NO)
Assignee: Arbor Networks, Inc.
H04L63/1458H04L61/4511H04L63/1425
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,563,091
App. No.
18/632,058
Granted
Feb 24, 2026
Kind
B2
Abstract

A computer method and system for determining patterns in network traffic packets having structured subfields for generating filter candidate regular expressions for DDoS attack mitigation. Stored packets are analyzed to extract a query name for each stored packet. Each query name is segregated into subfields. A Results-table is generated utilizing the segregated subfields of the query names. A Field-length table is generated that contains the length of the Field Values (Field-length) for each Field Name and an associated counter indicating how many instances the Field-length for a Field Name is present in the extracted query names. The Field-length table is analyzed to determine patterns of equal length in the “Results” table. Utilizing the Patterns table, unique combinations of the Field Values are generated as a filter candidate regular expression for DDoS attack mitigation purposes.

Claims (57)

1 . A method comprising:

analyzing stored packets to extract a query name for each stored packet;

segregating each query name into subfields;

generating a results table utilizing the segregated subfields of the query names, wherein the results table includes a field name associated with a field value and counter value indicating how many instances the associated field value is present in the associated field name for each extracted query name;

generating, utilizing the results table, a field length table that contains the length of the field values as a field length for each field name and an associated counter indicating how many instances the field length for a field name is present in the extracted query names;

sorting the results table and the field length table based on respective counter values for individual field values;

eliminating field name entries from the results table that do not exceed a threshold value of the number of extracted query names to generate a patterns table;

analyzing the field length table to determine, for each field and field length, patterns of equal length in the results table; and

generating, utilizing the patterns table, unique combinations of the field values, wherein generating unique combinations of the field values comprises generating candidate regular expressions, evaluating the candidate regular expressions across all packets containing DNS query names, and accepting candidate regular expressions which match more than the threshold value, wherein each generated unique combination is a filter candidate regular expression for DDOS attack mitigation purposes; and

blocking a network according to the generated filter candidate regular expression.

2 . The method of claim 1 , wherein the unique combinations of the field values are generated in reverse order relative to a query name.

3 . The method of claim 1 , further comprising: in response to analyzing the field length table, summing the counter values, and subtracting the summed counter values from a total count of Domain Name system (DNS) packets.

4 . The method of claim 1 , wherein the network traffic packets include DNS packets.

5 . The method of claim 4 , wherein the DDOS attack is one of a reflection attack or amplification attack.

6 . The method of claim 4 , wherein the DDOS attack is a DNS water torture attack.

7 . The method of claim 1 , further including:

intercepting network traffic packets flowing from one or more external computers to the one or more protected computer networks; and

storing the intercepted packets in a storage device.

8 . The method of claim 7 , wherein the DNS packets include DNS queries and DNS query responses.

9 . The method of claim 8 , wherein the storage device contains Packet Capture (PCAP) files.

10 . The method of claim 9 , wherein a predetermined number of DNS responses are stored in the PCAP.

11 . A computer system comprising:

one or more databases having memory configured to store instructions;

a processor disposed in communication with the memory, wherein the processor upon execution of the instructions is configured to:

analyze stored packets to extract a query name for each stored packet;

segregate each query name into subfields;

generating a results table utilizing the segregated subfields of the query names, wherein the results table includes a field name associated with a field value and counter value indicating how many instances the associated field value is present in the associated field name for each extracted query name;

generate, utilizing the results table, a field length table that contains the length of the field values, wherein generating unique combinations of the field values comprises generating candidate regular expressions, evaluating the candidate regular expressions across all packets containing DNS query names, and accepting candidate regular expressions which match more than the threshold value, as a field length for each field name and an associated counter indicating how many instances the field length for a field name is present in the extracted query names;

sort the results table and the field length table based on respective counter values for individual field values;

eliminate field name entries from the results table that do not exceed a threshold value of the number of extracted query names to generate a patterns table;

analyze the field length table to determine, for each field and field length, patterns of equal length in the results table; and

generate, utilizing the patterns table, unique combinations of the field values wherein each generated unique combination is a filter candidate regular expression for DDOS attack mitigation purposes; and

block a network according to the generated filter candidate regular expression.

12 . The computer system as recited in claim 11 , wherein the network traffic packets include DNS packets.

13 . The computer system as recited in claim 12 , wherein the DDOS attack is one of a reflection attack or amplification attack.

14 . The computer system as recited in claim 12 , wherein the DDOS attack is a DNS Water Torture attack.

15 . The computer system as recited in claim 11 , wherein the processor is further configured to:

intercept network traffic packets flowing from one or more external computers to the one or more protected computer networks; and

store the intercepted packets in a storage device.

16 . The computer system as recited in claim 15 , wherein the DNS packets include DNS queries and DNS query responses.

17 . The computer system as recited in claim 16 , wherein the storage device contains Packet Capture (PCAP) files.

18 . The computer system as recited in claim 17 , wherein a predetermined number of DNS responses are stored in the PCAP.

19 . A non-transitory computer-readable media comprising computer-executable instructions embodied thereon that, when executed by a processor, cause the processor to perform a process comprising:

analyzing stored packets to extract a query name for each stored packet;

segregating each query name into subfields;

generating a results table utilizing the segregated subfields of the query names, wherein the results table includes a field name associated with a field value and counter value indicating how many instances the associated field value is present in the associated field name for each extracted query name;

generating, utilizing the results table, a field length table that contains the length of the field values as a field length for each field name and an associated counter indicating how many instances the field length for a field name is present in the extracted query names;

sorting the results table and the field length table based on respective counter values for individual field values;

eliminating field name entries from the results table that do not exceed a threshold value of the number of extracted query names to generate a patterns table;

analyzing the field length table to determine, for each field and field length, patterns of equal length in the results table; and

generating, utilizing the patterns table, unique combinations of the field values, wherein generating unique combinations of the field values comprises generating candidate regular expressions, evaluating the candidate regular expressions across all packets containing DNS query names, and accepting candidate regular expressions which match more than the threshold value, wherein each generated unique combination is a filter candidate regular expression for DDOS attack mitigation purposes; and

blocking a network according to the generated filter candidate regular expression.

20 . The non-transitory computer-readable media of claim 19 , wherein the unique combinations of the field values are generated in reverse order relative to a query name.

21 . The method of claim 1 , wherein segregating each query name into subfields comprises segregating each query name based upon a full stop character “.” in each query name starting at the top-level domain (TLD) of each query name whereby a first subfield corresponds to a TLD of each query name.

22 . The method of claim 1 , wherein analyzing the field length table to determine patterns of equal length comprises: adding together counter values for patterns of equal length in the results table to generate a sum value, subtracting the sum value from a counter for a corresponding field-length table entry to generate a remainder value, and inserting the field-length value and counter to the patterns table when the remainder value exceeds the threshold value.

23 . The method of claim 1 , wherein the method further comprises: after analyzing all entries in the field length table, adding together all counter values for each field-length, subtracting the added counter values from a total count of captured DNS packets, and inserting a catch-all entry containing the value ‘*’ for a field into the patterns table when a remainder value exceeds a threshold value.

24 . The method of claim 1 , further comprising removing regular expressions which match legitimate user traffic to reduce risk of overblocking legitimate requests.

Assignments (2)
SECURITY INTEREST Recorded Oct 22, 2024
From: NETSCOUT SYSTEMS, INC.; ARBOR NETWORKS LLC; NETSCOUT SYSTEMS TEXAS, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 069216/0007 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 10, 2024
From: BJARNASON, STEINTHOR
To: ARBOR NETWORKS, INC.
Reel/Frame 067068/0765 →
Continuity (2)
Continuation 17678662 · Feb 23, 2022
Related Publication 20240259423A1 · Aug 1, 2024
References Cited (10)
US 10187412B2 · Bartos et al. · 2019 [cited by applicant]
US 11159546B1 · Moore et al. · 2021 [cited by applicant]
US 20180262467A1 · Jayawardena et al. · 2018 [cited by applicant]
US 20190229995A1 · Rao · 2019 [cited by examiner]
US 20200128039A1 · Jalan · 2020 [cited by examiner]
US 20210097168A1 · Patel · 2021 [cited by examiner]
Ahmed, M.E., Ullah, S. and Kim, H., 2018. Statistical application fingerprinting for DDOS attack mitigation. IEEE Transactions on Information Forensics and Security, 14(6), pp. 1471-1484. (Year: 2018). [cited by examiner]
Feinstein, L., Schnackenberg, D., Balupari, R. and Kindred, D., Apr. 2003. Statistical approaches to DDOS attack detection and response. In Proceedings DARPA information survivability conference and exposition (vol. 1, … [cited by examiner]
Ahmed et al., “Statistical Application Fingerprinting for DDOS Attack Mitigation,” (2019) IEEE Transactions on Information Forensics and Security, vol. 14, No. 6, pp. 1471-1484. [cited by applicant]
Cirillo et al., “Botnet Identification in DDOS Attacks with Multiple Emulation Dictionaries,” (2021) IEEE Transactions on Information Forensics and Security, vol. 16, pp. 3554-3569. [cited by applicant]