DNS: Victim or Attacker
Paul Ebersman Paul_Ebersman@cable.comcast.com, @paul_ipv6 ICANN49, 24 Mar 2014, Singapore
1
DNS: Victim or Attacker Paul Ebersman - - PowerPoint PPT Presentation
DNS: Victim or Attacker Paul Ebersman Paul_Ebersman@cable.comcast.com, @paul_ipv6 ICANN49, 24 Mar 2014, Singapore 1 Attacking your cache 2 Recursion DNS queries are either recursive or nonrecursive 2) Nonrecursive query recursive for
Paul Ebersman Paul_Ebersman@cable.comcast.com, @paul_ipv6 ICANN49, 24 Mar 2014, Singapore
1
2
root name server resolver com name server google.com name server
1) Recursive query for www.google.com/ A 2) Nonrecursive query for www.google.com/A 6) Nonrecursive query for www.google.com/A 4) Nonrecursive query for www.google.com/A 3) Referral to com name servers 5) Referral to google.com name servers 7) A records for www.google.com 8) A records for www.google.com
recursive servername
4
5
alternic.net name server Recursive name server Evil resolver Q u e r y : x x x . a l t e r n i c . n e t / A ? Query: xxx.alternic.net/A? Reply: xxx.alternic.net/A + www.internic.net/A Cache
Owns nameserver
ns1 ns2
Query [Msg ID 38789] Reply [Msg ID 38789]
birthdays:
People Chances of two or more people having the same birthday 10 12% 20 41% 23 50.7% 30 70% 50 97% 100 99.99996% Number of reply messages Chances of guessing the right message ID 200 ~20% 300 ~40% 500 ~80% 600 ~90%
paypal.com name servers Recursive name server Hacker q00001.paypal.com/A? NXDOMAIN!
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61718 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;;; QUESTION SECTION: ;q00001.paypal.com. IN A ;;; AUTHORITY SECTION q00001.paypal.com. 86400 IN NS www.paypal.com. ;;; ADDITIONAL SECTION www.paypal.com. 86400 IN A 10.0.0.1
14
15
16
17
18
19
20
knight-rrl.pdf
second-wind-from-rrl-probably-not/
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36