Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Helping to stop DDOS - Detecting DNS Recursion Configuration Issues

Dnscert Recently, Tenable was asked about detecting DNS servers that were configured to respond to DNS "recursion" queries. The issue is that a remote attacker could spoof a recursive DNS query with a source address of a network they wish to cause a denial of service for. The attacker spoofs a query with a small payload and causes the DNS server to reply with much more data. This floods the target network with answers to questions it never asked for.

In 2005, the US CERT organization put out a note titled "The Continuing Denial of Service Threat Posed by DNS Recursion" which detailed the attack technique and methods to secure various commercial and open source DNS servers. This vulnerability has been around for several years but according to CERT, is still actively used for DDOS attacks. Tenable has two methods to detect these vulnerabilities.

First is Nessus plugin #10539. This plugin detects DNS recursion in general. If you run Nessus from inside your network, then being able to perform such a query isn't necessarily an issue. However, if you have placed your Nessus scanner outside of your network, or are auditing a remote DNS server, being able to perform a recursive query is likely a problem. 

Second, Tenable's Passive Vulnerability Scanner has a rule to detect DNS servers which have responded to recursive DNS queries. The screen shots below show a view of DNS issues passively discovered under the Security Center.

Recursiondns1

Recursiondns2

 

The first screen shot lists all "port 53" vulnerabilities passively found. Vulnerability #03703 is the one identifying a recursive DNS server. Other information includes a list of machines with UDP port 53 open, and machines which "browse" on port 53. The second screen shot is the actual description which is worded as if the PVS was deployed internally.

Being able to passively monitor for such issues 24x7 without scanning is very useful, especially if a new DNS server is added or an undocumented change is made to a DNS serve before the next active scan. If the PVS is placed outside your network, or in a spot where it can see external DNS queries, then it will also see successful external recursive DNS queries.

Regardless if you are a large or small network, if you have DNS servers that do respond to recursive DNS queries from external sources, you may be contributing to someone else's DDOS attack and not even know it. The CERT note mentioned in their testing, 80% of all DNS servers were subject to this problem. Because there are so many DNS servers to use, attackers can launch their attacks using multiple DNS servers. Each site participating in the attack may only contribute a small percentage of the overall bandwidth, but the target network gets flooded.

Related Posts

Subscribe to the Tenable Blog

Subscribe
Try for Free Buy Now

Try Tenable.io

FREE FOR 60 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now.

Buy Tenable.io

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets

$2,190.00

Buy Now

Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 60 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578.00

Buy Now

Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 60 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Learn More about Industrial Security

Get a Demo of Tenable.sc

Please fill out the form below with your contact information and a sales representative will contact you shortly to schedule a demo. You may also include a short comment (limited to 255 characters). Please note that fields with asterisks (*) are mandatory.