Systems and methods for detecting covert DNS tunnels
Abstract
Systems and methods are disclosed for detecting covert DNS tunnels using n-grams. The majority of legitimate DNS requests originate from network content itself, for example, through hyperlinks in websites. So, comparing data from incoming network communications to a hostname included in a DNS request can give an indication on whether the DNS request is a legitimate request or associated with a covert DNS tunnel. This process can be made computationally efficient by extracting n-grams from incoming network content and storing the n-grams in an efficient data structure, such as a Bloom filter. The stored n-grams are compared with n-grams extracted from outgoing DNS requests. If n-grams from an outgoing DNS request are not found in the data structure, the domain associated with the DNS request is determined to be associated with a suspected covert DNS tunnel.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 15.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for detecting covert DNS tunnels, the method comprising: scanning incoming network traffic received at a user equipment using a network scanner; extracting a first plurality of n-grams from the scanned incoming network traffic; extracting a second plurality of n-grams from a DNS request outgoing from the user equipment; comparing the first plurality of n-grams to the second plurality of n-grams; and adding at least a portion of a domain name associated with the outgoing DNS request to a table of a suspicious domain names when at least a portion of the second plurality of n-grams does
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining that the domain name added to the table of suspicious domains is associated with a covert DNS tunnel.
- Claim 3Independent Claim
Th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (1)
- NgViz: Detecting DNS Tunnels through N-Gram Visualization and Quantitative Analysis, Gustafson et al., Apr. 21, 2010.