SlideShare a Scribd company logo
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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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 servers
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
server 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 server
stores the information, and all the other DNS servers 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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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 servers 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                   I don’t know, let me ask                   Who owns the records
                www.example.com?                     someone who does.                          for example.com?




End user        example.com is 1.1.1.2               example.com is 1.1.1.2                      Ask .com DNS Server
                                         Local DNS                                 ISP DNS                               Root DNS
                                           server                                   server                                server


                                                                                         Who owns the records
Figure 1: How DNSSEC works                                               Ask 1.1.1.1     for example.com?
                                                                                                                              Top Level Domains

                                                                                                        Chain of trust


                                                       What IP address
                                                       is example.com?

                                                       example.com                           .com DNS                    .org DNS     .net DNS
                                                       is 1.1.1.2                              server                      server       server




                                                                                        DNS server for
                                                                                        example.com
                                                                                          (1.1.1.1)
                                                                                                                                                  5
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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 server 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 server pool and returning directly to the client. When authentication is


                                                                                          6
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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 servers. 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 server is normal
and the external client communication is secure.




                                                                                    example.com

         example.com                example.com



Client   123.123.123.123   LDNS     123.123.123.123    BIG-IP GTM +
         + public key               + public key      DNSSEC feature             DNS servers




                           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 server 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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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,                 The BIG‑IP GTM DNSSEC
                                                                                              feature’s default settings
servers, listeners, WIPS, and so on—the DNSSEC key list (see Figure 3) is where the
                                                                                              are modeled on the National
administrator configures zone signing keys (ZSKs) and key signing keys (KSKs). KSKs           Institute of Standards and
are used to sign other DNSKEY records and the DS records, while ZSKs are used to              Technology (NIST) guidelines,
                                                                                              offering an easy, turnkey
sign RRSIG. It is best practice to name the keys with the zone name and either zsk            means to deploy this powerful
or ksk at the end in order to easily identify them. The KSK can be made stronger by           solution.
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.




       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
Technical Brief
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




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.
                                                                                       1
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       2
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,       3
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
                                                                                           When creating DNSSEC zones, use
the contents of Secure Vault.
                                                                                           the most specific FQDN as its name.
                                                                                           BIG‑IP GTM will search the set of
For military-level security, F5 supports FIPS storage of the private keys, and this        DNSSEC zones to find the most
is a unique differentiator from many of the DNSSEC providers on the market.                specific one to use when signing,
Also unique to F5 is the ability to securely synchronize the keys between multiple         even if multiple candidates exist.

FIPS devices. Additionally, multiple models of F5 hardware (BIG-IP 1500, 3400,             (1) Name the DNSSEC zone.
                                                                                           (2) Choose the signing key.
6400, 6800, 8400, and 8800) take a further step by using the crypto storage chip
                                                                                           (3) Choose the key signing key.
on the motherboard to secure a unique hardware key as part of the multi-layer
encryption process.



Conclusion
DNSSEC ensures that the answer you receive when asking for name resolution
comes from a trusted name server. 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 servers 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
Technical Brief
      DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks




      Rather than ripping and replacing your current DNS infrastructure, you can simply drop
      BIG-IP GTM in front of your existing DNS servers 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.                     F5 Networks                 F5 Networks Ltd.                        F5 Networks
Corporate Headquarters                Asia‑Pacific                Europe/Middle‑East/Africa               Japan K.K.
info@f5.com                           info.asia@f5.com            emeainfo@f5.com                         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

More Related Content

PDF
DNS Attacks
DOCX
DNS spoofing/poisoning Attack Report (Word Document)
PPT
Dns protocol design attacks and security
PPTX
DNS spoofing/poisoning Attack
PPTX
DNS Security
PDF
Dns security
PDF
Domain Name System (DNS)
PDF
Dns
DNS Attacks
DNS spoofing/poisoning Attack Report (Word Document)
Dns protocol design attacks and security
DNS spoofing/poisoning Attack
DNS Security
Dns security
Domain Name System (DNS)
Dns

What's hot (20)

PDF
DNSSEC Tutorial; USENIX LISA 2013
PDF
Understanding the DNS & DNSSEC
PDF
DNS/DNSSEC by Nurul Islam
PDF
Deploying New DNSSEC Algorithms (IEPG@IETF93 - July 2015)
PDF
Build Dynamic DNS server from scratch in C (Part1)
PDF
Hands-on DNSSEC Deployment
PPTX
The History of DNS
PDF
Encrypted DNS - DNS over TLS / DNS over HTTPS
PDF
DEF CON 27 - GERALD DOUSSOT AND ROGER MEYER - state of dns rebinding attack ...
ODP
Introduction to DNS
ODP
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
PDF
Dns Hardening Linux Os
PDF
DNSSEC - Domain Name System Security Extensions
ZIP
DNS Cache Poisoning
PDF
DNS Security
PDF
Make Internet Safer with DNS Firewall - Implementation Case Study at a Major ISP
PDF
Re-Engineering the Root of the DNS
PPTX
Re-Engineering the DNS – One Resolver at a Time
DNSSEC Tutorial; USENIX LISA 2013
Understanding the DNS & DNSSEC
DNS/DNSSEC by Nurul Islam
Deploying New DNSSEC Algorithms (IEPG@IETF93 - July 2015)
Build Dynamic DNS server from scratch in C (Part1)
Hands-on DNSSEC Deployment
The History of DNS
Encrypted DNS - DNS over TLS / DNS over HTTPS
DEF CON 27 - GERALD DOUSSOT AND ROGER MEYER - state of dns rebinding attack ...
Introduction to DNS
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
Dns Hardening Linux Os
DNSSEC - Domain Name System Security Extensions
DNS Cache Poisoning
DNS Security
Make Internet Safer with DNS Firewall - Implementation Case Study at a Major ISP
Re-Engineering the Root of the DNS
Re-Engineering the DNS – One Resolver at a Time
Ad

Viewers also liked (7)

PDF
Pseudo Random DNS Query Attacks and Resolver Mitigation Approaches
PPTX
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
PPTX
The DNS Tunneling Blindspot
PDF
Dns tunnelling its all in the name
PPTX
Network tunneling techniques
DOCX
tìm hiểu các lỗ hổng bảo mật
PPT
DDoS Attacks
Pseudo Random DNS Query Attacks and Resolver Mitigation Approaches
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
The DNS Tunneling Blindspot
Dns tunnelling its all in the name
Network tunneling techniques
tìm hiểu các lỗ hổng bảo mật
DDoS Attacks
Ad

Similar to DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks (20)

PDF
ION Mumbai - Shailesh Gupta: Business Case for IPv6 and DNSSEC
PPTX
DNSandDNSSecurity (1).pptx
PDF
Understanding and Deploying DNSSEC, by Champika Wijayatunga [APRICOT 2015]
PDF
ION Hangzhou - Why Deploy DNSSEC?
PDF
DNS Over HTTPS by Michael Casadevall
PDF
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
PDF
CNIT 40: 5: Prevention, protection, and mitigation of DNS service disruption
PDF
DNSSEC: What a Registrar Needs to Know
PDF
Building Trust into DNS: Key Strategies
PDF
8 technical-dns-workshop-day4
PDF
ION Trinidad and Tobago - The Business Case for DNSSEC
PDF
CNIT 40: 5: Prevention, protection, and mitigation of DNS service disruption
PDF
ION San Diego - DNSSEC Deployment Panel Introductory Slides
PDF
Mens jan piet_dnssec-in-practice
PDF
Information Security, Network Security, Cache Poisoning
PDF
ION Islamabad - Deploying DNSSEC
PDF
ION Sao Paulo - Dan York: DNSSEC
PPTX
F5's Dynamic DNS Services
PPTX
DNS for Developers - NDC Oslo 2016
PDF
RIPE 82: DNS Evolution
ION Mumbai - Shailesh Gupta: Business Case for IPv6 and DNSSEC
DNSandDNSSecurity (1).pptx
Understanding and Deploying DNSSEC, by Champika Wijayatunga [APRICOT 2015]
ION Hangzhou - Why Deploy DNSSEC?
DNS Over HTTPS by Michael Casadevall
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
CNIT 40: 5: Prevention, protection, and mitigation of DNS service disruption
DNSSEC: What a Registrar Needs to Know
Building Trust into DNS: Key Strategies
8 technical-dns-workshop-day4
ION Trinidad and Tobago - The Business Case for DNSSEC
CNIT 40: 5: Prevention, protection, and mitigation of DNS service disruption
ION San Diego - DNSSEC Deployment Panel Introductory Slides
Mens jan piet_dnssec-in-practice
Information Security, Network Security, Cache Poisoning
ION Islamabad - Deploying DNSSEC
ION Sao Paulo - Dan York: DNSSEC
F5's Dynamic DNS Services
DNS for Developers - NDC Oslo 2016
RIPE 82: DNS Evolution

More from FindWhitePapers (20)

PDF
The state of privacy and data security compliance
PDF
Is your data at risk? Why physical security is insufficient for laptop computers
PDF
Closing the gaps in enterprise data security: A model for 360 degrees protection
PDF
Buyers Guide to Endpoint Protection Platforms
PDF
VMware DRS: Why You Still Need Assured Application Delivery and Application D...
PDF
The ROI of Application Delivery Controllers in Traditional and Virtualized En...
PDF
The Economic Impact of File Virtualization
PDF
Geolocation and Application Delivery
PDF
Lean Business Intelligence - How and Why Organizations Are Moving to Self-Ser...
PDF
Inventory Optimization: A Technique for Improving Operational-Inventory Targets
PDF
Improving Organizational Performance Through Pervasive Business Intelligence
PDF
IDC Energy Insights - Enterprise Risk Management
PDF
How to Use Technology to Support the Lean Enterprise
PDF
High Efficiency in Manufacturing Operations
PDF
Enterprise Knowledge Workers: Understanding Risks and Opportunities
PDF
Enterprise Information Management: In Support of Operational, Analytic, and G...
PDF
Enabling Strategy and Innovation: Achieving Optimized Outcomes from Planning ...
PDF
Data Quality Strategy: A Step-by-Step Approach
PDF
Data Migration: A White Paper by Bloor Research
PDF
Automating Stimulus Fund Reporting: How New Technologies Simplify Federal Rep...
The state of privacy and data security compliance
Is your data at risk? Why physical security is insufficient for laptop computers
Closing the gaps in enterprise data security: A model for 360 degrees protection
Buyers Guide to Endpoint Protection Platforms
VMware DRS: Why You Still Need Assured Application Delivery and Application D...
The ROI of Application Delivery Controllers in Traditional and Virtualized En...
The Economic Impact of File Virtualization
Geolocation and Application Delivery
Lean Business Intelligence - How and Why Organizations Are Moving to Self-Ser...
Inventory Optimization: A Technique for Improving Operational-Inventory Targets
Improving Organizational Performance Through Pervasive Business Intelligence
IDC Energy Insights - Enterprise Risk Management
How to Use Technology to Support the Lean Enterprise
High Efficiency in Manufacturing Operations
Enterprise Knowledge Workers: Understanding Risks and Opportunities
Enterprise Information Management: In Support of Operational, Analytic, and G...
Enabling Strategy and Innovation: Achieving Optimized Outcomes from Planning ...
Data Quality Strategy: A Step-by-Step Approach
Data Migration: A White Paper by Bloor Research
Automating Stimulus Fund Reporting: How New Technologies Simplify Federal Rep...

Recently uploaded (20)

PDF
Reconciliation AND MEMORANDUM RECONCILATION
PDF
Unit 1 Cost Accounting - Cost sheet
PPTX
Amazon (Business Studies) management studies
PDF
MSPs in 10 Words - Created by US MSP Network
PPT
Data mining for business intelligence ch04 sharda
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
Types of control:Qualitative vs Quantitative
PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
PPT
Chapter four Project-Preparation material
PPTX
New Microsoft PowerPoint Presentation - Copy.pptx
PDF
A Brief Introduction About Julia Allison
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PDF
Nidhal Samdaie CV - International Business Consultant
PDF
Traveri Digital Marketing Seminar 2025 by Corey and Jessica Perlman
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PDF
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
Reconciliation AND MEMORANDUM RECONCILATION
Unit 1 Cost Accounting - Cost sheet
Amazon (Business Studies) management studies
MSPs in 10 Words - Created by US MSP Network
Data mining for business intelligence ch04 sharda
COST SHEET- Tender and Quotation unit 2.pdf
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
Types of control:Qualitative vs Quantitative
DOC-20250806-WA0002._20250806_112011_0000.pdf
Chapter four Project-Preparation material
New Microsoft PowerPoint Presentation - Copy.pptx
A Brief Introduction About Julia Allison
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
Nidhal Samdaie CV - International Business Consultant
Traveri Digital Marketing Seminar 2025 by Corey and Jessica Perlman
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
Dr. Enrique Segura Ense Group - A Self-Made Entrepreneur And Executive
Power and position in leadershipDOC-20250808-WA0011..pdf

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

  • 1. 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
  • 2. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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
  • 3. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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
  • 4. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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 servers 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 server 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 server stores the information, and all the other DNS servers 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
  • 5. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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 servers 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 I don’t know, let me ask Who owns the records www.example.com? someone who does. for example.com? End user example.com is 1.1.1.2 example.com is 1.1.1.2 Ask .com DNS Server Local DNS ISP DNS Root DNS server server server Who owns the records Figure 1: How DNSSEC works Ask 1.1.1.1 for example.com? Top Level Domains Chain of trust What IP address is example.com? example.com .com DNS .org DNS .net DNS is 1.1.1.2 server server server DNS server for example.com (1.1.1.1) 5
  • 6. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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 server 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 server pool and returning directly to the client. When authentication is 6
  • 7. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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 servers. 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 server is normal and the external client communication is secure. example.com example.com example.com Client 123.123.123.123 LDNS 123.123.123.123 BIG-IP GTM + + public key + public key DNSSEC feature DNS servers 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 server 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
  • 8. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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, The BIG‑IP GTM DNSSEC feature’s default settings servers, listeners, WIPS, and so on—the DNSSEC key list (see Figure 3) is where the are modeled on the National administrator configures zone signing keys (ZSKs) and key signing keys (KSKs). KSKs Institute of Standards and are used to sign other DNSKEY records and the DS records, while ZSKs are used to Technology (NIST) guidelines, offering an easy, turnkey sign RRSIG. It is best practice to name the keys with the zone name and either zsk means to deploy this powerful or ksk at the end in order to easily identify them. The KSK can be made stronger by solution. 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. 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
  • 9. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks 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. 1 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 2 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, 3 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 When creating DNSSEC zones, use the contents of Secure Vault. the most specific FQDN as its name. BIG‑IP GTM will search the set of For military-level security, F5 supports FIPS storage of the private keys, and this DNSSEC zones to find the most is a unique differentiator from many of the DNSSEC providers on the market. specific one to use when signing, Also unique to F5 is the ability to securely synchronize the keys between multiple even if multiple candidates exist. FIPS devices. Additionally, multiple models of F5 hardware (BIG-IP 1500, 3400, (1) Name the DNSSEC zone. (2) Choose the signing key. 6400, 6800, 8400, and 8800) take a further step by using the crypto storage chip (3) Choose the key signing key. on the motherboard to secure a unique hardware key as part of the multi-layer encryption process. Conclusion DNSSEC ensures that the answer you receive when asking for name resolution comes from a trusted name server. 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 servers 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
  • 10. Technical Brief DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks Rather than ripping and replacing your current DNS infrastructure, you can simply drop BIG-IP GTM in front of your existing DNS servers 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. F5 Networks F5 Networks Ltd. F5 Networks Corporate Headquarters Asia‑Pacific Europe/Middle‑East/Africa Japan K.K. info@f5.com info.asia@f5.com emeainfo@f5.com 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