this Tutorial is about DNS poisoning on your network using Cain & Abel.Download Cain HERE
This Tutorial Will be limited to just redirecting the traffic to another website (I had a better idea on my mind, but I can’t post it because of the rules).
Note: This Tutorial is for educational purposes only (you’ll be responsible for your own actions)
First What is the DNS ? (wikipedia.org)
The Domain Name System (DNS) is a hierarchical naming system for
What does poisoning the DNS allow us to do ?
It allows us to redirect the traffic to another website.
First This is the structure of the network :
![[Image: 4337060175_5b99b48ac0.jpg]](http://farm5.static.flickr.com/4044/4337060175_5b99b48ac0.jpg)
1 , 2 and 3 are computers
1 is the computer being the gateway (could be a router) (172.128.254.1)
2 is the target computer (172.128.254.10)
3 is the attacker using cain
Note : IPs are just used for this tutorial and chosen randomly.
Our work is on computer number 3 :
1-After you install cain , open it and go to the sniffer tab
2-Click on configure and choose your adapter
![[Image: 4336895163_134d4202fd.jpg]](http://farm5.static.flickr.com/4032/4336895163_134d4202fd.jpg)
3-Enable the sniffer (click on the second icon in the toolbar next to the open icon)
4-Right click in the empty area and choose scan MAC addresses. We get the results above.
5-Click on the APR Tab
![[Image: 4337645862_9e847b91e4.jpg]](http://farm3.static.flickr.com/2725/4337645862_9e847b91e4.jpg)
6-Click on the + sign in the toolbar to add a new ARP poison routing
![[Image: 4337656172_57b3d5b3b5.jpg]](http://farm5.static.flickr.com/4062/4337656172_57b3d5b3b5.jpg)
7-choose the gateway which is 172.128.254.1 , in the next list you’ll get the IP of the computer 2 which is 172.128.254.10 and click ok
![[Image: 4337049117_87315e8629.jpg]](http://farm5.static.flickr.com/4009/4337049117_87315e8629.jpg)
8-now click on the APR-DNS tab
9-click on the + sign
10-enter the web address that you want to spoof , (in this case when the user goes to facebook he’ll be redirected to
![[Image: 4337798910_e83774f149.jpg]](http://farm3.static.flickr.com/2731/4337798910_e83774f149.jpg)
you'll get something like this:
![[Image: 4337057395_171642d13d.jpg]](http://farm5.static.flickr.com/4003/4337057395_171642d13d.jpg)
11-now to make this work we have to enable APR poisoning , click on the icon next to the sniffer icon, and everything should work as we expect.
Now the computer 2 will get the routes poisoned and when the user requestshttp://www.facebook.com he will be redirected to http://www.myspace.com .
Imagine what you can do with this technique.
You can also redirect Facebook to Your Phishing Page and in this way other person wouldnt even know!!!
BEWARE!!!! >> you can freak the hell out of someone with it. so be careful!!!!