Sign in to follow this  
Followers 0
MaltLiquor

RDP over TOR

6 posts in this topic

I am trying to make a anonymous RDP connection. I would like to use TOR however there is no proxy settings for the MS RDP client.... hmmmm Ideas. I would like to give my cantenna a break :ranaway:

-Malt Liquor

0

Share this post


Link to post
Share on other sites

Set a global proxy setting in your internet connection settings (like under control panel?)

0

Share this post


Link to post
Share on other sites

You can use socat to torify almost any application like so:

socat TCP4-LISTEN:1234,fork SOCKS4A:localhost:someserver.com:3389,socksport=9050

Now when you connect to localhost:1234 your connection will be proxied through Tor to someserver.com:3389

Probably won't do you much good under windows, no idea if it works under Cygwin. According to the Tor Win32 Howto:

For applications that support neither SOCKS nor HTTP, take a look at SocksCap, FreeCap, or the Hummingbird SOCKS client. (FreeCap is free software; the others are proprietary.)

For more information how to Torify other applications in detail visit the Torify HOWTO.

Freecap

0

Share this post


Link to post
Share on other sites

You can use socat to torify almost any application like so:

socat TCP4-LISTEN:1234,fork SOCKS4A:localhost:someserver.com:3389,socksport=9050

Now when you connect to localhost:1234 your connection will be proxied through Tor to someserver.com:3389

Probably won't do you much good under windows, no idea if it works under Cygwin. According to the Tor Win32 Howto:

For applications that support neither SOCKS nor HTTP, take a look at SocksCap, FreeCap, or the Hummingbird SOCKS client. (FreeCap is free software; the others are proprietary.)

For more information how to Torify other applications in detail visit the Torify HOWTO.

Freecap

One problem here is that without a lot of messing around, the Microsoft RDP client refuses to connect to localhost - it's kind of sensible since why would you want a remote desktop on your local machine...

From memory, you need to copy MSTSC.EXE and MSTSC.DLL into a different directory, and then run MSTSC.EXE under compatibility mode for a Win9x machine or something stupid like that. I don't remember exactly, but I do know it's possible since I've had to use it over SSH tunnels in the past.

0

Share this post


Link to post
Share on other sites

One problem here is that without a lot of messing around, the Microsoft RDP client refuses to connect to localhost - it's kind of sensible since why would you want a remote desktop on your local machine...

From memory, you need to copy MSTSC.EXE and MSTSC.DLL into a different directory, and then run MSTSC.EXE under compatibility mode for a Win9x machine or something stupid like that. I don't remember exactly, but I do know it's possible since I've had to use it over SSH tunnels in the past.

Next time try connectiong to 127.0.0.1 (or 127.65.34.99 or whatever) that works for me.

0

Share this post


Link to post
Share on other sites

One problem here is that without a lot of messing around, the Microsoft RDP client refuses to connect to localhost - it's kind of sensible since why would you want a remote desktop on your local machine...

From memory, you need to copy MSTSC.EXE and MSTSC.DLL into a different directory, and then run MSTSC.EXE under compatibility mode for a Win9x machine or something stupid like that. I don't remember exactly, but I do know it's possible since I've had to use it over SSH tunnels in the past.

Next time try connectiong to 127.0.0.1 (or 127.65.34.99 or whatever) that works for me.

Thanks for the ideas I am going to run a few tests to insure I am using the proxy.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0