Increased DNS Forgery Resistance Through 0x20-Bit Encoding SecURItY viA LeET QueRieS David Dagon Manos Antonakakis Paul Vixie Georgia Institute of Georgia Institute of Internet Systems Consortium Technology Technology
[email protected] [email protected] [email protected] Tatuya Jinmei Wenke Lee Internet Systems Consortium Georgia Institute of Technology
[email protected] [email protected] ABSTRACT DNS poisoning attacks present a persistent, ongoing threat to We describe a novel, practical and simple technique to make DNS server operations. While there are a variety of DNS poisoning tech- queries more resistant to poisoning attacks: mix the upper and niques, those directed at large cache servers often use two steps: lower case spelling of the domain name in the query. Fortuitously, (a) they force the recursive server to perform a lookup; and then almost all DNS authority servers preserve the mixed case encod- (b) spoof misleading DNS answers, using the source address of the ing of the query in answer messages. Attackers hoping to poison authority server. A successful attacker can change a DNS cache a DNS cache must therefore guess the mixed-case encoding of the entry, and redirect all users of the victim DNS server to arbitrary query, in addition to all other fields required in a DNS poisoning proxy locations. When done to obtain transactional information attack. This increases the difficulty of the attack. (e.g., banking), this technique is called pharming (or large-scale We describe and measure the additional protections realized by phishing) [27]. this technique. Our analysis includes a basic model of DNS poi- Numerous solutions have been proposed to prevent DNS poison- soning, measurement of the benefits that come from case-sensitive ing, e.g., whitelisting [14], cryptographic systems [33], and many query encoding, implementation of the system for recursive DNS client-based systems have been suggested.