SlideShare a Scribd company logo
Deploying DNSSEC: From End-Customer To
   Content
   March 28, 2013




www.internetsociety.org
Our Panel

Moderator:

•  Dan York, Senior Content Strategist, Internet Society

Panelists:

•  Sanjeev Gupta, Principal Technical Architect, DCS1 Pte

•  Jitender Kumar, Technical Account Manager, Afilias

•  Richard Lamb, DNSSEC Program Manager, ICANN




www.internetsociety.org/deploy360/
A Quick Introduction to DNS and DNSSEC
What Problem Is DNSSEC Trying To Solve?

DNSSEC = "DNS Security Extensions"
  •  Defined in RFCs 4033, 4034, 4035
  •  Operational Practices: RFC 4641

Ensures that the information entered into DNS by the
domain name holder is the SAME information retrieved
from DNS by an end user.

Let's walk through an example to explain…




www.internetsociety.org/deploy360/
A Normal DNS Interaction



 Web
Server
                                          example.com?                 Resolver checks its local cache. If it has the
                      3                                      DNS       answer, it sends it back.
                                               1
          https://example.com/                              Resolver
                                                                        example.com 10.1.1.123

 4                                                                     If not…

web page                  Web
                         Browser                   2
                                               10.1.1.123




     www.internetsociety.org/deploy360/
A Normal DNS Interaction                                                                        DNS Svr
                                                                                                      root
                                                                                             .com
                                                                                             NS



                                                                                                     DNS Svr
                                                                                                      .com
 Web                                                                                   example.com
                                                                                       NS
Server
                                          example.com?
                      5                                     DNS       2
          https://example.com/
                                               1
                                                           Resolver                                  DNS Svr
                                                                                                     example.com
                                                                            3
 6
                                                                          10.1.1.123
web page                  Web
                         Browser                   4
                                              10.1.1.123




     www.internetsociety.org/deploy360/
DNS Works On Speed

First result received by a DNS resolver is treated as the
correct answer.



Opportunity is there for an attacker to be the first one to
get an answer to the DNS resolver, either by:
       •  Getting to the correct point in the network to provide faster responses;
       •  Blocking the responses from the legitimate servers (ex. executing a
           Denial of Service attack against the legitimate servers to slow their
           responses)




www.internetsociety.org/deploy360/
Attacking DNS                                                                                            DNS Svr
                                                                                                               root
                                                                                                  .com
                                                                                                  NS



                                                                                                              DNS Svr
                                                                                                               .com
 Web                                                                                       example.com
                                                                                           NS
Server
                                          example.com?
                      5                                      DNS       2
          https://example.com/
                                               1
                                                            Resolver                                          DNS Svr
                                                                                                              example.com

                                                                                         10.1.1.123
 6

web page                  Web                                                3
                         Browser                   4
                                              192.168.2.2
                                                                                                Attacking
                                                                           192.168.2.2          DNS Svr
                                                                                                example.com




     www.internetsociety.org/deploy360/
A Poisoned Cache



 Web
Server
                                          example.com?                 Resolver cache now has wrong data:
                      3                                      DNS
                                               1                        example.com 192.168.2.2
          https://example.com/                              Resolver

 4
                                                                       This stays in the cache until the
web page                  Web                                          Time-To-Live (TTL) expires!
                         Browser                   2
                                              192.168.2.2




     www.internetsociety.org/deploy360/
How Does DNSSEC Help?

DNSSEC introduces new DNS records for a domain:
       •  RRSIG – a signature ("hash") of a set of DNS records
       •  DNSKEY – a public key that a resolver can use to validate RRSIG

A DNSSEC-validating DNS resolver:
       •  Uses DNSKEY to perform a hash calculation on received DNS records
       •  Compares result with RRSIG records. If results match, records are the
           same as those transmitted. If the results do NOT match, they were
           potentially changed during the travel from the DNS server.




www.internetsociety.org/deploy360/
A DNSSEC Interaction                                                              DNS Svr
                                                                                        root




                                                                                       DNS Svr
                                                                                        .com
 Web
Server
                                          example.com?
                      5                                     DNS       2
          https://example.com/
                                               1
                                                           Resolver                    DNS Svr
                                                                                       example.com
                                                                            3
 6
                                                                          10.1.1.123
web page                  Web                                             DNSKEY
                                                                          RRSIGs
                         Browser                   4
                                              10.1.1.123




     www.internetsociety.org/deploy360/
But Can DNSSEC Be Spoofed?

•  But why can't an attacker simply insert DNSKEY and
   RRSIG records? What prevents DNSSEC from being
   spoofed?

•  An additional was introduced, the "Delegation Signer
   (DS)" record

•  It is a fingerprint of the DNSKEY record that is sent to
   the TLD registry

•  Provides a global "chain of trust" from the root of
   DNS down to the domain

•  Attackers would have to compromise the registry


www.internetsociety.org/deploy360/
A DNSSEC Interaction                                                                            DNS Svr
                                                                                                      root
                                                                                             .com
                                                                                             NS
                                                                                             DS


                                                                                                     DNS Svr
                                                                                                      .com
 Web                                                                                   example.com
                                                                                       NS
Server                                                                                 DS
                                          example.com?
                      5                                     DNS       2
          https://example.com/
                                               1
                                                           Resolver                                  DNS Svr
                                                                                                     example.com
                                                                            3
 6
                                                                          10.1.1.123
web page                  Web                                             DNSKEY
                                                                          RRSIGs
                         Browser                   4
                                              10.1.1.123




     www.internetsociety.org/deploy360/
The Global Chain of Trust                                                                       DNS Svr
                                                                                                      root
                                                                                             .com
                                                                                             NS
                                                                                             DS


                                                                                                     DNS Svr
                                                                                                      .com
 Web                                                                                   example.com
                                                                                       NS
Server                                                                                 DS
                                          example.com?
                      5                                     DNS       2
          https://example.com/
                                               1
                                                           Resolver                                  DNS Svr
                                                                                                     example.com
                                                                            3
 6
                                                                          10.1.1.123
web page                  Web                                             DNSKEY
                                                                          RRSIGs
                         Browser                   4
                                              10.1.1.123




     www.internetsociety.org/deploy360/
Attempting to Spoof DNS                                                                               DNS Svr
                                                                                                            root
                                                                                               .com
                                                                                               NS
                                                                                               DS


                                                                                                           DNS Svr
                                                                                                            .com
 Web                                                                                    example.com
                                                                                        NS
Server                                                                                  DS
                                          example.com?
                      5                                   DNS       2
          https://example.com/
                                               1
                                                         Resolver                                          DNS Svr
                                                                                                           example.com

                                                                                      10.1.1.123
 6                                                                                    DNSKEY
                                                                                      RRSIGs
web page                  Web                                             3
                         Browser
                                                                                             Attacking
                                                                        192.168.2.2          DNS Svr
                                                                        DNSKEY               example.com
                                                                        RRSIGs




     www.internetsociety.org/deploy360/
Attempting to Spoof DNS                                                                               DNS Svr
                                                                                                            root
                                                                                               .com
                                                                                               NS
                                                                                               DS


                                                                                                           DNS Svr
                                                                                                            .com
 Web                                                                                    example.com
                                                                                        NS
Server                                                                                  DS
                                          example.com?
                      5                                   DNS       2
          https://example.com/
                                               1
                                                         Resolver                                          DNS Svr
                                                                                                           example.com

                                                                                      10.1.1.123
 6                                                                                    DNSKEY
                                                                                      RRSIGs
web page                  Web                                             3
                         Browser                   4
                                              SERVFAIL
                                                                                             Attacking
                                                                        192.168.2.2          DNS Svr
                                                                        DNSKEY               example.com
                                                                        RRSIGs




     www.internetsociety.org/deploy360/
What DNSSEC Proves:

"These ARE the IP addresses you are looking for."
(or they are not)

Ensures that information entered into DNS by the domain
name holder (or the operator of the DNS hosting service for
the domain) is the SAME information that is received by the
end user.




www.internetsociety.org/deploy360/
The Two Parts of DNSSEC


                                      Signing      Validating

                                      Registries   Applications


                                      Registrars   Enterprises


                                     DNS Hosting      ISPs




www.internetsociety.org/deploy360/
DNSSEC and SSL
Why Do I Need DNSSEC If I Have SSL?

A common question: why do I need DNSSEC if I already
have a SSL certificate? (or an "EV-SSL" certificate?)



SSL (more formerly known today as Transport Layer
Security (TLS)) solves a different issue – it provides
encryption and protection of the communication between the
browser and the web server




www.internetsociety.org/deploy360/
The Typical TLS (SSL) Web Interaction                                                      DNS Svr
                                                                                            root


    Web
   Server
                                                                                           DNS Svr
                                                                                            .com


                                                 5
                                      https://example.com/
                                                                                           DNS Svr
     6                                                                                     example.com

TLS-encrypted
web page
                                                                                       2
                                                             example.com?
                                                                                              3
                                                                   1                        10.1.1.123
                                                                             DNS
                                                                            Resolver

                                                  Web
                                                 Browser               4
                                                                    10.1.1.123


 www.internetsociety.org/deploy360/
The Typical TLS (SSL) Web Interaction                                                      DNS Svr
                                                                                            root


    Web
   Server
                                                                                           DNS Svr
                                                                                            .com


                                                 5
                                      https://example.com/
                                                                                           DNS Svr
     6                                                                                     example.com

TLS-encrypted
web page
                                                                                       2
                                                             example.com?
                                                                                              3
                                                                   1                        10.1.1.123
                                                                             DNS
      Is this encrypted                                                     Resolver
           with the
                                                  Web
         CORRECT                                 Browser               4
          certificate?                                              10.1.1.123


 www.internetsociety.org/deploy360/
What About This?
                                                                                                DNS
     Web                                                                                       Server
                                       https://www.example.com/
    Server

                                                                                  www.example.com?

                                               Firewall     https://www.example.com/
TLS-encrypted web page                             (or
                                                                                           1
with CORRECT certificate                        attacker)                                            1.2.3.4

                                                                                                      2



                                                                                 Web
                                           TLS-encrypted web page
                                                                                Browser
                                           with NEW certificate
                                           (re-signed by firewall)




  www.internetsociety.org/deploy360/
Problems?
                                                                                               DNS
     Web                                                                                      Server
                                       https://www.example.com/
    Server

                                                                                 www.example.com?

                                                           https://www.example.com/
TLS-encrypted web page                         Firewall
                                                                                          1
with CORRECT certificate                                                                            1.2.3.4

                                                                                                     2



                                                                                Web
                                           TLS-encrypted web page
                                                                               Browser
                                           with NEW certificate
                                           (re-signed by firewall)




  www.internetsociety.org/deploy360/
Problems?
                                                                                               DNS
     Web                                                                                      Server
                                       https://www.example.com/
    Server

                                                                                 www.example.com?

                                                           https://www.example.com/
TLS-encrypted web page                         Firewall
                                                                                          1
with CORRECT certificate                                                                            1.2.3.4

                                                                                                     2



                                                                                Web
                                           TLS-encrypted web page
                                                                               Browser
                                           with NEW certificate
           Log files                       (re-signed by firewall)
           or other
           servers


   Potentially including
   personal information
  www.internetsociety.org/deploy360/
Issues

A Certificate Authority (CA) can sign ANY domain.

Now over 1,500 CAs – there have been compromises
where valid certs were issued for domains.

Middle-boxes such as firewalls can re-sign sessions.




www.internetsociety.org/deploy360/
A Powerful Combination

TLS/SSL = encryption + limited integrity protection

DNSSEC = strong integrity protection



How to get encryption + strong integrity protection?



TLS + DNSSEC = DANE




www.internetsociety.org/deploy360/
DNS-Based Authentication of Named Entities
(DANE)
Q: How do you know if the TLS (SSL) certificate is the
correct one the site wants you to use?

 A: Store the certificate (or fingerprint) in DNS (new TLSA
record) and sign them with DNSSEC.

A browser that understand DNSSEC and DANE will then
know when the required certificate is NOT being used.

Certificate stored in DNS is controlled by the domain name
holder. It could be a certificate signed by a CA – or a self-
signed certificate.



www.internetsociety.org/deploy360/
DANE
                                                                                                      DNS
     Web                                                                                             Server
                                       https://example.com/
    Server



                                                                                               example.com? 2
                                                Firewall      https://example.com/
TLS-encrypted web page                             (or
                                                                                                 1
with CORRECT certificate                        attacker)                                                10.1.1.123
                                                                                                         DNSKEY
                                                                                                         RRSIGs
                                                                                                         TLSA


                                                                                      Web
                                           TLS-encrypted web page                    Browser
                                           with NEW certificate                      w/DANE
           Log files                       (re-signed by firewall)
           or other
           servers
                                                      DANE-equipped browser
                                                      compares TLS certificate
                                                      with what DNS / DNSSEC
                                                      says it should be.
  www.internetsociety.org/deploy360/
DANE – Not Just For The Web

• DANE defines protocol for storing TLS certificates in DNS

• Securing Web transactions is the obvious use case

• Other uses also possible:
       •  Email via S/MIME
       •  VoIP
       •  Jabber/XMPP
       •  ?




www.internetsociety.org/deploy360/
DNSSEC Deployment In Asia
Map courtesy of Shinkuro, Inc.

www.internetsociety.org/deploy360/
Map courtesy of Shinkuro, Inc.

www.internetsociety.org/deploy360/
Panel Discussion
Our Panel

Moderator:

•  Dan York, Senior Content Strategist, Internet Society

Panelists:

•  Sanjeev Gupta, Principal Technical Architect, DCS1 Pte

•  Jitender Kumar, Technical Account Manager, Afilias

•  Richard Lamb, DNSSEC Program Manager, ICANN




www.internetsociety.org/deploy360/
Next Steps In Deploying DNSSEC
Three Steps TLD Operators Can Take:

1.  Sign your TLD
     •       Tools and services available to help automate process

2.  Accept DS records
     •       Make it as easy as possible (and accept multiple records)

3.  Work with your registrars
     •       Help them make it easy for DNS hosting providers and registrants

4.  Help With Statistics
     •       Can you help by providing statistics?

Implement DNSSEC and make your TLD more secure


www.internetsociety.org/deploy360/
Three Steps For Network Operators and
Enterprises
1.  Deploy DNSSEC-validating DNS resolvers



2.  Sign your own domains where possible



3.  Help promote support of DANE protocol
     •       Allow usage of TLSA record. Let browser vendors and others know you
             want to use DANE. Help raise awareness of how DANE and DNSSEC
             can make the Internet more secure.




www.internetsociety.org/deploy360/
Internet Society Deploy360 Programme

                                        Providing real-world deployment
                                        info for IPv6, DNSSEC and other
                                        Internet technologies:

                                        • Case Studies

                                        • Tutorials

                                        • Videos

                                        • Whitepapers

                                        • News, information

                                        English content, initially, but will
   www.internetsociety.org/deploy360/   be translated into other
                                        languages.


www.internetsociety.org/deploy360/
Dan York, CISSP
   Senior Content Strategist, Internet Society
   york@isoc.org


   www.internetsociety.org/deploy360/




                                    Thank You!




www.internetsociety.org

More Related Content

PDF
ION Sao Paulo - Dan York: DNSSEC
PDF
ION San Diego - DNSSEC Deployment Panel Introductory Slides
PDF
いろいろ引き出し作って見ました
PDF
DNS Attacks
PDF
DOCX
DNS spoofing/poisoning Attack Report (Word Document)
PPT
Dns protocol design attacks and security
PPTX
Presentation on dns
ION Sao Paulo - Dan York: DNSSEC
ION San Diego - DNSSEC Deployment Panel Introductory Slides
いろいろ引き出し作って見ました
DNS Attacks
DNS spoofing/poisoning Attack Report (Word Document)
Dns protocol design attacks and security
Presentation on dns

Viewers also liked (6)

PDF
ION Ljubljana - Nathalie Trenaman: World IPv6 Launch and RIPE Atlas Visualisa...
PDF
ION Ljubljana - Borka Jerman-Blažič Opening Slides
PDF
ION Ljubljana - Aaron Hughes: Best Current Operational Practices
PDF
ION San Diego - Advancing the Network Introductory Slides
PPT
ION Krakow - BCOP Update
PPTX
ION Tokyo: Opening Slides, Chris Grundemann
ION Ljubljana - Nathalie Trenaman: World IPv6 Launch and RIPE Atlas Visualisa...
ION Ljubljana - Borka Jerman-Blažič Opening Slides
ION Ljubljana - Aaron Hughes: Best Current Operational Practices
ION San Diego - Advancing the Network Introductory Slides
ION Krakow - BCOP Update
ION Tokyo: Opening Slides, Chris Grundemann
Ad

Similar to ION Singapore - Dan York: DNSSEC Introduction (20)

PDF
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks
PDF
Advanced DNS/DHCP for Novell eDirectory Environments
PDF
ION Mumbai - Shailesh Gupta: Business Case for IPv6 and DNSSEC
PDF
BIND’s New Security Feature: DNSRPZ - the "DNS Firewall"
PDF
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
PDF
Dns configuration on rhel 5
KEY
DNSSEC Grunderna
PDF
后端基础知识
ODP
2012 07-24 dnssec-og_open_dnssec_-_martin_toft_og_georg_sluyterman_slideshow
PDF
Comment détecter des virus inconnus en utilisant des « honey pots » et d’autr...
PDF
IPv6 and SIP - Myth or Reality?
PDF
OpenDNS Whitepaper: DNS's Role in Botnet C&C
PDF
SIP and IPv6 - Can They Get Along?
PDF
ION Mumbai - Richard Lamb: Why DNSSEC?
PPSX
11 Net Scaler Xa1
PPTX
DNS for Developers - ConFoo Montreal
TXT
PDF
Load-balancing web servers Load-balancing web servers
PDF
IPv6 Statlig og offentlig fokus - hvorfor nå?: Patrik Fältström, Distinguishe...
DNSSEC: The Antidote to DNS Cache Poisoning and Other DNS Attacks
Advanced DNS/DHCP for Novell eDirectory Environments
ION Mumbai - Shailesh Gupta: Business Case for IPv6 and DNSSEC
BIND’s New Security Feature: DNSRPZ - the "DNS Firewall"
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
Dns configuration on rhel 5
DNSSEC Grunderna
后端基础知识
2012 07-24 dnssec-og_open_dnssec_-_martin_toft_og_georg_sluyterman_slideshow
Comment détecter des virus inconnus en utilisant des « honey pots » et d’autr...
IPv6 and SIP - Myth or Reality?
OpenDNS Whitepaper: DNS's Role in Botnet C&C
SIP and IPv6 - Can They Get Along?
ION Mumbai - Richard Lamb: Why DNSSEC?
11 Net Scaler Xa1
DNS for Developers - ConFoo Montreal
Load-balancing web servers Load-balancing web servers
IPv6 Statlig og offentlig fokus - hvorfor nå?: Patrik Fältström, Distinguishe...
Ad

More from Deploy360 Programme (Internet Society) (20)

PDF
ION Belgrade - Jordi Palet Martinez IPv6 Success Stories
PPTX
ION Belgrade - ISOC Serbia Belgrade Chapter Presentation
PPTX
ION Belgrade - IETF Update
PPTX
ION Belgrade - Opening Slides
PPTX
ION Belgrade - MANRS by Serbian Open eXchange (SOX)
PPTX
ION Belgrade - Closing Slides
PDF
AusNOG - Two Years of Good MANRS
PPTX
PPTX
ION Malta - MANRS Introduction
PPTX
ION Malta - Introduction to DNSSEC
PPTX
ION Malta - DANE: The Future of TLS
PPTX
ION Malta - IANA Transition Roles & Accountability
PDF
ION Malta - IPv6 Case Study: Finland
PDF
ION Malta - Seeweb Thoughts on IPv6 Transition
PDF
ION Malta - Seeweb Why MANRS is good for you
PPTX
ION Malta - Opening Slides
PPTX
ION Malta - Closing Slides
PPTX
ION Durban - How peering behaviour affects growth of the internet
PPTX
ION Durban - Introduction to ISOC Gauteng Chapter
PPTX
ION Durban - What's Happening at the IETF?
ION Belgrade - Jordi Palet Martinez IPv6 Success Stories
ION Belgrade - ISOC Serbia Belgrade Chapter Presentation
ION Belgrade - IETF Update
ION Belgrade - Opening Slides
ION Belgrade - MANRS by Serbian Open eXchange (SOX)
ION Belgrade - Closing Slides
AusNOG - Two Years of Good MANRS
ION Malta - MANRS Introduction
ION Malta - Introduction to DNSSEC
ION Malta - DANE: The Future of TLS
ION Malta - IANA Transition Roles & Accountability
ION Malta - IPv6 Case Study: Finland
ION Malta - Seeweb Thoughts on IPv6 Transition
ION Malta - Seeweb Why MANRS is good for you
ION Malta - Opening Slides
ION Malta - Closing Slides
ION Durban - How peering behaviour affects growth of the internet
ION Durban - Introduction to ISOC Gauteng Chapter
ION Durban - What's Happening at the IETF?

Recently uploaded (20)

PDF
9th-President-of-the-Philippines_lecture .pdf
PDF
The Blogs_ Hamas’s Deflection Playbook _ Andy Blumenthal _ The Times of Israe...
DOCX
End Of The Age TV Program: Depicting the Actual Truth in a World of Lies
PDF
Jim Stone Freelance Voterig August 13, 2025.pdf
PDF
Chandrababu Naidu's Vision: Transforming Andhra Pradesh into India's Drone Ca...
PDF
2025-07-24_CED-HWB_WIPP_ACO000000001.pdf
PDF
Mindanao Debate Lecture Presentation Outline 1.General Facts 2.Mindanao Histo...
PPTX
Precised New Precis and Composition 2025.pptx
PDF
424926802-1987-Constitution-as-Basis-of-Environmental-Laws.pdf
PDF
Regional Media Representation of Kuki-Meitei Conflict - An Analysis of Peace ...
PDF
KAL 007 Manual: The Russian Shootdoown of Civilian Plane on 09/01/1983
PDF
Naidu Pushes for Rs 36 Crore Subsidy to Support Farmers in Need
PDF
The Most Dynamic Lawyer to Watch 2025.pdf
PDF
Conflict, Narrative and Media -An Analysis of News on Israel-Palestine Confli...
PPTX
ASEANOPOL: The Multinational Police Force
PPTX
7th-president-Ramon-Magsaysay-Presentation.pptx
PDF
History ppt on World War 2 and its consequences
PPTX
Pakistan movement part 2: story about Pakistan Movement
DOC
证书结业SU毕业证,莫道克大学毕业证假学位证
DOCX
Memecoin news and insights on memecoinist
9th-President-of-the-Philippines_lecture .pdf
The Blogs_ Hamas’s Deflection Playbook _ Andy Blumenthal _ The Times of Israe...
End Of The Age TV Program: Depicting the Actual Truth in a World of Lies
Jim Stone Freelance Voterig August 13, 2025.pdf
Chandrababu Naidu's Vision: Transforming Andhra Pradesh into India's Drone Ca...
2025-07-24_CED-HWB_WIPP_ACO000000001.pdf
Mindanao Debate Lecture Presentation Outline 1.General Facts 2.Mindanao Histo...
Precised New Precis and Composition 2025.pptx
424926802-1987-Constitution-as-Basis-of-Environmental-Laws.pdf
Regional Media Representation of Kuki-Meitei Conflict - An Analysis of Peace ...
KAL 007 Manual: The Russian Shootdoown of Civilian Plane on 09/01/1983
Naidu Pushes for Rs 36 Crore Subsidy to Support Farmers in Need
The Most Dynamic Lawyer to Watch 2025.pdf
Conflict, Narrative and Media -An Analysis of News on Israel-Palestine Confli...
ASEANOPOL: The Multinational Police Force
7th-president-Ramon-Magsaysay-Presentation.pptx
History ppt on World War 2 and its consequences
Pakistan movement part 2: story about Pakistan Movement
证书结业SU毕业证,莫道克大学毕业证假学位证
Memecoin news and insights on memecoinist

ION Singapore - Dan York: DNSSEC Introduction

  • 1. Deploying DNSSEC: From End-Customer To Content March 28, 2013 www.internetsociety.org
  • 2. Our Panel Moderator: •  Dan York, Senior Content Strategist, Internet Society Panelists: •  Sanjeev Gupta, Principal Technical Architect, DCS1 Pte •  Jitender Kumar, Technical Account Manager, Afilias •  Richard Lamb, DNSSEC Program Manager, ICANN www.internetsociety.org/deploy360/
  • 3. A Quick Introduction to DNS and DNSSEC
  • 4. What Problem Is DNSSEC Trying To Solve? DNSSEC = "DNS Security Extensions" •  Defined in RFCs 4033, 4034, 4035 •  Operational Practices: RFC 4641 Ensures that the information entered into DNS by the domain name holder is the SAME information retrieved from DNS by an end user. Let's walk through an example to explain… www.internetsociety.org/deploy360/
  • 5. A Normal DNS Interaction Web Server example.com? Resolver checks its local cache. If it has the 3 DNS answer, it sends it back. 1 https://example.com/ Resolver example.com 10.1.1.123 4 If not… web page Web Browser 2 10.1.1.123 www.internetsociety.org/deploy360/
  • 6. A Normal DNS Interaction DNS Svr root .com NS DNS Svr .com Web example.com NS Server example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 3 6 10.1.1.123 web page Web Browser 4 10.1.1.123 www.internetsociety.org/deploy360/
  • 7. DNS Works On Speed First result received by a DNS resolver is treated as the correct answer. Opportunity is there for an attacker to be the first one to get an answer to the DNS resolver, either by: •  Getting to the correct point in the network to provide faster responses; •  Blocking the responses from the legitimate servers (ex. executing a Denial of Service attack against the legitimate servers to slow their responses) www.internetsociety.org/deploy360/
  • 8. Attacking DNS DNS Svr root .com NS DNS Svr .com Web example.com NS Server example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 10.1.1.123 6 web page Web 3 Browser 4 192.168.2.2 Attacking 192.168.2.2 DNS Svr example.com www.internetsociety.org/deploy360/
  • 9. A Poisoned Cache Web Server example.com? Resolver cache now has wrong data: 3 DNS 1 example.com 192.168.2.2 https://example.com/ Resolver 4 This stays in the cache until the web page Web Time-To-Live (TTL) expires! Browser 2 192.168.2.2 www.internetsociety.org/deploy360/
  • 10. How Does DNSSEC Help? DNSSEC introduces new DNS records for a domain: •  RRSIG – a signature ("hash") of a set of DNS records •  DNSKEY – a public key that a resolver can use to validate RRSIG A DNSSEC-validating DNS resolver: •  Uses DNSKEY to perform a hash calculation on received DNS records •  Compares result with RRSIG records. If results match, records are the same as those transmitted. If the results do NOT match, they were potentially changed during the travel from the DNS server. www.internetsociety.org/deploy360/
  • 11. A DNSSEC Interaction DNS Svr root DNS Svr .com Web Server example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 3 6 10.1.1.123 web page Web DNSKEY RRSIGs Browser 4 10.1.1.123 www.internetsociety.org/deploy360/
  • 12. But Can DNSSEC Be Spoofed? •  But why can't an attacker simply insert DNSKEY and RRSIG records? What prevents DNSSEC from being spoofed? •  An additional was introduced, the "Delegation Signer (DS)" record •  It is a fingerprint of the DNSKEY record that is sent to the TLD registry •  Provides a global "chain of trust" from the root of DNS down to the domain •  Attackers would have to compromise the registry www.internetsociety.org/deploy360/
  • 13. A DNSSEC Interaction DNS Svr root .com NS DS DNS Svr .com Web example.com NS Server DS example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 3 6 10.1.1.123 web page Web DNSKEY RRSIGs Browser 4 10.1.1.123 www.internetsociety.org/deploy360/
  • 14. The Global Chain of Trust DNS Svr root .com NS DS DNS Svr .com Web example.com NS Server DS example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 3 6 10.1.1.123 web page Web DNSKEY RRSIGs Browser 4 10.1.1.123 www.internetsociety.org/deploy360/
  • 15. Attempting to Spoof DNS DNS Svr root .com NS DS DNS Svr .com Web example.com NS Server DS example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 10.1.1.123 6 DNSKEY RRSIGs web page Web 3 Browser Attacking 192.168.2.2 DNS Svr DNSKEY example.com RRSIGs www.internetsociety.org/deploy360/
  • 16. Attempting to Spoof DNS DNS Svr root .com NS DS DNS Svr .com Web example.com NS Server DS example.com? 5 DNS 2 https://example.com/ 1 Resolver DNS Svr example.com 10.1.1.123 6 DNSKEY RRSIGs web page Web 3 Browser 4 SERVFAIL Attacking 192.168.2.2 DNS Svr DNSKEY example.com RRSIGs www.internetsociety.org/deploy360/
  • 17. What DNSSEC Proves: "These ARE the IP addresses you are looking for." (or they are not) Ensures that information entered into DNS by the domain name holder (or the operator of the DNS hosting service for the domain) is the SAME information that is received by the end user. www.internetsociety.org/deploy360/
  • 18. The Two Parts of DNSSEC Signing Validating Registries Applications Registrars Enterprises DNS Hosting ISPs www.internetsociety.org/deploy360/
  • 20. Why Do I Need DNSSEC If I Have SSL? A common question: why do I need DNSSEC if I already have a SSL certificate? (or an "EV-SSL" certificate?) SSL (more formerly known today as Transport Layer Security (TLS)) solves a different issue – it provides encryption and protection of the communication between the browser and the web server www.internetsociety.org/deploy360/
  • 21. The Typical TLS (SSL) Web Interaction DNS Svr root Web Server DNS Svr .com 5 https://example.com/ DNS Svr 6 example.com TLS-encrypted web page 2 example.com? 3 1 10.1.1.123 DNS Resolver Web Browser 4 10.1.1.123 www.internetsociety.org/deploy360/
  • 22. The Typical TLS (SSL) Web Interaction DNS Svr root Web Server DNS Svr .com 5 https://example.com/ DNS Svr 6 example.com TLS-encrypted web page 2 example.com? 3 1 10.1.1.123 DNS Is this encrypted Resolver with the Web CORRECT Browser 4 certificate? 10.1.1.123 www.internetsociety.org/deploy360/
  • 23. What About This? DNS Web Server https://www.example.com/ Server www.example.com? Firewall https://www.example.com/ TLS-encrypted web page (or 1 with CORRECT certificate attacker) 1.2.3.4 2 Web TLS-encrypted web page Browser with NEW certificate (re-signed by firewall) www.internetsociety.org/deploy360/
  • 24. Problems? DNS Web Server https://www.example.com/ Server www.example.com? https://www.example.com/ TLS-encrypted web page Firewall 1 with CORRECT certificate 1.2.3.4 2 Web TLS-encrypted web page Browser with NEW certificate (re-signed by firewall) www.internetsociety.org/deploy360/
  • 25. Problems? DNS Web Server https://www.example.com/ Server www.example.com? https://www.example.com/ TLS-encrypted web page Firewall 1 with CORRECT certificate 1.2.3.4 2 Web TLS-encrypted web page Browser with NEW certificate Log files (re-signed by firewall) or other servers Potentially including personal information www.internetsociety.org/deploy360/
  • 26. Issues A Certificate Authority (CA) can sign ANY domain. Now over 1,500 CAs – there have been compromises where valid certs were issued for domains. Middle-boxes such as firewalls can re-sign sessions. www.internetsociety.org/deploy360/
  • 27. A Powerful Combination TLS/SSL = encryption + limited integrity protection DNSSEC = strong integrity protection How to get encryption + strong integrity protection? TLS + DNSSEC = DANE www.internetsociety.org/deploy360/
  • 28. DNS-Based Authentication of Named Entities (DANE) Q: How do you know if the TLS (SSL) certificate is the correct one the site wants you to use? A: Store the certificate (or fingerprint) in DNS (new TLSA record) and sign them with DNSSEC. A browser that understand DNSSEC and DANE will then know when the required certificate is NOT being used. Certificate stored in DNS is controlled by the domain name holder. It could be a certificate signed by a CA – or a self- signed certificate. www.internetsociety.org/deploy360/
  • 29. DANE DNS Web Server https://example.com/ Server example.com? 2 Firewall https://example.com/ TLS-encrypted web page (or 1 with CORRECT certificate attacker) 10.1.1.123 DNSKEY RRSIGs TLSA Web TLS-encrypted web page Browser with NEW certificate w/DANE Log files (re-signed by firewall) or other servers DANE-equipped browser compares TLS certificate with what DNS / DNSSEC says it should be. www.internetsociety.org/deploy360/
  • 30. DANE – Not Just For The Web • DANE defines protocol for storing TLS certificates in DNS • Securing Web transactions is the obvious use case • Other uses also possible: •  Email via S/MIME •  VoIP •  Jabber/XMPP •  ? www.internetsociety.org/deploy360/
  • 32. Map courtesy of Shinkuro, Inc. www.internetsociety.org/deploy360/
  • 33. Map courtesy of Shinkuro, Inc. www.internetsociety.org/deploy360/
  • 35. Our Panel Moderator: •  Dan York, Senior Content Strategist, Internet Society Panelists: •  Sanjeev Gupta, Principal Technical Architect, DCS1 Pte •  Jitender Kumar, Technical Account Manager, Afilias •  Richard Lamb, DNSSEC Program Manager, ICANN www.internetsociety.org/deploy360/
  • 36. Next Steps In Deploying DNSSEC
  • 37. Three Steps TLD Operators Can Take: 1.  Sign your TLD •  Tools and services available to help automate process 2.  Accept DS records •  Make it as easy as possible (and accept multiple records) 3.  Work with your registrars •  Help them make it easy for DNS hosting providers and registrants 4.  Help With Statistics •  Can you help by providing statistics? Implement DNSSEC and make your TLD more secure www.internetsociety.org/deploy360/
  • 38. Three Steps For Network Operators and Enterprises 1.  Deploy DNSSEC-validating DNS resolvers 2.  Sign your own domains where possible 3.  Help promote support of DANE protocol •  Allow usage of TLSA record. Let browser vendors and others know you want to use DANE. Help raise awareness of how DANE and DNSSEC can make the Internet more secure. www.internetsociety.org/deploy360/
  • 39. Internet Society Deploy360 Programme Providing real-world deployment info for IPv6, DNSSEC and other Internet technologies: • Case Studies • Tutorials • Videos • Whitepapers • News, information English content, initially, but will www.internetsociety.org/deploy360/ be translated into other languages. www.internetsociety.org/deploy360/
  • 40. Dan York, CISSP Senior Content Strategist, Internet Society york@isoc.org www.internetsociety.org/deploy360/ Thank You! www.internetsociety.org