4Tutorial On DNS Cache Poisoning (Redirect abc.com By Entering xyz.com In Address Bar)

Posted by Harwinder Kumar at 1/08/2014 Posted in:

DNS Cache Poisoning
Hello guys! Today I'm gonna post about a hacking technique named "DNS Spoofing or DNS Cache Poisoning". DNS cache poisoning is a computer hacking attack, whereby data is introduced into a Domain Name System (DNS) name server's cache database, causing the name server to return an incorrect IP address, diverting traffic to another computer (often the attacker's). This trick is commonly used by hackers for redirecting original site to fake site (like opening Facebook, Gmail, Orkut would open fake facebook, gmail, orkut). Let's understand it by taking an example:
  • Go to C:\Windows\ System32\ Drivers\ etc\ Hosts
  • Open it with notepad.
  • Write 67.195.160.76 www.google.com below 127.0.0.1 localhost like that:
    127.0.0.1 localhost

    67.195.160.76  www.google.com
Where 67.195.160.76 is IP address of yahoo, you can change it whatever you want. If you are thinking about knowing IP address of any site, then go to command prompt> Type ping site name, for e.g. ping www.facebook.com


Note: Even you can use it for phishing purpose.
    Hope You Liked It. Receive Latest Posts Directly To Your Email
    Get Free Updates:
    Click On The Confirmation Link Sent To Your Inbox Or Spam

    4 comments so far:

    Abhinav said on 3/07/2012 1:12 PM:

    But we can do it only on that pc from which we have physical relationship....................................



    But how we can do it if we don't have control over somebody else pc............

    [Reply]
    Harwinder said on 3/07/2012 1:20 PM:

    @Abhinav: bro it's just a basic idea how it work!! use some ways like making a batch file, which would replace victim's hosts file to yours!! n if you hv question about how to run it on victim computer, then use some social engg techniques!!

    [Reply]
    Anonymous said on 1/13/2013 1:17 PM:

    I cannot tamper the data of my system32/drivers/etc folder ???

    How will i do that ?

    [Reply]
    Harwinder said on 1/13/2013 5:43 PM:

    @Anonymous: for it, you would have to change security permissions for that file or folder containing the file.

    [Reply]

    We love to hear from you! Leave us a comment:

    © 2014 Learn The Basics Of Ethical Hacking About | Site Map | Privacy Policy | Contact