注入攻击:通过DNS隧道恶意负载
Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
摘要:
传统的互联网协议设计原则是:“发送时严格,接收时宽容”[RFC 1958],DNS也不例外。DNS在处理DNS记录方面的透明度,也是专门针对DNS [RFC 3597]标准化的,是使其成为如此受欢迎的平台的关键特征之一,从而促进了不断增加的新应用程序。应用程序只需创建一个新的DNS记录,并可以立即开始通过DNS分发它,而无需对DNS服务器和平台进行任何更改。我们在互联网范围内的研究证实,超过130万(96%的测试)的开放DNS解析器符合标准,并透明地处理DNS记录。在这项工作中,我们表明,这种“透明度”在互联网上引入了一个严重的漏洞:我们展示了一种新的方法来启动字符串注入攻击编码到DNS记录的恶意有效载荷。我们将展示如何将这些DNS记录作为武器来攻击流行的应用程序。例如,我们应用字符串注入来发起一种新型的DNS缓存中毒攻击,我们对开放解析器进行了评估,发现105K是脆弱的。这种缓存中毒无法通过DNSSEC的常见设置来防止。我们的攻击适用于内部和公共服务,例如,我们发现所有eduroam服务都容易受到我们的注入攻击,使我们能够发起从未经授权访问eduroam网络到资源匮乏的漏洞利用。根据应用程序的不同,我们的攻击会导致系统崩溃、数据损坏和泄漏、安全性降低,并可能引入远程代码执行和任意错误。在我们对互联网攻击的评估中,我们发现我们测试的所有符合标准的开放DNS解析器都允许我们对网络上的应用程序和用户进行注入攻击。
英文摘要:
The traditional design principle for Internet protocols indicates: "Be strict when sending and tolerant when receiving" [RFC1958], and DNS is no exception to this. The transparency of DNS in handling the DNS records, also standardised specifically for DNS [RFC3597], is one of the key features that made it such a popular platform facilitating a constantly increasing number of new applications. An application simply creates a new DNS record and can instantly start distributing it over DNS without requiring any changes to the DNS servers and platforms. Our Internet wide study confirms that more than 1.3M (96% of tested) open DNS resolvers are standard compliant and treat DNS records transparently. In this work we show that this `transparency' introduces a severe vulnerability in the Internet: we demonstrate a new method to launch string injection attacks by encoding malicious payloads into DNS records. We show how to weaponise such DNS records to attack popular applications. For instance, we apply string injection to launch a new type of DNS cache poisoning attack, which we evaluated against a population of open resolvers and found 105K to be vulnerable. Such cache poisoning cannot be prevented with common setups of DNSSEC. Our attacks apply to internal as well as to public services, for instance, we reveal that all eduroam services are vulnerable to our injection attacks, allowing us to launch exploits ranging from unauthorised access to eduroam networks to resource starvation. Depending on the application, our attacks cause system crashes, data corruption and leakage, degradation of security, and can introduce remote code execution and arbitrary errors. In our evaluation of the attacks in the Internet we find that all the standard compliant open DNS resolvers we tested allow our injection attacks against applications and users on their networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。