hottub.patents
US 12,513,115 B2#2217155 Most CitedActiveUnited States (USPTO)Utility

Methods and systems for prevention of attacks associated with the domain name system

1Forward Citations (#2217155 Global)
1.0/yrCitation Velocity (#2217155 Global)
0.17Citation PageRank (#2217155 Global)
34Prior Art Cited
30Claims (3 Indep. · 27 Dep.)
22Drawings / Sheets

Abstract

The attack vectors for some denial-of-service cyber attacks on the Internet's Domain Name System (DNS) are bad, bogus, or unregistered domain name DNS requests to resolve domain names that are not registered in the DNS. Some other cyber attacks steal sensitive data by encoding the data in bogus domain names, or domain names otherwise not registered in the DNS, that are transferred across networks in bogus DNS requests. A DNS gatekeeper may filter in-transit packets containing DNS requests and may efficiently determine if a request's domain name is registered in the DNS. When the domain name is not registered in the DNS, the DNS gatekeeper may take one of a plurality of protective actions. The DNS gatekeeper drops requests determined not to be legitimate, which may prevent an attack.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 1.

Claims (30 — 3 Independent, 27 Dependent)

  1. Claim 1Independent Claim

    A method comprising: storing, by a gatekeeper device that controls query access to a Domain Name System (DNS), a probabilistic data structure representing a plurality of domain names, wherein the plurality of domain names comprises a subset of domain names resolvable by the DNS, wherein at least two of the plurality of domain names originated from different domain name servers, of a plurality of domain name servers, managed by different organizations; receiving, by the gatekeeper device, one or more packets comprising a DNS query; determining, based on packet information, whether the one or more packets comprise a first domain name; based on determining that the one or more packets comprise the first domain name, testing, without querying the DNS, the probabilistic data structure to determine if the first domain name is represented in the probabilistic data structure; and based on a determination that the first domain name is not represented in the probabilistic data structure: determining whether at least a portion of the first domain name is being used to exfiltrate data based on detecting at least a portion of the data in the first domain name; based on a determination that the at least the portion of the first domain name is being used to exfiltrate the data, dropping the one or more packets; and transmitting a DNS response to a sender of the one or more packets.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the DNS response comprises an NXDOMAIN response code.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the determining that the at least the portion of the first domain name is being used to exfiltrate the data is further based on one or more of: a frequency of DNS queries received from the sender, one or more lengths of labels associated with the one or more packets, or syntactical characteristics of the first domain name.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the determining that the at least the portion of the first domain name is being used to exfiltrate the data is further based on a determination that a destination of the one or more packets does not send a DNS response to the DNS query.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising: receiving, by the gatekeeper device and from a second sender, one or more second packets comprising a second DNS query; testing, without querying the DNS, the probabilistic data structure to determine if a second domain name indicated by the one or more second packets is represented in the probabilistic data structure; and based on a determination that a second domain name indicated by the one or more second packets is not represented in the probabilistic data structure and a determination, based on a frequency of packets received from the second sender, that the one or more second packets are associated with a denial of service attack: dropping the one or more second packets.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising: based on the determination that the first domain name is not represented in the probabilistic data structure, transmitting data regarding the one or more packets to a management server.

  7. Claim 7Depends on #1

    The method of claim 1, further comprising: based on a determination that one or more second packets do not comprise a domain name, transmitting, without testing the probabilistic data structure, the one or more second packets toward their intended destination.

  8. Claim 8Depends on #1

    The method of claim 1, further comprising: based on a determination that one or more second packets comprise a second domain name, testing, without querying the DNS, the probabilistic data structure to determine if the second domain name is represented in the probabilistic data structure; and based on a determination that the second domain name is represented in the probabilistic data structure, transmitting the one or more second packets toward their intended destination.

  9. Claim 9Depends on #1

    The method of claim 1, further comprising: testing, without querying the DNS, the probabilistic data structure to determine if a second domain name of one or more second packets is represented in the probabilistic data structure; based on a determination that the second domain name is not represented in the probabilistic data structure, determining whether a second DNS request contained in the one or more second packets is legitimate; and based on a determination that the second DNS request contained in the one or more second packets is legitimate, transmitting the one or more second packets towards their intended destination.

  10. Claim 10Depends on #1

    The method of claim 1, wherein the probabilistic data structure is one of: a Bloom filter; or a Cuckoo filter.

  11. Claim 11Independent Claim

    A gatekeeper device that controls query access to a Domain Name System (DNS), the gatekeeper device comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the gatekeeper device to: store a probabilistic data structure representing a plurality of domain names, wherein the plurality of domain names comprises a subset of domain names resolvable by the DNS, wherein at least two of the plurality of domain names originated from different domain name servers, of a plurality of domain name servers, managed by different organizations; receive one or more packets comprising a DNS query; determine, based on packet information, whether the one or more packets comprise a first domain name; based on determining that the one or more packets comprise the first domain name, test, without querying the DNS, the probabilistic data structure to determine if the first domain name is represented in the probabilistic data structure; and based on a determination that the first domain name is not represented in the probabilistic data structure: determine whether at least a portion of the first domain name is being used to exfiltrate data based on detecting at least a portion of the data in the first domain name; based on a determination that the at least the portion of the first domain name is being used to exfiltrate the data, drop the one or more packets; and transmit a DNS response to a sender of the one or more packets.

  12. Claim 12Depends on #11

    The gatekeeper device of claim 11, wherein the DNS response comprises an NXDOMAIN response code.

  13. Claim 13Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to determine that the at least the portion of the first domain name is being used to exfiltrate the data further based on one or more of: a frequency of DNS queries received from the sender, one or more lengths of labels associated with the one or more packets, or syntactical characteristics of the first domain name.

  14. Claim 14Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to determine that the at least the portion of the first domain name is being used to exfiltrate the data further based on a determination that a destination of the one or more packets does not send a DNS response to the DNS query.

  15. Claim 15Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to: receive, from a second sender, one or more second packets comprising a second DNS query; test, without querying the DNS, the probabilistic data structure to determine if a second domain name indicated by the one or more second packets is represented in the probabilistic data structure; and based on a determination that a second domain name indicated by the one or more second packets is not represented in the probabilistic data structure and a determination, based on a frequency of packets received from the second sender, that the one or more second packets are associated with a denial of service attack: drop the one or more second packets.

  16. Claim 16Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to: based on the determination that the first domain name is not represented in the probabilistic data structure, transmit data regarding the one or more packets to a management server.

  17. Claim 17Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to: based on a determination that one or more second packets do not comprise a domain name, transmit, without testing the probabilistic data structure, the one or more second packets toward their intended destination.

  18. Claim 18Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to: based on a determination that one or more second packets comprise a second domain name, test, without querying the DNS, the probabilistic data structure to determine if the second domain name is represented in the probabilistic data structure; and based on a determination that the second domain name is represented in the probabilistic data structure, transmit the one or more second packets toward their intended destination.

  19. Claim 19Depends on #11

    The gatekeeper device of claim 11, wherein the instructions, when executed by the one or more processors, cause the gatekeeper device to: test, without querying the DNS, the probabilistic data structure to determine if a second domain name of one or more second packets is represented in the probabilistic data structure; based on a determination that the second domain name is not represented in the probabilistic data structure, determine whether a second DNS request contained in the one or more second packets is legitimate; and based on a determination that the second DNS request contained in the one or more second packets is legitimate, transmit the one or more second packets towards their intended destination.

  20. Claim 20Depends on #11

    The gatekeeper device of claim 11, wherein the probabilistic data structure is one of: a Bloom filter; or a Cuckoo filter.

  21. Claim 21Independent Claim

    One or more non-transitory computer-readable media storing instructions that, when executed by a gatekeeper device that controls query access to a Domain Name System (DNS), cause the gatekeeper device to: store a probabilistic data structure representing a plurality of domain names, wherein the plurality of domain names comprises a subset of domain names resolvable by the DNS, wherein at least two of the plurality of domain names originated from different domain name servers, of a plurality of domain name servers, managed by different organizations; receive one or more packets comprising a DNS query; determine, based on packet information, whether the one or more packets comprise a first domain name; based on determining that the one or more packets comprise the first domain name, test, without querying the DNS, the probabilistic data structure to determine if the first domain name is represented in the probabilistic data structure; and based on a determination that the first domain name is not represented in the probabilistic data structure: determine whether at least a portion of the first domain name is being used to exfiltrate data based on detecting at least a portion of the data in the first domain name; based on a determination that the at least the portion of the first domain name is being used to exfiltrate the data, drop the one or more packets; and transmit a DNS response to a sender of the one or more packets.

  22. Claim 22Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the DNS response comprises an NXDOMAIN response code.

  23. Claim 23Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to determine that the at least the portion of the first domain name is being used to exfiltrate the data further based on one or more of: a frequency of DNS queries received from the sender, one or more lengths of labels associated with the one or more packets, or syntactical characteristics of the first domain name.

  24. Claim 24Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to determine that the at least the portion of the first domain name is being used to exfiltrate the data further based on a determination that a destination of the one or more packets does not send a DNS response to the DNS query.

  25. Claim 25Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to: receive, from a second sender, one or more second packets comprising a second DNS query; test, without querying the DNS, the probabilistic data structure to determine if a second domain name indicated by the one or more second packets is represented in the probabilistic data structure; and based on a determination that a second domain name indicated by the one or more second packets is not represented in the probabilistic data structure and a determination, based on a frequency of packets received from the second sender, that the one or more second packets are associated with a denial of service attack: drop the one or more second packets.

  26. Claim 26Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to: based on the determination that the first domain name is not represented in the probabilistic data structure, transmit data regarding the one or more packets to a management server.

  27. Claim 27Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to: based on a determination that one or more second packets do not comprise a domain name, transmit, without testing the probabilistic data structure, the one or more second packets toward their intended destination.

  28. Claim 28Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to: based on a determination that one or more second packets comprise a second domain name, test, without querying the DNS, the probabilistic data structure to determine if the second domain name is represented in the probabilistic data structure; and based on a determination that the second domain name is represented in the probabilistic data structure, transmit the one or more second packets toward their intended destination.

  29. Claim 29Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the instructions, when executed, cause the gatekeeper device to: test, without querying the DNS, the probabilistic data structure to determine if a second domain name of one or more second packets is represented in the probabilistic data structure; based on a determination that the second domain name is not represented in the probabilistic data structure, determine whether a second DNS request contained in the one or more second packets is legitimate; and based on a determination that the second DNS request contained in the one or more second packets is legitimate, transmit the one or more second packets towards their intended destination.

  30. Claim 30Depends on #21

    The one or more non-transitory computer-readable media of claim 21, wherein the probabilistic data structure is one of: a Bloom filter; or a Cuckoo filter.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application is a continuation of U.S. patent application Ser. No. 17/220,407, filed Apr. 1, 2023, entitled “ Methods and Systems for Prevention of Attacks Associated with the Domain Name System, ” which is a continuation of U.S. patent application Ser. No. 16/692,365, filed Nov. 22, 2019, entitled “ Methods and Systems for Prevention of Attacks Associated with the Domain Name System, ” which is a continuation-in-part of and claims priority to U.S. patent application Ser. No. 16/399,700, filed Apr. 30, 2019, and entitled “ Methods and Systems for Efficient Packet Filtering. ” The entire contents of the aforementioned application is hereby incorporated by reference herein. TECHNICAL FIELD Aspects described herein generally relate to computer hardware and software and network security. In particular, one or more aspects of the disclosure generally relate to computer hardware and software for efficient filtering of in-transit packets against packet filtering rules. BACKGROUND Network security is becoming increasingly important as the information age continues to unfold. Network threats/attacks may take a variety of forms (e.g., unauthorized requests or data transfers, viruses, malware, large volumes of traffic designed to overwhelm resources, and the like). To counter these kinds of threats and attacks, various cyber defense methodologies and systems have been developed and deployed. One variety of cyber defense system uses packet gateways, such as a threat intelligence gateway (TIG), to protect networks. A packet gateway may include an (inline) network packet filtering device with a capability to apply sets of packet filtering rules to in-transit TCP/IP (Transmission Control Protocol/Internet Protocol) packets. The TIG may act as a gateway, or interface, between a network (e.g., a private network) that has been protected, or secured, by cyber threat intelligence (CTI) and a network that is not similarly secured/protected (for

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (34)

PatentTitleYearCitations
US 7,444,515 B2Method and apparatus for detecting predefined signatures in packet payload using Bloom filters200863
US 8,510,821 B1Tiered network flow analysis201349
US 8,578,497 B2Method and system for detecting malware201332
US 9,171,153 B2Bloom filter with memory element201523
US 10,051,001 B1Efficient and secure user credential store for credentials enforcement using a firewall201860
US 11,271,963 B2Defending against domain name system based attacks20223
US 11,582,263 B2Centralized validation of email senders via EHLO name and IP address targeting20234
KR 20120054860 ADevice for controlling imaging angle of 3d camera—1
KR 20150052606 AOrganic Light Emitting Display And Mobility Compensation Method Thereof—7
KR 20160134639 AFiber having phase separation structure and manufacturing method for such fiber—0
KR 20180004942 AMedium cassette, financial device, and method of controlling the same—0
KR 20180063084 A반도체 장치 및 전자 기기—0
KR 20190052658 AVariable type golf putter—0
CN 102,438,025 AIndirect distributed denial of service attack defense method and system based on Web agency—26
CN 102,523,311 AIllegal domain name recognition method and device—19
CN 102,857,493 AContent filtering method and device—51
CN 103,152,357 ADefense method, device and system for DNS (Domain Name System) services—38
CN 103,294,822 AEfficient cache method based on initiative hash and bloom filter—17
CN 104,601,557 AMethod and system for defending malicious websites based on software-defined network—46
CN 106,105,278 APacket filter based access control—10
CN 107,360,198 ASuspicious domain name detection method and system—8
CN 108,370,352 AIt is flexibly grouped classification using the high speed of network processing unit—8
CN 108,683,686 AA kind of Stochastic subspace name ddos attack detection method—19

Non-Patent Literature (10)

  • Qaosar et al., 2019 IEEE,
  • “
  • A Framework for Privacy-Preserving Multi-Party Skyline Query Based on Homomorphic Encryption
  • ”
  • , pp. 167481-167496 (Year: 2019).
  • Mishra, Preeti, et al.,
  • “
  • A Detailed Investigation and Analsyis of Using Machine Learning Techniques for Intrusion Detection,
  • ”
  • IEEE Communications Surveys