Hack Forums
[Tutorial] Staying anonymous using Putty {SSH tunneling To RDP's} [Tutorial] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: [Tutorial] Staying anonymous using Putty {SSH tunneling To RDP's} [Tutorial] (/showthread.php?tid=1262918)

Pages: Pages 1 2 3 4 5 6 7 8


[Tutorial] Staying anonymous using Putty {SSH tunneling To RDP's} [Tutorial] - RussianFederation - May 2, 2011

Using PuTTY [SSH Tunneling] while hacking


What you'll need before starting?
- You're going to need a couple of things in order to create an SSH tunnel that you can use as a Firefox SOCKS proxy. Here's a short list of things you'll need:

1. A remote server you can connect to using SSH. This is typically a remote Unix or Linux server that supports SSH logins.
2. Your organization will need to let you connect to that site using SSH. By default SSH runs on port 22, so your organization will need to let you out on port 22.
3.Mozila Firefox software.
4.The Putty software, which you can download for free.

I consider this the proxification for the intermediate users. It's for the people who understand how to use a programs built-in proxy forwarding functions to go anonymously through TCP and UDP protocols. Basicly, this type of proxification relies on the fact that a program has already a built-in capability of using proxies. A common example would be PuTTY, where you would supply PuTTY with either a SOCKSv4 or 5 proxy to be able to proxify TCP and UDP protocols.

Once you have all those things in place we're ready to get started.

Downloading and installing

Mozila Download Here.


PuTTY Download Here.

- Just download it, drop it in a folder, and it's ready to be used.

Configuring a tunnel to your SSH server

We'll use Putty to create an SSH tunnel and connect to your remote server.

At this point your Putty window should look like the following figure:

[img]http://img211.imageshack.us/img211/9117/screenshot4nz.png[/img]

Next, on the left side of the putty window there is a navigation tree. In that tree you want to select the Tunnels item. If this item isn't already visible, you can find it by clicking the Connection node in the tree, then SSH, and then Tunnels.

[img]http://img208.imageshack.us/img208/8240/screenshot5ti.png[/img]

Under the section labeled "Add a new forwarded port" type in a port like 6565 for the source port. Leave the Destination field blank, then select the Dynamic and Auto radio buttons. Then click the Add button, and you should see the text D6565 show up in the textarea just above the "Add a new forwarded port".

Congratulations -- that's all you had to do to configure Putty. Now all you have to do is login to your remote server. To do this, just click the Open button at the bottom of this window. You should see a Putty login shell open up to your remote server. Just login to your remote server with your username and password, and you're done.

[img]http://img156.imageshack.us/img156/235/screenshot6vt.png[/img]

[img]http://img6.imageshack.us/img6/1156/screenshot2dc.png[/img]

That's all you need to do to open the tunnel. Now you're ready to configure Firefox.

Configuring Firefox to use this new SSH tunnel is simple. Start Firefox, then select the Tools menu, and then select the Options... menu item. Now click the Advanced icon (on the upper-right of the dialog), and then select the Network tab.
Now click the "Settings..." button. This brings up the Connection Settings dialog. On this dialog click the "Manual proxy configuration" radio button, then put the address 127.0.0.1 in the SOCKS Host field. In the Port field just to the right of the SOCKS Host field enter the port you used when configuring your SSH tunnel with Putty. In my case this port was 6565. The completed dialog is shown in the following figure:

[img]http://img829.imageshack.us/img829/8816/screenshot2nh.png[/img]

[img]http://img411.imageshack.us/img411/9234/screenshot3xw.png[/img]

That's all you need to do here. Just click OK on this dialog, click OK again on the Options dialog, and Firefox should be ready to go.

Hope you found this tutorial helpfull HF. Please leave feedback.

---S_N_1---


* - RussianFederation - May 2, 2011

Wow only 1 comment -_-

Thanks dude above me. :)


* - Mr. Gold - May 2, 2011

Did not work for me when i open and get the black screen i'm getting a error. Network error: Connection refused


* - kuan01 - May 2, 2011

Nice tut dude ! work very well


* - Naww - May 4, 2011

I'm try this.
It's bookmarked :P


* - iReFLeXeZz - May 5, 2011

Nice tutorial, will try it out soon


* - RussianFederation - May 5, 2011

Thankyou for your great comments.


* - RussianFederation - May 7, 2011

Can i on here ?? ;) ;) =/=/


* - Phizo - May 7, 2011

Another great tutorial. Keep up the good work.


* - RussianFederation - May 9, 2011

Thanks again bro ;)-->-->-->


* - !!!! - May 10, 2011

Great tutorial bro!
Thnx for using pics :)


* - RussianFederation - May 10, 2011

Thanks mate hope you liked it.


* - Golliath808 - May 10, 2011

Is this better than using free proxies ??


* - RussianFederation - May 10, 2011

(May 10, 2011 11:12 AM)Golliath808 Wrote:  Is this better than using free proxies ??

Ofcourse. proxys keep logs on you.


* - Raijin - May 11, 2011

What's the benefits of SSH Tunneling to VPNs?