Here’s how it works: First, DNS is the Internet’s main address list. Instead of writing an IPv4 address like “126.96.36.199” or an IPv6 address like “2400: cb00: 2048: 1 :: c629: d7a2”, one of Cloudflare’s many addresses, just enter “http”: //www.cloudflare.com, “DNS finds the right IP address for you and you’re on your way.
However, if DNS cache poisoning occurs, your DNS requests will be intercepted and redirected to a poisoned DNS cache. This unwanted cache gives your web browser or other internet application a malicious IP address. Instead of going where you want to go, you are sent to a fake site. This fake website can then upload ransomware to your PC or retrieve your username, password and account numbers. In a word: Ouch!
Modern defenses – such as the random assignment of DNS query ID and DNS request source port, DNS-based Named Entity Authentication (DANE), and Domain Name System Security Extensions (DNSSE) – have largely stopped DNS cache poisoning. However, these DNS security methods have never been adequately deployed so that DNS-based attacks continue to occur.
Although researchers have found a side-channel attack that can be successfully used against the most popular DNS software stacks, SAD DNS. Vulnerable programs include the widely used BIND, Unbound, and dnsmasq programs that run on Linux and other operating systems. The main vulnerability is that the operating system and network of the DNS server are configured to allow ICMP error messages from the Internet Control Message Protocol.
Here’s how it works: First, the attacker uses a vice to spoof IP addresses and a computer that can trigger a request from a DNS forwarder or resolver. Forwarders and resolvers help figure out where to send DNS requests. For example, in a relay attack when the attacker is logged on to a LAN managed by a wireless router such as a public wireless network in a school or library. Public DNS resolvers like Cloudflare 188.8.131.52 and Google 184.108.40.206 can also be attacked.
Next, the researchers used a network channel connected to but outside of the main channels used in the DNS requests. Then the source port number is determined by keeping the channel open long enough to make 1,000 guesses per second until the correct one is made. After the source port was derandomized, the group inserted a malicious IP address and successfully carried out a DNS cache poisoning attack.
In their study, they found that just over 34% of the open resolver population on the Internet are vulnerable. They found that 85% of the most popular free public DNS services are open to attack.
You can check if you are open to attack by simply going to this Sad DNS website and following the instructions. I would like to add that I am both very security and network conscious and my systems have been vulnerable.
There are ways to stop these attacks. In fact, we already have these methods. DNSSEC would help, but it’s still not deployed enough. If you were to use the relatively new DNS cookie RFC 7873 this would also be helpful.
The simplest mitigation, however, is to prohibit outbound ICMP responses altogether. This leads to the potential cost of losing some network troubleshooting and diagnostics.
Another simple solution is to time-out DNS queries more aggressively. For example, you should set it to take less than a second. In this way, the source port is short-lived and disappears before the attacker can inject unwanted responses. The downside, however, is the ability to introduce more retransmissions and overall poorer performance.
Whichever method you use, however, one thing is clear. If you are running or forwarding a DNS server, you have to do something. This attack is too easy. It will soon be used by criminal hackers. And while I definitely recommend the quick and easy fixes, would it really kill you to finally use DNSSEC? It is long past that everyone accepted it.
As for users, you need to be more careful than ever when visiting a commerce website like Amazon or your local bank that the website really is who you think it is. If you don’t, you could kiss your online identity and big bucks goodbye.
These were the details of the news DNS cache poisoning is about to make a comeback: Sad DNS for this day. We hope that we have succeeded by giving you the full details and information. To follow all our news, you can subscribe to the alerts system or to one of our different systems to provide you with all that is new.
It is also worth noting that the original news has been published and is available at de24.news and the editorial team at AlKhaleej Today has confirmed it and it has been modified, and it may have been completely transferred or quoted from it and you can read and follow this news from its main source.