Credential Harvestor : Port Forwarding : Phishing Facebook
In the previous tutorial, we created a fake login page for facebook using Credential harevester. This however, would work only over Local Area network. Today we will enable port forwarding on our router and use our external IP address to create a phishing page that will work over the internet. The picture gives a good idea what port forwarding does. In the previous case, out page was only visible to computers on the right side of the firewall, i.e. those within the local network. The firewall handles traffic which comes through public address and decides whether to forward it to the internal network or block it. The port forwarding feature of the router tells it to allow traffic through a certain port.
- Must know how to use SET and Credential Harvester over local area network. If not read the tutorial on Credential Harvester (same as the link above).
- Kali Linux or backtrack 5 (other Linux distributions will work if you can install SET and all the dependencies)
- Patience – Finding your router password might be hard sometimes.
- Some basic knowledge (read a few old posts on this blog which I had written assuming that newbies were the ones reading. By now, after following dozens of my post, the readership has grown smart and doesn’t need to be spoon fed.
Find you public IP
Finding your router IP and logging in
- Username : admin
- Password : password, admin or in some cases, leave the password field blank
The routers are all different : Port Forwarding
- Terms to look for – NAT, port forwarding, virtual servers (the router can refer to port forwarding by using any of these terms). If you find something like this, click on it. Also, many a times the routers interface is quite complicated and advanced, with seperate fields for WAN, LAN, access control, etc. You’ll have to take a look around and see where you can find anything related to port forwarding. When you do, you can move to the step below.
- Stuff to enter-
- Application name – Most routers ask you to give a name to the port forwarding setup. Many also have a drop down menu containing most common reasons why people perform port forwarding (the drop down menu mostly has multiplayer games and stuff, don’t expect SET there). This field is insignificant, enter whatever you want to. Maybe SET.
- Port / First Port / Last Port – Some routers just ask you which port to forward, some ask you to enter a range. Nevertheless, you will enter either 80 as the only port, or 80 to 80 as the range. Any field which asks for anything related to port, and 80 is what you’ll enter.
- Protocol (or some other name) – It will have options TCP, UDP, both (both may be replaced by all or TCP and UDP or something). Choose both or whatever corresponds to both in your router.
- IP address (sometimes not) – Here you enter your local IP. 192.168.1.xxx or something. Not your public IP.
Make it look real-
- You’ll get a static IP
- You’ll get a comparitively less suspicious domain name
- You will be safer. This is because sharing your public IP address on the internet isn’t a good idea. And with a port open, people (by people I mean professional hacker who know what they are doing) might break into your system. (If you noticed I never mentioned my public IP anywhere in the post, nor posted any screenshot with it. All the visitors to my site are hackers, and some are better than me, so I’m not inviting trouble here).