SlideShare a Scribd company logo
1 of 26
DNS and DNS
Security
8.8.8.8. 8.8.4.4
DNS AND DNS SECURITY:
What You Need to Know
DNS
Working of DNS
Hierarchy of DNS
DNS Query
DNS Records
DNS message Header Format
DNS Security
Impact
DNSSEC
DNS ( Domain Name System )
• Phonebook of Internet
• Servers working together to provide
IP address mapped to domain name
of a website
• Works at Application Layer
Working of DNS ...
When we type a web address for instance google.com, it checks :
• Resolver Cache
ipconfig/displaydns
ipconfig/deletedns
. Host File
C:WindowsSystem32Driversetchosts
sudo nano /etc/hosts
2. DNS configured under the Network Connection setting under the Control Panel
H
o
w
D
N
S
w
o
r
AUTHORITATIVE NAME
SERVER
stores the webiste's IP address
Full authority
Responsible for knowing everything
including IP Address
CMD Command
- nslookup
- set query=ns
- example.com (domain name)
ROOT SERVER:
13 set
globally located
letter.root-servers.net
letter : 'a' to 'm'
operated by: 12 organizations
info page : letter.root-servers.org
TLD NAME SERVER:
domains: .com, .net, .in, .edu
Stores address info for TLD Name
server
.com TLD name server
websites: .com extension
.net TLD name server
websites: .net extension
Hierarchy of DNS
Recursive query Flow
A request to a DNS Server : 'gimme what I need , and ask everyone you
want'
Iterative Query
A request to a DNS Server: 'gimme whatever help you can, but ask no one
else'
DNS Records
• Store Resources Records (RRs)
• Four Tuple: [Name, Value,Type, TTL]
• Type= A; Name: Hostname; Value: IP Address
- E.g. [star.c10r.facebook.com,31.13.72.33,A,17]
• Type=NS; Name: Domain; Value: host-name of the authoritative name
server
- E.g. [facebook.com, a.ns.facebook.com, NS, 172797]
• Type=CNAME; Name: HostName; Value: Canonical hostname
- E.g. [www.facebook.com, star.c10r.facebook.com, CName, 2362]
DNS Rules
• An authorative name server (for a given host) will always contain
type A recrd of that host
• A non-authoritative name server will contain a type NS record for
the domain and the type A record of the domain's authoratative
server
- E.g. [facebook.com, a.ns.facebook.com, NS, 172797]
- E.g. [facebook.com, 69.171.239.12, A, 172575]
DNS message Header Format
D
N
S
S
e
c
u
r
i
t
y
Impact
• Brand Damage : Imagine the mess
that will happen in the company
when you employees and/or
customers are not able to access
your website due to an attack.
• Imagine if online banking system
was corrupted.
• Financial Loss : Imagine if your
comapany's payment site is
redirecting to take fake site and
payment is made in that site.
• Malware installation. This may be
done by hijacking DNS queries and
responding with malicious IP
addresses.
• Credential theft.
• Command & Control communication.
• Network footprinting.
• Data theft.
DNSSEC
• DNS Security Extensions (DNSSEC) is a security protocol created to mitigate this
problem.
• It implements a hierarchical digital signing policy across all layers of DNS.
• DNSSEC creates a parent-child train of trust that travels all the way up to the
root zone. This chain of trust cannot be compromised at any layer of DNS, or
else the request will become open to an on-path attack.
DNSSEC Terminology
• Fingerprint - the hash/digest of a public key
• KSK - Key Signing key - used to sign or verify a domain's / zone's keys
• ZSK - Zone Signing Key - used to sign or verify a domain's / zone's non key
records
• Trust - to accept the validity and truthfulness of an entity with no need to
further validate
• RRSet - Resource Record Set - a set of records with the same type and same
domain/zone
• RRSig - Resource Record Signature - a record containing an RRSet's digital
signature
• DS Record - Delegation of Signing - a record containing the hash/digest of a
W
O
R
K
I
N
G
O
F
D
N
S
Vendor providing DNS Security
• Infoblox: DNS Traffic Control, DNS Firewall, Advance DNS Protection
• Nominum: DNS Blast, DNS Guardian, DNS Cloud
• BlueCat DNS: BlueCat DNS Integrity, BlueCat DNS Edge
• Cisco Umbrella: Cisco Umbrella
Thank you !
DNS AND DNS SECURITY: THE BASICS
DNS AND DNS SECURITY: THE BASICS
DNS AND DNS SECURITY: THE BASICS
DNS AND DNS SECURITY: THE BASICS

More Related Content

What's hot

Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentationAnchit Dhingra
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name SystemPeter R. Egli
 
My Seminar on DNS
My Seminar on DNSMy Seminar on DNS
My Seminar on DNSLijo George
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution processkannanragothaman
 
DNS Records Explained @ Hackveda
DNS Records Explained @ HackvedaDNS Records Explained @ Hackveda
DNS Records Explained @ HackvedaHackveda Vmdd
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)Atikur Rahman
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)Hasham khan
 
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configurationchacheng oo
 
Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Vijay Sharma
 
Domain Name System(DNS) - Overview
Domain Name System(DNS) - OverviewDomain Name System(DNS) - Overview
Domain Name System(DNS) - OverviewGunjan Panara
 
How does DNS works?
How does DNS works?How does DNS works?
How does DNS works?Jorich Ponio
 
Domain name service
Domain name serviceDomain name service
Domain name serviceishapadhy
 

What's hot (20)

Dns server
Dns server Dns server
Dns server
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
My Seminar on DNS
My Seminar on DNSMy Seminar on DNS
My Seminar on DNS
 
Dns name resolution process
Dns name resolution processDns name resolution process
Dns name resolution process
 
DNS Records Explained @ Hackveda
DNS Records Explained @ HackvedaDNS Records Explained @ Hackveda
DNS Records Explained @ Hackveda
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
DNS
DNSDNS
DNS
 
slide on DNS
slide on DNSslide on DNS
slide on DNS
 
DNS(Domain Name System)
DNS(Domain Name System)DNS(Domain Name System)
DNS(Domain Name System)
 
DNS Server Configuration
DNS Server ConfigurationDNS Server Configuration
DNS Server Configuration
 
Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)Dns server setup on ubuntu vps (master+slave)
Dns server setup on ubuntu vps (master+slave)
 
Domain Name System(DNS) - Overview
Domain Name System(DNS) - OverviewDomain Name System(DNS) - Overview
Domain Name System(DNS) - Overview
 
Dns(Domain name system)
Dns(Domain name system)Dns(Domain name system)
Dns(Domain name system)
 
Domain name server
Domain name serverDomain name server
Domain name server
 
How does DNS works?
How does DNS works?How does DNS works?
How does DNS works?
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain name service
Domain name serviceDomain name service
Domain name service
 
Dns presentation
Dns presentationDns presentation
Dns presentation
 

Similar to DNS AND DNS SECURITY: THE BASICS

DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]APNIC
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name SystemChinmay Joshi
 
How DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An IntroductionHow DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An Introductionyasithbagya1
 
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]APNIC
 
23rd PITA AGM and Conference: DNS Security - A holistic view
23rd PITA AGM and Conference: DNS Security - A holistic view 23rd PITA AGM and Conference: DNS Security - A holistic view
23rd PITA AGM and Conference: DNS Security - A holistic view APNIC
 
DNSSEC in Windows DNS Server
DNSSEC in Windows DNS ServerDNSSEC in Windows DNS Server
DNSSEC in Windows DNS ServerKumar Ashutosh
 
Chapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxChapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxmanju772238
 

Similar to DNS AND DNS SECURITY: THE BASICS (20)

Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
DNSSEC Tutorial, by Champika Wijayatunga [APNIC 38]
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
DNS Attacks
DNS AttacksDNS Attacks
DNS Attacks
 
Introduction to DNS
Introduction to DNSIntroduction to DNS
Introduction to DNS
 
Dns security
Dns securityDns security
Dns security
 
ION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSECION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSEC
 
DNS.pptx
DNS.pptxDNS.pptx
DNS.pptx
 
Dns
DnsDns
Dns
 
What is dns
What is dnsWhat is dns
What is dns
 
How DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An IntroductionHow DNS works and How to secure it: An Introduction
How DNS works and How to secure it: An Introduction
 
Dns
DnsDns
Dns
 
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]
What if everyone did it?, by Geoff Huston [APNIC 38 / APOPS 1]
 
Domain Name System(ppt)
Domain Name System(ppt)Domain Name System(ppt)
Domain Name System(ppt)
 
23rd PITA AGM and Conference: DNS Security - A holistic view
23rd PITA AGM and Conference: DNS Security - A holistic view 23rd PITA AGM and Conference: DNS Security - A holistic view
23rd PITA AGM and Conference: DNS Security - A holistic view
 
6425 b 10
6425 b 106425 b 10
6425 b 10
 
DNSSEC in Windows DNS Server
DNSSEC in Windows DNS ServerDNSSEC in Windows DNS Server
DNSSEC in Windows DNS Server
 
8 technical-dns-workshop-day4
8 technical-dns-workshop-day48 technical-dns-workshop-day4
8 technical-dns-workshop-day4
 
Dns and Dnssec
Dns and DnssecDns and Dnssec
Dns and Dnssec
 
Chapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxChapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptx
 

Recently uploaded

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 

Recently uploaded (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 

DNS AND DNS SECURITY: THE BASICS

  • 2. DNS AND DNS SECURITY: What You Need to Know DNS Working of DNS Hierarchy of DNS DNS Query DNS Records DNS message Header Format DNS Security Impact DNSSEC
  • 3. DNS ( Domain Name System ) • Phonebook of Internet • Servers working together to provide IP address mapped to domain name of a website • Works at Application Layer
  • 4. Working of DNS ... When we type a web address for instance google.com, it checks : • Resolver Cache ipconfig/displaydns ipconfig/deletedns . Host File C:WindowsSystem32Driversetchosts sudo nano /etc/hosts 2. DNS configured under the Network Connection setting under the Control Panel
  • 6. AUTHORITATIVE NAME SERVER stores the webiste's IP address Full authority Responsible for knowing everything including IP Address CMD Command - nslookup - set query=ns - example.com (domain name) ROOT SERVER: 13 set globally located letter.root-servers.net letter : 'a' to 'm' operated by: 12 organizations info page : letter.root-servers.org TLD NAME SERVER: domains: .com, .net, .in, .edu Stores address info for TLD Name server .com TLD name server websites: .com extension .net TLD name server websites: .net extension Hierarchy of DNS
  • 7. Recursive query Flow A request to a DNS Server : 'gimme what I need , and ask everyone you want'
  • 8. Iterative Query A request to a DNS Server: 'gimme whatever help you can, but ask no one else'
  • 9. DNS Records • Store Resources Records (RRs) • Four Tuple: [Name, Value,Type, TTL] • Type= A; Name: Hostname; Value: IP Address - E.g. [star.c10r.facebook.com,31.13.72.33,A,17] • Type=NS; Name: Domain; Value: host-name of the authoritative name server - E.g. [facebook.com, a.ns.facebook.com, NS, 172797] • Type=CNAME; Name: HostName; Value: Canonical hostname - E.g. [www.facebook.com, star.c10r.facebook.com, CName, 2362]
  • 10. DNS Rules • An authorative name server (for a given host) will always contain type A recrd of that host • A non-authoritative name server will contain a type NS record for the domain and the type A record of the domain's authoratative server - E.g. [facebook.com, a.ns.facebook.com, NS, 172797] - E.g. [facebook.com, 69.171.239.12, A, 172575]
  • 13. Impact • Brand Damage : Imagine the mess that will happen in the company when you employees and/or customers are not able to access your website due to an attack. • Imagine if online banking system was corrupted. • Financial Loss : Imagine if your comapany's payment site is redirecting to take fake site and payment is made in that site. • Malware installation. This may be done by hijacking DNS queries and responding with malicious IP addresses. • Credential theft. • Command & Control communication. • Network footprinting. • Data theft.
  • 14.
  • 15. DNSSEC • DNS Security Extensions (DNSSEC) is a security protocol created to mitigate this problem. • It implements a hierarchical digital signing policy across all layers of DNS. • DNSSEC creates a parent-child train of trust that travels all the way up to the root zone. This chain of trust cannot be compromised at any layer of DNS, or else the request will become open to an on-path attack.
  • 16. DNSSEC Terminology • Fingerprint - the hash/digest of a public key • KSK - Key Signing key - used to sign or verify a domain's / zone's keys • ZSK - Zone Signing Key - used to sign or verify a domain's / zone's non key records • Trust - to accept the validity and truthfulness of an entity with no need to further validate • RRSet - Resource Record Set - a set of records with the same type and same domain/zone • RRSig - Resource Record Signature - a record containing an RRSet's digital signature • DS Record - Delegation of Signing - a record containing the hash/digest of a
  • 18.
  • 19.
  • 20.
  • 21. Vendor providing DNS Security • Infoblox: DNS Traffic Control, DNS Firewall, Advance DNS Protection • Nominum: DNS Blast, DNS Guardian, DNS Cloud • BlueCat DNS: BlueCat DNS Integrity, BlueCat DNS Edge • Cisco Umbrella: Cisco Umbrella