• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » What is DNS Poisoning or DNS Spoofing?

By Abhishek Ghosh May 18, 2014 6:22 pm Updated on May 18, 2014

What is DNS Poisoning or DNS Spoofing?

Advertisement

DNS poisoning is a situation created where a malicious or unwanted data is pushed from a Domain Name Server’s cache. Technically it is more dangerous than IP Spoofing and Session Hijack as it will appear to the end user that he/she is directed to the right website. We explained why Recursive DNS Should Not be Used to Access Cloud Platform. DNS Poisoning can happen due to inappropriate software configuration, lack of rightly configured name servers and maliciously designed scenarios exploiting the traditionally open architecture of a DNS system – which includes our usage of Recursive DNS.
Once a DNS server has received those unauthenticated data and stores it temporarily to further increases in performance, once it is considered to be poisoned, it can extend the effect of the situation to clients server. DNS Spoofing is a variant of DNS Poisoning but usually taken as equivalent – reason of such usage is unknown.

 

Basics of DNS Poisoning or DNS Spoofing

 

Normally, a computer connected to the Internet uses a DNS server provided by the Internet service provider (ISP). This usually serves only Guest DNS and contains a small amount of information temporarily stored by previous DNS servers. An attack of poisoning can affect the users directly by the compromised or indirectly dependent servers server.
To perform a cache poisoning attack, the attacker exploits a vulnerability in the DNS software that can make it accept incorrect information. If the server does not validate DNS responses to ensure that they come from an authoritative source correctly, the server may terminate to depend on locally stored incorrect information and sending the users to do the request.

This technique can be used to arbitrarily replacing content of a number of victims with content selected by an attacker. For example, an attacker poisons the DNS entries of IP addresses for a website with a goal, replacing them with the IP address of a server he controls. Then, the attacker creates fake entries for files on the server that he controls with names that match the target file server. These files may contain malicious content, such as a virus or worm. A user whose computer has referenced the poisoned DNS server can be fooled to believing that the content comes from the target server and unknowingly download malicious content.

Advertisement

---

 

Known Methods of DNS Poisoning or DNS Spoofing

 

Normally we use dig command to find the details of a server :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
?  ~  dig https://thecustomizewindows.com
 
; <<>> DiG 9.8.3-P1 <<>> https://thecustomizewindows.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 21317
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
;; QUESTION SECTION:
;https://thecustomizewindows.com. IN A
 
;; AUTHORITY SECTION:
com. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1400435427 1800 900 604800 86400
 
;; Query time: 143 msec
;; SERVER: 220.226.6.104#53(220.226.6.104)
;; WHEN: Sun May 18 23:20:52 2014
;; MSG SIZE  rcvd: 121
 
?  ~  dig thecustomizewindows.com
 
; <<>> DiG 9.8.3-P1 <<>> thecustomizewindows.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63950
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
 
;; QUESTION SECTION:
;thecustomizewindows.com. IN A
 
;; ANSWER SECTION:
thecustomizewindows.com. 111111 IN A 192.237.225.97
 
;; AUTHORITY SECTION:
thecustomizewindows.com. 158516 IN NS dns2.stabletransit.com.
thecustomizewindows.com. 158516 IN NS ns2.rackspace.com.
thecustomizewindows.com. 158516 IN NS ns.rackspace.com.
thecustomizewindows.com. 158516 IN NS dns1.stabletransit.com.
 
;; ADDITIONAL SECTION:
ns.rackspace.com. 46915 IN A 69.20.95.4
ns2.rackspace.com. 31862 IN A 65.61.188.4
dns1.stabletransit.com. 39993 IN A 69.20.95.4
dns2.stabletransit.com. 59473 IN A 65.61.188.4
 
;; Query time: 490 msec
;; SERVER: 220.226.6.104#53(220.226.6.104)
;; WHEN: Sun May 18 23:21:19 2014
;; MSG SIZE  rcvd: 218

We are getting headers from gtld-servers.net and verisign-grs.com in the first case with http appended.
This setup is done by Rackspace to prevent such DNS Poisoning. We are using Rackspace Cloud DNS, obviously they will arrange some ways to prevent the poisoning in case all of the their data centers fails due to a high global attack.

Thankfully, methods of DNS Poisoning are limited in number :

Redirect the domain name server : The first variant of DNS cache poisoning involves redirecting the attacker’s name server for the domain name server to the target domain, then that server name is assigned an IP address specified by the attacker. This is very common while using bad or average quality Web Hosts with huge shared servers.

You can test with Hostgator, Bluehost with name server to change the target server and test with webpagetest from various regions – abnormal pages will appear. We never noticed this with Rackspace, Amazon, Red Hat, Heroku, Server Beach etc. setup. We believe, after a time of a running website, this exploit is applied by the attackers and lower quality host possibly do not spend the money behind the fail safe method. The way to get protected is to use a cloud dns like CloudFlare like we described before.

What is DNS Poisoning or DNS Spoofing

Redirect to another domain’s DNS record : The second variant of DNS cache poisoning involves redirecting the name server of another domain to another domain unrelated to the original request for an IP address specified by the attacker.
Common if the DNS of the domain is set to a NS but there is no server. Right now, at the time of writing, abhishekghosh.pro is not online but NS is pointing towards Rackspace from domain registerer. If someone spins up a server on Rackspace, obviously it will catch all, taking the fact – no DNS software is intervening it. I should keep a cloud dns record and point towards own server, even if the server is for another website. This will throw http error but will save from a common cheat.

Reply before actual name server responds : The third variant of DNS cache poisoning, which actually called DNS spoofing (or DNS Forgery) involves making a delay in the actual response to a query from recursive DNS to the DNS server. DNS queries containing an ID number of 16 bits, they are used to identify the responses associated with a given response. If the attacker can successfully predict the value of said identification number and return the first response, the server will accept the attacker as a valid response. If the server randomizes the source port response, the attack will become more difficult, because the false answer must be sent by the same port from which the query originated. Sending a number of simultaneous DNS requests to the server to force it to send more recursive queries, the probability of successfully predicting one of the ID numbers increases. This modification is a form of birthday attack.

Tagged With dig dns nstld verisign-grs com , nxdomain dns poisoning , paperuri:(5cf12e621f6813b07528b77677ba7cb6) , what is dns posioning

This Article Has Been Shared 470 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to What is DNS Poisoning or DNS Spoofing?

  • Google+ Custom URL : Interesting Findings

    Google+ Custom URL email request gave us time to do some research as we received two emails one is regular email and one for Google Apps for one person.

  • Internet Relay Chat or IRC Details

    Internet Relay Chat or IRC efers to a purely text-based chat system. It allows discussions with any number of participants in the so-called channels.

  • HTTP 2.0 : What Changes Are Expected With the New Standard

    What Changes Can Be Expected With the New Standard HTTP 2.0? This HTTP 2.0 is the next major release of HTTP Protocol used by WWW.

  • HTML5 accessKey Property : Keyboard Shortcut Guide

    HTML5 accessKey property is an accessibility attribute. The access key is an element which enables the user to press a key to jump or perform action.

  • Twitter Hashtag, @ and Inline Tweet in WordPress

    We can integrate Twitter Hashtag, @ and Inline Tweet in WordPress in several ways. It matters how you want to use the features in your blog.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Importance of Voice and Style in Essay Writing April 1, 2023
  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023

About This Article

Cite this article as: Abhishek Ghosh, "What is DNS Poisoning or DNS Spoofing?," in The Customize Windows, May 18, 2014, April 2, 2023, https://thecustomizewindows.com/2014/05/dns-poisoning-dns-spoofing/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT