Attacks on TCP/IP, BGP, DNS Denial of Service



Similar documents
Programming Project #2. Network Security (TCP/IP and DNS) Overview. Overview. Man in the Middle. Proxy Server. Tadayoshi Kohno

Network Security (TCP/IP and DNS)

Lecture 6: Network Attacks II. Course Admin

Protocol Rollback and Network Security

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

SY system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users.

Chapter 8 Security Pt 2

Outline. Network Protocols and Vulnerabilities. Internet Infrastructure. TCP Protocol Stack

CS5008: Internet Computing

A S B

Denial Of Service. Types of attacks

Botnets. Botnets and Spam. Joining the IRC Channel. Command and Control. Tadayoshi Kohno

Denial of Service. Tom Chen SMU

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

20-CS X Network Security Spring, An Introduction To. Network Security. Week 1. January 7

Networks: IP and TCP. Internet Protocol

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Session Hijacking Exploiting TCP, UDP and HTTP Sessions

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

CSE 3482 Introduction to Computer Security. Denial of Service (DoS) Attacks

CSCE 465 Computer & Network Security

A Very Incomplete Diagram of Network Attacks

Guide to DDoS Attacks December 2014 Authored by: Lee Myers, SOC Analyst

What is a DoS attack?

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Security Technology White Paper

Network Security Fundamentals

TCP/IP Security Problems. History that still teaches

Denial of Service Attacks. Notes derived from Michael R. Grimaila s originals

Denial of Service Attacks

Abstract. Introduction. Section I. What is Denial of Service Attack?

APNIC elearning: Network Security Fundamentals. 20 March :30 pm Brisbane Time (GMT+10)

Security vulnerabilities in the Internet and possible solutions

Content Distribution Networks (CDN)

CS 640 Introduction to Computer Networks. Network security (continued) Key Distribution a first step. Lecture24

Firewalls. Firewalls. Idea: separate local network from the Internet 2/24/15. Intranet DMZ. Trusted hosts and networks. Firewall.

Security: Attack and Defense

How do I get to

CS 356 Lecture 16 Denial of Service. Spring 2013

Client Server Registration Protocol

Network Security in Practice

How To Understand A Network Attack

Overview of Network Security The need for network security Desirable security properties Common vulnerabilities Security policy designs

Security of IPv6 and DNSSEC for penetration testers

SysSec 7 Network Security. Aurélien Francillon

Acquia Cloud Edge Protect Powered by CloudFlare

Attack Lab: Attacks on TCP/IP Protocols

CloudFlare advanced DDoS protection

1. Firewall Configuration

Gaurav Gupta CMSC 681

Network Security. Chapter 3. Cornelius Diekmann. Version: October 21, Lehrstuhl für Netzarchitekturen und Netzdienste Institut für Informatik

Network Security. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross 8-1

Denial of Service (DoS) attacks and countermeasures. Pier Luigi Rotondo IT Specialist IBM Rome Tivoli Laboratory

General Network Security

Dos & DDoS Attack Signatures (note supplied by Steve Tonkovich of CAPTUS NETWORKS)

Denial of Service Attacks

OLD VULNERABILITIES IN NEW PROTOCOLS? HEADACHES ABOUT IPV6 FRAGMENTS

1. Introduction. 2. DoS/DDoS. MilsVPN DoS/DDoS and ISP. 2.1 What is DoS/DDoS? 2.2 What is SYN Flooding?

Unix System Administration

Transport Layer Protocols

Internet Protocol: IP packet headers. vendredi 18 octobre 13

IP - The Internet Protocol

Brocade NetIron Denial of Service Prevention

Network Security. Chapter 9. Attack prevention, detection and response. Attack Prevention. Part I: Attack Prevention

Firewalls and Intrusion Detection

Internet Security [1] VU Engin Kirda

Network layer: Overview. Network layer functions IP Routing and forwarding

Introduction to TCP/IP

Announcements. No question session this week

CS 3251: Computer Networking 1 Security Protocols I

1 hours, 30 minutes, 38 seconds Heavy scan. All scanned network resources. Copyright 2001, FTP access obtained

Linux Network Security

Transport and Network Layer

CYBER ATTACKS EXPLAINED: THE MAN IN THE MIDDLE

Port Scanning and Vulnerability Assessment. ECE4893 Internetwork Security Georgia Institute of Technology

DDoS Attacks: The Latest Threat to Availability. Dr. Bill Highleyman Managing Editor Availability Digest

Final exam review, Fall 2005 FSU (CIS-5357) Network Security

Packet Sniffers Submitted in partial fulfillment of the requirement for the award of degree Of MCA

Internet Control Protocols Reading: Chapter 3

How To Protect A Dns Authority Server From A Flood Attack

co Characterizing and Tracing Packet Floods Using Cisco R

Network Concepts. IT 4823 Information Security Concepts and Administration. The Network Environment. Resilience. Network Topology. Transmission Media

DNS Cache-Poisoning: New Vulnerabilities and Implications, or: DNSSEC, the time has come!

Seminar Computer Security

Network Security. Dr. Ihsan Ullah. Department of Computer Science & IT University of Balochistan, Quetta Pakistan. April 23, 2015

Firewalls, NAT and Intrusion Detection and Prevention Systems (IDS)

Denial of Service (DoS)

VLAN und MPLS, Firewall und NAT,

Insecure network services. Firewalls. Two separable topics. Packet filtering. Example: blocking forgeries. Example: blocking outgoing mail

What is a Firewall? A choke point of control and monitoring Interconnects networks with differing trust Imposes restrictions on network services

Frequent Denial of Service Attacks

Virtual Private Networks

Internet Firewall CSIS Internet Firewall. Spring 2012 CSIS net13 1. Firewalls. Stateless Packet Filtering

Solution of Exercise Sheet 5

Attack and Defense Techniques

Lecture Computer Networks

Chapter 8 Network Security

Defending against Flooding-Based Distributed Denial-of-Service Attacks: A Tutorial

Transcription:

CS 361S Attacks on TCP/IP, BGP, DNS Denial of Service Vitaly Shmatikov slide 1

Reading Assignment SYN cookies by Bernstein IP spoofing demystified from Phrack magazine It s the end of the cache as we know it by Kaminsky (BlackHat 2008) slide 2

Warm Up: 802.11b NAV (Network Allocation Vector) 15-bit field, max value: 32767 Any node can reserve channel for NAV microseconds No one else should transmit during NAV period but not followed by most 802.11b cards De-authentication Any node can send deauth packet to AP Deauth packet unauthenticated attacker can repeatedly deauth anyone slide 3

Internet Is a Network of Networks backbone ISP local network local network Internet service provider (ISP) Autonomous system (AS) is a collection of IP networks under control of a single administrator (e.g., ISP) TCP/IP for packet routing and connections Border Gateway Protocol (BGP) for route discovery Domain Name System (DNS) for IP address discovery slide 4

OSI Protocol Stack application presentation session transport network data link email, Web, NFS RPC TCP IP Ethernet physical slide 5

Data Formats application layer Application data message transport layer TCP header data TCP header data TCP header data segment network layer IP header TCP header data packet data link layer Ethernet header IP header TCP header data Ethernet trailer frame slide 6

IP (Internet Protocol) Connectionless Unreliable, best-effort protocol Uses numeric addresses for routing Typically several hops in the route Alice s computer Bob s ISP Alice s ISP Packet Source 128.83.130.239 128.83.130.239 Dest Seq 171.64.66.201 3 Bob s computer 171.64.66.201 slide 7

TCP (Transmission Control Protocol) Sender: break data into packets Sequence number is attached to every packet Receiver: reassemble packets in correct order Acknowledge receipt; lost packets are re-sent Connection state maintained on both sides book mail each page remember received pages and reassemble slide 8

ICMP (Control Message Protocol) Provides feedback about network operation Out-of-band messages carried in IP packets Error reporting, congestion control, reachability Destination unreachable Time exceeded Parameter problem Redirect to better gateway Reachability test (echo / echo reply) Message transit delay (timestamp request / reply) slide 9

Packet Sniffing Many applications send data unencrypted ftp, telnet send passwords in the clear Network interface card (NIC) in promiscuous mode reads all passing data network Solution: encryption (e.g., IPsec, HTTPS), improved routing slide 10

Ping of Death If an old Windows machine received an ICMP packet with a payload longer than 64K, machine would crash or reboot Programming error in older versions of Windows Packets of this length are illegal, so programmers of Windows code did not account for them Solution: patch OS, filter out ICMP packets slide 11

Teardrop and Bonk TCP fragments contain Offset field Attacker sets Offset field to overlapping values Bad implementation of TCP/IP will crash when attempting to re-assemble the fragments or to very large values Bad TCP/IP implementation will crash Solution: use up-to-date TCP/IP implementation slide 12

LAND IP packet with source address, port equal to destination address, port; SYN flag set Triggers loopback in the Windows XP SP2 implementation of TCP/IP stack, locks up CPU Solution: ingress filtering slide 13

Smurf Reflector Attack 1 ICMP Echo Req Src: victim s address Dest: broadcast address Looks like a legitimate Are you alive? ping request from the victim Stream of ping replies overwhelms victim Every host on the network generates a ping (ICMP Echo Reply) to victim gateway victim Solution: reject external packets to broadcast addresses slide 14

IP and TCP Headers 0 Version Header Length 31 Flags Type of Service Total Length Identification Fragment Offset Time to Live Protocol Header Checksum Source Address of Originating Host 0 Source Port Dest port 31 U R G A C K SEQ Number ACK Number P S H P S R S Y N F I N Destination Address of Target Host Other stuff Options Padding IP Data slide 15

TCP Handshake C S SYN C SYN S, ACK S Listening Spawn thread, store data (connection state, etc.) Wait ACK C Connected slide 16

SYN Flooding Attack S SYN spoofed source addr 1 SYN spoofed source addr 2 SYN spoofed source addr 3 SYN spoofed source addr 4 MS Blaster (August 16, 2003): SYN spoofed source addr 5 every infected machine sent 50 packets per second to port 80 on windowsupdate.com Listening Spawn a new thread, store connection data and more and more and more and more and more slide 17

SYN Flooding Explained Attacker sends many connection requests with spoofed source addresses Victim allocates resources for each request New thread, connection state maintained until timeout Fixed bound on half-open connections Once resources exhausted, requests from legitimate clients are denied This is a classic denial of service pattern It costs nothing to TCP initiator to send a connection request, but TCP responder must spawn a thread for each request - asymmetry! slide 18

SYN Floods [Phrack 48, no 13, 1996] OS Backlog queue size Linux 1.2.x 10 FreeBSD 2.1.5 128 WinNT 4.0 6 Backlog timeout: 3 minutes Attacker need only send 128 SYN packets every 3 minutes low-rate SYN flood slide 19

Preventing Denial of Service DoS is caused by asymmetric state allocation If responder opens new state for each connection attempt, attacker can initiate thousands of connections from bogus or forged IP addresses Cookies ensure that the responder is stateless until initiator produced at least two messages Responder s state (IP addresses and ports of the connection) is stored in a cookie and sent to initiator After initiator responds, cookie is regenerated and compared with the cookie returned by the initiator slide 20

SYN Cookies C S [Bernstein and Schenk] SYN C Listening Compatible with standard TCP; simply a weird sequence number SYN S, ACK S sequence # = cookie Does not store state F=Rijndael or crypto hash F(source addr, source port, dest addr, dest port, coarse time, server secret) Cookie must be unforgeable and tamper-proof (why?) Client should not be able to invert a cookie (why?) ACK C sequence # = cookie+1 Recompute cookie, compare with with the one received, only establish connection if they match More info: http://cr.yp.to/syncookies.html slide 21

Anti-Spoofing Cookies: Basic Pattern Client sends request (message #1) to server Typical protocol: Server sets up connection, responds with message #2 Client may complete session or not - potential DoS! Cookie version: Server responds with hashed connection data instead of message #2 Client confirms by returning hashed data If source IP address is bogus, attacker can t confirm Need an extra step to send postponed message #2, except in TCP (can piggyback on SYN-ACK in TCP) slide 22

Another Defense: Random Deletion SYN C half-open connections 121.17.182.45 231.202.1.16 121.100.20.14 5.17.95.155 If SYN queue is full, delete random entry Legitimate connections have a chance to complete Fake addresses will be eventually deleted Easy to implement slide 23

Prolexic / Verisign Idea: only forward established TCP connections to site Lots-of-SYNs Lots-of-SYN/ACKs Few ACKs Prolexic proxy Forward to site Web site slide 24

Other Junk-Packet Attacks Attack Packet Victim Response Rate: attk/day [ATLAS 2013] TCP SYN to open port TCP SYN/ACK 773 TCP SYN to closed port TCP ACK or TCP DATA TCP RST TCP NULL TCP RST TCP RST No response TCP RST ICMP ECHO Request ICMP ECHO Response 50 UDP to closed port ICMP Port unreachable 387 Proxy must keep floods of these away from website slide 25

Stronger Attack: TCP Con Flood Command bot army to: Complete TCP connection to web site Send short HTTP HEAD request Repeat Will bypass SYN flood protection proxy but Attacker can no longer use random source IPs Reveals location of bot zombies Proxy can now block or rate-limit bots slide 26

TCP Connection Spoofing Each TCP connection has associated state Sequence number, port number TCP state is easy to guess Port numbers standard, seq numbers predictable Can inject packets into existing connections If attacker knows initial sequence number and amount of traffic, can guess likely current number Guessing a 32-bit seq number is not practical, BUT Most systems accept large windows of sequence numbers (to handle packet losses), so send a flood of packets with likely sequence numbers slide 27

Blind IP Spoofing Attack Trusted connection between Alice and Bob uses predictable sequence numbers SYN-flood Bob s queue Alice Bob Open connection to Alice to get initial sequence number Send packets to Alice that resemble Bob s packets Can t receive packets sent to Bob, but can bypass Alice s IP address-based authentication rlogin and other remote access tools, SPF defense against spam slide 28

DoS by Connection Reset If attacker can guess the current sequence number for an existing connection, can send Reset packet to close it Especially effective against long-lived connections For example, BGP route updates slide 29

User Datagram Protocol (UDP) UDP is a connectionless protocol Simply send datagram to application process at the specified port of the IP address Source port number provides return address Applications: media streaming, broadcast No acknowledgement, no flow control, no message continuation Denial of service by UDP data flood slide 30

NTP Amplification Attack x206 amplification DoS Source Give me the addresses of the last 600 machines you talked to Spoofed SrcIP: DoS target (234 bytes) NTP (Network Time Protocol) server 600 addresses (49,000 bytes) DoS Target December 2013 February 2014: 400 Gbps DDoS attacks involving 4,529 NTP servers 7 million unsecured NTP servers on the Internet (Arbor) slide 31

Countermeasures Above transport layer: Kerberos Provides authentication, protects against applicationlayer spoofing Does not protect against connection hijacking Above network layer: SSL/TLS and SSH Protects against connection hijacking and injected data Does not protect against DoS by spoofed packets Network (IP) layer: IPsec Protects against hijacking, injection, DoS using connection resets, IP address spoofing slide 32

IP Routing Routing of IP packets is based on IP addresses 32-bit host identifiers (128-bit in IPv6) Routers use a forwarding table Entry = destination, next hop, network interface, metric Table look-up for each packet to decide how to route it Routers learn routes to hosts and networks via routing protocols Host is identified by IP address, network by IP prefix BGP (Border Gateway Protocol) is the core Internet protocol for establishing inter-as routes slide 33

Distance-Vector Routing Each node keeps vector with distances to all nodes Periodically sends distance vector to all neighbors Neighbors send their distance vectors, too; node updates its vector based on received information Bellman-Ford algorithm: for each destination, router picks the neighbor advertising the cheapest route, adds his entry into its own routing table and re-advertises Used in RIP (routing information protocol) Split-horizon update Do not advertise a route on an interface from which you learned the route in the first place! slide 34

Good News Travels Fast A: 0 A: 1 A: 2 A: 3 A: 4 A: 5 1 1 1 1 1 G1 G2 G3 G4 G5 G1 advertises route to network A with distance 1 G2-G5 quickly learn the good news and install the routes to A via G1 in their local routing tables slide 35

Bad News Travels Slowly Exchange routing tables A: 0 A: 1 A: 2 A: 3 A: 4 A: 5 1 1 1 1 G1 s link to A goes down G1 G2 G3 G4 G5 G2 is advertising a pretty good route to G1 (cost=2) G1 s packets to A are forever looping between G2 and G1 G1 is now advertising a route to A with cost=3, so G2 updates its own route to A via G1 to have cost=4, and so on G1 and G2 are slowly counting to infinity Split-horizon updates only prevent two-node loops slide 36

Overview of BGP BGP is a path-vector protocol between ASes Just like distance-vector, but routing updates contain an actual path to destination node List of traversed ASes and a set of network prefixes belonging to the first AS on the list Each BGP router receives update messages from neighbors, selects one best path for each prefix, and advertises this path to its neighbors Can be the shortest path, but doesn t have to be Hot-potato vs. cold-potato routing Always route to most specific prefix for a destination slide 37

BGP Example [Wetherall] 7 2 6 5 7 7 1 8 2 7 2 6 5 2 7 2 6 5 3 2 7 3 4 2 6 5 3 2 6 5 2 7 6 5 2 7 6 2 7 6 5 5 5 AS 2 provides transit for AS 7 Traffic to and from AS 7 travels through AS 2 slide 38

Some (Old) BGP Statistics BGP routing tables contain about 125,000 address prefixes mapping to about 17-18,000 paths Approx. 10,000 BGP routers Approx. 2,000 organizations own AS Approx. 6,000 organizations own prefixes Average route length is about 3.7 50% of routes have length less than 4 ASes 95% of routes have length less than 5 ASes slide 39

BGP Misconfiguration Domain advertises good routes to addresses it does not know how to reach Result: packets go into a network black hole April 25, 1997: The day the Internet died AS7007 (Florida Internet Exchange) de-aggregated the BGP route table and re-advertised all prefixes as if it originated paths to them In effect, AS7007 was advertising that it has the best route to every host on the Internet Huge network instability as incorrect routing data propagated and routers crashed under traffic slide 40

BGP (In)Security BGP update messages contain no authentication or integrity protection Attacker may falsify the advertised routes Modify the IP prefixes associated with a route Can blackhole traffic to certain IP prefixes Change the AS path Either attract traffic to attacker s AS, or divert traffic away Interesting economic incentive: an ISP wants to dump its traffic on other ISPs without routing their traffic in exchange Re-advertise/propagate AS path without permission For example, a multi-homed customer may end up advertising transit capability between two large ISPs slide 41

YouTube (Normally) AS36561 (YouTube) advertises 208.65.152.0/22 slide 42

YouTube (February 24, 2008) Pakistan government wants to block YouTube AS17557 (Pakistan Telecom) advertises 208.65.153.0/24 All YouTube traffic worldwide directed to AS17557 Result: two-hour YouTube outage slide 43

Other BGP Incidents May 2003: Spammers hijack unused block of IP addresses belonging to Northrop Grumman Entire Northrop Grumman ends up on spam blacklist Took two months to reclaim ownership of IP addresses May 2004: Malaysian ISP hijacks prefix of Yahoo s California data center Dec 2004: Turkish ISP advertises routes to the entire Internet, including Amazon, CNN, Yahoo Apr 2010: Small Chinese ISP advertises routes to 37,000 networks, incl. Dell, CNN, Apple slide 44

DNS: Domain Name Service DNS maps symbolic names to numeric IP addresses (for example, www.cs.utexas.edu 128.83.120.155) www.cs.utexas.edu root & edu DNS server Client Local DNS recursive resolver utexas.edu DNS server cs.utexas.edu DNS server slide 45

DNS Root Name Servers Root name servers for top-level domains Authoritative name servers for subdomains Local name resolvers contact authoritative servers when they do not know a name Feb 6, 2007: Botnet DoS attack on root DNS servers slide 46

The hacking group, called Turkguvenligi, targeted the net's Domain Name System (DNS) Turkguvenligi revealed that it got access to the files using a wellestablished attack method known as SQL injection slide 47

March 16, 2014 It is suspected that hackers exploited a well-known vulnerability in the socalled Border Gateway Protocol (BGP) slide 48

Turkey (2014) slide 49

DNS Amplification Attack x50 amplification DoS Source DNS query SrcIP: DoS Target (60 bytes) DNS Server EDNS response (3000 bytes) DoS Target 2006: 0.58M open resolvers on Internet (Kaminsky-Shiffman) 2013: 21.7M open resolvers (openresolverproject.org) March 2013: 300 Gbps DDoS attack on Spamhaus slide 50

DNS Caching DNS responses are cached Quick response for repeated translations Other queries may reuse some parts of lookup NS records identify name servers responsible for a domain DNS negative queries are cached Don t have to repeat past mistakes (misspellings, etc.) Cached data periodically times out Lifetime (TTL) of data controlled by owner of data, passed with every record slide 51

Cached Lookup Example ftp.cs.utexas.edu root & edu DNS server Client Local DNS recursive resolver utexas.edu DNS server cs.utexas.edu DNS server slide 52

DNS Authentication Request contains random 16-bit TXID www.cs.utexas.edu root & edu DNS server Client Local DNS recursive resolver utexas.edu Response accepted if TXID is the same, DNS server stays in cache for a long time (TTL) cs.utexas.edu DNS server slide 53

DNS Spoofing 6.6.6.6 Trick client into looking up host1.foo.com (how?) Client host1.foo.com Guess TXID, host1.foo.com is at 6.6.6.6 Another guess, host1.foo.com is at 6.6.6.6 Local resolver Several opportunities to win the race. Another guess, host1.foo.com is at 6.6.6.6 If attacker loses, has to wait until TTL expires ns.foo.com DNS server but can try again with host2.foo.com, host3.foo.com, etc. but what s the point of hijacking host3.foo.com? slide 54

Exploiting Recursive Resolving 6.6.6.6 Trick client into looking up host1.foo.com [Kaminsky] host2.foo.com Guessed TXID, very long TTL I don t know where host1.foo.com is, but ask the authoritative server at ns2.foo.com It lives at 6.6.6.6 Client host1.foo.com Local resolver ns.foo.com DNS server If win the race, any request for XXX.foo.com will go to 6.6.6.6 The cache is poisoned for a very long time! No need to win future races! If lose, try again with <ANYTHING>.foo.com slide 55

Triggering a Race Any link, any image, any ad, anything can cause a DNS lookup No JavaScript required, though it helps Mail servers will look up what bad guy wants On first greeting: HELO On first learning who they re talking to: MAIL FROM On spam check (oops!) When trying to deliver a bounce When trying to deliver a newsletter When trying to deliver an actual response from an actual employee slide 56

Reverse DNS Spoofing Trusted access is often based on host names Example: permit all hosts in.rhosts to run remote shell Network requests such as rsh or rlogin arrive from numeric source addresses System performs reverse DNS lookup to determine requester s host name and checks if it s in.rhosts If attacker can spoof the answer to reverse DNS query, he can fool target machine into thinking that request comes from an authorized host No authentication for DNS responses and typically no double-checking (numeric symbolic numeric) slide 57

Pharming Many anti-phishing defenses rely on DNS Can bypass them by poisoning DNS cache and/or forging DNS responses Browser: give me the address of www.paypal.com Attacker: sure, it s 6.6.6.6 (attacker-controlled site) Dynamic pharming Provide bogus DNS mapping for a trusted server, trick user into downloading a malicious script Force user to download content from the real server, temporarily provide correct DNS mapping Malicious script and content have the same origin! slide 58

Other DNS Vulnerabilities DNS implementations have vulnerabilities Reverse query buffer overrun in old releases of BIND MS DNS for NT 4.0 crashes on chargen stream Denial of service Oct 02: ICMP flood took out 9 root servers for 1 hour Can use zone transfer requests to download DNS database and map out the network The Art of Intrusion : NYTimes.com and Excite@Home Solution: block port 53 on corporate name servers See http://cr.yp.to/djbdns/notes.html slide 61

DNS Vulnerabilities: Summary Cache impersonation Zone administrator Zone file Corrupting data master Impersonating master resolver Dynamic updates slaves Unauthorized updates Cache pollution by data spoofing stub resolver slide 62

Solving the DNS Spoofing Problem Long TTL for legitimate responses Does it really help? Randomize port in addition to TXID 32 bits of randomness, makes it harder for attacker to guess TXID+port DNSSEC Cryptographic authentication of host-address mappings slide 63

DNSSEC Goals: authentication and integrity of DNS requests and responses PK-DNSSEC (public key) DNS server signs its data (can be done in advance) How do other servers learn the public key? SK-DNSSEC (symmetric key) Encryption and MAC: E k (m, MAC(m)) Each message contains a nonce to avoid replay Each DNS node shares a symmetric key with its parent Zone root server has a public key (hybrid approach) slide 64

Domain Hijacking and Other Risks Spoofed ICANN registration and domain hijacking Authentication of domain transfers based on email addr Aug 04: teenager hijacks ebay s German site Jan 05: hijacking of panix.com (oldest ISP in NYC) "The ownership of panix.com was moved to a company in Australia, the actual DNS records were moved to a company in the United Kingdom, and Panix.com's mail has been redirected to yet another company in Canada." Many other domain theft attacks Misconfiguration and human error slide 65