DNS Tunneling Detection and Prevention Guide | DigiCert
Attackers exploit the minimal inspection of DNS traffic, which passes through security controls easily because it is essential for internet communications.
Overview
DNSThe internet directory service that translates human-readable domain names into numerical IP addresses traffic usually passes through security controlsThe technical rules, tools, and policies put in place to prevent, detect, or limit cyberattacks with minimal inspection because it is necessary for internet communications. This lack of close inspection creates opportunities for attackers who exploitA piece of code or technique that uses a software flaw to break into or crash a system the DNS protocolAn agreed set of rules and message formats that computers follow to exchange data over a network to embed malicious data into queries and responses. Malicious actors use this method to stealthily exfiltrate sensitive information or inject harmful instructions into targeted systems. Because DNS traffic is one of the most commonly allowlisted protocols, these tunnelingWrapping one network protocol's traffic inside another protocol to cross restricted networks or hide connections attacks can persist undetected for weeks at a time. The end goal is to move data or malware from malicious domainsThe human-readable name for a website or a centrally managed group of workplace computers and DNS serversA computer or program on a network that stores data and responds to requests from client devices into an organization's network. Organizations may not realize their network has been compromised until after significant damage has been done.
Terms in this story
- DNS
- The internet directory service that translates human-readable domain names into numerical IP addresses. Whenever you type a web address into a browser, DNS looks up the server's IP address, and attackers who hijack DNS settings can silently steer visitors to a fake server. Security+ objective 2.4 lists the term
- security controls
- The technical rules, tools, and policies put in place to prevent, detect, or limit cyberattacks. Network firewalls, multifactor authentication, disk encryption, and regular backups are all security controls that auditors check after an incident. Security+ objective 1.1 lists the term
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- protocol
- An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
- Tunneling
- Wrapping one network protocol's traffic inside another protocol to cross restricted networks or hide connections. Attackers use DNS or HTTPS tunneling to sneak stolen data out of a corporate network disguised as ordinary domain lookups or web traffic. Security+ objective 3.2 lists the term
- domains
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- Data Exfiltration
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term
- C2
- The server or channel an attacker uses to send orders to computers infected with malware. Once malware runs on a victim's computer, it quietly checks in with the attacker's command-and-control server to receive instructions or upload stolen files. Security+ objective 2.4 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- malicious codes
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the DigiCert website. Cite the article, not this page.
Read the full article on DigiCert (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Advisory or warning
"Understanding the warning signs of a DNS tunneling attack is essential..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"DNS Tunneling Detection and Prevention Guide | DigiCert..." Found in the headline - Security+ 3.2 Given a scenario, apply security principles to secure enterprise infrastructure.
"DNS Tunneling Detection and Prevention Guide | DigiCert..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"DNS Tunneling Detection and Prevention Guide | DigiCert..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"DNS Tunneling Detection and Prevention Guide | DigiCert..." Found in the headline
How a story is connected to the course, and every objective, week and job role