- DNS-based Data Exfiltration Channel: This is a technique for exfiltrating data by encapsulating it in simple DNS Data requests to domains set up expressly for this purpose. - DNS Tunneling (or Covert Channel VPNs): DNS tunnels are often used to surf the web anonymously, but also to exfiltrate sensitive data. This is achieved by encapsulating data within DNS queries and responses. Instead of using traditional communication protocols like TCP or UDP, DNS tunneling leverages the DNS protocol to create covert communication channels between a client and a remote server, allowing attackers to transmit data undetected. This is often done via DNS requests of type A or TXT records. - DNS Killswitch: New-generation malware contains “killswitches” that enable its creator to halt its proliferation. The principle is as follows: the malware regularly makes DNS requests on a very long domain name with no semantics. As long as the DNS domain does not exist, the DNS response is negative and the malware continues to proliferate. If the domain in question does exist, the DNS response is positive. The killswitch takes effect and the malware stops. This happened on the WannaCry ransomware, which came to a screeching halt when a researcher accidentally deposited the domain name after analyzing the malware's code. - DNS as Malware Control Plan: malware uses DNS both to contact its Command and Control (C&C) center and to exfiltrate data or redirect traffic. DNS is therefore considered the malware's Control Plan. - DNS beaconing (or malware beaconing): This refers to the malware's action of contacting its command and control center at regular intervals to obtain the download of its installation code or instructions for undertaking data exfiltration. Instead of establishing persistent connections or sending large volumes of data, the malware periodically sends small, stealthy DNS queries to specific domain names controlled by the attackers. These DNS queries serve as "beacons" or signals to indicate that the infected device is active and ready to receive instructions or updates from the C2 server. This can be done on HTTP requests, but increasingly on DNS requests such as A records, DNS AAAA records or DNS TXT records. As we have seen, the techniques for circumventing and abusing the DNS protocol are numerous and increasingly complex. APTs (Advanced Persistent Threats) use a combination of these techniques to gain a foothold and proliferate. DNS is the second most common attack vector on the Internet after HTTP. And DNS is involved in at least 4 of the 7 stages of the Cyber Kill Chain. The delay in deploying DNSSEC (Domain Name System Security Extensions) and the current DNS protocol evolutions with DoH (DNS over HTTP) and DoT (DNS over TLS) are likely to make things even more complex. About DNSSEC, DoH and DoT DNSSEC is a set of security extensions to the DNS protocol that adds cryptographic authentication and integrity checks to DNS data. Its primary goal is to address vulnerabilities in the traditional DNS infrastructure and provide mechanisms to ensure the authenticity and integrity of DNS information. DNS over HTTP (DoH) is a protocol that allows DNS queries and responses to be transmitted over the HTTP protocol, typically using HTTPS (HTTP Secure) for encryption. Traditionally, DNS queries and responses have been transmitted over UDP (User Datagram Protocol) or TCP (Transmission Control Protocol) without encryption, leaving them vulnerable to interception and manipulation. DoH represents an advancement in DNS privacy and security, providing a standardized approach for encrypting DNS traffic and protecting user privacy against surveillance and censorship. DNS over TLS (DoT) is a protocol that encrypts DNS queries and responses using the Transport Layer Security (TLS) protocol. Like DoH, DoT provides a secure and private method for transmitting DNS traffic over the internet, protecting it from interception and manipulation. |
Comments
Post a Comment