16
DNSSEC How to deploy it, and why you should bother. [email protected]

DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Embed Size (px)

DESCRIPTION

What is DNSSEC all about? Why should you care? How will it make your website more secure? How can you deploy it? In this presentation at at the Internet ON (ION) Conference in Toronto on November 14, 2011, Joe Abley, Director of DNS Operations for ICANN, addressed those points and provided steps for people who want to get started with DNSSEC. A video recording of the session will be available for viewing. Details will be posted at http://www.isoc.org/do/blog/ when the video is available. More information about the global series of ION conferences can be found at http://www.isoc.org/i

Citation preview

Page 1: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

DNSSEC How to deploy it, and why you should bother. [email protected]

Page 2: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

DNS What?

• DNSSEC. Pay attention. •  RFC 4033, RFC 4034, RFC 4035

• Cryptographic keys and signatures published in the DNS •  Public, private key-pairs •  Allows a chain of trust to be established through the data published

in the DNS

• No encryption, no transport security, no privacy measures • Authenticity of Answers

Page 3: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Trust Follows Delegations Zone contains public keys. Resource Record Sets are signed with corresponding private keys. Secure delegations contain a hash of a child’s public key.

Zone contains public keys. Resource Record Sets are signed with corresponding private keys.

Parent Zone Child Zone

Secure Delegation (NS, signed DS, glue)

Page 4: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

How to Trust Lots of Stuff

Root Zone

ORG COM NET

ISOC.ORG

Trust Anchor

Page 5: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Deployment

•  Zone Managers •  sign your zones •  publish trust anchors in parent zones •  provide mechanisms for children to publish trust anchors in your

zone

• Cache Operators •  ensure your caches are DNSSEC-friendly •  turn on validation •  don’t be evil

Page 6: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Zone Signing

• Root zone was signed in 2011, with great fanfare

•  Today, many TLDs are signed (83 out of 310) •  COM, NET, ORG, INFO, BIZ, others •  Growing number of ccTLDs •  ARPA

• Even in regions associated with ccTLDs that are signed, however, DNSSEC deployment is slow •  CZ doing particularly well in this regard

Page 7: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

DNSSEC in TLDs

Page 8: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

DNSSEC in ccTLDs

Page 9: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

How to Sign Your Zones

• BIND makes this easy, from 9.8 onwards •  Good for people who already use and like BIND9

• OpenDNSSEC makes this easy •  especially if you feel a need to use Hardware Security Modules

• PowerDNS makes this easy •  POWERDNS is now declared ready for production •  good for people who already use and like PowerDNS

Page 10: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

How to Serve Signed Zones

• Probably, you just have to sign the zones •  i.e. do nothing in particular to your masters and slaves •  most DNS authority-only servers have had DNSSEC turned on by

default for some time

Page 11: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Cache Operators

• Unless you’re being evil, your caches probably already pass through DNSSEC records to end users •  i.e. do nothing, and end-users can validate

•  Turn on Validation •  if you want to avoid cache poisoning attacks •  there is a support overhead here •  the helpdesk phone might ring, sometimes

Page 12: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

End Users

• Use a cache that is validating •  You won’t see signed records unless the signatures are good

• Use software that does validation for you •  Chrome •  FireFox with the NIC.CZ DNSSEC Validator module •  DNSSEC Trigger, by NLNet Labs

Page 13: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Why Bother?

•  There is lots of response spoofing and cache poisoning going on •  so we hear •  problem is, it’s often hard to tell

• What we’re building is a global Public Key Infrastructure based on the DNS •  this is good •  we want this

Page 14: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Why is a Global PKI Good?

• Building a reliable PKI is hard •  have you ever tried to use PGP? •  ever heard of an X.509 Certificate Authority going bad? •  ever known a user to click “Continue” when a certificate warning

pops up?

• Reliable PKIs are useful •  TLS (HTTPS, SMTP, IMAP, etc) •  Routing Security •  SSH key management

Page 15: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

e.g. DANE

• DNS-based Authentication of Named Entities •  IETF Working Group •  Aims to use the DNS to distribute X.509 certificates

• Promises the convenience and price of self-signed certificates with near real-time revocation •  no need to e-mail bits of photoshopped letterhead round the place •  no fees •  set your own key roll schedules

Page 16: DNSSEC: How to deploy it, and why you should bother (ION Toronto 2011)

Homework

• Sign some Zones

• Make sure your caches are nice and clean, and pass through DNSSEC records correctly •  don’t forget not to be evil

•  Turn on Validation in your cache •  if you feel like it

•  Install some client software that does DNSSEC validation