DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks



Similar documents
F5 and Infoblox DNS Integrated Architecture Offering a Complete Scalable, Secure DNS Solution

High-Performance DNS Services in BIG-IP Version 11

XN--P1AI (РФ) DNSSEC Policy and Practice Statement

Optimize Application Delivery Across Your Globally Distributed Data Centers

American International Group, Inc. DNS Practice Statement for the AIG Zone. Version 0.2

Global Service Loadbalancing & DNSSEC. Ralf Brünig Field Systems Engineer r.bruenig@f5.com DNSSEC

DNS Security FAQ for Registrants

Part 5 DNS Security. SAST01 An Introduction to Information Security Martin Hell Department of Electrical and Information Technology

The F5 Intelligent DNS Scale Reference Architecture.

DNSSEC Policy and Practice Statement.amsterdam

Deploying DNSSEC: From End-Customer To Content

DNSSEC. Introduction. Domain Name System Security Extensions. AFNIC s Issue Papers. 1 - Organisation and operation of the DNS

DNSSEC in your workflow

Array Networks NetContinuum. Netli. Fine Ground. StrangeLoop. Akamai. Barracuda. Aptimize. Inkra. Nortel. Juniper. Cisco. Brocade/Foundry.

DNSSEC - Tanzania

Connecting to the Cloud with F5 BIG-IP Solutions and VMware VMotion

Load Balancing 101: Firewall Sandwiches

DNS at NLnet Labs. Matthijs Mekking

Deploying the BIG-IP System with Microsoft Lync Server 2010 and 2013 for Site Resiliency

How To Use Dnsec

DNSSec Operation Manual for the.cz and e164.arpa Registers

DNSSEC Practice Statement (DPS)

DNSSEC Policy Statement Version Introduction Overview Document Name and Identification Community and Applicability

Deploying the BIG-IP System with VMware vcenter Site Recovery Manager

The Dynamic DNS Infrastructure

WHITE PAPER. Best Practices DNSSEC Zone Management on the Infoblox Grid

DNSSEC Root Zone. High Level Technical Architecture

DNSSEC - Why Network Operators Should Care And How To Accelerate Deployment

Deploying F5 to Replace Microsoft TMG or ISA Server

Deploying the BIG-IP System v11 with LDAP Servers

Optimize Application Delivery Across Your Globally Distributed Data Centers

DNSSEC Root Zone. High Level Technical Architecture

Computer Networks: Domain Name System

Overview of DNSSEC deployment worldwide

Security F5 SECURITY SOLUTION GUIDE

F5 Intelligent DNS Scale. Philippe Bogaerts Senior Field Systems Engineer mailto: Mob.:

DNSSEC for Everybody: A Beginner s Guide

DNSSEC: A Vision. Anil Sagar. Additional Director Indian Computer Emergency Response Team (CERT-In)

Deploying the BIG-IP LTM with. Citrix XenApp. Deployment Guide Version 1.2. What s inside: 2 Prerequisites and configuration notes

DNSSEC Deployment a case study

Securing DNS Infrastructure Using DNSSEC

DNS Security: New Threats, Immediate Responses, Long Term Outlook Infoblox Inc. All Rights Reserved.

Filling the Threat Management Gateway Void with F5

DNSSEC Applying cryptography to the Domain Name System

Deployment Guide. Deploying F5 BIG-IP Global Traffic Manager on VMware vcloud Hybrid Service

Integrating F5 Application Delivery Solutions with VMware View 4.5

Optimize Application Delivery Across Your Globally Distributed Data Centers

KSRegistry DNSSEC Policy Statement

DNS Cache Poisoning Vulnerability Explanation and Remedies Viareggio, Italy October 2008

DNS security: poisoning, attacks and mitigation

F5 White Paper. The F5 Powered Cloud

5 DNS Security Risks That Keep You Up At Night (And How To Get Back To Sleep)

CS Lecture 22 DNS Security

The Domain Name System from a security point of view

Protect Your Business and Customers from Online Fraud

Deploying F5 Application Ready Solutions with VMware View 4.5

Protecting Against Application DDoS Attacks with BIG-IP ASM: A Three-Step Solution

Application and Database Security with F5 BIG-IP ASM and IBM InfoSphere Guardium

Application and service delivery with the Elfiq idns module

Application Security in the Cloud with BIG-IP ASM

Optimize DNS Services and App Delivery Across Global Data Centers

Intelligent Layer 7 DoS and Brute Force Protection for Web Applications

Deploying the BIG-IP LTM with IBM WebSphere MQ

FAQ (Frequently Asked Questions)

VMware DRS: Why You Still Need Assured Application Delivery and Application Delivery Networking

Deploying the BIG-IP System v11 with DNS Servers

How To Manage Dns On An Elfiq Link Load Balancer (Link Balancer) On A Pcode (Networking) On Ipad Or Ipad (Netware) On Your Ipad On A Ipad At A Pc Or Ipa

F5 and Secure Windows Azure Access

F5 provides a secure, agile, and optimized platform for Microsoft Exchange Server 2007 deployments

SAC 049 SSAC Report on DNS Zone Risk Assessment and Management

DNS Risks, DNSSEC. Olaf M. Kolkman and Allison Mankin. and 8 Feb 2006 Stichting NLnet Labs

Where every interaction matters.

Deploying the BIG-IP System for Microsoft Application Virtualization

Configuring a single-tenant BIG-IP Virtual Edition in the Cloud

DNSSEC - SECURE DNS FOR GOVERNMENT. Whitepaper

Optimizing VMware View VDI Deployments with F5

Presented by Greg Lindsay Technical Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group April 7, 2010

Step-by-Step DNSSEC-Tools Operator Guidance Document

Secure iphone Access to Corporate Web Applications

Deploying the BIG-IP LTM with IBM QRadar Logging

Building an Enterprise Cloud with F5 and IBM

Network Security - ISA 656 Security

BEST PRACTICES. Application Availability Between Hybrid Data Centers

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

DOMAIN NAME SECURITY EXTENSIONS

Scale and Protect DNS Infrastructure and Optimize Global App Delivery

Protecting Against Online Fraud with F5

Reliable Strong Cache and Security for the Domain Name System

DNS and BIND Primer. Pete Nesbitt linux1.ca. April 2012

Windows 7, Enterprise Desktop Support Technician

Prepared by: National Institute of Standards and Technology SPARTA, Inc. Shinkuro, Inc.

Windows 7, Enterprise Desktop Support Technician Course 50331: 5 days; Instructor-led

Secure Domain Name System (DNS) Deployment Guide

Securing End-to-End Internet communications using DANE protocol

F5 PARTNERSHIP SOLUTION GUIDE. F5 and VMware. Virtualization solutions to tighten security, optimize performance and availability, and unify access

2008 DNS Cache Poisoning Vulnerability Cairo, Egypt November 2008

"Charting the Course to Your Success!" MOC D Windows 7 Enterprise Desktop Support Technician Course Summary

Verisign DNSSEC Practice Statement for TLD/GTLD Zone

Transcription:

F5 Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks Domain Name System (DNS) provides one of the most basic but critical functions on the Internet. If DNS isn t working, then your business likely isn t either. Secure your business and web presence with Domain Name System Security Extensions (DNSSEC). by Peter Silva Technical Marketing Manager With contributions from Nathan Meyer, Product Manager Michael Falkenrath, Senior Field Systems Engineer

Contents Introduction 3 Challenges 4 DNS in the Wild: Bad Things Can Happen 4 Taming the Wild 5 Solutions 6 BIG IP v10.1 and DNSSEC: The Keys to Success 6 Conclusion 9 Resources 10 2

Introduction Humans have always had difficulty remembering number sequences. Back in 1956, George Miller did some research on digit span recall tasks and found that humans are only able to hold seven plus or minus two items in memory. 1 He concluded that even when more information is offered, the human memory system has the capacity to remember between five and nine chunks of information. Most people have a vocabulary of 10,000 to 30,000 words and some suggest that 500 to 1,000 of those are names. We ve experienced words in place of numbers for years with the telephone system, especially 800 numbers, when a company spells out its product, name, or industry like 1-800-EAT-SOUP. It should come as no surprise that when the Internet was invented with all its numbered Internet Protocol addresses, humans needed a way to translate those numbers into understandable names. The Domain Name System (DNS) was created in 1983 to enable humans to identify all the computers, services, and resources connected to the Internet by name. DNS translates human readable names into the unique binary information of devices so Internet users are able to find the machines they need. Think of it as the Internet s phone book. Now what would happen if someone changed your business name and matching phone book entry to his or her own? The phone book now lists A. Crook, an imposter who receives all of your calls and controls your number. Or, what if someone completely deleted your entry and no one could find you? That would really hurt business. What if that same situation happened to the domain name tied to your public website? An e-commerce site, at that! Either your customers won t be able to find you at all or they will be redirected to another site that might look exactly like yours, but it is really A. Crook s site. A. Crook happily takes their orders and money, leaving you with lost revenue, downtime, or any of the other myriad of issues organizations face when their web property is hijacked. Security was not included in the original DNS design since at the time scalability rather than malicious behavior was the primary concern. Many feel that securing DNS would go a long way to securing the Internet at large. Domain Name System Security Extensions (DNSSEC) attempts to add security to DNS while maintaining the backward compatibility needed to scale with the Internet as a whole. In essence, DNSSEC adds a digital signature to ensure the authenticity of certain types of DNS transactions and, therefore, the integrity of the information. 3

DNSSEC provides: Origin authentication of DNS data. Data integrity. Authenticated denial of existence. Challenges DNS in the Wild: Bad Things Can Happen DNS has worked just great since its inception, but as with almost everything Internet-related, the bad guys have found ways to exploit the protocol. One such way is called DNS cache poisoning. When you type a URL into your browser, a DNS resolver checks the Internet for the proper name/number translation and location. Typically, DNS will accept the first response or answer without question and send you to that site. It will also cache that information for a period of time until it expires, so upon the next request for that name/number, the site is immediately delivered. DNS won t need to query the Internet again and uses that address until that entry expires. Since users assume they are getting the correct information, it can get ugly when a malicious system responds to the DNS query first with modified, false information, as it does with DNS cache poisoning. The DNS s first send the user to the bad link but also cache that fake address until it expires. Not only does that single computer get sent to the wrong place, but if the malicious is answering for a service provider, then thousands of users can get sent to a rogue system. This can last for hours to days, depending on how long the stores the information, and all the other DNS s that propagate the information can also be affected. The imminent dangers posed by a rogue site include delivering malware, committing fraud, and stealing personal or sensitive information. In 2009, the main DNS registrar in Puerto Rico was hacked by a DNS attack. 2 Local versions of the websites for Google, Microsoft, Coca-Cola, Yahoo, and others such as PayPal, Nike, and Dell were redirected to defaced sites or blank pages that told users that the requested site had been hacked. In this instance, the users were aware that they were not visiting the real site since the group who claimed responsibility gave notice. In a more sinister incident, one of Brazil s largest banks suffered an attack that redirected users to a malicious site that attempted to install malware and steal passwords. 3 In this situation, the users were not aware that they were on a fake site since the delivered page looked just like the original. These types of attacks are very hard to detect since the users had actually typed the correct domain name in their browsers. 4

Taming the Wild DNSSEC is a series of DNS protocol extensions, defined in Request for Comments (RFCs) 4033, 4034, and 4035, that ensures the integrity of data returned by domain name lookups by incorporating a chain of trust into the DNS hierarchy. The chain is built using public key infrastructure (PKI), with each link in the chain consisting of a public/private key pair. DNSSEC does not encrypt or provide confidentiality of the data, but it does authenticate that data. DNSSEC provides the following: Origin authentication of DNS data: Resolvers can verify that data has originated from authoritative sources. Data integrity: Resolvers can verify that responses are not modified in flight. Authenticated denial of existence: When there is no data for a query, authoritative s can provide a response that proves no data exists. Deploying DNSSEC involves signing zones with public/private key encryption and returning DNS responses with signatures. (See Figure 1.) A client s trust in those signatures is based on a chain of trust established across administrative boundaries, from parent to child zone, using a new DNSKEY and delegation signer (DS) resource records. Any DNSSEC deployment must manage cryptographic keys: multiple key generation, zone signing, key swapping, key rollover and timing, and recovery from compromised keys. What IP address is www.example.com? I don t know, let me ask someone who does. Who owns the records for example.com? End user example.com is 1.1.1.2 Local DNS example.com is 1.1.1.2 ISP DNS Ask.com DNS Server Root DNS Figure 1: How DNSSEC works Ask 1.1.1.1 Who owns the records for example.com? Top Level Domains Chain of trust What IP address is example.com? example.com is 1.1.1.2.com DNS.org DNS.net DNS DNS for example.com (1.1.1.1) 5

To accomplish DNSSEC: 1. Each DNSSEC zone creates one or more pairs of public/private key(s) with the public portion put in DNSSEC record type DNSKEY. 2. The zones sign all resource record sets (RRsets) and define the order in which multiple records of the same type are returned with private key(s). 3. Resolvers use DNSKEY(s) to verify RRsets; each RRset also has a signature attached to it that is called RRSIG. If a resolver has a zone s DNSKEY(s), it can verify that RRsets are intact by verifying their RRSIGs. The chain of trust is important to DNSSEC since an unbroken chain of trust needs to be established from the root at the top through the top-level domain (TLD) and down to individual registrants. All zones need to be authenticated by signing, in that the publisher of a zone signs that zone prior to publication, and the parent of that zone publishes the keys of that zone. With many zones, it is likely that the signatures will expire before the DNS records are updated. Zone operators therefore require a means to automatically re-sign DNS records before these signatures expire. This functionality is called continuous signing or automated key rollover and is not yet a feature of common name implementations. Solutions BIG IP v10.1 and DNSSEC: The Keys to Success F5 BIG IP v10.1 supports DNSSEC as an add-on feature to BIG IP Global Traffic Manager (available as a standalone device or as a module on BIG IP Local Traffic Manager ). BIG IP Global Traffic Manager (GTM) is a global load balancer that provides high availability, maximum performance, and centralized management for applications running across multiple and globally dispersed data centers. BIG IP GTM distributes end-user application requests according to business policies and data center and network conditions to ensure the highest possible availability. The BIG IP GTM DNSSEC feature signs DNS responses in real time and provides the means to deploy DNSSEC quickly and easily in an existing environment. If client requests a website that sits behind a BIG IP device but does not request an authenticated answer, the BIG IP GTM DNSSEC feature does nothing and BIG IP GTM responds normally passing through the BIG IP device s virtual IP address to the DNS pool and returning directly to the client. When authentication is 6

requested, the BIG IP GTM DNSSEC feature intercepts the response and signs the response before sending it to the client computer. (See Figure 2.) In this instance, the DNSSEC request passes through BIG IP GTM to the DNS s. When the response is returned, BIG IP GTM signs the response in real time to ensure continuous signing. The potential attacker cannot forge this response without the corresponding private key. The internal communication between BIG IP GTM and the DNS is normal and the external client communication is secure. example.com example.com example.com Client 123.123.123.123 + public key LDNS 123.123.123.123 + public key BIG-IP GTM + DNSSEC feature DNS s Hacker Figure 2: BIG IP GTM DNSSEC feature interaction This real-time signing is critical in dynamic content environments where both objects and users might be coming from various locations around the globe. There are other devices claiming DNSSEC for static DNS and DNSSEC compliance in general, but none of them has good solutions for dynamic content and none, so far, has any solutions for global load balancing (GSLB)-type DNS responses in which the IP answer can change depending on the requesting client. Since GSLB can provide different answers to different clients for the same fully qualified domain name (FQDN), GSLB and DNSSEC are fundamentally at odds in the original design specifications. DNSSEC, as originally conceived, was focused solely on traditional static DNS and never considered the requirements of GSLB, or intelligent DNS. It s relatively easy to use BIND to provide DNSSEC for static DNS. It s more difficult to provide DNSSEC for dynamic DNS, and it s very difficult to provide DNSSEC for GSLB-type DNS responses, especially in cloud deployments. F5 s general purpose DNSSEC feature provides DNSSEC covering all three scenarios and is simple to implement and maintain while keeping management costs low. F5 s unique, patent-pending solution to the GSLB DNSSEC problem addresses this by signing answers at the time the GSLB device decides what the answer should be. 7

This is a real-time DNSSEC solution, and, with it, F5 is the only GSLB provider to have a true DNSSEC solution that works. While others have proposed a system in which every possible response is pre-signed, most have concluded that this isn t a feasible approach. Assuming BIG IP GTM is already up, configured, and functioning including DCs, s, listeners, WIPS, and so on the DNSSEC key list (see Figure 3) is where the administrator configures zone signing keys (ZSKs) and key signing keys (KSKs). KSKs are used to sign other DNSKEY records and the DS records, while ZSKs are used to sign RRSIG. It is best practice to name the keys with the zone name and either zsk or ksk at the end in order to easily identify them. The KSK can be made stronger by using more bits in the key material. It has little operational impact since it is only used to sign a small fraction of the zone data and to verify the zone s key set, not for other RRsets in the zone. The KSK should be rotated every 12 months and the ZSK every one to two months. No parent/child interaction is required when ZSKs are updated. The BIG-IP GTM DNSSEC feature s default settings are modeled on the National Institute of Standards and Technology (NIST) guidelines, offering an easy, turnkey means to deploy this powerful solution. Required options include: Name Algorithm Bit width FIPS Type (zone signing keys) Optional items include: Rollover period Expiration period Note: The default is no automatic rollover Figure 3: The GUI on the F5 BIG-IP system makes it simple to quickly configure and secure your DNS infrastructure. Since the KSK is only used to sign a key set, which is most probably updated less frequently than other data in the zone, it can be stored separately from and in a safer location than the ZSK. A KSK can have a longer key effectivity period. For almost any method of key management and zone signing, the KSK is used less frequently than the ZSK. Once a key set is signed with the KSK, all the keys in the key set can be used as ZSKs. If a ZSK is compromised, it can be simply dropped from the key set and the new key set is then re-signed with the KSK. 8

If a KSK is to be rolled over, there will be interactions with parties other than the zone administrator. These can include the registry of the parent zone or administrators of verifying resolvers that have the particular key configured as secure entry points. Hence, the key effectivity period of these keys can and should be made much longer. The public key enables a client to validate the integrity of something signed with the private key and the hashing enables the client to validate that the content was not tampered with. Since the private key of the public/private key pair could be used to impersonate a valid signer, it is critical to keep those keys secure. F5 employs two industry-leading techniques to accomplish this security task. First, for non-fips requirements, F5 employs Secure Vault, a super-secure SSL-encrypted storage system used by BIG IP devices. Even if the hard disk was removed from the system and painstakingly searched, it would be nearly impossible to recover the contents of Secure Vault. For military-level security, F5 supports FIPS storage of the private keys, and this is a unique differentiator from many of the DNSSEC providers on the market. Also unique to F5 is the ability to securely synchronize the keys between multiple FIPS devices. Additionally, multiple models of F5 hardware (BIG IP 1500, 3400, 6400, 6800, 8400, and 8800) take a further step by using the crypto storage chip on the motherboard to secure a unique hardware key as part of the multi-layer encryption process. 1 2 3 When creating DNSSEC zones, use the most specific FQDN as its name. BIG IP GTM will search the set of DNSSEC zones to find the most specific one to use when signing, even if multiple candidates exist. (1) Name the DNSSEC zone. (2) Choose the signing key. (3) Choose the key signing key. Conclusion DNSSEC ensures that the answer you receive when asking for name resolution comes from a trusted name. Since DNSSEC is still far from being globally deployed and many resolvers either haven t been updated or don t support DNSSEC, implementing the BIG IP GTM DNSSEC feature can greatly enhance your DNS security right away. It can help you comply with federal DNSSEC mandates and help protect your valuable domain name and web properties from rogue s sending invalid responses. F5 BIG IP v10.1 now provides DNSSEC signing for DNS records and real-time DNSSEC signing as requested by clients. The combination of BIG IP Local Traffic Manager + BIG IP GTM + DNSSEC on one box provides a drop-in DNSSEC solution for any existing DNS deployment, instantly giving you greater control and security over your DNS infrastructure while meeting U.S. Government mandates for DNSSEC compliance. 9

Rather than ripping and replacing your current DNS infrastructure, you can simply drop BIG IP GTM in front of your existing DNS s and reduce your management costs with implementation and maintenance all on the same appliance. Resources DNSSEC.net DNSSEC Resource Center National Institute of Standards and Technology Tech Republic Public Interest Registry 1 Miller, G. A. (1956). The magical number seven plus or minus two: Some limitations on our capacity for processing information. Psychological Review, 63, 81-97. 2 Puerto Rico sites redirected in DNS attack, CNET News, Apr. 27, 2009. 3 Cache-poisoning attack snares top Brazilian bank, The Register, Apr. 22, 2009. F5 Networks, Inc. 401 Elliott Avenue West, Seattle, WA 98119 888-882-4447 www.f5.com F5 Networks, Inc. Corporate Headquarters info@f5.com F5 Networks Asia-Pacific info.asia@f5.com F5 Networks Ltd. Europe/Middle-East/Africa emeainfo@f5.com F5 Networks Japan K.K. f5j-info@f5.com 2009 F5 Networks, Inc. All rights reserved. F5, F5 Networks, the F5 logo, BIG IP, FirePass, icontrol, TMOS, and VIPRION are trademarks or registered trademarks of F5 Networks, Inc. in the U.S. and in certain other countries. CS10073 1109