A DNS is a critical component in a network because it is responsible for the translation of logical names into IP addresses, but an attacker could hit DNS servers to force to return an incorrect IP address and divert traffic to another computer managed by bad actors.
But DNS is also a crucial component for many other Internet protocols, including email that use DNS responses to determine the final recipient of the email.
Virus Bulletin has recently published an interesting post on DNS poisoning attacks used to steal users’ emails in which the experts explained the role of DNS in mailing systems:
“When an email is sent over the Internet, the sender’s mail server needs to find the recipient’s mail server. This takes two DNS lookups: first, the MX record for the recipient’s domain is requested, which returns one or more domains of the inbound mail server. The A record of one of these domains is then requested to find the corresponding IP address.” states the post from Virus Bulletin.
A threat actor could interfere with the above process, in particular manipulating one of the two responses, can hijack the mail to its server.
Recently CERT/CC researchers Jonathan Spring and Leigh Metcalf have provided the evidence that such attacks are ordinarily conducted by hackers. The researchers have analyzed DNS responses for A records belonging to mail servers of the principal providers, including Gmail, Yahoo! and Hotmail.
“Using our passive DNS data source, we can observe cache poisoning. What we really observe are changes in the answers that are returned for certain domains, but after consulting with various experts, we believe the only behavior these changes indicate is a successful cache poisoning attack.”
How to prevent this kind of attacks?
The CERT/CC researchers mentioned two solutions to prevent this kind of attacks, one at the user side and the other at the server side.
In the graphic below it is possible to note that only around 0.5% of the .com and .net domains currently support DNSSEC.
The experts at CERT highlighted that they ignore the motivation of the attacks neither the threat actors behind them, in the blog post published they also provides the list of the IP addresses involved in the attacks.
(Security Affairs – DNS attacks, email)
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.