October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security.

Slides:



Advertisements
Similar presentations
Enabling Secure Internet Access with ISA Server
Advertisements

Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
DNS Session 4: Delegation and reverse DNS Joe Abley AfNOG 2006 workshop.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
20101 The Application Layer Domain Name System Chapter 7.
Domain Name System: DNS
DNS: Revising the Current Protocol Matt Gustafson Matt Weaver CS522 Computer Communications University of Colorado, Colorado Springs.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Presented by Neeta Jain CISC 856 TCP/IP and Upper Layer Protocols RFC 1034 & RFC 1035.
Domain Name System (DNS) Ayitey Bulley Session-1: Fundamentals.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Domain Name System (DNS)
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
TELE 301 Lecture 11: DNS 1 Overview Last Lecture –Scheduled tasks and log management This Lecture –DNS Next Lecture –Address assignment (DHCP)
Got DNS? A review of Domain Name Services and how it impacts website developers. By Jason Baker Digital North.
IIT Indore © Neminath Hubballi
CS 471/571 Domain Name Server Slides from Kurose and Ross.
DNS: Domain Name System
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
14 DNS : The Domain Name System. 14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses.
Chapter 17 Domain Name System
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
October 15, 2002Serguei A. Mokhov, 1 Intro to Internet-services from Security Standpoint SOEN321-Information-Systems Security Revision.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
DNS Security Pacific IT Pros Nov. 5, Topics DoS Attacks on DNS Servers DoS Attacks by DNS Servers Poisoning DNS Records Monitoring DNS Traffic Leakage.
Module 8 DNS Tools & Diagnostics. Objectives Understand dig and nslookup Understand BIND toolset Understand BIND logs Understand wire level messages.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Naming March 8, Networks What is naming?  Associations between some elements in a set of names and some elements in a set of values  Binding.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
DNS Cache Poisoning. History 1993 – DNS protocol allowed attacker to inject false data which was then cached 1997 – BIND 16-bit transaction ids not randomized,
Module 8 DNS Tools & Diagnostics. Dig always available with BIND (*nix) and windows Nslookup available on windows and *nix Dig on windows – unpack zip,
Computer Networks Fall, 2007 Prof Peterson. CIS 235: Networks Fall, 2007 Western State College How’s it going??
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 18 Domain Name System (DNS)
DNS Security 1. Fundamental Problems of Network Security Internet was designed without security in mind –Initial design focused more on how to make it.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley
Web Server Administration Chapter 4 Name Resolution.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
Domain Name System (DNS) Joe Abley AfNOG Workshop, AIS 2014, Djibouti Session-1: Fundamentals.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
COMP 431 Internet Services & Protocols
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Short Intro to DNS (part of Tirgul 9) Nir Gazit. What is DNS? DNS = Domain Name System. For translation of host names to IPs. A Distributed Database System.
1 Lecture A.3: DNS Security r Domain Name Service r Security Problems in DNS.
DNS Security Risks Section 0x02. Joke/Cool thing traceroute traceroute c
Security Issues with Domain Name Systems
Domain Name System (DNS)
Networking Applications
Domain Name System: DNS
Chapter 9: Domain Name Servers
DNS Security Issues SeongHo Cho DPNM Lab., POSTECH
Domain Name System (DNS)
NET 536 Network Security Lecture 8: DNS Security
NET 536 Network Security Lecture 6: DNS Security
DNS: Domain Name System
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
DNS : Domain Name System
Domain Name System: DNS
Presentation transcript:

October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security

October 15, 2002Serguei A. Mokhov, 2 Contents Intro to DNS and Security

October 15, 2002Serguei A. Mokhov, 3 DNS Domain Name System –a distributed naming service for the entire Internet (including WWW) –provides unified host-name-to-network-address and vice-versa lookup needed for remote computing $ ping yahoo.com Pinging yahoo.com [ ] with 32 bytes of data: Reply from : bytes=32 time=113ms TTL=244

October 15, 2002Serguei A. Mokhov, 4 DNS Other capabilities: –Info about Name Servers –Canonical host names –Mail Exchange (MX) records

October 15, 2002Serguei A. Mokhov, 5 DNS Hierarchy root org net com mydomainamazonyahoo www

October 15, 2002Serguei A. Mokhov, 6 DNS Tools in UNIX Tools –host –dig –nslookup (deprecated)

October 15, 2002Serguei A. Mokhov, 7 DNS Tools Example haida.mokhov [~] % host -a www Trying " ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3704 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 4 ;; QUESTION SECTION: ; IN ANY ;; ANSWER SECTION: IN CNAME spider.cs.concordia.ca. ;; AUTHORITY SECTION: cs.concordia.ca IN NS clyde.concordia.ca. cs.concordia.ca IN NS Jerome.McRCIM.McGill.EDU. cs.concordia.ca IN NS pollen.cs.concordia.ca. cs.concordia.ca IN NS manitou.cs.concordia.ca. cs.concordia.ca IN NS alcor.concordia.ca. ;; ADDITIONAL SECTION: alcor.concordia.ca IN A clyde.concordia.ca IN A pollen.cs.concordia.ca IN A manitou.cs.concordia.ca IN A Received 243 bytes from #53 in 3 ms

October 15, 2002Serguei A. Mokhov, 8 Name Serves Manage certain part of the name space Help clients to find info within the hierarchy DNS Query - returns list of name servers –One of the NS resolves client’s query –If name not found, pass on to another NS –The one that has the answer, sends it back, and the previous NS caches it for the future.

October 15, 2002Serguei A. Mokhov, 9 DNS Threats Recall from firewalls and the rest (D. Probst): –Filtering DNS: How does one prevent DNS contamination (corruption)? Mail can be rerouted, passwords captured, etc. We need separate DNS for inside and outside. –Tunneling over DNS is used to gain command-line access to remote utilities. With a proxy-based firewall, deny external DNS access to anything other than your proxy server. If you are using a packet filter, your options for blocking a DNS tunnel are limited.

October 15, 2002Serguei A. Mokhov, 10 DNS Cache Poisoning Was more actual in the past: –A NS doesn’t have a name for a requested host –Asks another NS, another NS may have been weak and compromised, or for some other reason had invalid name for the host requested. –Our NS would cache the wrong name, and this can propagate over –So, real amazon.com might have been redirected to elsewhere, get the consequences...

October 15, 2002Serguei A. Mokhov, 11 DNS Cache Poisoning Attack types: DNS spoofing, host name spoofing One of the reasons: earlier versions of bind simply had bugs; servers trusted by Solution: –DNS triple:

October 15, 2002Serguei A. Mokhov, 12 Host Name Spoofing PTR records Mapping IP to a domain name All the transactions a legitimate –DNS server according to the protocol tries to resolve a query using legitimate DNS Server, but the PTR deliberately was made to point elsewhere.

October 15, 2002Serguei A. Mokhov, 13 DNS Spoofing In combo with hostname spoofing: –Messing up the PTR –And forcing the NS to have invalid resource record (RR) in their cache.