DNS Abuse Detection: DoS Against the DoS

Definition

DoS stands for Denial of Service. A DoS attack against the DNS aims to ultimately result in the DNS service becoming inaccessible or severely degraded. DoS attacks may be crashing a DNS server via some form of vulnerability in the DNS server software or cutting off access through a network interruption.

In Distributed Denial of Service (DDoS) attacks, attackers deploy multiple devices to attack a single DNS server, depleting its network, memory, and CPU resources.

Advice

One indicator of a DoS attack can be a sudden surge in network traffic and DNS query volume that exceeds normal levels. Also, a surge in the ANY request type can be an indicator.

Unexplained crashes on the DNS server itself, severely increased resource usage, or unresponsive DNS servers can also indicate a DoS attack.

To detect this, use an availability monitoring system or IDS/IPS to check if the servers are still functioning as intended and to check traffic for anomalies and irregularities. Snort, Zeek, and Suricata, are examples of open source IDS tools to deploy for this function.

Analyze traffic logs to identify high numbers of multiple requests from a single IP address, especially within a short period of time.

Investigation of the DNS server system logs and resource usage for evidence of unexplained crashes. If the authoritative DNS server is outsourced, it may not be possible to obtain logs or other information, making it difficult to notice anything unusual.

To check if your authoritative DNS is working:

To check if your DNS resolver is working:

Examples

Mirai Malware attack (DDoS)

https://www.cloudflare.com/en-gb/learning/ddos/glossary/mirai-botnet/

https://en.wikipedia.org/wiki/Mirai_(malware)#Use_in_DDoS_attacks

https://en.wikipedia.org/wiki/DDoS_attacks_on_Dyn

KeyTrap (Vulnerability)

https://www.athene-center.de/en/keytrap

DNS Water Torture a/ Pseudo Random Subdomain attack / NXDOMAIN attack

https://vercara.com/resources/whats-this-nxdomain-dns-query-response-and-why-do-i-have-them

Potential Resources