Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

A "Portable" viewer with dsm plugin

Post Reply
sijgs
Posts: 2
Joined: 2004-05-07 04:50
Location: Orange, CA
Contact:

A "Portable" viewer with dsm plugin

Post by sijgs »

Can someone suggest what the best way to "install" the viewer into a USB memory flash drive?

I don't want to use IE because of the lack of encryption, so I figure since I carry that little plug everywhere I go, I can just plug it into someone's port and execute it from there using the rc4.key

Questions in my mind are:

Will it execute that way? What about the "hook" drivers? yada...

Thanks for any suggestions.

Regards,
JGS
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Post by UltraSam »

Hook driver is needed only on the server (WinVNC).

vncviewer.exe need no other dll or driver.

If you want to use an encryption DSMPlugin, simply copy vncviewer.exe + MSRC4plugin.dsm + rc4.key onto your USB key and run the viewer from this USB key.

All the remote machine you want to connect to must have the same rc4.key file.

Furthermore, if you don't want to have to reconfigure the key file path in vncviewer each time you execute the viewer on a different machine, 2 possibilities:
- Keep the default rc4.key file locations in the plugin config.
- Create a .reg file with the plugin config params, copy it on your USB key and execute this .reg file on each new machine you plug your USB key.
Last edited by UltraSam on 2004-05-07 08:24, edited 1 time in total.
UltraSam
sijgs
Posts: 2
Joined: 2004-05-07 04:50
Location: Orange, CA
Contact:

A "Portable" viewer with dsm plugin

Post by sijgs »

THANKS!

Now THAT'S USEFUL INFO!!!!

I will code it up and try it ASAP and give a "status" back when I see what happens.

Regards,
JGS
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

But what about computers where you don't have access to the registry. I'm trying to get the dsm encryption plugin to work on the public library computers where I have low permissions, but how ever I try I get "DSMPlugin cannot be configured"

EDIT: On the library computer in the DSMplugin configuration the "Server Key Location(Service)" box is empty but the others have the "rc4.key" which is the path of the key file. What does that mean?

Basically how do you connect from a computer, with dsm encryption, without having to install/edit anything on the client computer?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

akaidiot
Basically how do you connect from a computer, with dsm encryption, without having to install/edit anything on the client computer?
you can use file "MSRC4Plugin_noreg.dsm" that good solution on computer has limited rights.
http://home.comcast.net/~msrc4plugin/ms ... noreg.html

limited user access, no registry permission, but i can copy and start software like ultravnc +dsm_plugin_no_reg

only need on USB key storage
  • vncviewer.exe (=>RC19.5)
  • rc4.key (must be same rc4.key as is on the server side)
  • MSRC4Plugin_noreg.dsm (ver. 1.1.4)
Last edited by redge on 2005-02-13 15:47, edited 2 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

Ok, I've now got it set up! Will be trying it out on monday probably! Thanks!
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

I'm sitting right now on the public library and it infact does............not work :cry:

I still get the DSMPlugin cannot be configured.. :|

What can be the cause of this error?
Guest

Post by Guest »

I use UltraVNC 19.5 and the DSM Plugin that came with it (version 1.1.2). On the server side, the key has to be in the folder "program files" and on the client (aka viewer) side it has to be in the folder where the viewer is or, if you use saved sessions, in the folder with the *.vnc file.

For me, that worked great!

After I configured the server to utilize the plugin I restarted the machine it is hosted on. I had several problems restarting the server after choosing the plugin option therefore I consider a restart the most convenient way to make the service use encryption. My latest test with the DSM Plugin version 1.1.4 caused the UltraVNC server service to be killed instantly!
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

Anonymous wrote:I use UltraVNC 19.5 and the DSM Plugin that came with it (version 1.1.2). On the server side, the key has to be in the folder "program files" and on the client (aka viewer) side it has to be in the folder where the viewer is or, if you use saved sessions, in the folder with the *.vnc file.

For me, that worked great!

After I configured the server to utilize the plugin I restarted the machine it is hosted on. I had several problems restarting the server after choosing the plugin option therefore I consider a restart the most convenient way to make the service use encryption. My latest test with the DSM Plugin version 1.1.4 caused the UltraVNC server service to be killed instantly!
On my server, the rc4.key file is in this folder: "C:\Program Files\UltraVNC", which is where the winvnc.exe is also and in the plugin config the path for the key is just rc4.key in all 3(4) fields, and they are all grayed out and can't be edited.

On the viewer the rc4.key is in the same folder as the viewer.exe(<USB drive letter>:\VNC\)

It works when I try on the three computers at home! Could one of the programmer that can check when this error("DSMPlugin cannot be configured") is displayed.. I really need this, please help me find a solution, I want to VNC securely.. without the plugin it works great!
cobratbq
8
8
Posts: 24
Joined: 2004-08-02 22:29

Post by cobratbq »

Hey! don't forget the unzip and zip dlls! (unzip32.dll & zip32.dll)
That is... if you want to be able to transfer whole directories across your remote-control-connection...
(And I'm sure because I've just tested it to be sure ;))
Sergio
40
40
Posts: 103
Joined: 2004-05-22 20:02
Contact:

Lang.dll

Post by Sergio »

And, if I am not wrong, you need also lang.dll

HTH
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

cobratbq
don't forget the unzip and zip dlls! (unzip32.dll & zip32.dll)
right, but is not necessary , OK, is more slowly ;-) but is possible remote control without now.

Sergio
you need also lang.dll
only need lang.dll with previous release of vncviewer
if you don't need another language than english, lang.dll is for nothing

akaidiot
it is possible your key is corrupt on server side !?
this tools "keypal" below can fix it !
http://www.jensign.com/JavaScience/dotnet/keypal/

check with tools, delete container and find every rc4.txt or key.txt (if you used an older release)
rename the new rc4.txt --> rc4.key !place it in the folder of ultravnc.

maybe... problem one side use plugin_reg and another side there use plugin_noreg ?
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

redge wrote:akaidiot
it is possible your key is corrupt on server side !?
this tools "keypal" below can fix it !
http://www.jensign.com/JavaScience/dotnet/keypal/

check with tools, delete container and find every rc4.txt or key.txt (if you used an older release)
rename the new rc4.txt --> rc4.key !place it in the folder of ultravnc.

maybe... problem one side use plugin_reg and another side there use plugin_noreg ?
I tdeleted with keypal. Then when I entered "Admin properties" on the serverit said that it couldn't find "C:\Program Files\ORL\Ultra VCN\rc4.key" Then when I try to gen file. The file is disappeared!

But I really don't think this is the problem. More like a permissions issue. Because when I run the exact same vncviewer.exe and rc4.key from the usb-drive file it works from my home computers.
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

I'm sitting once again at the public library and yes, once again: "cannot configure DSMPlugin".

So I'm forced to use Real VNC Enterprise edition 4.0. Which seam to have quiet a neat solution. I just tap in the ip/address:port and it asks me to generate secure key. I press ok. Enter my password.

And voilá, I'm in there, controling my computer with 128-bit AES encryption from the public library computer with abosulte minimal permissions, usb-key access though..

But of course without all the great advantages of ultr@vnc :cry:
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

redge wrote:akaidiot
but i can copy and start software like ultravnc +dsm_plugin_no_reg

only need on USB key storage
  • vncviewer.exe (=>RC19.5)
  • rc4.key (must be same rc4.key as is on the server side)
  • MSRC4Plugin_noreg.dsm (ver. 1.1.4)
Where do you run the vncviewer.exe file from? I have no harddrive access. I can oly run the viewer fdirectly from the usb drive.. Does it work for you when you run it from the usb-drive?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

akaidiot
Where do you run the vncviewer.exe file from? I have no harddrive access. I can oly run the viewer fdirectly from the usb drive.. Does it work for you when you run it from the usb-drive?
I never try this way, :x
i use USB storage only and copy them on 2nd physical harddrive, i try again tomorrow start vncviewer from USB storage
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

Great, thanks!

I managed to duplicate the error at home. Running on a win 2000 and activating and logging in to the guest account..

"Cannot configure DSMPlugin", what does that mean?!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

akaidiot
I was started vnviewer+dsmplugin_noreg+rc4.key from my USB storage with success ! :)
"Cannot configure DSMPlugin", what does that mean?!
did you send message with detail from
http://home.comcast.net/~msrc4plugin/ms ... noreg.html
detail bottom website
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

redge wrote:akaidiot
I was started vnviewer+dsmplugin_noreg+rc4.key from my USB storage with success ! :)
"Cannot configure DSMPlugin", what does that mean?!
did you send message with detail from
http://home.comcast.net/~msrc4plugin/ms ... noreg.html
detail bottom website
Thanks! I just mailed him!
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Guest Account is the problem...

Post by scovel »

I have reproduced the problem. Its due to the account having a "temporary profile." Its trying to create the key-store so it can import and use the key. It can't create the key-store, so it fails.

By the way, this only occurs with the actual "Guest" account, not an account that is in the "Users" group. There must be some additional permissions taken away from "Guest".

I'm using the Microsoft Crypto API. It creates the key-store in a secure location in your user profile. Even though I only use it temporarily, it still needs to be created so I can import your key (rc4.key) so that the API can use it.

Here's what I found on Microsoft's site...:

http://support.microsoft.com/default.as ... -us;265357

All the way at the bottom you'll see it's "By Design" that guest accounts can't create key containers. Microsoft can be SO frustrating!

Looks like I can't make it work with a Guest account. Sorry.

Sean
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

Ooh, that's to bad :(

As mentioned earlier. RealVNC 4.0 enterprise edition works with encryption. Whe I try to connect directly from the usb-drive. It asks me to generate a secure key. I press ok and right there, I'm remote controlling my home computer securly from the public library.

But without all the supernice features of Ultr@VNC :(

Porhaps Ultr@VNC can adopt that solution or similar..?
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

MSRC4 problem, not UltraVNC problem

Post by scovel »

This particular problem is a limitation of how I chose to implement the encryption in the plugin. Its not an UltraVNC problem.

I chose to use the Microsoft Crypto API rather than write the crypto routines from scratch (or use a third-party library...). This was way back when DSM was untried and I didn't want to spend a lot of effort if it wasn't going to work. It was supposed to be a proof-of-concept plugin. (actually a buddy dared me to do it)

Its the Crypto API that is stopping the key-store from getting created. This is the first time I've seen this problem, and it is only documented in an obscure Microsoft KnowledgeBase article.

Someday, if someone decides to write another plugin using a different Crypto library, it probably won't have this limitation.

(Got any $$$? I'll write you a new one...)
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Um..Gotta eat my hat...

Post by scovel »

I talked with a Crypto buddy of mine today. Long story short: There will be a 1.1.5 out soon. It WILL work with Guest accounts.

sean

:oops:
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

1.1.5 is out

Post by scovel »

akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

I'm now home, after being away for the weekend. And I've now gotten it setup. And I can't wait until monday(that doesn't sound right) to test this out! :D
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

I'm sitting at the library right now and it's....(drum-roll).....working!

Thanks for all the great work, now I can conenct securly to my home pc's. Truely from anywhere!
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

WooHoo!!!

Post by scovel »

Truely COOL!!!! Doesn't get much better than that!!!

Thanks for the push to get it to work!

Sean
Guest

Post by Guest »

akaidiot wrote:I'm sitting once again at the public library and yes, once again: "cannot configure DSMPlugin".

So I'm forced to use Real VNC Enterprise edition 4.0. Which seam to have quiet a neat solution. I just tap in the ip/address:port and it asks me to generate secure key. I press ok. Enter my password.

And voilá, I'm in there, controling my computer with 128-bit AES encryption from the public library computer with abosulte minimal permissions, usb-key access though..

But of course without all the great advantages of ultr@vnc :cry:
Why do you care so much if its encrypted or not? You're most likely not transferring super secret documents or personal info...
akaidiot
8
8
Posts: 25
Joined: 2005-02-10 23:06

Post by akaidiot »

Well I don't want people to get my password and vnc into my computers..

And I want to feel haxx0zZz 8)
Post Reply