Cyberstudy
2.4 In progress

Domain Name System Attacks

12 flashcards

Summary

Because every connection relies on DNS, attacks on it can redirect users, disrupt services or hide malicious traffic. Attackers may hijack domain registrations, poison caches with false records or abuse DNS for denial of service, command and control and data theft.

Detailed explanation

  • DNS hijacking: Taking control of a domain's DNS records, for example through a compromised registrar account, to redirect traffic.
  • DNS poisoning: Inserting false records so a name resolves to an attacker-controlled address.
    • Client cache poisoning: Corrupting a host's local DNS cache or hosts file.
    • Server cache poisoning: Getting a resolver to cache false answers, affecting all its clients.
    • Rogue DHCP: A fake DHCP server hands out an attacker-controlled DNS server.
  • DNS amplification: Using open resolvers to flood a victim with large DNS responses.
  • DNS tunneling: Hiding command and control or exfiltrated data inside DNS queries and responses.

Indicators

  • Signs: Unexpected DNS record changes, resolution to unusual IP addresses, hosts using unauthorized DNS servers, high volumes of DNS queries or unusually long and random-looking subdomain names.

Defenses

  • Controls: DNSSEC, registrar lock and MFA on registrar accounts, DHCP snooping, restricting outbound DNS to approved resolvers, DNS logging and filtering.

Important terms

taken from the text above
DNS hijacking
Taking control of a domain's DNS records, for example through a compromised registrar account, to redirect traffic.
DNS poisoning
Inserting false records so a name resolves to an attacker-controlled address.
Client cache poisoning
Corrupting a host's local DNS cache or hosts file.
Server cache poisoning
Getting a resolver to cache false answers, affecting all its clients.
Rogue DHCP
A fake DHCP server hands out an attacker-controlled DNS server.
DNS amplification
Using open resolvers to flood a victim with large DNS responses.
DNS tunneling
Hiding command and control or exfiltrated data inside DNS queries and responses.

What I should remember

  • DNS hijacking: Control of a domain's records.
  • DNS poisoning: False records cached by clients or resolvers.
  • DNS tunneling: Data or C2 hidden in DNS traffic.
  • DNSSEC: Lets resolvers verify DNS records.